/* ========================================
   Global Styles & Variables
   ======================================== */

:root {
    /* Colors */
    /* Colors */
    --primary-dark: #002B7A;
    /* Brand Sapphire Blue */
    /* Dark Blue equivalent for text contrast if needed, or stick to Brand Blue */
    /* Even deeper sapphire */
    --primary-navy: #001f5c;
    /* Darker shade for gradients/depth */
    --gold: #C6A463;
    /* new branding gold */
    --gold-dark: #A58442;
    --gold-light: #E3D2A4;

    --white: #FFFFFF;
    --off-white: #FDFDFD;
    --light-gray: #F8FAFC;
    --gray: #334155;
    /* Darkened from #64748B for better visibility */
    --dark-gray: #1E293B;
    /* Darker navy-gray for primary text */
    /* Dark Gray for Body text on Light BG */

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Gradients */
    --hero-gradient: radial-gradient(circle at 0% 0%, #002B7A 0%, #000B1D 100%);
    --sapphire-gradient: linear-gradient(135deg, #002B7A 0%, #000B1D 100%);
}

/* Dark Mode Variables */
/* Dark Mode Variables */
body.dark-mode {
    /* Backgrounds become Vibrant Brand Sapphire */
    --off-white: #002B7A;
    /* Primary Brand Sapphire Blue */
    --light-gray: #002266;
    /* Slightly darker Sapphire for contrast cards */

    /* Text becomes White on the Blue Background */
    --primary-dark: #FFFFFF;
    /* Heading Text becomes White */

    --white: #FFFFFF;
    --gray: #E2E8F0;
    /* Light Gray for better readability */
    --dark-gray: #F1F5F9;
    /* Body Text becomes very light */

    --hero-gradient: radial-gradient(circle at 0% 0%, #003cc2 0%, #002B7A 100%);
}


/* ========================================
   Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 max(20px, 4vw);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: var(--white);
}

.gold {
    color: var(--gold);
}

/* ========================================
   Preloader
   ======================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000B1D;
    /* Always dark */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-loader {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.logo-loader .letter {
    display: inline-block;
    color: var(--white);
    animation: letterFloat 2s ease-in-out infinite;
}

.logo-loader .letter:nth-child(1) {
    animation-delay: 0s;
}

.logo-loader .letter:nth-child(2) {
    animation-delay: 0.1s;
}

.logo-loader .letter:nth-child(3) {
    animation-delay: 0.2s;
}

.logo-loader .letter:nth-child(4) {
    animation-delay: 0.3s;
}

.logo-loader .letter:nth-child(5) {
    animation-delay: 0.4s;
}

.logo-loader .letter:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes letterFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--gold);
    animation: loadingSlide 1.5s ease-in-out infinite;
}

@keyframes loadingSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 43, 122, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(198, 164, 99, 0.2);
    transition: all var(--transition-normal);
}

body.dark-mode .navbar {
    background: rgba(0, 43, 122, 0.98);
}

.navbar.scrolled {
    background: rgba(0, 43, 122, 0.85);
    /* Slightly more transparent */
    box-shadow: var(--shadow-md);
    padding: 4px 0;
}

body.dark-mode .navbar.scrolled {
    background: rgba(0, 43, 122, 0.9);
    /* Slightly more transparent for dark mode */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: padding var(--transition-normal);
}

.navbar.scrolled .nav-wrapper {
    padding: 6px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
}

body.dark-mode .logo-text {
    color: var(--white);
}

.logo-subtitle {
    font-size: 7px;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 8px 0;
}

body.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    transition: var(--transition-normal);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
    background: var(--gold);
    transform: rotate(180deg);
}

.theme-toggle .material-symbols-outlined {
    color: var(--primary-dark);
    font-size: 20px;
}

body.dark-mode .theme-toggle .material-symbols-outlined {
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

body.dark-mode .hamburger span {
    background: var(--white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: auto;
    /* Removed 100vh constraint */
    padding-top: 80px;
    /* Height of navbar */
    display: block;
    /* Normal flow to allow height: auto */
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}


.hero-background {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 60% 10%, rgba(198, 164, 99, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 43, 122, 0.4) 0%, transparent 50%);
    mix-blend-mode: screen;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(165, 132, 66, 0.12) 1px, transparent 0);
    background-size: 48px 48px;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Slider Styles */
.hero-slider {
    position: relative;
    /* Relative to allow children to define height */
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    z-index: 1;
}

.slide.active {
    position: relative;
    /* Active slide defines the container height */
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Leader Slide Specifics */
.leader-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.leader-text .hero-title {
    font-size: clamp(36px, 6vw, 72px);
    margin-bottom: 24px;
}

.leader-text .hero-description {
    font-style: italic;
    margin: 0 0 40px 0;
    font-size: 20px;
    border-left: 3px solid var(--gold);
    padding-left: 24px;
}

.leader-name h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 4px;
}

.leader-name p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    opacity: 0.7;
}

.leader-image {
    position: relative;
    max-width: 400px;
    /* Restrict width to make it smaller */
    margin: 0 auto;
    /* Center it if there's extra space */
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(20%);
    box-shadow: var(--shadow-xl);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--gold);
    z-index: -1;
}

.hero-slider-image-container {
    width: 100%;
    line-height: 0;
    /* Remove potential gap below images */
}

.hero-slider-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
}

@media (max-width: 768px) {
    .slider-controls {
        bottom: 20px;
    }
}

.slider-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Vision & Mission Slider Styles */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

.vm-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(244, 208, 63, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.8s;
}

.vm-card:hover::before {
    transform: translateX(100%);
}

.vm-card:hover {
    border-color: rgba(244, 208, 63, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vm-card.visi {
    border-left: 4px solid var(--gold);
}

.vm-card.misi {
    border-right: 4px solid var(--gold);
}

.vm-card .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--gold);
}

.vm-card .hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    margin: 0;
}

/* Corporate Value Slider Styles */
.value-visual {
    position: relative;
}

@media (max-width: 1024px) {

    .leader-grid,
    .value-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .leader-text,
    .value-text {
        text-align: center;
    }

    .leader-text .hero-description {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 40px;
    }

    .value-tags {
        align-items: center;
    }

    .tag-item {
        width: 100%;
        max-width: 500px;
    }

    .leader-image {
        max-width: 300px;
    }
}

/* Media Queries for New Slider Content */
@media (max-width: 991px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vm-card {
        padding: 40px 30px;
    }

    .vm-card .hero-title {
        font-size: 32px;
    }

    .value-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .value-text {
        text-align: center;
    }

    .value-tags {
        align-items: center;
    }

    .tag-item {
        width: 100%;
        max-width: 400px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    margin-bottom: 40px;
}

.hero-badge .badge-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff !important;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes goldGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(244, 208, 63, 0.2);
    }

    50% {
        text-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
    }
}

.hero-title .gold {
    animation: goldGlow 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

.title-line {
    display: block;
    color: var(--white);
    line-height: 1.1;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-dark);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

body.dark-mode .btn-primary-outline {
    color: var(--gold);
    border-color: var(--gold);
}

.btn-primary-outline:hover {
    background: var(--primary-dark);
    color: var(--white);
}

body.dark-mode .btn-primary-outline:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .material-symbols-outlined {
    font-size: 36px;
    color: var(--gold);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: var(--section-padding);
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-label.light {
    color: var(--gold-light);
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-description {
    font-size: 16px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

body.dark-mode .section-description {
    color: var(--gray);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 30px 0;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    background: var(--white);
}

body.dark-mode .about-section {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    z-index: 2;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: all 0.7s ease;
}

.image-frame:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 13, 33, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 3;
}

.badge-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-display);
    line-height: 1;
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    margin-top: 8px;
}

.about-content {
    padding-left: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 400;
    /* Increased weight for visibility */
}

body.dark-mode .about-text {
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item .material-symbols-outlined {
    color: var(--gold);
    font-size: 24px;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

.vm-item {
    padding: 40px;
    background: var(--light-gray);
    border-left: 6px solid var(--gold);
    transition: var(--transition-normal);
}

.vm-item:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

body.dark-mode .vm-item {
    background: var(--light-gray);
}

.vm-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 12px;
}

.vm-item h4 .material-symbols-outlined {
    font-size: 20px;
}

.vm-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

body.dark-mode .vm-item p {
    color: var(--gray);
}

/* ========================================
   Values Section
   ======================================== */

.values-section {
    background: var(--white);
    padding: 100px 0;
}

body.dark-mode .values-section {
    background: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}

body.dark-mode .value-card {
    background: var(--light-gray);
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.value-letter {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-dark);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.value-card:hover .value-letter {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 24px rgba(244, 208, 63, 0.5);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

body.dark-mode .value-card p {
    color: var(--gray);
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    background: var(--light-gray);
}

body.dark-mode .services-section {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border-right: 1px solid rgba(198, 164, 99, 0.1);
    border-bottom: 1px solid rgba(198, 164, 99, 0.1);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

body.dark-mode .service-card {
    background: var(--light-gray);
    border-color: rgba(198, 164, 99, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    transition: width var(--transition-slow);
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon .material-symbols-outlined {
    font-size: 40px;
    color: var(--primary-dark);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
    font-weight: 300;
}

body.dark-mode .service-description {
    color: var(--gray);
}

.service-line {
    width: 50px;
    height: 2px;
    background: rgba(198, 164, 99, 0.3);
    margin-bottom: 20px;
    transition: all var(--transition-slow);
}

.service-card:hover .service-line {
    width: 100%;
    background: var(--gold);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    transition: var(--transition-normal);
}

.service-link:hover {
    gap: 12px;
}

.service-link .material-symbols-outlined {
    font-size: 16px;
}

/* ========================================
   Mission Section
   ======================================== */

.mission-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.mission-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    z-index: -1;
}

.mission-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(198, 164, 100, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-quote {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    font-family: var(--font-serif);
    line-height: 1.5;
    color: var(--white);
    margin: 40px 0;
    font-style: italic;
}

.mission-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.author-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.mission-author span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
}

/* ========================================
   Business Section
   ======================================== */

.business-section {
    background: var(--light-gray);
    padding: 100px 0;
}

body.dark-mode .business-section {
    background: var(--light-gray);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 45%, 600px), 1fr));
    gap: clamp(20px, 3vw, 40px);
    margin-top: 60px;
}

.business-card {
    background: var(--white);
    padding: 40px 30px;
    position: relative;
    transition: all var(--transition-slow);
    border-top: 3px solid transparent;
}

body.dark-mode .business-card {
    background: var(--light-gray);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--gold);
}

.business-card.featured {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    color: var(--white);
    border-top-color: var(--gold);
}

.business-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 5px 15px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.business-icon {
    width: 70px;
    height: 70px;
    background: var(--gold);
    border-radius: 50%;
    /* Make it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.business-card:hover .business-icon {
    transform: scale(1.1) rotate(-5deg);
}

.business-icon .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary-dark);
}

.business-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    /* Space inside the yellow box */
}

.business-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.business-card.featured h3 {
    color: var(--white);
}

.business-tagline {
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.business-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.business-card.featured .business-description {
    color: rgba(255, 255, 255, 0.9);
}

.business-features {
    list-style: none;
    margin: 25px 0;
}

.business-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.business-card.featured .business-features li {
    color: rgba(255, 255, 255, 0.9);
    /* White text on blue featured card */
}

.business-features .material-symbols-outlined {
    color: var(--gold);
    font-size: 20px;
}

.business-locations {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.location-badge {
    background: rgba(198, 164, 99, 0.2);
    color: var(--gold);
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

.business-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-top: 20px;
    transition: var(--transition-slow);
}

.business-card:hover .business-line {
    width: 100%;
}

/* ========================================
   Programs Section
   ======================================== */

.programs-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.programs-background {
    position: absolute;
    inset: 0;
    /* Use variables so it adapts */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    z-index: -1;
}

body.dark-mode .programs-background {
    /* Explicit Sapphire Gradient for Dark Mode */
    background: linear-gradient(135deg, #002B7A 0%, #001f5c 100%);
}

.programs-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(198, 164, 99, 0.08) 1px, transparent 0);
    background-size: 50px 50px;
}

.light-header {
    color: var(--white);
}

.section-title.light {
    color: var(--white);
}

.section-description.light {
    color: rgba(255, 255, 255, 0.7);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.program-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    transition: all var(--transition-normal);
}

.program-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.program-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(198, 164, 99, 0.2);
    font-family: var(--font-display);
    line-height: 1;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.program-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary-dark);
}

.program-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-item p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cta-box {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
}

.cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   News & Events Section
   ======================================== */

.news-section {
    background: var(--white);
    padding: 100px 0;
}

body.dark-mode .news-section {
    background: var(--off-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
    gap: 30px;
    margin-top: 60px;
}

.news-card {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
}

body.dark-mode .news-card {
    background: var(--light-gray);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 2;
}

.news-date .day {
    font-size: 16px;
    font-weight: 800;
}

.news-date .month {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

.news-content {
    padding: 20px;
}

.news-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: var(--transition-normal);
}

.news-card h3 a {
    color: var(--primary-dark);
}

.news-card h3 a:hover {
    color: var(--gold);
}

.news-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
}

body.dark-mode .news-link {
    color: var(--white);
}

.news-link:hover {
    color: var(--gold);
    gap: 12px;
}

.news-link .material-symbols-outlined {
    font-size: 18px;
}

/* ========================================
   Proposition Section
   ======================================== */

.proposition-section {
    background: var(--white);
    padding: 100px 0;
}

body.dark-mode .proposition-section {
    background: var(--off-white);
}

.proposition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.prop-card {
    background: var(--light-gray);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

body.dark-mode .prop-card {
    background: var(--light-gray);
}

.prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.prop-card:hover::before {
    transform: scaleX(1);
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.prop-number {
    font-size: 56px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.15);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 15px;
}

.prop-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prop-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

body.dark-mode .prop-card p {
    color: var(--gray);
}

/* ========================================
   Timeline Section
   ======================================== */

.timeline-section {
    background: var(--light-gray);
    padding: 100px 0;
}

body.dark-mode .timeline-section {
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--gold);
}

body.dark-mode .timeline-item::before {
    border-color: var(--primary-dark);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    direction: ltr;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    direction: ltr;
}

body.dark-mode .timeline-content {
    background: var(--light-gray);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

body.dark-mode .timeline-content p {
    color: var(--gray);
}

.timeline-item.coming-soon .timeline-content {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    color: var(--white);
    border: 2px solid var(--gold);
}

.timeline-item.coming-soon .timeline-content h4,
.timeline-item.coming-soon .timeline-content p {
    color: var(--white);
}

/* ========================================
   Contact Section (Additional Styles)
   ======================================== */

.founder-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 25px;
    background: var(--gold);
}

.founder-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.founder-avatar .material-symbols-outlined {
    font-size: 40px;
    color: var(--gold);
}

.founder-details h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.founder-details p {
    font-size: 12px;
    color: var(--primary-dark);
    margin: 2px 0;
    opacity: 0.8;
}

/* ========================================
   Portfolio Section
   ======================================== */

.portfolio-section {
    background: var(--white);
}

body.dark-mode .portfolio-section {
    background: var(--off-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.stat-card {
    background: var(--light-gray);
    padding: 50px 30px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-normal);
}

body.dark-mode .stat-card {
    background: var(--light-gray);
}

.stat-card:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .stat-icon {
    background: var(--light-gray);
}

.stat-icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--gold);
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-display);
    margin-bottom: 12px;
}

body.dark-mode .stat-value {
    color: var(--primary-dark);
}

.stat-description {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    font-weight: 600;
}

.partners-section {
    text-align: center;
    padding: 60px 40px;
    background: var(--light-gray);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

body.dark-mode .partners-section {
    background: var(--light-gray);
}

.partners-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 600;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.4;
    transition: opacity var(--transition-slow);
}

.partners-grid:hover {
    opacity: 1;
}

.partner-logo {
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-dark);
    transition: var(--transition-normal);
}

body.dark-mode .partner-logo {
    color: var(--dark-gray);
}

.partner-logo:hover {
    color: var(--gold);
    transform: scale(1.1);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    background: var(--light-gray);
}

body.dark-mode .contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 40px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .material-symbols-outlined {
    color: var(--primary-dark);
    font-size: 24px;
}

.contact-content h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.contact-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--primary-dark);
    padding: 60px 50px;
    border-top: 5px solid var(--gold);
    box-shadow: var(--shadow-xl);
}

body.dark-mode .contact-form-wrapper {
    background: var(--primary-navy);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #000B1D;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

body.dark-mode .footer {
    background: #020f29;
    /* Deep Sapphire for Dark Mode */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.social-links a:hover i {
    color: var(--primary-dark);
}

.social-links i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 30px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.footer-col ul a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    color: var(--gold) !important;
    font-weight: 700;
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: transparent;
    transform: translateY(-5px);
}

.back-to-top .material-symbols-outlined {
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 700;
}

.back-to-top:hover .material-symbols-outlined {
    color: var(--gold);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

    .business-card.featured {
        grid-column: span 1;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-year {
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    body.dark-mode .nav-menu {
        background: var(--primary-dark);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }

    .business-grid,
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .logo-text {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 30px;
    }

    .contact-form-wrapper {
        padding: 40px 25px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .proposition-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 0;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

body.dark-mode .gallery-section {
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 43, 122, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-overlay .material-symbols-outlined {
    color: var(--gold);
    font-size: 40px;
    transform: scale(0.5);
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay .material-symbols-outlined {
    transform: scale(1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
}

/* ========================================
   Gallery Modal (Lightbox)
   ======================================== */

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 11, 29, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomModal 0.4s ease-out;
}

@keyframes zoomModal {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    padding: 20px 0;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--gold);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-normal);
}

.close-modal:hover {
    color: var(--white);
    transform: scale(1.1);
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 95%;
    }

    .close-modal {
        right: 20px;
        top: 20px;
    }
}