/* ==========================================================================
   Little Hearts Academy CSS Stylesheet
   Theme: Midnight Premium Dark with Warm Gold & Vibrant Red Accents
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    /* Color Palette */
    --bg-dark: #070b12;
    --bg-card: rgba(15, 24, 38, 0.68);
    --bg-card-hover: rgba(22, 34, 52, 0.88);
    --bg-elevated: rgba(11, 18, 30, 0.92);
    
    --primary: #e8a437;       /* School Gold/Ochre */
    --primary-rgb: 232, 164, 55;
    --secondary: #b93442;     /* School Red/Maroon */
    --secondary-rgb: 185, 52, 66;
    --brand-blue: #243f5d;    /* Logo Blue */
    --brand-blue-light: #6d9db8;
    
    --text-main: #f8fafc;
    --text-muted: #a8b3c4;
    --text-inverse: #060a12;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(232, 164, 55, 0.42);
    --glow-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
    --card-shadow: 0 16px 42px rgba(1, 6, 15, 0.34);
    --gold-glow: 0 16px 34px rgba(232, 164, 55, 0.12);
    --red-glow: 0 16px 32px rgba(185, 52, 66, 0.12);
    --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --radius-card: 20px;
    --radius-panel: 24px;
    --radius-control: 14px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at 18% 6%, rgba(232, 164, 55, 0.08), transparent 30rem),
        linear-gradient(180deg, #080d15 0%, var(--bg-dark) 42%, #05080d 100%);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* 2. Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 3. Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.16;
    text-wrap: balance;
}

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

p {
    text-wrap: pretty;
}

::selection {
    background: rgba(232, 164, 55, 0.28);
    color: var(--text-main);
}

:focus-visible {
    outline: 2px solid rgba(232, 164, 55, 0.82);
    outline-offset: 4px;
}

/* 4. Background Animated Fluid Gradients */
.blob-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    mix-blend-mode: screen;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4) 0%, rgba(0,0,0,0) 70%);
    top: -10vw;
    right: -10vw;
    animation-delay: 0s;
}

.blob-2 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.35) 0%, rgba(0,0,0,0) 70%);
    bottom: -20vw;
    left: -10vw;
    animation-delay: 5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(30, 61, 89, 0.45) 0%, rgba(0,0,0,0) 70%);
    top: 35vh;
    left: 25vw;
    animation-delay: 2s;
    animation-duration: 18s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(5%, 8%) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-3%, -5%) scale(0.9) rotate(360deg);
    }
}

/* 5. Layout Containers & Utility Classes */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

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

.text-gradient {
    background: linear-gradient(120deg, #f1bd64 0%, #fff7e3 48%, #cf6a68 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(var(--secondary-rgb), 0.78));
    border-radius: 999px;
    margin: 1.35rem auto 1.45rem;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 164, 55, 0.1);
    border: 1px solid rgba(232, 164, 55, 0.24);
    color: var(--primary);
    padding: 0.48rem 0.85rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.35rem;
    box-shadow: var(--inner-highlight);
}

.icon-tag {
    width: 14px;
    height: 14px;
}

/* 6. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-control);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 0.95rem 1.65rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.58rem 1.05rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #e09112 100%);
    color: var(--text-inverse);
    box-shadow: 0 10px 24px rgba(232, 164, 55, 0.2), var(--inner-highlight);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(232, 164, 55, 0.26), var(--inner-highlight);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
}

.btn-outline-white:hover {
    background: #f8fafc;
    color: var(--bg-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* 7. Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.15rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(7, 11, 18, 0.88);
    backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.25rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0;
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.65rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.68);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition-quick);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.nav-cta-mobile {
    display: none;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Hamburger animations */
.hamburger-btn.active .bar-1 {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary);
}

.hamburger-btn.active .bar-2 {
    opacity: 0;
}

.hamburger-btn.active .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary);
}

/* 8. Hero Section */
.hero-section {
    padding-top: 9.5rem;
    padding-bottom: 6.5rem;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.35rem;
    line-height: 1.08;
    margin-bottom: 1.35rem;
    max-width: 720px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.35rem;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.25rem;
}

.hero-quick-info {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: 1.75rem;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card-frame {
    position: relative;
    width: 100%;
    max-width: 430px;
    border-radius: var(--radius-panel);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--card-shadow), 0 22px 54px rgba(0, 0, 0, 0.34), var(--inner-highlight);
    background: var(--bg-card);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.image-card-frame:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
}

.hero-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.card-glass-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 1.1rem 1.15rem;
    background: rgba(7, 11, 18, 0.74);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), var(--inner-highlight);
}

.label-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.label-sub {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* 9. About Section */
.about-section {
    padding: 7.25rem 0 7.75rem;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 0.9rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.75rem;
    align-items: center;
}
.about-collage-container {
    position: relative;
    border-radius: var(--radius-panel);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow), var(--inner-highlight);
    background: var(--bg-card);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.about-collage-container:hover .about-img {
    transform: scale(1.03);
}

.about-badge-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.about-floating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--secondary-rgb), 0.08);
    border: 1px solid rgba(var(--secondary-rgb), 0.32);
    color: #e8a437;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    backdrop-filter: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: none;
    transition: var(--transition-quick);
}

.about-floating-badge:hover {
    background: rgba(var(--secondary-rgb), 0.12);
    border-color: rgba(var(--secondary-rgb), 0.42);
}

.about-floating-badge.inline-badge {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin: 0;
}

.badge-icon {
    width: 16px;
    height: 16px;
}
.about-text-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-subtitle {
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.about-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-control);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--inner-highlight);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow), var(--inner-highlight);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-actions {
    margin-top: 1rem;
}

/* 10. Why Choose Us Section */
.why-section {
    padding: 7.25rem 0 7.75rem;
    background: rgba(4, 8, 14, 0.46);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2.15rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--inner-highlight);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
    background: var(--bg-card-hover);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon-wrapper.red-theme {
    background: rgba(var(--secondary-rgb), 0.13);
    border: 1px solid rgba(var(--secondary-rgb), 0.24);
    color: #f0787d;
}

.card-icon-wrapper.gold-theme {
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--primary);
}

.card-icon-wrapper.blue-theme {
    background: rgba(69, 123, 157, 0.15);
    border: 1px solid rgba(69, 123, 157, 0.3);
    color: var(--brand-blue-light);
}

.card-icon {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 1.18rem;
    margin-bottom: 0.85rem;
    color: var(--text-main);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* 11. Learning Environment Bento Grid */
.env-section {
    padding: 7.25rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-auto-rows: 260px;
    gap: 1.5rem;
}

.bento-box {
    position: relative;
    border-radius: var(--radius-panel);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--inner-highlight);
}

.bento-box:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
}

.bento-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 9, 15, 0.92) 0%, rgba(5, 9, 15, 0.42) 58%, rgba(5, 9, 15, 0.08) 100%);
    z-index: 2;
}

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

.staff-bento {
    min-height: 420px;
    background: var(--bg-elevated);
}

.staff-bento .bento-image-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.staff-bento .bento-image-bg::after {
    background: linear-gradient(to top, rgba(5, 9, 15, 0.84) 0%, rgba(5, 9, 15, 0.24) 48%, rgba(5, 9, 15, 0.08) 100%);
}

.staff-bento .bento-image-bg img {
    width: calc(100% - 12rem);
    object-fit: contain;
    object-position: center;
    margin-left: auto;
}

.staff-bento .bento-content {
    max-width: 12rem;
}

.staff-bento .bento-title {
    font-size: 1.35rem;
}

.staff-bento .bento-desc {
    font-size: 0.88rem;
}

@media (min-width: 1025px) {
    .staff-bento {
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        min-height: auto;
    }
    
    .staff-bento .bento-image-bg {
        position: relative;
        width: 390px;
        height: 100%;
        display: block;
        padding: 0;
        overflow: hidden;
    }
    
    .staff-bento .bento-image-bg::after {
        display: none;
    }
    
    .staff-bento .bento-image-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        margin-left: 0;
    }
    
    .staff-bento .bento-content {
        flex: 1;
        max-width: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem;
    }
}


.bento-box:hover .bento-image-bg img {
    transform: scale(1.04);
}

.bento-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
}

.bento-badge {
    display: inline-block;
    padding: 0.32rem 0.72rem;
    border-radius: 10px;
    background: rgba(29, 53, 87, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
}

.bento-badge.gold-badge {
    background: rgba(245, 166, 35, 0.15);
    border-color: rgba(245, 166, 35, 0.3);
    color: var(--primary);
}

.bento-badge.red-badge {
    background: rgba(var(--secondary-rgb), 0.13);
    border-color: rgba(var(--secondary-rgb), 0.25);
    color: #f0787d;
}

.bento-badge.blue-badge {
    background: rgba(69, 123, 157, 0.15);
    border-color: rgba(69, 123, 157, 0.3);
    color: var(--brand-blue-light);
}

.bento-title {
    font-size: 1.42rem;
    margin-bottom: 0.5rem;
}

.bento-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
}

/* Bento Box Sizes */
.box-large {
    grid-column: span 1;
    grid-row: span 2;
}

.box-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.box-small-height {
    grid-column: span 1;
    grid-row: span 1;
}

/* Bento Schedule Box Widget Styles */
.schedule-box {
    background: var(--bg-card);
    justify-content: flex-start;
}

.schedule-box .bento-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-schedule-zoom {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
}

.btn-schedule-zoom:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    transform: scale(1.08);
}

.btn-schedule-zoom svg {
    width: 16px;
    height: 16px;
}

.schedule-widget {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.schedule-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(3, 7, 13, 0.44);
    padding: 0.35rem;
    border-radius: 13px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 0;
    border-radius: 9px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 8px 18px rgba(232, 164, 55, 0.18);
}

.schedule-display {
    flex-grow: 1;
    background: rgba(3, 7, 13, 0.34);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-control);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.day-content {
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-quick);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    pointer-events: none;
}

.day-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: auto;
}

.uniform-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.uniform-tag.red-tag {
    background: rgba(var(--secondary-rgb), 0.11);
    color: #f0787d;
    border: 1px solid rgba(var(--secondary-rgb), 0.22);
}

.uniform-tag.gold-tag {
    background: rgba(245, 166, 35, 0.1);
    color: var(--primary);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.uniform-tag.blue-tag {
    background: rgba(69, 123, 157, 0.1);
    color: #8ebed0;
    border: 1px solid rgba(69, 123, 157, 0.2);
}

.uniform-tag.active-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #c9d8e6;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-details p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* 12. Our Approach Section */
.approach-section {
    padding: 7.25rem 0 7.75rem;
    background: rgba(5, 9, 15, 0.24);
}

.approach-widget {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.approach-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.35rem;
    border-radius: var(--radius-card);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: var(--inner-highlight);
}

.approach-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.approach-btn.active {
    background: linear-gradient(135deg, rgba(36, 63, 93, 0.34) 0%, rgba(15, 24, 38, 0.84) 100%);
    border-color: var(--primary);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
}

.btn-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

.approach-btn.active .btn-num {
    color: var(--primary);
}

.btn-title-area {
    flex-grow: 1;
}

.btn-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.btn-title-area p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

.approach-btn.active .btn-chevron {
    color: var(--primary);
    transform: translateX(3px);
}

.approach-display-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-panel);
    padding: 3rem;
    min-height: 440px;
    position: relative;
    box-shadow: var(--card-shadow), var(--inner-highlight);
}

.approach-content-panel {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.4s ease;
}

.approach-content-panel.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.display-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.display-icon-box.red-icon {
    background: rgba(var(--secondary-rgb), 0.13);
    color: #f0787d;
    border: 1px solid rgba(var(--secondary-rgb), 0.25);
}

.display-icon-box.gold-icon {
    background: rgba(245, 166, 35, 0.15);
    color: var(--primary);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.display-icon-box.blue-icon {
    background: rgba(69, 123, 157, 0.15);
    color: var(--brand-blue-light);
    border: 1px solid rgba(69, 123, 157, 0.3);
}

.display-icon-box.orange-icon {
    background: rgba(245, 166, 35, 0.15);
    color: #ffbe0b;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.display-icon-box svg {
    width: 28px;
    height: 28px;
}

.display-title {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
}

.display-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.display-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.display-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.list-check {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* 13. Gallery Section */
.gallery-section {
    padding: 7.25rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: var(--card-shadow), var(--inner-highlight);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.gallery-item-full-photo .gallery-img-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #070d18;
    overflow: hidden;
}

.gallery-item-full-photo .gallery-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.65);
    opacity: 0.7;
    z-index: 0;
}

.gallery-item-full-photo .gallery-img-wrapper img {
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: center;
    padding: 0.25rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 9, 15, 0.9) 0%, rgba(5, 9, 15, 0.24) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    padding: 1.5rem;
}

.gallery-zoom-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-img-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
    text-align: center;
}

/* Gallery Hover Interactions */
.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

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

.gallery-item:hover .gallery-zoom-icon,
.gallery-item:hover .gallery-img-title {
    transform: translateY(0);
}

/* 14. Strong Call to Action Banner */
.cta-banner {
    padding: 6.25rem 0;
    position: relative;
    overflow: hidden;
}

.cta-backdrop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(232, 164, 55, 0.11) 0%, rgba(var(--secondary-rgb), 0.055) 50%, rgba(0,0,0,0) 80%);
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-inner-card {
    background: linear-gradient(135deg, rgba(15, 24, 38, 0.82) 0%, rgba(5, 9, 15, 0.96) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-panel);
    padding: 4rem;
    text-align: center;
    box-shadow: var(--card-shadow), var(--inner-highlight);
    max-width: 960px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 15. Contact Section & Enquiry Form */
.contact-section {
    padding: 7.25rem 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: stretch;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-panel);
    padding: 3rem;
    box-shadow: var(--card-shadow), var(--inner-highlight);
}

.contact-card-title {
    font-size: 1.65rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-row {
    width: 100%;
}

.split-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.76);
}

.required {
    color: #ff5252;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(3, 7, 13, 0.42);
    border: 1px solid var(--border-color);
    border-radius: 11px;
    padding: 0.88rem 1rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-quick);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(3, 7, 13, 0.62);
    box-shadow: 0 0 0 3px rgba(232, 164, 55, 0.13);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #f0787d;
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.13);
}

.error-msg {
    font-size: 0.75rem;
    color: #f0787d;
    font-weight: 500;
    margin-top: 0.25rem;
    display: none;
}

.error-msg.visible {
    display: block;
}

/* Contact Details (Right side) */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-panel);
    padding: 3rem;
    box-shadow: var(--card-shadow), var(--inner-highlight);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.details-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.details-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-icon-wrapper.red-theme {
    background: rgba(var(--secondary-rgb), 0.12);
    border: 1px solid rgba(var(--secondary-rgb), 0.22);
    color: #f0787d;
}

.details-icon-wrapper.gold-theme {
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.2);
    color: var(--primary);
}

.details-icon-wrapper.blue-theme {
    background: rgba(69, 123, 157, 0.12);
    border: 1px solid rgba(69, 123, 157, 0.2);
    color: var(--brand-blue-light);
}

.details-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.details-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.details-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
}

.details-link:hover {
    color: var(--primary);
}

/* Map Wrapper */
.map-card-wrapper {
    border-radius: var(--radius-panel);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow), var(--inner-highlight);
    height: 280px;
    width: 100%;
}

.location-map {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(90%) hue-rotate(180deg) opacity(0.85); /* Premium dark-theme styling for map */
}

/* 16. Footer */
.footer {
    background: #05080d;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.3fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
    align-items: flex-start;
}

.branding-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    object-fit: cover;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0.5rem 0 1.25rem 0;
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    max-width: 320px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(232, 164, 55, 0.16);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.footer-links-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact-list a:hover {
    color: var(--primary);
}

/* Developer Credit Styling */
.footer-heading-spacing {
    margin-top: 2rem;
}

.footer-socials {
    margin-bottom: 2.25rem;
}

.dev-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.developer-logo-card {
    background: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.developer-logo-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 28px rgba(255, 255, 255, 0.14);
}

.dev-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.dev-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dev-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.dev-contact-link:hover {
    color: var(--primary);
}

.dev-contact-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.social-btn.whatsapp-btn:hover {
    background: #20bd5a;
    color: #ffffff;
    border-color: #20bd5a;
    box-shadow: 0 12px 24px rgba(32, 189, 90, 0.22);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* 17. Image Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 8, 0.94);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition-quick);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition-quick);
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-prev {
    left: 35px;
}

.lightbox-next {
    right: 35px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.62);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.lightbox-caption {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
}

/* 18. Custom Success Toast Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-modal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
    border-radius: var(--radius-panel);
    padding: 2.75rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.success-modal.active .success-modal-card {
    transform: scale(1);
}

.success-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(232, 164, 55, 0.14);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: var(--inner-highlight);
}

.success-icon {
    width: 36px;
    height: 36px;
}

.success-modal-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

.success-modal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-modal-card strong, 
.success-modal-card span {
    color: var(--primary);
}

/* 19. Intersection Observer Scroll Reveals */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero reveal sequencing */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge-tag.animate-reveal { animation-delay: 0.1s; }
.hero-content .hero-title.animate-reveal { animation-delay: 0.2s; }
.hero-content .hero-desc.animate-reveal { animation-delay: 0.3s; }
.hero-content .hero-ctas.animate-reveal { animation-delay: 0.4s; }
.hero-content .hero-quick-info.animate-reveal { animation-delay: 0.5s; }
.hero-image-wrapper.animate-reveal { animation-delay: 0.3s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   20. Responsive Media Queries (Mobile & Tablet Adjustments)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-quick-info {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-img {
        height: 380px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(240px, auto);
    }
    
    .box-large {
        grid-row: span 1;
    }
    
    .box-medium {
        grid-row: span 1;
    }
    
    .approach-widget {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 0.9fr 1.2fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    /* Navigation Hamburger Menu Drawer styling */
    .hamburger-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #070d18;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2.5rem 3rem 2.5rem;
        gap: 2rem;
        z-index: 105;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(3, 5, 8, 0.8);
        backdrop-filter: blur(4px);
        z-index: 99;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
    }
    
    .hero-section {
        padding-top: 8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-quick-info {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .split-form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-inner-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btns .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Mobile-first Layout & Spacing Adjustments */
    .section, .about-section, .why-section, .env-section, .approach-section, .gallery-section, .contact-section {
        padding: 3.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Header & Navigation mobile spacing */
    .header-container {
        padding: 0 1.25rem;
    }
    
    /* Hero Section Mobile refinement */
    .hero-section {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }
    
    .image-card-frame {
        transform: rotate(0deg) !important;
        margin-top: 1.5rem;
    }
    
    /* Why choose us cards */
    .why-card {
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .why-card .card-icon-wrapper {
        margin-bottom: 1.25rem;
    }
    
    /* Bento content spacing */
    .bento-content {
        padding: 1.5rem;
    }

    .staff-bento {
        min-height: 360px;
    }

    .staff-bento .bento-image-bg {
        padding: 0.5rem;
        align-items: flex-start;
    }

    .staff-bento .bento-image-bg img {
        width: 100%;
        margin-left: 0;
    }

    .staff-bento .bento-content {
        max-width: none;
    }

    .staff-bento .bento-title {
        font-size: 1.5rem;
    }

    .staff-bento .bento-desc {
        font-size: 0.95rem;
    }
    
    /* Approach display card sizing */
    .approach-display-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    /* Contact Form & details padding */
    .contact-card, .contact-details-card {
        padding: 2rem 1.5rem;
    }

    /* Success popup card padding */
    .success-modal-card {
        padding: 2rem 1.5rem;
    }
    
    .dev-contact-link {
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
    }
}

/* Standalone Mobile Specific Viewports */
@media (max-width: 560px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.15rem;
    }
    .nav-logo {
        width: 34px;
        height: 34px;
    }
    .hero-quick-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* 21. Terms & Conditions Overlay Modal */
.terms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(3, 5, 8, 0.94);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.terms-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.terms-modal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow), var(--gold-glow), var(--inner-highlight);
    border-radius: var(--radius-panel);
    padding: 2.75rem;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.terms-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.terms-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.terms-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

.terms-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.terms-body::-webkit-scrollbar {
    width: 6px;
}

.terms-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.terms-body h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.terms-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

#btnAgreeTerms {
    min-width: 160px;
}

/* 22. POPIA Compliance Accordion styling */
.popia-section {
    padding: 2rem 0 4.25rem 0;
    position: relative;
    background: transparent;
}

.popia-accordion {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition-smooth);
    max-width: 960px;
    margin: 0 auto;
}

.popia-accordion[open] {
    border-color: var(--border-hover);
    box-shadow: var(--gold-glow), var(--inner-highlight);
    background: var(--bg-card-hover);
}

.popia-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.75rem;
    cursor: pointer;
    list-style: none;
    outline: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    transition: var(--transition-quick);
}

.popia-summary::-webkit-details-marker {
    display: none;
}

.popia-summary:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.popia-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popia-badge-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.popia-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.popia-accordion[open] .popia-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.popia-content {
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.popia-content strong {
    color: #ffffff;
}

.popia-link {
    color: var(--primary);
    text-decoration: underline;
}

.popia-link:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .terms-modal-card {
        padding: 1.75rem 1.25rem;
        gap: 1rem;
        max-height: 85vh;
        max-height: 85dvh;
    }
}

@media (max-width: 480px) {
    .terms-overlay {
        padding: 0.75rem;
    }
    .terms-modal-card {
        padding: 1.25rem 1rem;
        gap: 0.75rem;
        border-radius: 12px;
        max-height: 88vh;
        max-height: 88dvh;
    }
    .terms-header {
        padding-bottom: 0.75rem;
    }
    .terms-header h3 {
        font-size: 1.25rem;
    }
    .terms-body {
        font-size: 0.85rem;
        line-height: 1.6;
        gap: 0.75rem;
    }
    .terms-footer {
        padding-top: 0.75rem;
    }
    #btnAgreeTerms {
        width: 100%;
        min-width: unset;
    }
}
