* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.top-page-div {
    background-color: #cf2e2e;
    padding: 20px 0;
    color: white;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mosque-name {
    text-align: left;
    display: inline-block;
}

.location {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.9);
}

.nav-container {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-image {
    flex-shrink: 0;
}

.nav-image img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: white;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.main-nav-li {
    position: relative;
}

.main-nav-a {
    display: block;
    color: #666;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav-a:hover {
    color: #333;
}

/* Page Styles */
.page-hero {
    background: linear-gradient(135deg, #cf2e2e, #a82424, #8a1e1e);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.content-section h2 {
    color: #cf2e2e;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.placeholder-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.placeholder-content p {
    font-style: italic;
    color: #777;
    margin-bottom: 0;
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
}

.back-link {
    color: #cf2e2e;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #a82424;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #cf2e2e;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p, .footer-section a {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .mosque-name {
        font-size: 24px;
    }
    
    .location {
        position: static;
        display: block;
        text-align: right;
        margin-top: 5px;
        transform: none;
    }
    
    .nav-image img {
        height: 50px;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .page-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-content {
        padding: 20px;
    }
}
.video-section {
    margin: 30px 0;
    text-align: center;
}

.video-section h3 {
    color: #cf2e2e;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive video */
.video-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .video-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        height: 250px;
    }
}
.traits-list {
    margin: 30px 0;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #cf2e2e;
}

.trait-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trait-number {
    background-color: #cf2e2e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.trait-text {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.content-section h3 {
    color: #cf2e2e;
    margin: 25px 0 15px 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}