/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0d6e3f;
    --primary-dark: #094d2c;
    --primary-light: #12a85c;
    --gold: #c9a84c;
    --gold-light: #f0d87a;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --white: #ffffff;
    --light-bg: #f4f7fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --text: #333333;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 25px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Malayalam', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.top-bar-right a:hover {
    background: var(--primary);
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--gray);
}

.nav-menu {
    display: flex;
    gap: 2px;
}

.nav-menu a {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 5px;
}

.nav-menu a:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-menu a.nav-highlight {
    background: var(--primary);
    color: var(--white);
}

.nav-menu a.nav-highlight:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ===== FLASH NEWS ===== */
.flash-news {
    background: var(--primary-dark);
    padding: 10px 0;
    overflow: hidden;
}

.flash-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flash-label {
    background: var(--gold);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.flash-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-content a {
    color: var(--white);
    padding: 0 40px;
    font-size: 0.9rem;
}

.ticker-content a:hover {
    color: var(--gold-light);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.slide-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.slide-content .arabic-text {
    font-size: 1.6rem;
    color: var(--gold-light);
    direction: rtl;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* ===== SECTIONS ===== */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-tag {
    background: var(--primary);
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 40px;
    min-height: 200px;
}

.image-placeholder.large {
    min-height: 350px;
}

.image-placeholder.small {
    min-height: 180px;
    padding: 30px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--light-bg);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
}

.feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    color: var(--white);
    padding: 20px 10px;
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* ===== MOSQUE ===== */
.mosque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mosque-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mosque-info-text {
    padding: 25px;
}

.mosque-persons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mosque-person {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mosque-person:hover {
    background: var(--gray-light);
}

.person-photo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-info {
    flex: 1;
}

.person-role {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.person-info h4 {
    font-size: 0.92rem;
    color: var(--dark);
}

.mosque-info-text h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.prayer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.prayer-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.prayer-table {
    display: flex;
    flex-direction: column;
}

.prayer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.prayer-row:hover {
    background: var(--light-bg);
}

.prayer-row.juma {
    background: var(--primary);
    color: var(--white);
    margin-top: 8px;
    border: none;
}

.prayer-row.juma:hover {
    background: var(--primary-dark);
}

.prayer-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prayer-time {
    font-weight: 700;
    font-size: 1rem;
}

/* ===== NOTIFICATIONS ===== */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.notification-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.notif-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-content h4 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.notif-content p {
    color: var(--gray);
    font-size: 0.85rem;
}

.notif-date {
    color: var(--gray);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===== EDUCATION ===== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.edu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    text-decoration: none;
    color: inherit;
    display: block;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.edu-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.edu-header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.edu-header h3 {
    font-size: 1rem;
    color: var(--dark);
}

.edu-type {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.edu-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.edu-detail {
    font-size: 0.88rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-detail i {
    color: var(--primary);
    width: 16px;
    font-size: 0.8rem;
}

.edu-footer {
    border-top: 2px solid var(--gray-light);
    padding-top: 12px;
    font-size: 0.88rem;
}

/* ===== COMMITTEE ===== */
.committee-term {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1rem;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--gold);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leader-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 2.5rem;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.leader-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.leader-phone {
    color: var(--gray);
    font-size: 0.85rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.members-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.member-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 25px 0 15px;
    padding: 10px 15px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-section-title i {
    color: var(--primary);
}

/* Coordinator Section */
.coordinator-section {
    margin: 30px 0;
}

.coordinator-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #f0fff5, #e8f8f0);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    box-shadow: var(--shadow);
    max-width: 550px;
    margin: 0 auto;
}

.coordinator-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.coordinator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coordinator-info {
    flex: 1;
}

.coordinator-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.coordinator-badge i {
    margin-right: 5px;
}

.coordinator-info h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.coordinator-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.coordinator-phone {
    color: var(--primary) !important;
    font-weight: 600;
}

@media (max-width: 768px) {
    .coordinator-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}

/* Member Card V2 (with photo & phone) */
.member-card-v2 {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.member-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.member-photo-v2 {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card-v2 h4 {
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.member-phone-v2 {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.member-phone-v2 i {
    margin-right: 4px;
}

.member-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: 1.5rem;
}

.member-card h4 {
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.member-card p {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
    transition: var(--transition);
}

.project-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.project-item.highlight-project {
    background: var(--primary);
    border-color: var(--gold);
    border-width: 2px;
}

.project-item.highlight-project i {
    color: var(--white);
}

.project-item.highlight-project:hover {
    background: var(--primary-light);
}

.project-item i {
    font-size: 1.8rem;
    color: var(--gold);
}

.project-item span {
    font-size: 0.82rem;
    font-weight: 500;
}

/* ===== NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
}

.news-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.news-body {
    padding: 20px;
}

.news-body h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-body p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.image-placeholder.gallery-ph {
    min-height: 200px;
    background: linear-gradient(135deg, #2d3436, #636e72);
}

/* ===== QABARSTAN ===== */
.qabarstan-content {
    max-width: 600px;
    margin: 0 auto;
}

.qabarstan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.qabarstan-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.qabarstan-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.qabarstan-card > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.qabarstan-details {
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}

.qabarstan-details div {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
    color: var(--gray);
}

.qabarstan-details i {
    color: var(--primary);
    width: 20px;
    margin-right: 8px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-card h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.85rem;
}

.map-placeholder {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-about p {
    font-size: 0.88rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary-light);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-arabic {
    color: var(--gold);
    margin-top: 8px;
    font-size: 0.9rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .mosque-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .edu-grid,
    .news-grid,
    .leaders-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .members-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}