/* SD Peradaban Global Quran - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #064e3b;      /* Deep Emerald Green */
    --primary-light: #0f766e;/* Teal-green accent */
    --accent: #d97706;       /* Gold Accent */
    --accent-light: #f59e0b; /* Bright Yellow/Gold */
    --bg-light: #f8fafc;     /* Soft Light Gray */
    --bg-dark: #0f172a;      /* Dark Slate */
    --text-dark: #1e293b;    /* Charcoal Text */
    --text-light: #f1f5f9;   /* Soft Light Text */
    --text-muted: #64748b;   /* Slate Gray */
    --white: #ffffff;
    --border-color: #e2e8f0;
    
    --success: #10b981;
    --danger: #ef4444;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px -2px rgba(6, 78, 59, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px -5px rgba(6, 78, 59, 0.08), 0 8px 20px -6px rgba(0, 0, 0, 0.03);
    
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

.text-center { text-align: center; }

/* Grid Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

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

.section-bg-primary {
    background-color: var(--primary);
    color: var(--white);
}

.section-bg-primary h2, .section-bg-primary h3 {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title p {
    margin-top: 12px;
    font-size: 1.1rem;
}

.section-title .badge {
    background-color: rgba(6, 78, 59, 0.08);
    color: var(--primary);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    background-color: transparent;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

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

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

.logo img {
    height: 48px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text span {
    font-size: 0.7rem;
    display: block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Header link styles change depending on scroll state */
.header .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header:not(.scrolled) .nav-link {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Let's overlay nav-link list */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 16px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .header:not(.scrolled) .nav-link {
        color: var(--text-dark);
        text-shadow: none;
    }
    
    .menu-toggle svg {
        width: 30px;
        height: 30px;
    }
    .header:not(.scrolled) .menu-toggle svg {
        stroke: var(--white);
    }
    .header.scrolled .menu-toggle svg {
        stroke: var(--text-dark);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1546410531-bb4caa6b424d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-tag {
    background-color: rgba(217, 119, 6, 0.2);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Statistics Counter */
.stats-banner {
    background-color: var(--white);
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 32px;
    text-align: center;
}

.stat-item {
    padding: 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Welcome Headmaster Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.welcome-photo-container {
    position: relative;
}

.welcome-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.welcome-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.welcome-photo-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
}

.welcome-photo-badge span {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.welcome-text h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.welcome-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.welcome-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(6, 78, 59, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

/* Tabs Vision & Mission */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 32px;
    border-radius: 30px;
    background-color: #f1f5f9;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vision-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-card p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

.mission-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.mission-item {
    background-color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.mission-number {
    width: 32px;
    height: 32px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Testimonial slider */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.testimonial-slide p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-light);
}

.testimonial-role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* News & Blog Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.news-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent-light);
}

.read-more svg {
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Teachers Directory - Public */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 24px;
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.teacher-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

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

.teacher-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.teacher-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.teacher-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Facilities Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.9), transparent 80%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* PPDB Pendaftaran Wizard */
.ppdb-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.ppdb-status-banner {
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.ppdb-status-open {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 5px solid var(--success);
}

.ppdb-status-closed {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 5px solid var(--danger);
}

.ppdb-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .ppdb-layout {
        grid-template-columns: 1fr;
    }
}

/* PPDB Multi-Step Form */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-indicator {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.step-indicator.active .step-number {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
}

.step-indicator.completed .step-number {
    border-color: var(--success);
    background-color: var(--success);
    color: var(--white);
}

.step-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
}

.step-indicator.active .step-title {
    color: var(--primary);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: slideInLeft 0.4s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Custom Checkbox Grid */
.gender-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gender-box {
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.gender-box:hover {
    border-color: var(--primary);
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(6, 78, 59, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-info-text p {
    font-size: 0.95rem;
    margin-top: 4px;
}

/* News Sidebar widgets */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

.widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.search-form {
    display: flex;
    gap: 8px;
}

.widget-posts-list {
    list-style: none;
}

.widget-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.widget-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-post-image {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-post-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 20px 0;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-brand p {
    color: rgba(241, 245, 249, 0.7);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
}

/* ===========================
   Form Controls - Modern Style
   =========================== */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-control:hover {
    border-color: #94a3b8;
}

.form-control:focus {
    border-color: var(--primary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

/* Alert / Notification Banners */
.alert {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    gap: 10px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

/* ===========================
   Card Component
   =========================== */
.card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.card-header {
    padding: 22px 28px 0 28px;
    border-bottom: none;
}

.card-header h2 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 4px;
}

.card-body {
    padding: 24px 28px 28px 28px;
}

/* ===========================
   Contact Page Premium Overhaul
   =========================== */

/* Make the whole left-info column feel premium */
.contact-info-icon {
    font-size: 1.25rem;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.1), rgba(15, 118, 110, 0.08));
    border: 1px solid rgba(6, 78, 59, 0.12);
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.25);
}

/* Contact card glassmorphism upgrade */
.contact-card-premium {
    background: linear-gradient(145deg, #ffffff 0%, #f8fffe 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(6, 78, 59, 0.1);
    box-shadow: 0 24px 48px -8px rgba(6, 78, 59, 0.1), 0 8px 20px -4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

.contact-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
}

.contact-card-header {
    padding: 28px 32px 0 32px;
}

.contact-card-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact-card-header h2 .header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card-body {
    padding: 24px 32px 32px 32px;
}

/* Input labels with floating-label style pill */
.contact-card-body .form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary);
}

.contact-card-body .form-control {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
}

.contact-card-body .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

/* Submit button full width with gradient */
.btn-contact-submit {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.3);
    margin-top: 8px;
    font-family: var(--font-sans);
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 78, 59, 0.4);
}

.btn-contact-submit:active {
    transform: translateY(0);
}

/* Contact Info left column premium */
.contact-info-heading {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}

.contact-info-heading span {
    color: var(--primary);
}

.contact-info-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fffe, #f0fdf9);
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 14px;
    margin-bottom: 14px;
    transition: var(--transition);
    align-items: flex-start;
}

.contact-info-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.08);
}

.contact-info-card .icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.contact-info-card .info-content h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-card .info-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.contact-map-wrapper {
    margin-top: 28px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(6, 78, 59, 0.12);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08);
    height: 220px;
    position: relative;
}

.contact-map-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid rgba(6, 78, 59, 0.1);
    pointer-events: none;
}

