@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #24207a; /* Deep Indigo */
    --secondary-color: #f7a827; /* Accent Gold/Orange */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-large: 0 10px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top notification bar (homepage) */
.top-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 7px 0;
    position: relative;
    z-index: 1002;
    border-bottom: 2px solid var(--secondary-color);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    text-align: center;
}

@keyframes top-bar-text-green-red {
    0% {
        color: #22c55e;
    }
    50% {
        color: #ef4444;
    }
    100% {
        color: #22c55e;
    }
}

@keyframes top-bar-text-red-green {
    0% {
        color: #ef4444;
    }
    50% {
        color: #22c55e;
    }
    100% {
        color: #ef4444;
    }
}

.top-bar-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
    font-weight: 700;
    animation: top-bar-text-green-red 3.5s ease-in-out infinite;
}

.top-bar-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.top-bar-divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
    font-weight: 700;
    transition: color 0.2s ease;
    animation: top-bar-text-red-green 3.5s ease-in-out infinite;
}

.top-bar-phone:hover {
    animation: none;
    color: var(--secondary-color);
}

.top-bar svg {
    width: 11px;
    height: 11px;
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-left,
    .top-bar-phone {
        animation: none;
        color: var(--bg-white);
    }

    .top-bar-phone:hover {
        color: var(--secondary-color);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Header & Navigation */
header {
    background-color: transparent; /* Make header transparent so it overlays slider */
    position: absolute; /* Overlay on top of hero */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

/* Ensure links are readable on the picture */
.nav-links a {
    font-weight: 600;
    color: var(--bg-white);
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Dropdown color specific */
.dropdown-menu a {
    color: var(--text-color);
    text-shadow: none;
}


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

.logo img {
    height: 150px;
    width: auto;
    max-width: 100%;
}

/* Wide horizontal lockup on interior pages (same PNG as home) */
body:not(.home-page) .logo img {
    height: 53px;
    width: auto;
}

/* Homepage horizontal lockup */
body.home-page .logo img {
    height: 62px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

/* Top-level nav links: comfortable hit area + pill when current */
.nav-links > li > a {
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-links > li > a[aria-current="page"],
.nav-links > li.nav-section-active > a {
    background-color: #22c55e;
    color: var(--bg-white) !important;
    text-shadow: none;
}

.nav-links > li > a[aria-current="page"]:hover,
.nav-links > li.nav-section-active > a:hover {
    background-color: #16a34a;
    color: var(--bg-white) !important;
}

.dropdown-menu a[aria-current="page"] {
    background-color: #22c55e;
    color: var(--bg-white) !important;
    font-weight: 600;
}

.dropdown-menu a[aria-current="page"]:hover {
    background-color: #16a34a;
    color: var(--bg-white) !important;
}

.nav-links > li > a:hover:not([aria-current="page"]) {
    color: var(--secondary-color);
}

body.home-page .nav-links > li > a:hover:not([aria-current="page"]) {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-large);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links li.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Homepage: stacked top bar + white header + dark nav (not over the slider) */
body.home-page header {
    position: relative;
    top: auto;
    left: auto;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 1001;
}

body.home-page .nav-links > li > a {
    color: var(--text-color);
    text-shadow: none;
    font-weight: 600;
}

body.home-page .nav-links > li > a[aria-current="page"],
body.home-page .nav-links > li.nav-section-active > a {
    background-color: #22c55e;
    color: var(--bg-white) !important;
}

body.home-page .mobile-menu-btn {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bg-white);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh; /* Interior / legacy: full viewport; homepage overrides below */
    overflow: hidden;
    background-color: #000;
}

/* Homepage: hero sits below top bar + white header */
body.home-page .hero {
    height: calc(100vh - 110px);
    min-height: 380px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(36,32,122,0.6) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

body.home-page .slide::before {
    background: rgba(0, 0, 0, 0.42);
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 800px;
    padding: 0 20px;
    margin-right: auto;
    margin-left: max(20px, calc((100% - 1200px) / 2));
}

.slide-content h2 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Homepage hero: centered headline, subtitle, pill CTA */
body.home-page .slide-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

body.home-page .slide-content h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

body.home-page .slide-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

body.home-page .slide-content .btn-hero-cta {
    border-radius: 999px;
    padding: 16px 40px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    background-color: #24207a;
    color: var(--bg-white);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease;
}

body.home-page .slide-content .btn-hero-cta:hover {
    background-color: #22c55e;
    color: var(--bg-white);
}

body.home-page .slide-content .btn-hero-cta:focus-visible {
    outline: 2px solid var(--bg-white);
    outline-offset: 3px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: #24207a;
    transform: scale(1.3);
}

/* Slider side arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.28);
    color: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

.slider-arrow:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

/* Homepage: brand intro (two-column, post-hero)
   Image after_slider2.webp intrinsic 1145×1533 — shown at natural aspect (max-width cap only). */
.brand-intro {
    background-color: var(--bg-white);
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    --brand-intro-img-max: 440px;
}

.brand-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.brand-intro-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: clamp(1.65rem, 3.2vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.brand-intro-title-line {
    display: block;
}

.brand-intro-title-line + .brand-intro-title-line {
    margin-top: 0.35em;
}

.brand-intro-title-accent {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--text-color);
}

.brand-intro-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.12em;
    width: 2.35em;
    max-width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.brand-intro-title-rest {
    font-weight: 700;
    color: var(--text-color);
}

.brand-intro-heading-wrap {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.brand-intro-body {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.brand-intro-body p {
    font-size: clamp(0.98rem, 1.2vw, 1.0625rem);
    line-height: 1.82;
    color: var(--text-light);
    margin-bottom: 1.3em;
    max-width: 42em;
}

.brand-intro-body p:last-child {
    margin-bottom: 0;
}

.brand-intro-lead {
    font-size: clamp(1.02rem, 1.35vw, 1.125rem);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.82;
    max-width: 42em;
    margin-bottom: 1.3em;
}

.brand-intro-body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.brand-intro-body a:hover {
    color: var(--secondary-color);
}

.brand-intro-media {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Natural size: width capped, height follows aspect ratio (no object-fit crop / no stretch). */
.brand-intro-img {
    display: block;
    width: auto;
    max-width: min(100%, var(--brand-intro-img-max));
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
}

@media (max-width: 900px) {
    .brand-intro-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2.5rem;
    }

    .brand-intro-media {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
    }

    .brand-intro-heading-wrap {
        grid-column: 1;
        grid-row: 1;
    }

    .brand-intro-body {
        grid-column: 1;
        grid-row: 3;
    }

    .brand-intro-body {
        flex: none;
    }

    .brand-intro-img {
        max-width: min(100%, 380px);
        margin-inline: auto;
    }
}

/* Our Projects marquee */
.projects-marquee-section {
    padding: clamp(3rem, 7vw, 4.8rem) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6ff 100%);
}

.projects-marquee-shell {
    position: relative;
}

.projects-marquee-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.projects-marquee-header h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #24207a;
}

.projects-marquee-header p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1rem;
}

.projects-side-label {
    position: absolute;
    right: -48px;
    top: 52%;
    transform: rotate(90deg) translateY(-50%);
    transform-origin: center;
    font-weight: 700;
    letter-spacing: 0.26em;
    font-size: 0.88rem;
    color: rgba(36, 32, 122, 0.7);
}

.projects-marquee {
    overflow: visible;
    width: 100%;
}

.projects-marquee-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 10px;
}

.project-card-marquee {
    width: 100%;
}

/* Reference-style card: light panel, header row, rounded image + overlays */
.project-card-marquee .project-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 34px;
    background-color: #eceef2;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: clamp(18px, 2.5vw, 24px) clamp(18px, 2.5vw, 26px) clamp(16px, 2vw, 22px);
    box-shadow: 0 16px 40px rgba(15, 15, 35, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.project-card-headings {
    margin-bottom: 14px;
}

.project-card-headings h3 {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    color: #111218;
    line-height: 1.2;
}

.project-card-location {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3d4152;
}

.project-card-pin {
    flex-shrink: 0;
    color: #111218;
}

.project-card-media {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 28px;
    background-color: #d8dbe3;
}

.project-card-media > img:first-of-type {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.project-card-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.25) 42%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
}

.project-card-media-title {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 92%;
    margin: 0;
    text-align: center;
    font-size: clamp(1.35rem, 3.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.project-card-media-title-accent {
    color: var(--secondary-color);
}

.project-card-marquee .project-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 15, 35, 0.14);
}

.project-card-marquee .project-card-link:hover .project-card-media > img:first-of-type {
    transform: scale(1.04);
}

.project-card-marquee .project-card-link:focus-visible {
    outline: 3px solid #24207a;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .projects-marquee-track {
        grid-template-columns: 1fr;
    }

    .projects-side-label {
        display: none;
    }

    .project-card-headings h3 {
        font-size: 1.2rem;
    }

    .project-card-media-title {
        bottom: 18px;
        font-size: clamp(1.15rem, 5vw, 1.65rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card-marquee .project-card-link,
    .project-card-marquee .project-card-media > img:first-of-type {
        transition: none;
    }
}

/* Testimonials section */
.testimonials-section {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) 0;
    background:
        radial-gradient(900px 380px at 10% 0%, rgba(255, 99, 71, 0.5), transparent 55%),
        radial-gradient(700px 340px at 90% 100%, rgba(123, 97, 255, 0.45), transparent 60%),
        #060817;
    overflow: hidden;
}

.testimonials-panel {
    position: relative;
    z-index: 1;
    padding: clamp(2.2rem, 5vw, 3.6rem);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(17, 34, 110, 0.92) 0%, rgba(6, 14, 62, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(3, 7, 27, 0.55);
}

.testimonials-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.35;
}

.testimonials-header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.testimonials-header h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 4.8vw, 3.35rem);
    color: #e8ecff;
    font-weight: 600;
}

.testimonials-header p {
    margin: 0;
    color: rgba(222, 230, 255, 0.9);
    font-size: clamp(0.95rem, 1.7vw, 1.12rem);
}

.testimonials-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.35rem);
}

.testimonial-card {
    border-radius: 18px;
    padding: 1.2rem 1.15rem 1.25rem;
    background: linear-gradient(180deg, rgba(26, 33, 97, 0.65) 0%, rgba(11, 14, 42, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    box-shadow: 0 12px 26px rgba(3, 7, 27, 0.36);
}

.testimonial-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, #dce6ff 0%, #afc4ff 100%);
    color: #24207a;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.testimonial-avatar-img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: block;
    margin-bottom: 0.85rem;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 5px 14px rgba(8, 11, 35, 0.45);
}

.testimonial-card h3 {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-size: 1.18rem;
    font-weight: 600;
}

.testimonial-role {
    margin-bottom: 0.85rem;
    color: rgba(206, 216, 255, 0.82);
    font-size: 0.92rem;
}

.testimonial-card p {
    color: rgba(235, 240, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-panel {
        border-radius: 18px;
    }
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Minimal CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-secondary {
    background-color: #22c55e;
    color: var(--bg-white);
}

.cta-section .btn-secondary:hover {
    background-color: #facc15;
    color: #1f2937;
}

/* Main Content Area */
main {
    min-height: 50vh;
    padding-top: 100px; /* Interior pages override below */
}

/* Let interior pages have a solid header by giving the container a top padding, or assigning a background to header on subpages */
body:not(.home-page) header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2000;
    padding: 9px 0;
}

body:not(.home-page) .nav-container,
body:not(.home-page) nav {
    position: relative;
    z-index: 2001;
}

body:not(.home-page) .dropdown-menu {
    z-index: 2100;
}

body:not(.home-page) main {
    padding-top: 60px;
}

body:not(.home-page) .nav-links a {
    color: var(--primary-color);
    text-shadow: none;
}

body:not(.home-page) .mobile-menu-btn {
    color: var(--primary-color);
}


.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0;
    font-size: 3rem;
}

/* Responsive */
@media (max-width: 991px) {
    .slide-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        position: relative;
        z-index: 3101;
        line-height: 1;
        padding: 8px 10px;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 3000;
    }

    .nav-container {
        min-height: 58px;
        position: relative;
    }

    nav {
        margin-left: auto;
    }
    
    .logo img {
        height: 42px;
    }

    body.home-page .logo img {
        height: 47px;
    }

    body:not(.home-page) .logo img {
        height: 40px;
    }

    body.home-page .hero {
        height: calc(100vh - 126px);
        min-height: 320px;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
    }

    .top-bar-divider {
        display: none;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .slider-arrow-next {
        right: 10px;
    }
    
    .nav-links {
        position: fixed;
        top: 58px;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 14px;
        padding: 24px 20px 32px;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 3090;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    body.home-page .nav-links {
        top: 107px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links > li > a {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        display: none;
        margin-top: 8px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .nav-links li.dropdown-open .dropdown-menu {
        display: block;
    }

    /* Ensure non-home-page header behaves correctly on mobile */
    body:not(.home-page) header {
        position: sticky;
        top: 0;
        z-index: 3000;
    }

    body:not(.home-page) .nav-container,
    body:not(.home-page) nav {
        z-index: 3001;
    }

    body:not(.home-page) .dropdown-menu {
        z-index: auto;
    }
}

/* Footer */
footer {
    background-color: #24207a;
    color: #fff;
    padding: 48px 0 22px;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

.footer-copy {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}
