/**
 * ════════════════════════════════════════════════════════════
 * AVIGHNA SOLUTIONS — Design System & Stylesheet
 * ════════════════════════════════════════════════════════════
 * A premium, light-themed corporate design system with
 * navy + gold accents, modern typography, and smooth animations.
 */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
    /* Primary Palette — Navy */
    --primary:          #1B3A5C;
    --primary-light:    #2A5A8C;
    --primary-lighter:  #3A7ABD;
    --primary-dark:     #0F2440;
    --primary-50:       #EBF0F7;
    --primary-100:      #D0DFEF;

    /* Accent — Warm Gold */
    --accent:           #D4A853;
    --accent-hover:     #C49A42;
    --accent-light:     #F0DFB8;
    --accent-dark:      #A67C30;

    /* Surfaces — Predominantly Light */
    --white:            #FFFFFF;
    --surface:          #F7F8FA;
    --surface-alt:      #EEF1F5;
    --surface-card:     #FFFFFF;
    --border:           #E2E6ED;
    --border-light:     #F0F2F5;

    /* Text */
    --text:             #1A1A2E;
    --text-secondary:   #4A5568;
    --text-muted:       #7A8599;
    --text-on-dark:     #FFFFFF;
    --text-on-accent:   #1A1A2E;

    /* Status */
    --success:          #059669;
    --error:            #DC2626;

    /* Gradients */
    --gradient-hero:    linear-gradient(135deg, #1B3A5C 0%, #2A5A8C 50%, #3A7ABD 100%);
    --gradient-accent:  linear-gradient(135deg, #D4A853 0%, #E8C878 100%);
    --gradient-subtle:  linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 100%);
    --gradient-cta:     linear-gradient(135deg, #1B3A5C 0%, #2A5A8C 100%);

    /* Shadows */
    --shadow-xs:        0 1px 2px rgba(27, 58, 92, 0.04);
    --shadow-sm:        0 2px 8px rgba(27, 58, 92, 0.06);
    --shadow-md:        0 4px 16px rgba(27, 58, 92, 0.08);
    --shadow-lg:        0 8px 32px rgba(27, 58, 92, 0.10);
    --shadow-xl:        0 16px 48px rgba(27, 58, 92, 0.12);
    --shadow-card:      0 2px 12px rgba(27, 58, 92, 0.06);
    --shadow-card-hover:0 8px 30px rgba(27, 58, 92, 0.12);

    /* Typography */
    --font-heading:     'Outfit', sans-serif;
    --font-body:        'Inter', sans-serif;

    /* Spacing */
    --space-xs:         0.25rem;
    --space-sm:         0.5rem;
    --space-md:         1rem;
    --space-lg:         1.5rem;
    --space-xl:         2rem;
    --space-2xl:        3rem;
    --space-3xl:        4rem;
    --space-4xl:        6rem;
    --space-5xl:        8rem;

    /* Layout */
    --container-max:    1200px;
    --container-narrow: 900px;
    --nav-height:       72px;
    --border-radius:    12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Transitions */
    --transition-fast:  150ms ease;
    --transition:       250ms ease;
    --transition-slow:  400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring:500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}


/* ─── CONTAINER ─── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--container-narrow);
}


/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn svg {
    transition: transform var(--transition);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--primary);
    color: var(--text-on-dark);
    border-color: var(--primary);
}

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

.btn--accent {
    background: var(--accent);
    color: var(--text-on-accent);
    border-color: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-on-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn--outline-white {
    background: transparent;
    color: var(--text-on-dark);
    border-color: rgba(255,255,255,0.4);
}

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

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}


/* ─── SECTION UTILITIES ─── */
.section {
    padding: var(--space-5xl) 0;
}

.section--grey {
    background: var(--surface);
}

.section--dark {
    background: var(--gradient-hero);
    color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
    color: var(--text-on-dark);
}

.section--dark p {
    opacity: 0.85;
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section--dark .section__subtitle {
    color: rgba(255,255,255,0.75);
}

/* Gold underline accent for titles */
.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-lg) auto 0;
    border-radius: 2px;
}

.section__title--left::after {
    margin-left: 0;
}


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: var(--space-xl);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.nav__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.05);
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav__link {
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.nav__link--active {
    color: var(--primary);
    font-weight: 600;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav__cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay--visible {
    display: block;
    opacity: 1;
}


/* ═══════════════════════════════════════
   HERO SECTION — Premium Multi-Layered
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-5xl)) 0 calc(var(--space-5xl) + 60px);
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(160deg,
            #0C1F36 0%,
            #152E4F 18%,
            #1B3A5C 35%,
            #1E4A6E 52%,
            #1A4468 68%,
            #1E3858 82%,
            #162B47 100%
        );
    overflow: hidden;
}

/* Ambient light blobs */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 15% 85%, rgba(212, 168, 83, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 75% 15%, rgba(58, 122, 189, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(30, 74, 110, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 300px 300px at 90% 80%, rgba(130, 90, 200, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Animated mesh grid pattern */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: meshDrift 30s linear infinite;
}

@keyframes meshDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Curved bottom edge */
.hero__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

.hero__curve svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Floating decorative shapes */
.hero__decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.hero__decor--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.07) 0%, transparent 70%);
    animation: decorFloat1 18s ease-in-out infinite;
}

.hero__decor--2 {
    width: 280px;
    height: 280px;
    bottom: 15%;
    right: 10%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: decorFloat2 22s ease-in-out infinite;
}

.hero__decor--3 {
    width: 160px;
    height: 160px;
    top: 30%;
    right: 25%;
    background: rgba(212, 168, 83, 0.04);
    border: 1px solid rgba(212, 168, 83, 0.08);
    animation: decorFloat3 15s ease-in-out infinite;
}

.hero__decor--4 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 5%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: decorFloat4 12s ease-in-out infinite;
}

.hero__decor--5 {
    width: 12px;
    height: 12px;
    top: 25%;
    right: 40%;
    background: rgba(212, 168, 83, 0.25);
    animation: decorPulse 4s ease-in-out infinite;
}

.hero__decor--6 {
    width: 8px;
    height: 8px;
    top: 55%;
    right: 15%;
    background: rgba(255, 255, 255, 0.2);
    animation: decorPulse 5s ease-in-out infinite 1s;
}

.hero__decor--7 {
    width: 6px;
    height: 6px;
    top: 40%;
    right: 55%;
    background: rgba(212, 168, 83, 0.3);
    animation: decorPulse 3.5s ease-in-out infinite 0.5s;
}

@keyframes decorFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 15px) scale(1.05); }
}

@keyframes decorFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(0.95); }
    66% { transform: translate(-10px, 10px) scale(1.02); }
}

@keyframes decorFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -15px); }
}

@keyframes decorFloat4 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(10px, -10px); }
}

@keyframes decorPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Gold accent line */
.hero__accent-line {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.15) 30%, rgba(212, 168, 83, 0.25) 50%, rgba(212, 168, 83, 0.15) 70%, transparent 100%);
    z-index: 3;
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 720px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.4rem 1.15rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__label-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(212, 168, 83, 0.5); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(212, 168, 83, 0.3); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    color: var(--text-on-dark);
    line-height: 1.08;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.03em;
}

.hero__title-accent {
    background: linear-gradient(135deg, #D4A853 0%, #E8C878 50%, #D4A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Floating stats bar at bottom of hero */
.hero__stats-bar {
    position: relative;
    z-index: 10;
    margin-top: var(--space-4xl);
}

.hero__stats-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero__stat {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    transition: background var(--transition);
    position: relative;
}

.hero__stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.hero__stat:hover {
    background: rgba(255, 255, 255, 0.07);
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, #D4A853 0%, #E8C878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════
   INTRO / ABOUT PREVIEW SECTION
   ═══════════════════════════════════════ */
.intro {
    padding: var(--space-5xl) 0;
    background: var(--white);
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.intro__content {
    max-width: 520px;
}

.intro__visual {
    position: relative;
}

.intro__image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro__image-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Decorative accent element */
.intro__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    opacity: 0.3;
    z-index: -1;
}

.intro__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.intro__highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.intro__highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.intro__highlight-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
}

.intro__highlight-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.intro__highlight-text strong {
    color: var(--text);
}


/* ═══════════════════════════════════════
   SERVICES SECTION (Homepage)
   ═══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-2xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-lg);
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--text-on-dark);
}

.service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card__link:hover {
    gap: var(--space-sm);
    color: var(--accent);
}


/* ═══════════════════════════════════════
   FEATURED PROJECTS (Homepage)
   ═══════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--surface-card);
    border: 1px solid var(--border);
    transition: all var(--transition-slow);
}

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

.project-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image {
    transform: scale(1.03);
}

.project-card__image-wrapper {
    overflow: hidden;
    position: relative;
}

.project-card__category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.3rem 0.75rem;
    background: rgba(27, 58, 92, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-on-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-card__body {
    padding: var(--space-xl);
}

.project-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.project-card__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.project-card__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}


/* ═══════════════════════════════════════
   WHY CHOOSE US / FEATURES SECTION
   ═══════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.15);
    color: var(--accent);
    border-radius: var(--border-radius-sm);
}

.feature-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-xs);
}

.feature-item__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner {
    padding: var(--space-5xl) 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner__content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
}

.cta-banner__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-4xl) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    margin-bottom: var(--space-lg);
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.125rem;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-on-dark);
}

.footer__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer__contact-inline {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer__contact-link:hover {
    color: var(--accent);
}

.footer__heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-on-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
    padding: 0.15rem 0;
}

.footer__links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer__address {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer__address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.footer__office-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.footer__office-phone svg {
    color: var(--accent);
    flex-shrink: 0;
}

.footer__bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer__copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}


/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-on-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--text-on-accent);
    transform: translateY(-3px);
}


/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered children */
.reveal-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-children--visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children--visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children--visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children--visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-children--visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children--visible > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-children--visible > * {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .intro__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .intro__visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .hero__stats-card {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --space-5xl: 4rem;
        --space-4xl: 3rem;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    /* Mobile Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: 999;
        gap: 0;
    }

    .nav__menu--open {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: 0.75rem var(--space-md);
        font-size: 1rem;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero__stats-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stat {
        padding: var(--space-lg) var(--space-md);
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .section__title::after {
        margin: var(--space-md) auto 0;
    }
}


/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats-card {
        grid-template-columns: 1fr 1fr;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .btn--lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}


/* ═══════════════════════════════════════
   PAGE HEADER (Inner Pages) — Premium
   ═══════════════════════════════════════ */
.page-header {
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 calc(var(--space-4xl) + 30px);
    background:
        linear-gradient(160deg,
            #0C1F36 0%,
            #152E4F 18%,
            #1B3A5C 35%,
            #1E4A6E 52%,
            #1A4468 68%,
            #1E3858 82%,
            #162B47 100%
        );
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 400px at 80% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 20% 80%, rgba(58, 122, 189, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated mesh grid */
.page-header__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
    animation: meshDrift 20s ease-in-out infinite alternate;
}

@keyframes meshDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 30px 30px, 30px 30px; }
}

/* Floating decorative shapes */
.page-header__shape {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.page-header__shape--blob-1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: 8%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
    animation: phFloat1 8s ease-in-out infinite alternate;
}

.page-header__shape--blob-2 {
    width: 150px;
    height: 150px;
    bottom: 10px;
    left: 5%;
    background: radial-gradient(circle, rgba(58, 122, 189, 0.1) 0%, transparent 70%);
    animation: phFloat2 10s ease-in-out infinite alternate;
}

.page-header__shape--ring {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 15%;
    border: 2px solid rgba(212, 168, 83, 0.08);
    animation: phFloat3 12s ease-in-out infinite alternate;
}

.page-header__shape--diamond {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 12%;
    background: rgba(212, 168, 83, 0.06);
    border-radius: 4px;
    transform: rotate(45deg);
    animation: phFloat1 9s ease-in-out infinite alternate-reverse;
}

@keyframes phFloat1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-15px, 10px); }
}

@keyframes phFloat2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, -15px); }
}

@keyframes phFloat3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-8px, 8px) rotate(90deg); }
}

/* Gold accent horizontal line */
.page-header__accent-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.5), transparent);
}

/* Content */
.page-header__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-header__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.page-header__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.page-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.page-header__breadcrumb a:hover {
    color: var(--accent);
}

.page-header__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
}

.page-header__breadcrumb-current {
    color: var(--accent);
    font-weight: 500;
}

/* Curved bottom edge */
.page-header__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
    color: var(--white);
    line-height: 0;
}

.page-header__curve svg {
    display: block;
    width: 100%;
    height: 30px;
}

/* Reduce section gap after curved header */
.page-header + .section {
    padding-top: var(--space-4xl);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: calc(var(--nav-height) + var(--space-3xl)) 0 calc(var(--space-3xl) + 20px);
    }

    .page-header__shape--blob-1 {
        width: 120px;
        height: 120px;
    }

    .page-header__shape--blob-2 {
        width: 80px;
        height: 80px;
    }

    .page-header__shape--ring,
    .page-header__shape--diamond {
        display: none;
    }

    .page-header__curve svg {
        height: 20px;
    }

    .page-header__subtitle {
        font-size: 0.9375rem;
    }
}


/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-story__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.about-story__text:last-of-type {
    margin-bottom: 0;
}

.about-story__visual {
    position: relative;
}

.about-story__image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-story__image-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-story__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--text-on-dark);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.about-story__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-story__badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    line-height: 1.3;
}

/* Vision & Mission Cards */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.vm-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-2xl);
    transition: all var(--transition-slow);
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-light);
}

.vm-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-lg);
}

.vm-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.vm-card__text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: all var(--transition-slow);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-light);
}

.value-card__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-50);
    line-height: 1;
    margin-bottom: var(--space-md);
    transition: color var(--transition);
}

.value-card:hover .value-card__number {
    color: var(--accent-light);
}

.value-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.value-card__text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Grid (About) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-block {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
}

.stat-block__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #D4A853 0%, #E8C878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-block__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}


/* ═══════════════════════════════════════
   SERVICES PAGE — Detail Blocks
   ═══════════════════════════════════════ */
.service-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-4xl);
    align-items: center;
}

.service-detail--reverse {
    direction: rtl;
}

.service-detail--reverse > * {
    direction: ltr;
}

.service-detail__icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
}

.service-detail__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.service-detail__desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.service-detail__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-detail__features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
}

.service-detail__features li svg {
    flex-shrink: 0;
    color: var(--success);
}

.service-detail__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail__number {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    color: var(--primary-50);
    line-height: 1;
    opacity: 0.5;
    user-select: none;
}


/* ═══════════════════════════════════════
   GALLERY & LIGHTBOX
   ═══════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.gallery-grid--masonry {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 92, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--text-on-dark);
}

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

.gallery-item__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox--open {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 10001;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    z-index: 10001;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: var(--space-xl);
}

.lightbox__nav--next {
    right: var(--space-xl);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.lightbox__counter {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}


/* ═══════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn--active {
    background: var(--primary);
    color: var(--text-on-dark);
    border-color: var(--primary);
}


/* ═══════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════ */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.perk-card {
    text-align: center;
    padding: var(--space-2xl);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: all var(--transition-slow);
}

.perk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-light);
}

.perk-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    margin: 0 auto var(--space-lg);
}

.perk-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.perk-card__text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Departments */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.dept-card {
    padding: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.dept-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.dept-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.dept-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Apply Section */
.apply-section {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-4xl);
    align-items: start;
}

.apply-section__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.apply-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.apply-section__card {
    background: var(--primary);
    color: var(--text-on-dark);
    padding: var(--space-2xl);
    border-radius: var(--border-radius);
}

.apply-section__card h4 {
    color: var(--text-on-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.apply-section__card a {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-md);
}

.apply-section__note {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-bottom: 0;
}


/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
}

.contact-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.contact-card__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-card__text a {
    color: var(--text-secondary);
}

.contact-card__text a:hover {
    color: var(--accent);
}

.contact-map__wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--border);
}

.contact-map__wrapper iframe {
    display: block;
}

/* Inquiry Section */
.inquiry-section {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-4xl);
    align-items: start;
}

.inquiry-section__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.inquiry-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.inquiry-section__quick {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--space-2xl);
}

.inquiry-section__quick-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
}

.inquiry-section__quick-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.inquiry-section__quick-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.inquiry-section__quick-item a {
    font-size: 0.9375rem;
    color: var(--primary);
    font-weight: 500;
}

.inquiry-section__quick-item a:hover {
    color: var(--accent);
}


/* ═══════════════════════════════════════
   PROJECT INFO (Detail Page)
   ═══════════════════════════════════════ */
.project-info {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

.project-info__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.project-info__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.project-info__detail {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.project-info__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.project-info__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}


/* ═══════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    color: var(--text-muted);
}

.empty-state svg {
    margin: 0 auto var(--space-lg);
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.empty-state p {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state a {
    color: var(--accent);
    font-weight: 600;
}

/* Footer logo img */
.footer__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
}


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px) — Inner Pages
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-story__visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .service-detail--reverse {
        direction: ltr;
    }

    .service-detail__visual {
        order: -1;
    }

    .gallery-grid--masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apply-section,
    .inquiry-section {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .project-info {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px) — Inner Pages
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid,
    .gallery-grid--masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }

    .contact-map__wrapper {
        min-height: 300px;
    }

    .service-detail__number {
        font-size: 5rem;
    }

    .filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--space-sm);
    }

    .filter-btn {
        flex-shrink: 0;
    }
}


/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px) — Inner Pages
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .gallery-grid,
    .gallery-grid--masonry {
        grid-template-columns: 1fr;
    }

    .apply-section__actions,
    .inquiry-section__actions {
        flex-direction: column;
    }

    .apply-section__actions .btn,
    .inquiry-section__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

