@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap");

:root {
    --navy: #1f2a5a;
    --blue: #2b3c8a;
    --blue-soft: #394bb0;
    --ink: #1b1e2b;
    --muted: #6a6f82;
    --bg: #f8f9fa; /* Lighter background for more contrast */
    --card: #ffffff;
    --line: #e3e5ee;
    --gold-yellow: #f5b041;
    --light-blue: #ade8f4;
    --shell-pad: clamp(16px, 3vw, 40px);
    --content-max: 1160px;
    --content-narrow: 920px;
    --section-pad-y: clamp(44px, 5.5vw, 76px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 78px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: var(--navy);
    font-weight: 700;
}

.letter-hover .letter {
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.letter-hover {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    word-break: normal;
    line-height: 1.1;
}

.letter-hover .letter:hover {
    color: var(--gold-yellow);
    transform: translateY(-2px);
}

.letter-hover .word {
    display: inline-block;
    white-space: nowrap;
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.2rem; line-height: 1.2; }
h3 { font-size: 1.6rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.4; }

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

.subtitle {
    font-size: 1rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 30px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

/* ===============================
GLOBAL BACKGROUND SLIDESHOW
=============================== */
body.bg-slideshow {
    background: #0f1428;
}

body.bg-slideshow::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center center;
    animation: pageBgSlideshow 28s infinite;
    filter: saturate(1) brightness(0.94);
}

body.bg-slideshow::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(15, 20, 40, 0.22);
}

body.page-home.bg-slideshow::after {
    background: linear-gradient(120deg, rgba(15, 20, 40, 0.6), rgba(15, 20, 40, 0.25));
}

body:not(.page-home).bg-slideshow::after {
    background: rgba(15, 20, 40, 0.18);
}

@keyframes pageBgSlideshow {
    0% { background-image: var(--bg-1); }
    25% { background-image: var(--bg-2); }
    50% { background-image: var(--bg-3); }
    75% { background-image: var(--bg-4); }
    100% { background-image: var(--bg-1); }
}

body.page-home { 
    --bg-1: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
}

body.page-who-we-are { 
    --bg-1: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
}

body.page-what-we-do { 
    --bg-1: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
}

body.page-careers { 
    --bg-1: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
}

body.page-insights { 
    --bg-1: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
}

body.page-academy { 
    --bg-1: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
}

body.page-contact { 
    --bg-1: url("https://cdn.pixabay.com/photo/2018/07/20/08/28/doha-3550220_1280.jpg");
    --bg-2: url("https://cdn.pixabay.com/photo/2018/07/27/16/02/cityscape-3566340_1280.jpg");
    --bg-3: url("https://cdn.pixabay.com/photo/2017/08/20/19/31/doha-skyline-2662874_1280.jpg");
    --bg-4: url("https://cdn.pixabay.com/photo/2018/12/03/17/29/qatar-3853814_1280.jpg");
}

/* Reusable Container */
.container {
    max-width: var(--content-max);
    width: min(100%, var(--content-max));
    margin: 0 auto;
    padding: 0;
}


/* ===============================
HEADER / NAVBAR
=============================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 3vw;
    background: #fff;
    box-shadow: 0 5px 20px rgba(18, 24, 48, 0.08);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
}

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

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

.site-header .logo-text {
    display: none;
}

.logo-text span:first-child {
    font-weight: 800; /* Bolder */
    font-size: 18px; /* Slightly larger */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    display: block;
}

.logo-text span:last-child {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
    font-size: 0.96rem;
    margin-left: auto;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--ink);
    position: relative;
    padding-bottom: 6px; /* More space for underline */
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue-soft);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue-soft);
    transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    width: 100%;
    left: 0;
}

.nav-links .nav-button {
    background: var(--gold-yellow);
    color: var(--navy);
    padding: 9px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(245, 176, 65, 0.3);
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-links .nav-button:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 60, 138, 0.25);
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger div {
    width: 28px; /* Slightly larger */
    height: 3px;
    background-color: var(--navy);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active div:nth-child(2) { opacity: 0; }
.hamburger.active div:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===============================
HERO - SLIDESHOW
=============================== */
.hero {
    position: relative;
    height: 650px; /* Taller hero */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: imageSlideshow 30s infinite; /* 5 images * 6s each */
    z-index: 0;
}

.hero-slideshow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(27, 32, 56, 0.55), rgba(27, 32, 56, 0.15));
    z-index: 1;
}

@keyframes imageSlideshow {
    0% { background-image: url("https://images.unsplash.com/photo-1542744095-291d1f67b221?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); }
    20% { background-image: url("https://images.unsplash.com/photo-1552581234-26160f608093?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); }
    40% { background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); }
    60% { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); }
    80% { background-image: url("https://images.unsplash.com/photo-1628126896207-6b4d3f23a669?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); } /* New image */
    100% { background-image: url("https://images.unsplash.com/photo-1542744095-291d1f67b221?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); }
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 4vw;
}

.hero-overlay h1 {
    font-size: 4.5rem; /* Even larger */
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-overlay p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-size: 1.4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background: var(--gold-yellow);
    color: var(--navy);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(245, 176, 65, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 60, 138, 0.35);
}

/* ===============================
SECTION STYLES (General for non-home pages)
=============================== */
.page-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: none;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 4vw;
}

.page-hero-content h1 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}

.page-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

body.page-who-we-are .page-hero {
    box-shadow: none;
}

body.page-who-we-are .page-hero-content {
    background: transparent;
}

body.page-who-we-are .page-hero-content h1,
body.page-who-we-are .page-hero-content p {
    color: #fff;
}

body.page-who-we-are .about .video-section h3,
body.page-who-we-are .about .video-section p {
    color: #fff;
}

body.page-what-we-do .page-hero-content h1,
body.page-what-we-do .page-hero-content p,
body.page-what-we-do .page-hero-content p {
    color: #fff;
}

body.page-what-we-do .services .card-grid .info-card p {
    color: var(--navy);
}

body.page-careers .page-hero-content h1,
body.page-careers .page-hero-content p,
body.page-careers .page-hero-content p {
    color: #fff;
}

body.page-careers .tree .tree-content h4,
body.page-careers .tree .tree-content p {
    color: var(--navy);
}

body.page-insights .page-hero-content h1,
body.page-insights .page-hero-content p,
body.page-insights .page-hero-content p {
    color: #fff;
}

body.page-insights .tree .tree-content h4,
body.page-insights .tree .tree-content p {
    color: var(--navy);
}

body.page-academy .page-hero-content h1,
body.page-academy .page-hero-content p,
body.page-academy .page-hero-content p {
    color: #fff;
}

body.page-academy .card-grid .info-card p {
    color: var(--navy);
}

body.page-academy .academy .video-section h3,
body.page-academy .academy .video-section p {
    color: #fff;
}

body.page-contact .page-hero-content h1,
body.page-contact .page-hero-content p,
body.page-contact .page-hero-content p {
    color: #fff;
}

body.page-contact .main-footer .footer-column p,
body.page-contact .main-footer .footer-column strong,
body.page-contact .main-footer .footer-bottom {
    color: #fff;
}

body.page-contact .details-grid h4,
body.page-contact .details-grid p,
body.page-contact .contact-panel h3,
body.page-contact .contact-panel p {
    color: var(--navy);
}

body.page-contact .contact h2 {
    margin-bottom: 10px;
}

body.page-contact .contact-panel form input,
body.page-contact .contact-panel form textarea {
    color: var(--navy);
}

body.page-contact .contact-panel form input::placeholder,
body.page-contact .contact-panel form textarea::placeholder {
    color: var(--navy);
    opacity: 0.8;
}

/* Specific page hero images */
#who-we-are-hero { background-image: url('https://images.unsplash.com/photo-1522071901873-411886a10004?q=80&w=2600&auto=format&fit=crop'); }
#what-we-do-hero { background-image: url('https://images.unsplash.com/photo-1516321165247-4aa89a48be28?q=80&w=2600&auto=format&fit=crop'); }
#academy-hero { background-image: url('https://images.unsplash.com/photo-1513258496099-48168024aec0?q=80&w=2600&auto=format&fit=crop'); }
#insights-hero { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2600&auto=format&fit=crop'); }
#careers-hero { background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2600&auto=format&fit=crop'); }
#contact-hero { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=2600&auto=format&fit=crop'); }


body:not(.home) section {
    max-width: none;
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 30px 8vw;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

body.page-who-we-are .about {
    margin-top: 0;
    padding-top: 30px;
}

body:not(.home) section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--navy);
}

body:not(.home) section h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 18px;
    color: var(--blue);
}

body:not(.home) p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--muted);
}

body:not(.home) ul {
    padding-left: 30px;
    margin-bottom: 25px;
    list-style: none; /* Remove default bullet */
}

body:not(.home) li {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 1.05rem;
    position: relative;
    padding-left: 25px;
}

body:not(.home) li::before {
    content: "\f058"; /* FontAwesome check circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold-yellow); /* Gold yellow checkmark */
    position: absolute;
    left: 0;
    top: 0;
}

body:not(.home) li strong {
    color: var(--navy);
}

/* Form Styles for Contact Page */
body:not(.home) form {
    margin-top: 40px;
    display: grid;
    gap: 18px;
}

body:not(.home) form input,
body:not(.home) form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: all 0.3s ease;
}

body:not(.home) form input:focus,
body:not(.home) form textarea:focus {
    border-color: var(--blue-soft);
    box-shadow: 0 0 0 3px rgba(57, 75, 176, 0.1);
    outline: none;
}

body:not(.home) form textarea {
    min-height: 150px;
    resize: vertical;
}

body:not(.home) form button {
    background: var(--gold-yellow);
    color: var(--navy);
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body:not(.home) form button:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 60, 138, 0.3);
}

/* ===============================
MARQUEE SECTION
=============================== */
.marquee-section {
    background: var(--navy);
    color: #fff;
    padding: 12px 0; /* Slightly more padding */
    overflow: hidden;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.marquee-section::before {
    content: "LATEST UPDATES:";
    position: absolute;
    left: 4vw;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--gold-yellow);
    z-index: 1;
    padding-right: 25px; /* More space */
    background: var(--navy);
    line-height: 1; /* Ensure proper vertical alignment */
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding-left: 200px; /* Space for "LATEST UPDATES:" text */
    animation: marquee 35s linear infinite; /* Slower */
    will-change: transform;
}

.marquee-content span {
    margin-right: 70px; /* More space between messages */
    color: var(--light-blue);
}

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

/* ===============================
KEY METRICS SECTION (INDEX PAGE)
=============================== */
.key-metrics {
    background: transparent;
    color: #fff;
    padding: 80px 4vw;
    text-align: center;
}

.key-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-item {
    padding: 25px;
    border-radius: 12px;
    background: rgba(43, 60, 138, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.metric-item h3 {
    font-size: 2.6rem; /* Reduced numbers */
    color: var(--gold-yellow);
    margin-bottom: 10px;
    font-family: "Manrope", sans-serif; /* Use Manrope for numbers */
    font-weight: 800;
}

.metric-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.instagram-showcase {
    padding: 24px 4vw 20px;
}

.instagram-showcase-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 22px 50px rgba(12, 24, 54, 0.12);
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: start;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.instagram-eyebrow {
    margin: 0 0 10px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-yellow);
    font-weight: 800;
}

.instagram-showcase-copy h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.instagram-showcase-copy p {
    margin: 0 0 18px;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #feda75, #fa7e1e 35%, #d62976 70%, #4f5bd5);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(214, 41, 118, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-profile-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(214, 41, 118, 0.28);
}

.instagram-embed-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(31, 42, 90, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    min-height: 340px;
}

.instagram-embed-card .instagram-media {
    min-width: 100% !important;
    width: 100% !important;
}


/* ===============================
SERVICE STRIP - WITH IMAGE HOVER
=============================== */
.service-strip {
    padding: 80px 4vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background: var(--card);
    border-radius: 16px; /* More rounded */
    padding: 35px 25px; /* More padding */
    box-shadow: 0 10px 30px rgba(18, 24, 48, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex; /* Flexbox for hover content alignment */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px; /* Ensure consistent height */
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(18, 24, 48, 0.12);
}

.service-icon {
    width: 65px; /* Larger icon */
    height: 65px;
    margin: 0 auto 20px;
    background: var(--blue-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 5px 18px rgba(57, 75, 176, 0.35);
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-item p {
    color: var(--muted);
    font-size: 16px;
}

/* Image Hover Effect */
.service-item .hover-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image */
}

.service-item:hover .hover-image {
    opacity: 1;
}

.service-item .hover-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease;
    background: rgba(27, 32, 56, 0);
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-item:hover .hover-content {
    opacity: 1;
    color: #fff;
    background: rgba(27, 32, 56, 0.45);
}

.service-item:hover h3,
.service-item:hover p {
    color: #fff;
}

/* Specific images for each service item */
.service-item:nth-child(1) .hover-image { background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884992?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); }
.service-item:nth-child(2) .hover-image { background-image: url('https://images.unsplash.com/photo-1504384308093-f421f66de532?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); }
.service-item:nth-child(3) .hover-image { background-image: url('https://images.unsplash.com/photo-1544377193-33dcf4d68e21?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); }

/* ===============================
CARD GRIDS (REUSABLE)
=============================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(18, 24, 48, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.info-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.info-card .card-body {
    padding: 22px;
    display: grid;
    gap: 10px;
}

.info-card h4 {
    font-size: 1.3rem;
    color: var(--navy);
}

.info-card p {
    font-size: 1rem;
    color: var(--muted);
}

.info-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(57, 75, 176, 0.35);
}

.card-grid.tight {
    gap: 18px;
}

.card-grid.centered {
    text-align: center;
}

/* ===============================
TREE / TIMELINE LAYOUT
=============================== */
.tree {
    position: relative;
    margin-top: 30px;
    padding-left: 28px;
    display: grid;
    gap: 20px;
}

.tree::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-yellow), var(--blue-soft));
}

.tree-node {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 12px 30px rgba(18, 24, 48, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
}

.tree-node::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-yellow);
    box-shadow: 0 0 0 6px rgba(245, 176, 65, 0.25);
}

.tree-thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(18, 24, 48, 0.15);
}

.tree-content h4 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.tree-content p {
    font-size: 0.98rem;
}

/* ===============================
CONTACT GRID
=============================== */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0 40px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 26px rgba(18, 24, 48, 0.08);
    display: grid;
    gap: 12px;
    align-items: start;
    text-align: center;
}

.detail-card i {
    font-size: 22px;
    color: var(--blue-soft);
}

.detail-icon {
    width: 100%;
    min-height: 50px;
    display: grid;
    place-items: center;
    padding: 0 18px;
    border-radius: 12px;
    margin: 0 auto 4px;
    position: relative;
    overflow: hidden;
}

.detail-icon i {
    position: relative;
    z-index: 1;
    color: #fff;
    background: none;
    box-shadow: none;
}

.contact-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    margin-top: 30px;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(18, 24, 48, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.contact-panel h3 {
    margin-top: 0;
}

.map-container {
    height: 420px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 24, 48, 0.08);
}

/* ===============================
VIDEO SECTION (HTML5)
=============================== */
.video-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* ===============================
MISSION + VISION
=============================== */
.mission-vision {
    padding: 80px 4vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    background: var(--card);
    box-shadow: 0 10px 30px rgba(18, 24, 48, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(18, 24, 48, 0.12);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border: 3px solid var(--blue-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--blue-soft);
    background: var(--light-blue);
    font-size: 40px;
    box-shadow: 0 5px 20px rgba(57, 75, 176, 0.25);
}

.mv-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--navy);
}

.mv-card p {
    color: var(--muted);
    font-size: 17px;
}

/* ===============================
TESTIMONIALS (SLIDER)
=============================== */
.testimonials-section {
    padding: 80px 4vw;
    background: var(--bg);
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 15px;
}

.testimonials-section p.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 50px;
}

.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%; /* Each card takes full width */
    background: var(--card);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(18, 24, 48, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--gold-yellow);
    margin-bottom: 25px;
    line-height: 1;
}

.testimonial-card p.quote-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 30px;
    font-family: "Playfair Display", serif;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--blue-soft);
}

.author-info strong {
    display: block;
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
}

.author-info span {
    font-size: 1rem;
    color: var(--muted);
    display: block;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--blue-soft);
    width: 14px;
    height: 14px;
}


/* ===============================
TRUSTED BY CLIENTS (LOGOS)
=============================== */
.trusted-by-section {
    padding: 60px 4vw 80px;
    text-align: center;
    background: var(--card); /* Match card background */
}

.trusted-by-section h2 {
    margin-bottom: 40px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Increased gap */
    max-width: 1000px;
    margin: 0 auto;
}

.client-logos img {
    max-height: 90px;
    width: auto;
    filter: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* ===============================
CONTENT (General)
=============================== */
.home-content {
    padding: 80px 4vw;
    text-align: justify;
    background: var(--bg);
}

.home-content .container {
    max-width: 1000px; /* Adjusted max-width for general content */
}

.home-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--navy);
}

.home-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--muted);
}

/* ===============================
VIDEO SECTION
=============================== */
.video-section {
    padding: 80px 4vw;
    background-color: var(--navy); /* Dark background for video */
    color: #fff;
    text-align: center;
}

.video-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.video-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.academy-video-section {
    background:
        linear-gradient(135deg, rgba(9, 20, 43, 0.92), rgba(31, 42, 90, 0.86)),
        radial-gradient(circle at top right, rgba(245, 176, 65, 0.16), transparent 25%);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(8, 18, 37, 0.28);
    padding-top: clamp(24px, 4vw, 36px);
    padding-bottom: clamp(24px, 4vw, 36px);
}

.academy-video-section h3,
.academy-video-section p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.video-card {
    max-width: 900px;
    margin: 0 auto;
    background: #000; /* Black background for video player */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-top: 40px;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ===============================
FOOTER
=============================== */
.main-footer {
    background: var(--navy);
    color: #fff;
    padding: 60px 4vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: var(--gold-yellow);
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-column .logo-text span:first-child {
    font-size: 20px;
    color: #fff;
}
.footer-column .logo-text span:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.main-footer .logo-text {
    display: none;
}
.footer-column .logo {
    margin-bottom: 20px;
}
.footer-column .logo img {
    height: 70px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    background: var(--blue);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--gold-yellow);
    color: var(--navy);
    transform: translateY(-3px) scale(1.1);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--gold-yellow);
    text-decoration: underline;
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-contact-info p i {
    color: var(--gold-yellow);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--gold-yellow);
}

/* ===============================
WHATSAPP BUTTON
=============================== */
.whatsapp-button {
    position: fixed;
    bottom: 100px; /* Above chatbot */
    right: 30px;
    background: #25d366; /* WhatsApp green */
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1002;
    transition: transform 0.3s ease, background 0.3s ease;
}

.location-button {
    position: fixed;
    bottom: 170px; /* Above WhatsApp */
    right: 30px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1002;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
}

.location-button:hover {
    transform: scale(1.1);
    background: var(--blue);
}

.location-popup {
    position: fixed;
    right: 30px;
    bottom: 240px;
    width: min(320px, calc(100% - 40px));
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 1003;
    display: none;
}

.location-popup.is-open {
    display: block;
}

.location-popup h4 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.05rem;
}

.location-popup p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.location-popup a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.location-popup a:hover {
    text-decoration: underline;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background: #128C7E; /* Darker green */
}

/* ===============================
CHATBOT BUTTON
=============================== */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold-yellow);
    color: var(--navy);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease, background 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    background: var(--blue);
    color: #fff;
}

/* Chatbot popup */
.chatbot-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px; /* Slightly wider */
    height: 450px; /* Taller */
    background: #fff;
    border-radius: 16px; /* More rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1002;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--navy);
    color: #fff;
    padding: 18px; /* More padding */
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header span {
    font-size: 1.1rem;
}

.chatbot-close {
    cursor: pointer;
    font-size: 28px; /* Larger close icon */
    line-height: 1;
    transition: transform 0.2s ease;
}
.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--bg); /* Lighter background */
    display: flex;
    flex-direction: column;
    gap: 12px; /* More space between messages */
}

.chatbot-message {
    background: var(--light-blue);
    padding: 12px 18px; /* More padding */
    border-radius: 20px; /* More rounded bubbles */
    max-width: 85%;
    align-self: flex-start;
    color: var(--ink);
    font-size: 0.95rem;
    word-wrap: break-word; /* Ensure long words break */
}

.chatbot-message.user {
    background: var(--gold-yellow);
    align-self: flex-end;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.chatbot-input button {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.chatbot-input button:hover {
    background: var(--blue-soft);
}

/* ===============================
MOUSE PLACE ANIMATION (Confetti)
=============================== */
.confetti-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--gold-yellow); /* Example color */
    opacity: 0;
    border-radius: 50%;
    pointer-events: none; /* Don't block mouse events */
    animation: fadeOutAndFall 1.5s forwards;
    z-index: 9999;
}

/* Confetti color variations */
.confetti-particle:nth-child(2n) { background-color: var(--blue-soft); }
.confetti-particle:nth-child(3n) { background-color: var(--navy); }
.confetti-particle:nth-child(4n) { background-color: var(--light-blue); }
.confetti-particle:nth-child(5n) { background-color: #f06292; } /* Pink */

@keyframes fadeOutAndFall {
    0% { opacity: 0.9; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.6); }
}

/* ===============================
SCROLL ANIMATION CLASSES
=============================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width: 1024px) {
    body {
        padding-top: 78px;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }

    p { font-size: 1rem; }

    .site-header {
        padding: 15px 3vw;
    }

    .logo-text span:first-child { font-size: 16px; }
    .logo-text span:last-child { font-size: 12px; }

    .nav-links {
        gap: 20px;
        font-size: 0.95rem;
    }

    .hero {
        height: 550px;
    }
    .hero-overlay h1 {
        font-size: 3.5rem;
    }
    .hero-overlay p {
        font-size: 1.2rem;
    }

    .page-hero {
        height: 300px;
    }
    .page-hero-content h1 {
        font-size: 2.8rem;
    }
    .page-hero-content p {
        font-size: 1.1rem;
    }

    .marquee-section::before {
        left: 3vw;
        padding-right: 20px;
    }
    .marquee-content {
        padding-left: 180px;
    }

    .key-metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .metric-item h3 {
        font-size: 2.3rem;
    }
    .metric-item p {
        font-size: 1rem;
    }

    .service-strip, .mission-vision {
        padding: 60px 3vw;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .instagram-showcase {
        padding: 16px 3vw 12px;
    }
    .instagram-showcase-shell {
        padding: 28px;
        grid-template-columns: 1fr;
    }
    .service-item, .mv-card {
        padding: 30px 20px;
    }
    .service-item h3, .mv-card h3 {
        font-size: 22px;
    }
    .service-item p, .mv-card p {
        font-size: 15px;
    }

    .testimonials-section {
        padding: 60px 3vw;
    }
    .testimonial-card {
        padding: 40px;
    }
    .testimonial-card p.quote-text {
        font-size: 1.3rem;
    }
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    .author-info strong {
        font-size: 1.1rem;
    }
    .author-info span {
        font-size: 0.9rem;
    }

    .trusted-by-section {
        padding: 50px 3vw 60px;
    }
    .client-logos img {
        max-height: 75px;
        gap: 40px;
    }

    .home-content, .video-section {
        padding: 60px 3vw;
    }
    body:not(.home) section {
        padding: 40px 3vw;
    }

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

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

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

    .main-footer {
        padding: 50px 3vw;
    }
    .footer-grid {
        gap: 30px;
    }
    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    .footer-column p, .footer-column ul li a {
        font-size: 0.95rem;
    }

    .location-button, .whatsapp-button, .chatbot-button {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    .location-button {
        bottom: 140px;
    }
    .whatsapp-button {
        bottom: 80px;
    }
    .location-popup {
        right: 20px;
        bottom: 200px;
        width: min(300px, calc(100% - 40px));
    }
    .chatbot-popup {
        bottom: 80px;
        right: 20px;
        width: 320px;
        height: 400px;
    }
    .chatbot-header {
        padding: 15px;
    }
    .chatbot-header span {
        font-size: 1rem;
    }
    .chatbot-close {
        font-size: 24px;
    }
    .chatbot-message {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    p { font-size: 0.95rem; }

    .site-header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 4vw;
    }

    .logo {
        flex-grow: 1;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px 4vw;
        border-top: 1px solid var(--line);
        box-shadow: 0 10px 20px rgba(18, 24, 48, 0.05);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        width: 100%;
        text-align: center;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .nav-button {
        width: 100%;
        margin-top: 10px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 450px;
    }
    .hero-overlay h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    .hero-overlay p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-hero {
        height: 250px;
        margin-bottom: 30px;
    }
    .page-hero-content h1 {
        font-size: 2.2rem;
    }
    .page-hero-content p {
        font-size: 0.95rem;
    }

    .marquee-section::before {
        content: ""; /* Hide label on small screens */
    }
    .marquee-content {
        padding-left: 0;
        animation: marquee 25s linear infinite; /* Faster for less content */
    }
    .marquee-content span {
        margin-right: 40px;
    }

    .key-metrics {
        padding: 50px 4vw;
    }
    .key-metrics-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns */
    }
    .metric-item h3 {
        font-size: 1.8rem;
    }
    .metric-item p {
        font-size: 0.9rem;
    }

    .service-strip, .mission-vision {
        padding: 40px 4vw;
        grid-template-columns: 1fr;
    }
    .service-item, .mv-card {
        min-height: auto;
    }

    .testimonials-section {
        padding: 40px 4vw;
    }
    .testimonial-card {
        padding: 30px;
    }
    .testimonial-card p.quote-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    .author-info strong {
        font-size: 1rem;
    }
    .author-info span {
        font-size: 0.85rem;
    }

    .trusted-by-section {
        padding: 40px 4vw 50px;
    }
    .client-logos {
        gap: 30px;
    }
    .client-logos img {
        max-height: 65px;
    }

    .home-content, .video-section {
        padding: 40px 4vw;
    }
    body:not(.home) section {
        padding: 30px 4vw;
        margin-bottom: 30px;
    }

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

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

    .tree-node {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .tree-node::before {
        top: 18px;
        transform: none;
    }

    .video-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .main-footer {
        padding: 40px 4vw;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        padding-bottom: 30px;
        margin-bottom: 20px;
    }
    .footer-column {
        text-align: center;
    }
    .footer-column .logo {
        justify-content: center;
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-column ul {
        text-align: center;
        padding-left: 0;
    }
    .footer-contact-info p {
        justify-content: center;
    }
    .footer-column h4 {
        margin-bottom: 15px;
    }

    .location-button, .whatsapp-button, .chatbot-button {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    .location-button {
        bottom: 125px;
    }
    .whatsapp-button {
        bottom: 70px;
    }
    .location-popup {
        right: 15px;
        bottom: 180px;
        width: calc(100% - 30px);
    }
    .chatbot-popup {
        bottom: 70px;
        right: 15px;
        width: calc(100% - 30px);
        height: 350px;
    }
    .instagram-showcase {
        padding: 12px 15px 8px;
    }
    .instagram-showcase-shell {
        padding: 22px 16px;
        border-radius: 22px;
        gap: 18px;
    }
    .instagram-showcase-copy h2 {
        font-size: 1.8rem;
    }
    .instagram-profile-link {
        width: 100%;
        justify-content: center;
    }
    .instagram-embed-card {
        padding: 12px;
        min-height: 280px;
    }
    .chatbot-header {
        padding: 12px;
    }
    .chatbot-close {
        font-size: 20px;
    }
    .chatbot-input input {
        padding: 10px;
        font-size: 0.9rem;
    }
    .chatbot-input button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 68px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }

    .logo img {
        height: 35px;
    }
    .logo-text span:first-child { font-size: 14px; }
    .logo-text span:last-child { font-size: 11px; }

    .hero {
        height: 380px;
    }
    .hero-overlay h1 {
        font-size: 2.2rem;
    }
    .hero-overlay p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-hero {
        height: 200px;
    }
    .page-hero-content h1 {
        font-size: 1.8rem;
    }
    .page-hero-content p {
        font-size: 0.85rem;
    }

    .key-metrics-grid {
        grid-template-columns: 1fr; /* Single column */
    }
    .metric-item {
        padding: 20px;
    }
    .metric-item h3 {
        font-size: 2rem;
    }

    .service-strip, .mission-vision {
        padding: 30px 4vw;
    }
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    .mv-card h3 {
        font-size: 20px;
    }

    .testimonial-card {
        padding: 25px;
    }
    .testimonial-card .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .testimonial-card p.quote-text {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    .author-info strong {
        font-size: 0.9rem;
    }
    .author-info span {
        font-size: 0.8rem;
    }

    .client-logos {
        gap: 20px;
    }
    .client-logos img {
        max-height: 55px;
    }

    .home-content, .video-section {
        padding: 30px 4vw;
    }
    body:not(.home) section {
        padding: 25px 4vw;
    }

    body:not(.home) li {
        font-size: 0.9rem;
    }

    .footer-social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ===============================
PREMIUM UI OVERRIDES
=============================== */
:root {
    --bg-deep: #081225;
    --bg-surface: rgba(255, 255, 255, 0.84);
    --bg-surface-strong: rgba(255, 255, 255, 0.92);
    --surface-border: rgba(255, 255, 255, 0.36);
    --shadow-soft: 0 18px 45px rgba(7, 20, 44, 0.12);
    --shadow-medium: 0 28px 70px rgba(7, 20, 44, 0.18);
    --shadow-strong: 0 30px 90px rgba(4, 15, 35, 0.22);
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --section-gap: clamp(28px, 5vw, 56px);
}

html {
    scrollbar-color: rgba(43, 60, 138, 0.6) rgba(255, 255, 255, 0.2);
}

body {
    background:
        radial-gradient(circle at top left, rgba(173, 232, 244, 0.08), transparent 34%),
        radial-gradient(circle at top right, rgba(245, 176, 65, 0.06), transparent 30%),
        transparent;
}

::selection {
    background: rgba(43, 60, 138, 0.18);
}

.page-bg,
.page-card {
    position: relative;
    isolation: isolate;
}

.page-card::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.08), transparent 16%),
        radial-gradient(circle at 84% 12%, rgba(245, 176, 65, 0.04), transparent 16%),
        radial-gradient(circle at 50% 100%, rgba(43, 60, 138, 0.05), transparent 24%);
    z-index: -1;
}

.site-header {
    width: 100%;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.84));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    box-shadow: 0 12px 34px rgba(6, 19, 45, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
    transform: translateY(8px) scale(0.995);
    box-shadow: 0 24px 60px rgba(6, 19, 45, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 255, 0.9));
}

.logo img {
    filter: drop-shadow(0 10px 18px rgba(31, 42, 90, 0.16));
}

.nav-links a {
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

.nav-links a:not(.nav-button) {
    opacity: 0.82;
}

.nav-links a:not(.nav-button):hover,
.nav-links a.is-active:not(.nav-button) {
    opacity: 1;
}

.nav-links .nav-button,
.btn-primary,
.contact-panel form button {
    border-radius: 999px;
    background: linear-gradient(135deg, #f5b041 0%, #ffd471 100%);
    box-shadow: 0 16px 30px rgba(245, 176, 65, 0.28);
}

.nav-links .nav-button:hover,
.btn-primary:hover,
.contact-panel form button:hover {
    background: linear-gradient(135deg, #243c8a 0%, #3a56bb 100%);
}

.hero,
.page-hero {
    margin: 0;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 176, 65, 0.22), transparent 68%);
    pointer-events: none;
    z-index: 1;
}

.hero::after,
.page-hero::before {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-overlay,
.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(780px, calc(100% - 48px));
    padding: clamp(30px, 5vw, 52px);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(10, 22, 48, 0.54), rgba(10, 22, 48, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    transform: translateY(calc(var(--hero-lift, 0px)));
    transition: transform 0.45s ease;
}

.hero-overlay p,
.page-hero-content p {
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-content {
    background: linear-gradient(145deg, rgba(9, 20, 43, 0.64), rgba(9, 20, 43, 0.3));
}

.marquee-section,
.key-metrics,
.service-strip,
.mission-vision,
.testimonials-section,
.trusted-by-section,
.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-inline: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.84));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.marquee-section,
.key-metrics,
.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values,
.testimonials-section,
.trusted-by-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.82));
}

.marquee-section::after,
.key-metrics::after,
.service-strip::after,
.mission-vision::after,
.testimonials-section::after,
.trusted-by-section::after,
.home-content::after,
.about::after,
.services::after,
.insights::after,
.careers::after,
.academy::after,
.contact::after,
.values::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 26%),
        radial-gradient(circle at top right, rgba(173, 232, 244, 0.16), transparent 24%);
    pointer-events: none;
}

.key-metrics,
.service-strip,
.mission-vision,
.testimonials-section,
.trusted-by-section,
.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values,
.video-section {
    padding: var(--section-pad-y) var(--shell-pad);
}

.video-section {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(9, 20, 43, 0.92), rgba(31, 42, 90, 0.86)),
        radial-gradient(circle at top right, rgba(245, 176, 65, 0.16), transparent 25%);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.video-section::before,
.main-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(245, 176, 65, 0.14), transparent 28%);
}

.metric-item,
.service-item,
.mv-card,
.testimonial-card,
.info-card,
.tree-node,
.detail-card,
.contact-panel,
.video-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 36px rgba(9, 23, 47, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.marquee-section {
    color: var(--ink);
}

.marquee-section::before {
    color: #fff;
    background: linear-gradient(90deg, var(--navy), #314892);
    padding: 7px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(31, 42, 90, 0.18);
}

.marquee-content span {
    color: var(--ink);
    font-weight: 600;
}

.key-metrics {
    color: var(--ink);
}

.metric-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.95));
    border: 1px solid rgba(43, 60, 138, 0.1);
}

.metric-item p {
    color: var(--muted);
    font-weight: 700;
}

.service-item,
.mv-card,
.testimonial-card,
.info-card,
.tree-node,
.detail-card,
.contact-panel,
.video-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.86));
}

.service-item p,
.mv-card p,
.info-card p,
.tree-content p,
.detail-card p,
.contact-panel p,
.home-content p,
.about p,
.services p,
.insights p,
.careers p,
.academy p,
.contact p {
    color: rgba(37, 48, 78, 0.9);
}

.service-item h3,
.mv-card h3,
.info-card h4,
.tree-content h4,
.detail-card h4,
.contact-panel h3,
.home-content h2,
.about h2,
.services h2,
.insights h2,
.careers h2,
.academy h2,
.contact h2,
.values h2,
.testimonials-section h2,
.trusted-by-section h2 {
    color: var(--navy);
}

.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values,
.home-content,
.testimonials-section,
.trusted-by-section {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values,
.home-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.9));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px rgba(7, 18, 38, 0.14);
}

.info-card,
.tree-node,
.detail-card,
.contact-panel,
.service-item,
.mv-card,
.testimonial-card,
.metric-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.9));
}

.about p,
.services p,
.insights p,
.careers p,
.academy p,
.contact p,
.values p,
.home-content p,
.tree-content p,
.detail-card p,
.contact-panel p,
.info-card p,
.mv-card p,
.service-item p {
    color: rgba(22, 31, 58, 0.96);
}

.about h2,
.services h2,
.insights h2,
.careers h2,
.academy h2,
.contact h2,
.values h2,
.home-content h2,
.about h3,
.services h3,
.insights h3,
.careers h3,
.academy h3,
.contact h3,
.values h3,
.tree-content h4,
.detail-card h4,
.info-card h4,
.mv-card h3,
.service-item h3 {
    color: #1f2a5a;
    text-shadow: none;
}


.metric-item::after,
.service-item::after,
.mv-card::after,
.testimonial-card::after,
.info-card::after,
.tree-node::after,
.detail-card::after,
.contact-panel::after,
.video-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 35%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.metric-item:hover,
.service-item:hover,
.mv-card:hover,
.testimonial-card:hover,
.info-card:hover,
.tree-node:hover,
.detail-card:hover,
.contact-panel:hover,
.video-card:hover {
    border-color: rgba(43, 60, 138, 0.18);
    box-shadow: 0 24px 52px rgba(9, 23, 47, 0.16);
}

.metric-item:hover::after,
.service-item:hover::after,
.mv-card:hover::after,
.testimonial-card:hover::after,
.info-card:hover::after,
.tree-node:hover::after,
.detail-card:hover::after,
.contact-panel:hover::after,
.video-card:hover::after {
    opacity: 1;
}

.metric-item > *,
.service-item > *,
.mv-card > *,
.testimonial-card > *,
.info-card > *,
.tree-node > *,
.detail-card > *,
.contact-panel > *,
.video-card > * {
    position: relative;
    z-index: 1;
}

.info-card,
.tree-node,
.detail-card,
.contact-panel {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.86));
}

.info-card img,
.tree-thumb {
    transition: transform 0.7s ease, filter 0.7s ease;
}

.info-card:hover img,
.tree-node:hover .tree-thumb {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.card-icon,
.service-icon,
.mv-icon,
.detail-card i,
.detail-icon {
    box-shadow: 0 16px 26px rgba(43, 60, 138, 0.16);
}

.card-grid,
.details-grid,
.service-strip,
.mission-vision,
.footer-grid {
    gap: clamp(18px, 2vw, 28px);
}

.tree {
    gap: 22px;
}

.tree::before {
    background: linear-gradient(180deg, rgba(43, 60, 138, 0.22), rgba(245, 176, 65, 0.18));
}

.detail-card,
.contact-panel,
.metric-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 255, 0.86));
}

.testimonial-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.9));
}

.client-logos img {
    filter: grayscale(100%) opacity(0.72);
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.client-logos img:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-6px);
}

.home-content p,
.about p,
.services p,
.insights p,
.careers p,
.academy p,
.contact p {
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-overlay,
.page-hero-content,
.key-metrics .container,
.home-content .container,
.testimonial-slider-container,
.client-logos,
.footer-grid,
.card-grid,
.details-grid,
.contact-split,
.tree,
.video-card {
    width: min(100%, var(--content-max));
    margin-left: auto;
    margin-right: auto;
}

.home-content > h2,
.home-content > h3,
.home-content > p,
.about > h2,
.about > h3,
.about > p,
.services > h2,
.services > h3,
.services > p,
.insights > h2,
.insights > h3,
.insights > p,
.careers > h2,
.careers > h3,
.careers > p,
.academy > h2,
.academy > h3,
.academy > p,
.contact > h2,
.contact > h3,
.contact > p,
.values > h2,
.values > h3,
.values > p,
.video-section > h2,
.video-section > h3,
.video-section > p,
.testimonials-section > h2,
.testimonials-section > p,
.trusted-by-section > h2 {
    width: min(100%, var(--content-narrow));
    margin-left: auto;
    margin-right: auto;
}

.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values {
    text-align: center;
}

.main-footer ul,
.footer-column ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.main-footer li,
.footer-column ul li {
    padding-left: 0;
    margin-bottom: 12px;
}

.main-footer li::before,
.footer-column ul li::before {
    content: none;
}

.home-content h2,
.about h2,
.services h2,
.insights h2,
.careers h2,
.academy h2,
.contact h2,
.values h2,
.testimonials-section h2,
.trusted-by-section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.home-content h2::after,
.about h2::after,
.services h2::after,
.insights h2::after,
.careers h2::after,
.academy h2::after,
.contact h2::after,
.values h2::after,
.testimonials-section h2::after,
.trusted-by-section h2::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-yellow), rgba(43, 60, 138, 0.72));
}

body:not(.home) section {
    width: 100%;
    margin: 0;
    padding: clamp(32px, 5vw, 52px) var(--shell-pad);
    border-radius: 0;
}

.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values {
    text-align: center;
}

.about > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.services > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.insights > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.careers > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.academy > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.contact > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section),
.values > *:not(.card-grid):not(.tree):not(.details-grid):not(.contact-split):not(.video-section) {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.about p,
.services p,
.insights p,
.careers p,
.academy p,
.contact p,
.values p {
    text-align: center;
}

.about h3,
.services h3,
.insights h3,
.careers h3,
.academy h3,
.contact h3,
.values h3 {
    text-align: center;
}

.main-footer {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(7, 18, 38, 0.96), rgba(18, 34, 70, 0.94));
    box-shadow: var(--shadow-strong);
}

.footer-grid {
    position: relative;
    z-index: 1;
}

.footer-column ul li a,
.footer-column p,
.footer-bottom {
    color: rgba(255, 255, 255, 0.76);
}

.location-button,
.whatsapp-button,
.chatbot-button {
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 35px rgba(8, 18, 37, 0.18);
    color: var(--blue);
}

.location-popup,
.chatbot-popup {
    border: 1px solid rgba(255, 255, 255, 0.54);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(10px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.animate-on-scroll.in-view {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.interactive-card {
    transform:
        perspective(1200px)
        rotateX(var(--card-rotate-x, 0deg))
        rotateY(var(--card-rotate-y, 0deg))
        translateY(var(--card-shift, 0px));
}

body[data-motion="ready"] .hero-overlay,
body[data-motion="ready"] .page-hero-content {
    animation: heroFloatIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ===============================
PROFESSIONAL POLISH OVERRIDES
=============================== */
.site-header {
    min-height: 84px;
    border-bottom: 1px solid rgba(31, 42, 90, 0.08);
}

.site-header.is-scrolled {
    transform: none;
    box-shadow: 0 16px 38px rgba(6, 19, 45, 0.14);
}

.nav-links {
    gap: clamp(18px, 2.2vw, 30px);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 700;
}

.hero,
.page-hero {
    min-height: clamp(380px, 50vw, 600px);
}

.page-hero {
    min-height: 320px;
}

.hero-overlay,
.page-hero-content {
    max-width: 780px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, rgba(8, 18, 37, 0.68), rgba(10, 22, 48, 0.34));
}

.page-hero-content {
    background: linear-gradient(145deg, rgba(8, 18, 37, 0.72), rgba(10, 22, 48, 0.4));
}

.marquee-section {
    border-top: 1px solid rgba(31, 42, 90, 0.08);
    border-bottom: 1px solid rgba(31, 42, 90, 0.08);
}

.key-metrics,
.service-strip,
.mission-vision,
.testimonials-section,
.trusted-by-section,
.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values,
.video-section,
.main-footer {
    position: relative;
}

.key-metrics::before,
.service-strip::before,
.mission-vision::before,
.testimonials-section::before,
.trusted-by-section::before,
.home-content::before,
.about::before,
.services::before,
.insights::before,
.careers::before,
.academy::before,
.contact::before,
.values::before,
.video-section::before,
.main-footer::after {
    content: "";
    position: absolute;
    left: var(--shell-pad);
    right: var(--shell-pad);
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 42, 90, 0.08), transparent);
    pointer-events: none;
}

.service-item,
.mv-card,
.testimonial-card,
.info-card,
.tree-node,
.detail-card,
.contact-panel,
.video-card,
.metric-item {
    border-color: rgba(31, 42, 90, 0.08);
    box-shadow: 0 18px 44px rgba(9, 23, 47, 0.08);
}

.service-item:hover,
.mv-card:hover,
.testimonial-card:hover,
.info-card:hover,
.tree-node:hover,
.detail-card:hover,
.contact-panel:hover,
.video-card:hover,
.metric-item:hover {
    transform: translateY(-6px);
}

.info-card .card-body,
.detail-card,
.contact-panel,
.tree-node,
.mv-card,
.service-item,
.metric-item {
    gap: 12px;
}

.home-content p,
.about p,
.services p,
.insights p,
.careers p,
.academy p,
.contact p,
.values p {
    line-height: 1.9;
}

.tree-content h4,
.detail-card h4,
.info-card h4,
.service-item h3,
.mv-card h3,
.contact-panel h3 {
    line-height: 1.3;
}

.testimonial-card {
    padding: clamp(32px, 5vw, 52px);
}

.testimonial-card p.quote-text {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    max-width: 34ch;
}

.client-logos {
    gap: clamp(28px, 5vw, 56px);
}

.client-logos img {
    max-height: 72px;
}

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    align-items: start;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column h4 {
    margin-bottom: 14px;
}

.footer-column p,
.footer-column ul li a,
.footer-bottom {
    line-height: 1.75;
}

.location-button,
.chatbot-button,
.whatsapp-button {
    box-shadow: 0 18px 34px rgba(8, 18, 37, 0.2);
}

.location-popup,
.chatbot-popup {
    border: 1px solid rgba(31, 42, 90, 0.08);
    box-shadow: 0 28px 60px rgba(8, 18, 37, 0.2);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--navy), #314892);
}

.chatbot-messages {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(238, 244, 252, 0.98));
}

.chatbot-message {
    line-height: 1.65;
    box-shadow: 0 10px 22px rgba(9, 23, 47, 0.08);
}

.chatbot-message.user {
    color: #4d2c00;
}

.chatbot-input {
    background: rgba(255, 255, 255, 0.9);
}

.chatbot-input input:focus {
    outline: none;
    border-color: rgba(43, 60, 138, 0.32);
    box-shadow: 0 0 0 4px rgba(43, 60, 138, 0.08);
}

@media (max-width: 768px) {
    .site-header {
        min-height: 72px;
    }

    .nav-links {
        gap: 0;
        padding: 12px 18px 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 246, 255, 0.97));
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 18px 38px rgba(9, 23, 47, 0.12);
    }

    .nav-links a {
        text-align: left;
        padding: 14px 6px;
    }

    .nav-links .nav-button {
        margin-top: 14px;
        text-align: center;
    }

    .hero-overlay,
    .page-hero-content {
        width: min(100%, 92vw);
    }

    .academy-video-section {
        border-radius: 22px;
    }
}

@keyframes heroFloatIn {
    0% {
        opacity: 0;
        transform: translateY(38px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(calc(var(--hero-lift, 0px))) scale(1);
    }
}

@media (max-width: 1024px) {
    .site-header,
    .hero,
    .page-hero,
    .marquee-section,
    .key-metrics,
    .service-strip,
    .mission-vision,
    .testimonials-section,
    .trusted-by-section,
    .home-content,
    .about,
    .services,
    .insights,
    .careers,
    .academy,
    .contact,
    .values,
    .video-section,
    .main-footer {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-header {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    .nav-links {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.96));
        border-radius: 0;
    }

    .hero,
    .page-hero,
    .marquee-section,
    .key-metrics,
    .service-strip,
    .mission-vision,
    .testimonials-section,
    .trusted-by-section,
    .home-content,
    .about,
    .services,
    .insights,
    .careers,
    .academy,
    .contact,
    .values,
    .video-section,
    .main-footer {
        width: 100%;
        border-radius: 0;
    }

    .hero-overlay,
    .page-hero-content {
        width: calc(100% - 24px);
        padding: 28px 20px;
        border-radius: 22px;
    }

    .key-metrics,
    .service-strip,
    .mission-vision,
    .testimonials-section,
    .trusted-by-section,
    .home-content,
    .about,
    .services,
    .insights,
    .careers,
    .academy,
    .contact,
    .values,
    .video-section,
    .main-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tree::before {
        left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .animate-on-scroll.in-view {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

body.page-who-we-are .about > p,
body.page-what-we-do .services > p,
body.page-careers .careers > p,
body.page-insights .insights > p,
body.page-academy .academy > p,
body.page-contact .contact > p,
body.page-who-we-are .values > p {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body:not(.home) .about,
body:not(.home) .services,
body:not(.home) .insights,
body:not(.home) .careers,
body:not(.home) .academy,
body:not(.home) .contact,
body:not(.home) .values {
    text-align: center;
}

body:not(.home) .about > h2,
body:not(.home) .about > h3,
body:not(.home) .about > p,
body:not(.home) .services > h2,
body:not(.home) .services > h3,
body:not(.home) .services > p,
body:not(.home) .insights > h2,
body:not(.home) .insights > h3,
body:not(.home) .insights > p,
body:not(.home) .careers > h2,
body:not(.home) .careers > h3,
body:not(.home) .careers > p,
body:not(.home) .academy > h2,
body:not(.home) .academy > h3,
body:not(.home) .academy > p,
body:not(.home) .contact > h2,
body:not(.home) .contact > h3,
body:not(.home) .contact > p,
body:not(.home) .values > h2,
body:not(.home) .values > h3,
body:not(.home) .values > p {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body:not(.home) .about .video-section,
body:not(.home) .academy .video-section,
body:not(.home) .about .card-grid,
body:not(.home) .services .card-grid,
body:not(.home) .academy .card-grid,
body:not(.home) .values .card-grid,
body:not(.home) .insights .tree,
body:not(.home) .careers .tree,
body:not(.home) .contact .details-grid,
body:not(.home) .contact .contact-split {
    margin-left: auto;
    margin-right: auto;
}

body.bg-slideshow {
    position: relative;
}

body.bg-slideshow::before,
body.bg-slideshow::after,
.page-card::before {
    position: absolute;
}

body.bg-slideshow::before {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

.page-hero {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

.hero-overlay,
.page-hero-content {
    transform: none;
}

/* ===============================
IMAGE-FREE CLIENT VERSION
=============================== */
body.bg-slideshow {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #edf3fb 52%, #f8fafc 100%);
}

body.bg-slideshow::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 176, 65, 0.18), transparent 20%),
        radial-gradient(circle at 88% 12%, rgba(43, 60, 138, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(238, 244, 252, 0.82));
    animation: none;
    filter: none;
}

body.bg-slideshow::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
        linear-gradient(90deg, rgba(31, 42, 90, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(31, 42, 90, 0.03) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
}

.hero,
.page-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 212, 113, 0.18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(173, 232, 244, 0.18), transparent 24%),
        linear-gradient(135deg, #12233f 0%, #1f2a5a 55%, #304a85 100%);
}

.hero-slideshow {
    display: none;
}

.hero-3d {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

#who-we-are-hero,
#what-we-do-hero,
#academy-hero,
#insights-hero,
#careers-hero,
#contact-hero {
    background-image: none !important;
}

.service-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
}

.service-item .hover-image {
    display: none;
    background-image: none !important;
}

.service-item:hover .hover-content {
    background: linear-gradient(135deg, rgba(18, 35, 63, 0.92), rgba(43, 60, 138, 0.82));
}

body.page-who-we-are .about,
body.page-what-we-do .services,
body.page-careers .careers,
body.page-insights .insights,
body.page-academy .academy,
body.page-contact .contact,
body.page-who-we-are .values {
    color: var(--ink);
}

body.page-who-we-are .about h2,
body.page-who-we-are .about h3,
body.page-who-we-are .values h2,
body.page-what-we-do .services h2,
body.page-what-we-do .services h3,
body.page-careers .careers h2,
body.page-careers .careers h3,
body.page-insights .insights h2,
body.page-insights .insights h3,
body.page-academy .academy h2,
body.page-academy .academy h3,
body.page-contact .contact h2,
body.page-contact .contact h3 {
    color: var(--navy);
}

body.page-who-we-are .about p,
body.page-who-we-are .about li,
body.page-who-we-are .values p,
body.page-what-we-do .services p,
body.page-careers .careers p,
body.page-insights .insights p,
body.page-academy .academy p,
body.page-contact .contact p {
    color: var(--muted);
}

body.page-who-we-are .about .video-section h3,
body.page-who-we-are .about .video-section p,
body.page-academy .academy .video-section h3,
body.page-academy .academy .video-section p {
    color: #fff;
}

/* ===============================
ROYAL PROFESSIONAL THEME
=============================== */
:root {
    --navy: #16213e;
    --blue: #233a78;
    --blue-soft: #3554a5;
    --ink: #162033;
    --muted: #5f6b82;
    --bg: #f5f3ee;
    --card: #ffffff;
    --line: #d9dfeb;
    --gold-yellow: #caa45f;
    --light-blue: #dfe8f7;
}

body,
body.bg-slideshow {
    background:
        linear-gradient(180deg, #f7f3eb 0%, #eef2f8 48%, #f8f6f1 100%);
    color: var(--ink);
}

body.bg-slideshow::before {
    background:
        radial-gradient(circle at 10% 14%, rgba(202, 164, 95, 0.18), transparent 18%),
        radial-gradient(circle at 88% 10%, rgba(35, 58, 120, 0.14), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 243, 250, 0.86));
}

body.bg-slideshow::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.18)),
        linear-gradient(90deg, rgba(22, 33, 62, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(22, 33, 62, 0.035) 1px, transparent 1px);
    background-size: auto, 68px 68px, 68px 68px;
}

.site-header {
    border-bottom: 1px solid rgba(22, 33, 62, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 241, 233, 0.92));
    box-shadow: 0 14px 36px rgba(18, 28, 52, 0.12);
}

.site-header.is-scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 236, 226, 0.96));
    box-shadow: 0 18px 42px rgba(18, 28, 52, 0.16);
}

.nav-links a:not(.nav-button) {
    color: var(--navy);
}

.nav-links a::after {
    background: linear-gradient(90deg, var(--gold-yellow), #e0c48c);
}

.nav-links .nav-button,
.btn-primary,
.contact-panel form button {
    color: #fff;
    background: linear-gradient(135deg, #b78b45 0%, #d6b476 100%);
    box-shadow: 0 16px 32px rgba(183, 139, 69, 0.28);
}

.nav-links .nav-button:hover,
.btn-primary:hover,
.contact-panel form button:hover {
    color: #fff;
    background: linear-gradient(135deg, #1c2d57 0%, #3554a5 100%);
    box-shadow: 0 18px 34px rgba(28, 45, 87, 0.24);
}

.hero,
.page-hero {
    background:
        radial-gradient(circle at top left, rgba(214, 180, 118, 0.24), transparent 20%),
        radial-gradient(circle at bottom right, rgba(96, 125, 186, 0.16), transparent 24%),
        linear-gradient(135deg, #0f1a33 0%, #16213e 42%, #243a70 100%);
    box-shadow: 0 28px 64px rgba(12, 18, 35, 0.22);
}

.hero-overlay,
.page-hero-content {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(10, 17, 33, 0.7), rgba(26, 39, 72, 0.38));
    box-shadow: 0 28px 80px rgba(5, 10, 20, 0.26);
}

.hero-overlay h1,
.page-hero-content h1 {
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-overlay p,
.page-hero-content p {
    color: rgba(255, 255, 255, 0.88);
}

.marquee-section,
.key-metrics,
.service-strip,
.mission-vision,
.testimonials-section,
.trusted-by-section,
.home-content,
.about,
.services,
.insights,
.careers,
.academy,
.contact,
.values {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 243, 236, 0.84));
}

.marquee-section::after,
.key-metrics::after,
.service-strip::after,
.mission-vision::after,
.testimonials-section::after,
.trusted-by-section::after,
.home-content::after,
.about::after,
.services::after,
.insights::after,
.careers::after,
.academy::after,
.contact::after,
.values::after {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 28%),
        radial-gradient(circle at top right, rgba(202, 164, 95, 0.1), transparent 24%);
}

.home-content h2::after,
.about h2::after,
.services h2::after,
.insights h2::after,
.careers h2::after,
.academy h2::after,
.contact h2::after,
.values h2::after,
.testimonials-section h2::after,
.trusted-by-section h2::after {
    background: linear-gradient(90deg, #b78b45, #233a78);
}

.service-item,
.mv-card,
.info-card,
.tree-node,
.detail-card,
.contact-panel,
.video-card,
.metric-item,
.testimonial-card {
    border: 1px solid rgba(22, 33, 62, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 243, 236, 0.92));
    box-shadow: 0 18px 44px rgba(18, 28, 52, 0.09);
}

.service-item:hover,
.mv-card:hover,
.info-card:hover,
.tree-node:hover,
.detail-card:hover,
.contact-panel:hover,
.video-card:hover,
.metric-item:hover,
.testimonial-card:hover {
    box-shadow: 0 24px 52px rgba(18, 28, 52, 0.13);
}

.service-icon,
.mv-icon,
.card-icon,
.detail-card i,
.detail-icon {
    background: linear-gradient(135deg, #1e325f 0%, #3554a5 100%);
    color: #fff;
}

.metric-item h3,
.service-item h3,
.mv-card h3,
.info-card h4,
.detail-card h4,
.tree-content h4,
.contact-panel h3,
.footer-column h4 {
    color: var(--navy);
}

.main-footer {
    background: linear-gradient(145deg, #0e1830, #18254a 58%, #243a70 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer .footer-column h4 {
    color: #d39a3a;
}

.main-footer .footer-column p,
.main-footer .footer-column ul li a,
.main-footer .footer-bottom {
    color: rgba(255, 255, 255, 0.82);
}

.main-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
}

.main-footer::after {
    background: linear-gradient(90deg, transparent, rgba(202, 164, 95, 0.24), transparent);
}

.footer-social-links a,
.location-button,
.whatsapp-button,
.chatbot-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(202, 164, 95, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* ===============================
PAGE-SPECIFIC DESIGN SYSTEM
=============================== */
body.page-home .hero {
    background:
        linear-gradient(rgba(24, 31, 39, 0.72), rgba(24, 31, 39, 0.72)),
        url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=2400&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    min-height: 720px;
    align-items: center;
    justify-content: flex-start;
    padding: 112px var(--shell-pad) 64px;
}

body.page-home .marquee-section,
body.page-home .key-metrics,
body.page-home .service-strip,
body.page-home .mission-vision,
body.page-home .testimonials-section,
body.page-home .trusted-by-section,
body.page-home .home-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 241, 234, 0.88));
}

body.page-home .metric-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 252, 0.94));
}

body.page-home .service-item:hover .hover-content {
    background: linear-gradient(135deg, rgba(16, 27, 53, 0.94), rgba(40, 71, 133, 0.82));
}

body.page-home {
    --home-accent: #d39a3a;
    --home-accent-soft: #e4bb72;
    --home-accent-dark: #2b4d68;
}

body.page-home .site-header {
    background: rgba(23, 30, 36, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.page-home .site-header.is-scrolled {
    background: rgba(17, 24, 31, 0.94);
    box-shadow: 0 18px 40px rgba(7, 10, 15, 0.22);
}

body.page-home .nav-links a:not(.nav-button),
body.page-home .logo-text span:first-child,
body.page-home .logo-text span:last-child {
    color: #fff;
}

body.page-home .hamburger div {
    background-color: #fff;
}

body.page-home .nav-links .nav-button {
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-soft) 100%);
    color: #16213e;
    box-shadow: 0 16px 32px rgba(211, 154, 58, 0.24);
}

body.page-home .nav-links .nav-button:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f6ead6 100%);
    color: var(--home-accent-dark);
}

body.page-home .hero::before {
    inset: auto auto 10% 55%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(211, 154, 58, 0.18), transparent 68%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-home .hero::after {
    inset: 10% auto auto 78%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

body.page-home .hero-3d {
    position: absolute;
    inset: 0 0 0 46%;
    opacity: 1;
    animation: none;
    overflow: hidden;
}

body.page-home .hero-3d canvas {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body.page-home .hero-3d::before,
body.page-home .hero-3d::after {
    content: "";
    position: absolute;
    border-radius: 18px;
    background-size: cover;
    background-position: center top;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
}

body.page-home .hero-3d::before {
    width: min(30vw, 460px);
    height: 540px;
    top: 34px;
    right: 9%;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1400&auto=format&fit=crop");
    animation: homeCardFloatPrimary 8s ease-in-out infinite;
}

body.page-home .hero-3d::after {
    width: min(20vw, 280px);
    height: 360px;
    top: 210px;
    left: 3%;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884992?q=80&w=1200&auto=format&fit=crop");
    animation: homeCardFloatSecondary 9s ease-in-out infinite;
}

body.page-home .hero-3d {
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.12));
}

body.page-home .hero-overlay {
    width: min(760px, 50%);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    text-align: left;
    animation: heroPanelRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page-home .hero-overlay h1 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(3.2rem, 6.3vw, 5.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
    text-shadow: none;
}

body.page-home .hero-overlay .letter-hover {
    text-align: left;
    max-width: 10ch;
}

body.page-home .hero-overlay .letter-hover span {
    color: #fff;
}

body.page-home .hero-overlay .letter-hover span:nth-last-child(-n+7) {
    color: var(--home-accent);
}

body.page-home .hero-overlay p {
    max-width: 34ch;
    margin: 0 0 26px;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    color: rgba(255, 255, 255, 0.86);
    text-shadow: none;
}

body.page-home .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    border-radius: 0;
    background: rgba(25, 34, 42, 0.92);
    color: #fff;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

body.page-home .btn-primary::after {
    content: "\2192";
    font-size: 1.5rem;
    line-height: 1;
}

body.page-home .btn-primary:hover {
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-soft) 100%);
    color: #16213e;
}

@keyframes homeCardFloatPrimary {
    0%, 100% {
        transform: translateY(0) rotate(-1.5deg);
    }
    50% {
        transform: translateY(-14px) rotate(0deg);
    }
}

@keyframes homeCardFloatSecondary {
    0%, 100% {
        transform: translateY(0) rotate(1.8deg);
    }
    50% {
        transform: translateY(16px) rotate(0.4deg);
    }
}

@media (max-width: 1100px) {
    body.page-home .hero {
        min-height: 660px;
        padding-top: 108px;
    }

    body.page-home .hero-overlay {
        width: min(100%, 620px);
    }

    body.page-home .hero-3d {
        inset: auto 3% 40px auto;
        width: 42%;
        height: 55%;
    }

    body.page-home .hero-3d::before {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
    }

    body.page-home .hero-3d::after {
        width: 58%;
        height: 62%;
        top: 28%;
        left: -14%;
    }
}

@media (max-width: 768px) {
    body.page-home .site-header {
        background: rgba(17, 24, 31, 0.92);
    }

    body.page-home .nav-links {
        background: linear-gradient(180deg, rgba(17, 24, 31, 0.98), rgba(28, 37, 44, 0.96));
    }

    body.page-home .nav-links a:not(.nav-button) {
        color: #fff;
    }

    body.page-home .hero {
        min-height: auto;
        padding: 108px 18px 36px;
        justify-content: center;
    }

    body.page-home .hero-overlay {
        width: 100%;
        text-align: center;
    }

    body.page-home .hero-overlay .letter-hover {
        text-align: center;
        max-width: none;
    }

    body.page-home .hero-overlay p {
        margin-left: auto;
        margin-right: auto;
    }

    body.page-home .btn-primary {
        padding: 15px 24px;
    }

    body.page-home .hero-3d {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 360px;
        height: 340px;
        margin: 30px auto 0;
    }

    body.page-home .hero-3d::before {
        width: 82%;
        height: 100%;
        top: 0;
        right: 0;
    }

    body.page-home .hero-3d::after {
        width: 54%;
        height: 62%;
        top: 26%;
        left: 0;
    }
}

body.page-who-we-are .page-hero {
    min-height: 460px;
    padding: 104px var(--shell-pad) 52px;
    background:
        linear-gradient(rgba(22, 28, 38, 0.44), rgba(22, 28, 38, 0.44)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=2200&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    box-shadow: none;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

body.page-who-we-are .about,
body.page-who-we-are .values {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.92));
}

body.page-who-we-are .values .info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.92));
}

body.page-who-we-are .site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 237, 0.96));
    border-bottom: 1px solid rgba(211, 154, 58, 0.14);
    box-shadow: 0 12px 30px rgba(25, 34, 56, 0.08);
}

body.page-who-we-are .site-header.is-scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(246, 241, 233, 0.98));
}

body.page-who-we-are .nav-links a.is-active,
body.page-who-we-are .nav-links a[href="who-we-are.html"] {
    color: var(--navy);
}

body.page-who-we-are .nav-links a[href="who-we-are.html"]::after {
    width: 100%;
    left: 0;
}

body.page-who-we-are .page-hero::before {
    inset: auto auto -30px -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(211, 154, 58, 0.12), transparent 72%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-who-we-are .page-hero::after {
    inset: 0 0 0 auto;
    width: min(52vw, 820px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(15, 20, 30, 0.18), rgba(15, 20, 30, 0.08)),
        radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.12), transparent 22%),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, auto, auto, cover;
    background-position: center, center, center, center right;
    box-shadow: none;
    animation: none;
    pointer-events: none;
    opacity: 0.96;
}

body.page-who-we-are .page-hero-content {
    width: min(100%, 520px);
    padding: 58px 38px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(7, 18, 38, 0.72), rgba(28, 60, 93, 0.34));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow:
        0 28px 70px rgba(7, 18, 38, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-left: clamp(0px, 2vw, 32px);
    text-align: left;
}

body.page-who-we-are .page-hero-content h1 {
    font-size: clamp(3rem, 4.8vw, 4.6rem);
    color: #ffffff;
    text-shadow: 0 10px 26px rgba(71, 84, 109, 0.28);
}

body.page-who-we-are .page-hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 8px 24px rgba(71, 84, 109, 0.24);
    margin-left: 0;
    margin-right: 0;
}

body.page-who-we-are .page-hero-content::before,
body.page-who-we-are .page-hero-content::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(40vw, 540px));
    border-radius: 26px;
    background-size: cover;
    background-position: center center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 26px 60px rgba(32, 40, 61, 0.22);
}

body.page-who-we-are .page-hero-content::before {
    top: 4px;
    width: min(17vw, 250px);
    height: 340px;
    background-image:
        linear-gradient(180deg, rgba(13, 21, 38, 0.08), rgba(13, 21, 38, 0.08)),
        url("https://images.unsplash.com/photo-1553877522-43269d4ea984?q=80&w=1100&auto=format&fit=crop");
    animation: whoCardFloatTall 9s ease-in-out infinite;
}

body.page-who-we-are .page-hero-content::after {
    top: 274px;
    right: calc(-1 * min(29vw, 390px));
    width: min(24vw, 360px);
    height: 220px;
    background-image:
        linear-gradient(180deg, rgba(13, 21, 38, 0.1), rgba(13, 21, 38, 0.1)),
        url("https://images.unsplash.com/photo-1559136555-9303baea8ebd?q=80&w=1400&auto=format&fit=crop");
    animation: whoCardFloatWide 10s ease-in-out infinite;
}

body.page-who-we-are .page-hero-content h1::before,
body.page-who-we-are .page-hero-content h1::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(50vw, 660px));
    border-radius: 22px;
    background-size: cover;
    background-position: center center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 24px 52px rgba(32, 40, 61, 0.2);
}

body.page-who-we-are .page-hero-content h1 {
    position: relative;
}

body.page-who-we-are .page-hero-content h1::before {
    top: 30px;
    width: min(13vw, 196px);
    height: 244px;
    background-image:
        linear-gradient(180deg, rgba(13, 21, 38, 0.08), rgba(13, 21, 38, 0.08)),
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=900&auto=format&fit=crop");
    animation: whoCardFloatSmall 8s ease-in-out infinite;
}

body.page-who-we-are .page-hero-content h1::after {
    top: 84px;
    right: calc(-1 * min(61vw, 800px));
    width: min(14vw, 210px);
    height: 146px;
    background-image:
        linear-gradient(180deg, rgba(13, 21, 38, 0.08), rgba(13, 21, 38, 0.08)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=900&auto=format&fit=crop");
    animation: whoCardFloatSmallAlt 11s ease-in-out infinite;
}

body.page-who-we-are .page-hero-content p::before {
    content: "";
    position: absolute;
    right: calc(-1 * min(55vw, 720px));
    top: 304px;
    width: min(11vw, 160px);
    height: 98px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(18, 26, 46, 0.96), rgba(33, 47, 83, 0.94));
    border: 1px solid rgba(122, 94, 212, 0.8);
    box-shadow: 0 22px 48px rgba(32, 40, 61, 0.18);
    animation: whoChartFloat 9s ease-in-out infinite;
}

body.page-who-we-are .page-hero-content p::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(44vw, 560px));
    top: 142px;
    width: 132px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 28px rgba(32, 40, 61, 0.14);
}

body.page-who-we-are .page-hero-content p {
    position: relative;
}

body.page-who-we-are .page-hero-content p span,
body.page-who-we-are .page-hero-content h1 span {
    position: relative;
    z-index: 1;
}

@keyframes whoCardFloatTall {
    0%, 100% {
        transform: translateY(0) rotate(-1.5deg);
    }
    50% {
        transform: translateY(-14px) rotate(0deg);
    }
}

@keyframes whoCardFloatWide {
    0%, 100% {
        transform: translateY(0) rotate(1deg);
    }
    50% {
        transform: translateY(12px) rotate(-0.4deg);
    }
}

@keyframes whoCardFloatSmall {
    0%, 100% {
        transform: translateY(0) rotate(1.8deg);
    }
    50% {
        transform: translateY(10px) rotate(0.6deg);
    }
}

@keyframes whoCardFloatSmallAlt {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

@keyframes whoChartFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

body.page-who-we-are .about {
    padding-top: 78px;
}

body.page-who-we-are .about > h2,
body.page-who-we-are .values > h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
}

body.page-who-we-are .about > p {
    font-size: 1.08rem;
    line-height: 1.95;
}

body.page-who-we-are .video-section {
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(20, 32, 59, 0.94), rgba(37, 58, 104, 0.88)),
        radial-gradient(circle at top right, rgba(211, 154, 58, 0.12), transparent 24%);
    box-shadow: 0 24px 56px rgba(17, 29, 51, 0.16);
    overflow: hidden;
}

body.page-who-we-are .video-section h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

body.page-who-we-are .values {
    position: relative;
}

body.page-who-we-are .values::after {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(211, 154, 58, 0.1), transparent 24%);
}

body.page-who-we-are .values .card-grid {
    margin-top: 40px;
}

body.page-who-we-are .values .info-card {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(22, 33, 62, 0.06);
    box-shadow: 0 20px 42px rgba(25, 34, 56, 0.08);
}

body.page-who-we-are .values .info-card img {
    height: 210px;
}

body.page-who-we-are .values .info-card .card-body {
    padding: 24px;
    gap: 12px;
}

body.page-who-we-are .values .card-icon {
    background: linear-gradient(135deg, #d39a3a 0%, #2b4d68 100%);
}

body.page-who-we-are .values .info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 50px rgba(25, 34, 56, 0.12);
}

@media (max-width: 768px) {
    body.page-who-we-are .page-hero {
        min-height: 430px;
        padding: 106px 18px 36px;
        justify-content: center;
    }

    body.page-who-we-are .page-hero-content {
        width: 100%;
        padding: 46px 24px;
        border-radius: 28px;
        margin-left: 0;
        text-align: center;
    }

    body.page-who-we-are .page-hero-content p {
        font-size: 1.08rem;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-who-we-are .page-hero-content::before,
    body.page-who-we-are .page-hero-content::after,
    body.page-who-we-are .page-hero-content h1::before,
    body.page-who-we-are .page-hero-content h1::after,
    body.page-who-we-are .page-hero-content p::before,
    body.page-who-we-are .page-hero-content p::after {
        display: none;
    }
}

body.page-what-we-do .page-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(91, 129, 199, 0.22), transparent 18%),
        radial-gradient(circle at 84% 78%, rgba(202, 164, 95, 0.18), transparent 18%),
        linear-gradient(135deg, #12213f 0%, #20396f 100%);
}

body.page-what-we-do .services {
    background:
        radial-gradient(circle at 14% 18%, rgba(211, 154, 58, 0.08), transparent 16%),
        radial-gradient(circle at 86% 26%, rgba(53, 84, 165, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.96) 100%);
}

body.page-what-we-do .info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 253, 0.96));
    border: 1px solid rgba(22, 33, 62, 0.08);
    border-radius: 26px;
    box-shadow: 0 20px 40px rgba(17, 28, 52, 0.12);
}

body.page-what-we-do .card-icon,
body.page-what-we-do .service-icon {
    background: linear-gradient(135deg, #254486 0%, #3e63bf 100%);
}

body.page-what-we-do .services .card-grid {
    perspective: 1200px;
    width: min(100%, 1120px);
    margin: 34px auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 42px;
    align-items: start;
}

body.page-what-we-do .services .card-grid .info-card.animate-on-scroll {
    opacity: 0;
    filter: blur(10px);
    transform-origin: center bottom;
    transition:
        opacity 0.75s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.75s ease,
        box-shadow 0.35s ease;
}

body.page-what-we-do .services .card-grid .info-card.animate-on-scroll:nth-child(odd) {
    transform: translateY(54px) rotateX(10deg) rotateY(-7deg) scale(0.94);
}

body.page-what-we-do .services .card-grid .info-card.animate-on-scroll:nth-child(even) {
    transform: translateY(54px) rotateX(10deg) rotateY(7deg) scale(0.94);
}

body.page-what-we-do .services .card-grid .info-card.animate-on-scroll.in-view {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
}

body.page-what-we-do .services .card-grid .info-card.animate-on-scroll.in-view:hover {
    transform: translateY(-10px) scale(1.01);
}

body.page-what-we-do .services > h2,
body.page-what-we-do .services > p {
    color: rgba(22, 31, 58, 0.96);
}

body.page-what-we-do .services > p {
    color: rgba(22, 31, 58, 0.82);
}

body.page-what-we-do .services h2::after {
    background: linear-gradient(90deg, #d39a3a, rgba(255, 255, 255, 0.7));
}

body.page-what-we-do .services .card-grid .info-card:nth-child(1) {
    margin-top: 42px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(2) {
    margin-top: -34px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(3) {
    margin-top: 28px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(4) {
    margin-top: -6px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(5) {
    margin-top: 54px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(6) {
    margin-top: -24px;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(7) {
    margin-top: 18px;
}

body.page-what-we-do .services .card-grid .info-card img {
    height: clamp(150px, 16vw, 210px);
    border-radius: 26px 26px 0 0;
    filter: saturate(0.92) contrast(1);
}

body.page-what-we-do .services .card-grid .info-card .card-body {
    padding: 16px 2px 4px;
    gap: 10px;
}

body.page-what-we-do .services .card-grid .info-card h4 {
    color: #1f2a5a;
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

body.page-what-we-do .services .card-grid .info-card p {
    color: rgba(22, 31, 58, 0.78);
    font-size: 0.92rem;
}

body.page-what-we-do .services .card-grid .info-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    box-shadow: 0 12px 22px rgba(35, 58, 120, 0.18);
}

body.page-what-we-do .services .card-grid .info-card::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    top: -16px;
    right: -14px;
    background:
        linear-gradient(90deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%),
        linear-gradient(0deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%);
    transform: rotate(45deg);
    opacity: 0.92;
    pointer-events: none;
}

body.page-what-we-do .services .card-grid .info-card:nth-child(2)::before,
body.page-what-we-do .services .card-grid .info-card:nth-child(5)::before {
    left: -12px;
    right: auto;
    top: auto;
    bottom: -16px;
}

@media (max-width: 1024px) {
    body.page-what-we-do .services .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    body.page-what-we-do .services .card-grid .info-card:nth-child(n) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    body.page-what-we-do .services .card-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    body.page-what-we-do .services .card-grid .info-card img {
        height: 160px;
    }
}

body.page-insights .page-hero {
    background:
        radial-gradient(circle at 14% 18%, rgba(202, 164, 95, 0.2), transparent 16%),
        radial-gradient(circle at 88% 24%, rgba(88, 118, 176, 0.2), transparent 22%),
        linear-gradient(135deg, #101b33 0%, #1a2b54 100%);
}

body.page-insights .insights {
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.92), rgba(247, 242, 233, 0.86));
}

body.page-insights .tree-node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.92));
}

body.page-insights .tree::before {
    background: linear-gradient(180deg, rgba(53, 84, 165, 0.26), rgba(202, 164, 95, 0.2));
}

body.page-insights .tree {
    width: 100%;
    max-width: none;
    margin: 30px auto 0;
    padding: 18px 0 12px;
    display: flex;
    gap: 18px;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
}

body.page-insights .tree::-webkit-scrollbar {
    display: none;
}

body.page-insights .tree::before {
    content: none;
}

body.page-insights .tree-node {
    flex: 0 0 min(29vw, 320px);
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    min-height: 420px;
    padding: 16px 16px 22px;
    border-radius: 28px;
    border: 1px solid rgba(219, 226, 240, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 253, 0.96));
    box-shadow: 0 18px 42px rgba(17, 28, 52, 0.1);
    justify-items: center;
}

body.page-insights .tree-node::before {
    content: none;
}

body.page-insights .tree-node::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(22, 33, 62, 0.05);
    pointer-events: none;
}

body.page-insights .tree-thumb {
    width: 100%;
    height: 320px;
    margin-left: 0;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 14px 24px rgba(17, 28, 52, 0.12);
}

body.page-insights .tree-content {
    display: grid;
    gap: 12px;
    text-align: center;
    align-self: stretch;
    padding: 0 10px;
}

body.page-insights .tree-content h4 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
    color: var(--navy);
}

body.page-insights .tree-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #42506b;
    max-width: 26ch;
    margin: 0 auto;
}

body.page-insights .tree-node:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 154, 58, 0.28);
    box-shadow: 0 24px 48px rgba(17, 28, 52, 0.14);
}

@media (max-width: 768px) {
    body.page-insights .tree {
        gap: 18px;
        padding-top: 12px;
    }

    body.page-insights .tree-node {
        flex-basis: 82vw;
        min-height: 420px;
        padding: 14px 14px 22px;
        border-radius: 24px;
    }

    body.page-insights .tree-thumb {
        height: 250px;
        border-radius: 18px;
    }

    body.page-insights .tree-content {
        text-align: center;
    }

    body.page-insights .tree-content p {
        margin: 0 auto;
    }
}

body.page-careers .page-hero {
    background:
        radial-gradient(circle at 14% 20%, rgba(202, 164, 95, 0.2), transparent 17%),
        radial-gradient(circle at 84% 24%, rgba(104, 154, 126, 0.16), transparent 20%),
        linear-gradient(135deg, #12213a 0%, #1b355f 100%);
}

body.page-careers .careers {
    background: linear-gradient(180deg, rgba(247, 250, 245, 0.92), rgba(248, 242, 233, 0.88));
}

body.page-careers .tree-node {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 243, 0.92));
}

body.page-careers .tree::before {
    background: linear-gradient(180deg, rgba(86, 133, 107, 0.26), rgba(202, 164, 95, 0.2));
}

body.page-academy .page-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(202, 164, 95, 0.2), transparent 18%),
        radial-gradient(circle at 84% 26%, rgba(122, 110, 191, 0.18), transparent 22%),
        linear-gradient(135deg, #151f39 0%, #2a2f68 100%);
}

body.page-academy .academy {
    background: linear-gradient(180deg, rgba(247, 244, 255, 0.9), rgba(248, 242, 233, 0.88));
}

body.page-academy .info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 240, 255, 0.92));
}

body.page-academy .card-icon {
    background: linear-gradient(135deg, #3c3f8f 0%, #5e68d8 100%);
}

body.page-contact .page-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(202, 164, 95, 0.22), transparent 18%),
        radial-gradient(circle at 82% 20%, rgba(76, 140, 170, 0.18), transparent 21%),
        linear-gradient(135deg, #112139 0%, #1c3b5d 100%);
}

body.page-contact .contact {
    background: linear-gradient(180deg, rgba(241, 248, 250, 0.92), rgba(248, 242, 233, 0.88));
}

body.page-contact .detail-card,
body.page-contact .contact-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 250, 0.92));
}

body.page-contact .detail-card i,
body.page-contact .detail-icon {
    background: linear-gradient(135deg, #1f5676 0%, #3f7ea3 100%);
}

.detail-icon i,
body.page-contact .detail-icon i {
    background: none;
    box-shadow: none;
}

.detail-icon i::after {
    display: none;
}

/* ===============================
DISTINCT PAGE HEADERS
=============================== */
body.page-what-we-do .site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 229, 0.94));
    border-bottom: 1px solid rgba(211, 154, 58, 0.14);
}

body.page-what-we-do .site-header.is-scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(242, 236, 225, 0.98));
}

body.page-what-we-do .page-hero-content {
    width: min(100%, 720px);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(8, 16, 32, 0.78), rgba(19, 34, 69, 0.46));
    border-color: rgba(255, 255, 255, 0.14);
}

body.page-what-we-do .page-hero-content h1 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.page-careers .site-header {
    background: linear-gradient(135deg, rgba(247, 250, 245, 0.96), rgba(239, 245, 238, 0.94));
    border-bottom: 1px solid rgba(104, 154, 126, 0.18);
}

body.page-careers .site-header.is-scrolled {
    background: linear-gradient(135deg, rgba(250, 252, 248, 0.99), rgba(235, 243, 235, 0.98));
}

body.page-careers .page-hero {
    min-height: 420px;
    background:
        radial-gradient(circle at 15% 18%, rgba(104, 154, 126, 0.16), transparent 18%),
        radial-gradient(circle at 84% 22%, rgba(202, 164, 95, 0.16), transparent 18%),
        linear-gradient(135deg, #102137 0%, #193654 55%, #2d5b55 100%);
}

body.page-careers .page-hero-content {
    width: min(100%, 760px);
    border-radius: 30px 80px 30px 80px;
    background: linear-gradient(145deg, rgba(8, 18, 37, 0.72), rgba(25, 54, 84, 0.38));
}

body.page-contact .site-header {
    background: linear-gradient(135deg, rgba(241, 248, 250, 0.96), rgba(237, 243, 242, 0.95));
    border-bottom: 1px solid rgba(76, 140, 170, 0.16);
}

body.page-contact .site-header.is-scrolled {
    background: linear-gradient(135deg, rgba(246, 250, 251, 0.99), rgba(233, 241, 240, 0.98));
}

body.page-contact .page-hero {
    min-height: 420px;
    background:
        radial-gradient(circle at 16% 18%, rgba(76, 140, 170, 0.18), transparent 18%),
        radial-gradient(circle at 82% 20%, rgba(202, 164, 95, 0.16), transparent 18%),
        linear-gradient(135deg, #10223a 0%, #1b3d61 55%, #2f667f 100%);
}

body.page-contact .page-hero-content {
    width: min(100%, 760px);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(7, 18, 38, 0.72), rgba(28, 60, 93, 0.34));
    box-shadow: 0 28px 70px rgba(7, 18, 38, 0.22);
}

body.page-what-we-do .page-hero {
    overflow: hidden;
    justify-content: flex-start;
    padding: 118px var(--shell-pad) 58px;
}

body.page-what-we-do .page-hero::before {
    inset: auto auto -40px -30px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(211, 154, 58, 0.16), transparent 70%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-what-we-do .page-hero::after {
    inset: 0 0 0 auto;
    width: min(48vw, 760px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(11, 20, 39, 0.1), rgba(11, 20, 39, 0.02)),
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.12), transparent 18%),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, auto, cover;
    background-position: center, center, center right;
    opacity: 0.92;
    pointer-events: none;
}

body.page-what-we-do .page-hero-content {
    margin-left: clamp(0px, 2vw, 28px);
    text-align: left;
}

body.page-what-we-do .page-hero-content p {
    margin-left: 0;
    margin-right: 0;
}

body.page-what-we-do .page-hero-content::before,
body.page-what-we-do .page-hero-content::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(44vw, 560px));
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 26px 58px rgba(9, 17, 33, 0.22);
}

body.page-what-we-do .page-hero-content::before {
    top: -6px;
    width: min(16vw, 240px);
    height: 330px;
    background-image:
        linear-gradient(180deg, rgba(10, 17, 33, 0.08), rgba(10, 17, 33, 0.08)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884992?q=80&w=1000&auto=format&fit=crop");
}

body.page-what-we-do .page-hero-content::after {
    top: 214px;
    right: calc(-1 * min(31vw, 420px));
    width: min(23vw, 340px);
    height: 210px;
    background-image:
        linear-gradient(180deg, rgba(10, 17, 33, 0.1), rgba(10, 17, 33, 0.1)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=1400&auto=format&fit=crop");
}

body.page-careers .page-hero {
    overflow: hidden;
    justify-content: flex-start;
    padding: 102px var(--shell-pad) 48px;
}

body.page-careers .page-hero::before {
    inset: auto auto -40px -30px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(104, 154, 126, 0.18), transparent 70%);
    animation: royalGlow 9s ease-in-out infinite;
}

body.page-careers .page-hero::after {
    inset: 0 0 0 auto;
    width: min(46vw, 720px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(10, 20, 25, 0.08), rgba(10, 20, 25, 0.02)),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center right;
    opacity: 0.92;
    pointer-events: none;
}

body.page-careers .page-hero-content {
    margin-left: clamp(0px, 2vw, 26px);
    text-align: left;
}

body.page-careers .page-hero-content p {
    margin-left: 0;
    margin-right: 0;
}

body.page-careers .page-hero-content::before {
    content: "";
    position: absolute;
    right: calc(-1 * min(40vw, 520px));
    top: 22px;
    width: min(18vw, 260px);
    height: 320px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(11, 22, 28, 0.12), rgba(11, 22, 28, 0.12)),
        url("https://images.unsplash.com/photo-1516321310766-61f06c6f7cd5?q=80&w=1200&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 24px 54px rgba(10, 20, 25, 0.2);
}

body.page-contact .page-hero {
    overflow: hidden;
    justify-content: flex-start;
    padding: 102px var(--shell-pad) 48px;
}

body.page-contact .page-hero::before {
    inset: auto auto -30px -24px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 140, 170, 0.18), transparent 70%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-contact .page-hero::after {
    inset: 0 0 0 auto;
    width: min(46vw, 720px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(8, 18, 38, 0.1), rgba(8, 18, 38, 0.02)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center right;
    opacity: 0.9;
    pointer-events: none;
}

body.page-contact .page-hero-content {
    margin-left: clamp(0px, 2vw, 26px);
    text-align: left;
}

body.page-contact .page-hero-content p {
    margin-left: 0;
    margin-right: 0;
}

body.page-contact .page-hero-content::before {
    content: "";
    position: absolute;
    right: calc(-1 * min(40vw, 520px));
    top: 24px;
    width: min(18vw, 260px);
    height: 320px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(8, 18, 38, 0.12), rgba(8, 18, 38, 0.12)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1200&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 24px 56px rgba(8, 18, 38, 0.2);
}

body.page-insights .page-hero,
body.page-academy .page-hero {
    overflow: hidden;
    justify-content: flex-start;
    padding: 120px var(--shell-pad) 58px;
}

body.page-insights .page-hero::before {
    inset: auto auto -34px -28px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(83, 134, 196, 0.18), transparent 70%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-insights .page-hero::after {
    inset: 0 0 0 auto;
    width: min(47vw, 740px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(9, 18, 36, 0.12), rgba(9, 18, 36, 0.03)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center right;
    opacity: 0.92;
    pointer-events: none;
}

body.page-insights .page-hero-content {
    margin-left: clamp(0px, 2vw, 26px);
    text-align: left;
}

body.page-insights .page-hero-content p {
    margin-left: 0;
    margin-right: 0;
}

body.page-insights .page-hero-content::before {
    content: "";
    position: absolute;
    right: calc(-1 * min(41vw, 540px));
    top: 20px;
    width: min(18vw, 250px);
    height: 315px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(9, 18, 36, 0.12), rgba(9, 18, 36, 0.12)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1200&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 24px 56px rgba(8, 18, 38, 0.22);
}

body.page-insights .page-hero-content::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(30vw, 410px));
    top: 228px;
    width: min(22vw, 320px);
    height: 205px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(9, 18, 36, 0.12), rgba(9, 18, 36, 0.12)),
        url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1400&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 20px 48px rgba(8, 18, 38, 0.18);
}

body.page-academy .page-hero::before {
    inset: auto auto -36px -30px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(202, 164, 95, 0.18), transparent 70%);
    animation: royalGlow 10s ease-in-out infinite;
}

body.page-academy .page-hero::after {
    inset: 0 0 0 auto;
    width: min(47vw, 740px);
    height: 100%;
    background:
        linear-gradient(90deg, rgba(12, 20, 34, 0.12), rgba(12, 20, 34, 0.03)),
        url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1600&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center right;
    opacity: 0.92;
    pointer-events: none;
}

body.page-academy .page-hero-content {
    margin-left: clamp(0px, 2vw, 26px);
    text-align: left;
}

body.page-academy .page-hero-content p {
    margin-left: 0;
    margin-right: 0;
}

body.page-academy .page-hero-content::before {
    content: "";
    position: absolute;
    right: calc(-1 * min(41vw, 540px));
    top: 16px;
    width: min(18vw, 250px);
    height: 320px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(12, 20, 34, 0.12), rgba(12, 20, 34, 0.12)),
        url("https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=1200&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 24px 56px rgba(8, 18, 38, 0.22);
}

body.page-academy .page-hero-content::after {
    content: "";
    position: absolute;
    right: calc(-1 * min(30vw, 410px));
    top: 232px;
    width: min(22vw, 320px);
    height: 205px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(12, 20, 34, 0.12), rgba(12, 20, 34, 0.12)),
        url("https://images.unsplash.com/photo-1516321310766-61f06c6f7cd5?q=80&w=1400&auto=format&fit=crop");
    background-size: auto, cover;
    background-position: center, center;
    box-shadow: 0 20px 48px rgba(8, 18, 38, 0.18);
}

@media (max-width: 768px) {
    body.page-insights .page-hero,
    body.page-academy .page-hero,
    body.page-what-we-do .page-hero,
    body.page-careers .page-hero,
    body.page-contact .page-hero {
        justify-content: center;
        padding: 106px 18px 36px;
    }

    body.page-insights .page-hero-content,
    body.page-academy .page-hero-content,
    body.page-what-we-do .page-hero-content,
    body.page-careers .page-hero-content,
    body.page-contact .page-hero-content {
        margin-left: 0;
        text-align: center;
    }

    body.page-insights .page-hero-content p,
    body.page-academy .page-hero-content p,
    body.page-what-we-do .page-hero-content p,
    body.page-careers .page-hero-content p,
    body.page-contact .page-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    body.page-insights .page-hero::after,
    body.page-academy .page-hero::after,
    body.page-what-we-do .page-hero::after,
    body.page-careers .page-hero::after,
    body.page-contact .page-hero::after,
    body.page-insights .page-hero-content::before,
    body.page-insights .page-hero-content::after,
    body.page-academy .page-hero-content::before,
    body.page-academy .page-hero-content::after,
    body.page-what-we-do .page-hero-content::before,
    body.page-what-we-do .page-hero-content::after,
    body.page-careers .page-hero-content::before,
    body.page-contact .page-hero-content::before {
        display: none;
    }
}

/* ===============================
ATTRACTIVE MOTION LAYER
=============================== */
.site-header {
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease;
}

.logo img {
    transition: transform 0.45s ease, filter 0.45s ease;
}

.logo:hover img {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 16px 24px rgba(22, 33, 62, 0.2));
}

.nav-links a:not(.nav-button) {
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a:not(.nav-button):hover {
    transform: translateY(-3px);
}

.nav-links .nav-button,
.btn-primary,
.contact-panel form button {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.nav-links .nav-button::before,
.btn-primary::before,
.contact-panel form button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.38) 50%, transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
}

.nav-links .nav-button:hover::before,
.btn-primary:hover::before,
.contact-panel form button:hover::before {
    transform: translateX(130%);
}

.hero,
.page-hero {
    isolation: isolate;
}

.hero::before,
.page-hero::after {
    animation: royalGlow 8s ease-in-out infinite;
}

.hero::after,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 14% auto auto 70%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
    animation: royalDrift 11s ease-in-out infinite;
}

.hero-3d {
    animation: heroAmbientFloat 10s ease-in-out infinite;
}

.hero-overlay,
.page-hero-content {
    animation: heroPanelRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-overlay h1,
.page-hero-content h1 {
    animation: titleGlow 5s ease-in-out infinite;
}

.marquee-section::after,
.key-metrics::after,
.service-strip::after,
.mission-vision::after,
.testimonials-section::after,
.trusted-by-section::after,
.home-content::after,
.about::after,
.services::after,
.insights::after,
.careers::after,
.academy::after,
.contact::after,
.values::after {
    animation: sectionShimmer 14s linear infinite;
}

.service-item,
.mv-card,
.info-card,
.tree-node,
.detail-card,
.contact-panel,
.video-card,
.metric-item,
.testimonial-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.service-item:hover,
.mv-card:hover,
.info-card:hover,
.tree-node:hover,
.detail-card:hover,
.contact-panel:hover,
.video-card:hover,
.metric-item:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(202, 164, 95, 0.28);
}

.metric-item {
    animation: metricPulse 6s ease-in-out infinite;
}

.metric-item:nth-child(2) {
    animation-delay: 0.8s;
}

.metric-item:nth-child(3) {
    animation-delay: 1.6s;
}

.metric-item:nth-child(4) {
    animation-delay: 2.4s;
}

.service-icon,
.mv-icon,
.card-icon,
.detail-card i,
.detail-icon {
    position: relative;
    overflow: hidden;
}

.service-icon::after,
.mv-icon::after,
.card-icon::after,
.detail-card i::after,
.detail-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 55%);
    opacity: 0.7;
}

.trusted-by-section .client-logos img {
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.trusted-by-section .client-logos img:hover {
    transform: translateY(-8px) scale(1.04);
}

.footer-social-links a,
.location-button,
.whatsapp-button,
.chatbot-button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.footer-social-links a:hover,
.location-button:hover,
.whatsapp-button:hover,
.chatbot-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(14, 24, 48, 0.2);
    color: var(--blue);
}

.contact-panel form input,
.contact-panel form textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-panel form input:focus,
.contact-panel form textarea:focus {
    transform: translateY(-1px);
    border-color: rgba(53, 84, 165, 0.34);
    box-shadow: 0 0 0 4px rgba(53, 84, 165, 0.08);
}

@keyframes royalGlow {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.08) translateY(-10px);
        opacity: 1;
    }
}

@keyframes royalDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(18px, -12px, 0);
    }
}

@keyframes heroAmbientFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.015);
    }
}

@keyframes heroPanelRise {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    }
    50% {
        text-shadow: 0 10px 30px rgba(202, 164, 95, 0.28);
    }
}

@keyframes sectionShimmer {
    0% {
        background-position: 0% 0%, 100% 0%;
    }
    100% {
        background-position: 120% 0%, 0% 100%;
    }
}

@keyframes metricPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 18px 44px rgba(18, 28, 52, 0.09);
    }
    50% {
        transform: translateY(-4px);
        box-shadow: 0 24px 52px rgba(18, 28, 52, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .page-hero::after,
    .hero::after,
    .page-hero::before,
    .hero-3d,
    .hero-overlay,
    .page-hero-content,
    .hero-overlay h1,
    .page-hero-content h1,
    .marquee-section::after,
    .key-metrics::after,
    .service-strip::after,
    .mission-vision::after,
    .testimonials-section::after,
    .trusted-by-section::after,
    .home-content::after,
    .about::after,
    .services::after,
    .insights::after,
    .careers::after,
    .academy::after,
    .contact::after,
    .values::after,
    .metric-item {
        animation: none !important;
    }
}
