/* ============================================
   JACBIT INTEGRATED SERVICE LTD
   Corporate Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors — matched to logo */
    --clr-midnight: #0b1d3a;
    --clr-midnight-light: #0f2444;
    --clr-midnight-medium: #153052;
    --clr-navy: #1a3a62;
    --clr-gold: #4caf50;
    --clr-gold-light: #66bb6a;
    --clr-gold-dark: #388e3c;
    --clr-green: #4caf50;
    --clr-olive: #b89230;
    --clr-olive-light: #d4a843;
    --clr-white: #ffffff;
    --clr-offwhite: #f4f6f8;
    --clr-grey-100: #e8ecf1;
    --clr-grey-200: #d1d9e4;
    --clr-grey-300: #b0bec5;
    --clr-grey-500: #607d8b;
    --clr-grey-700: #37474f;
    --clr-grey-900: #1a1a2e;

    /* Typography */
    --ff-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-serif: Georgia, 'Times New Roman', serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.25rem;
    --fs-5xl: 4rem;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 900;

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

    /* Transitions */
    --tr-fast: 200ms ease;
    --tr-base: 350ms ease;
    --tr-slow: 600ms ease;
    --tr-hero: 700ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 16px 48px rgba(11, 29, 58, 0.16);
    --shadow-glow: 0 0 20px rgba(76, 175, 80, 0.18);

    /* Border Radius */
    --br-sm: 4px;
    --br-md: 8px;
    --br-lg: 12px;
    --br-xl: 16px;
    --br-full: 50%;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    color: var(--clr-grey-700);
    background-color: var(--clr-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--clr-midnight);
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.section {
    padding: var(--sp-5xl) 0;
}

.section--dark {
    background: var(--clr-midnight);
}

.section--light {
    background: var(--clr-offwhite);
}

.section__header {
    margin-bottom: var(--sp-3xl);
    max-width: 680px;
}

.section__header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--clr-gold);
    margin-bottom: var(--sp-md);
    position: relative;
    padding-left: 28px;
}

.section__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--clr-green);
    transform: translateY(-50%);
}

.section__tag--light {
    color: var(--clr-gold-light);
}

.section__tag--light::before {
    background: var(--clr-gold-light);
}

.section__title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--clr-midnight);
    margin-bottom: var(--sp-lg);
    letter-spacing: -0.5px;
}

.section__title--light {
    color: var(--clr-white);
}

.section__desc {
    font-size: var(--fs-md);
    color: var(--clr-grey-500);
    line-height: 1.8;
}

.section__desc--light {
    color: var(--clr-grey-300);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--br-md);
    font-family: var(--ff-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--tr-base);
    gap: 8px;
}

.btn--primary {
    background: var(--clr-gold);
    color: var(--clr-midnight);
    border-color: var(--clr-gold);
}

.btn--primary:hover {
    background: var(--clr-gold-light);
    border-color: var(--clr-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255, 255, 255, 0.35);
}

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

.btn--full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all var(--tr-base);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-white);
    z-index: 1001;
}

.nav__logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav__menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.3px;
    transition: color var(--tr-fast);
    position: relative;
}

.nav__menu a:hover {
    color: var(--clr-white);
}

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-gold);
    transition: width var(--tr-base);
}

.nav__menu a:hover::after {
    width: 100%;
}

.nav__cta {
    background: var(--clr-gold) !important;
    color: var(--clr-midnight) !important;
    padding: 8px 20px;
    border-radius: var(--br-md);
    font-weight: var(--fw-semibold) !important;
}

.nav__cta::after {
    display: none !important;
}

.nav__cta:hover {
    background: var(--clr-gold-light) !important;
    color: var(--clr-white) !important;
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-white);
    transition: all var(--tr-base);
    border-radius: 2px;
}

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

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION (RTS)
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(15, 31, 56, 0.85) 40%,
        rgba(20, 42, 74, 0.80) 100%
    );
    z-index: 2;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 1;
}

.hero__bg-image.active {
    opacity: 1;
}

.hero__container {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
    padding-top: var(--nav-height);
    width: 100%;
}

.hero__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-gold);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: var(--sp-2xl);
    background: rgba(76, 175, 80, 0.06);
}

.hero__content {
    position: relative;
    min-height: 200px;
    margin-bottom: var(--sp-2xl);
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--tr-hero), transform var(--tr-hero);
    pointer-events: none;
}

.hero__slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.hero__title {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    max-width: 800px;
    margin-bottom: var(--sp-lg);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    line-height: 1.8;
    font-weight: var(--fw-light);
}

.hero__actions {
    display: flex;
    gap: var(--sp-md);
    margin-bottom: var(--sp-3xl);
}

.hero__indicators {
    display: flex;
    gap: 10px;
}

.hero__indicator {
    width: 32px;
    height: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all var(--tr-base);
    border-radius: 2px;
}

.hero__indicator.active {
    width: 48px;
    background: var(--clr-gold);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
    background: var(--clr-midnight-light);
    border-top: 1px solid rgba(212, 168, 67, 0.15);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.stats__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--sp-2xl) var(--sp-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-3xl);
}

.stats__item {
    text-align: center;
}

.stats__number {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-black);
    color: var(--clr-gold);
    display: inline;
}

.stats__suffix {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--clr-gold);
}

.stats__label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--clr-grey-300);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.stats__divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4xl);
    align-items: center;
}

.about__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-700);
    margin-bottom: var(--sp-lg);
    font-family: var(--ff-serif);
    font-style: italic;
    line-height: 1.9;
}

.about__content p {
    margin-bottom: var(--sp-md);
    color: var(--clr-grey-500);
}

.about__pillars {
    margin-top: var(--sp-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.about__pillar {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-md);
    padding: var(--sp-lg);
    background: var(--clr-offwhite);
    border-radius: var(--br-md);
    border-left: 3px solid var(--clr-gold);
    transition: all var(--tr-base);
}

.about__pillar:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.about__pillar-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    color: var(--clr-gold);
}

.about__pillar-icon svg {
    width: 100%;
    height: 100%;
}

.about__pillar strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--clr-midnight);
    margin-bottom: 2px;
}

.about__pillar span {
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
}

.about__visual {
    position: relative;
}

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

.about__image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--clr-gold);
    border-radius: var(--br-lg);
    z-index: -1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-xl);
}

.service-card {
    background: var(--clr-midnight-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--br-lg);
    padding: var(--sp-2xl);
    transition: all var(--tr-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 67, 0.25);
    box-shadow: var(--shadow-glow);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    color: var(--clr-gold);
    margin-bottom: var(--sp-lg);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--clr-white);
    margin-bottom: var(--sp-md);
}

.service-card__desc {
    font-size: var(--fs-sm);
    color: var(--clr-grey-300);
    margin-bottom: var(--sp-lg);
    line-height: 1.7;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    padding-left: 20px;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: var(--br-full);
    background: var(--clr-gold);
}

.service-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
    transition: width var(--tr-slow);
}

.service-card:hover .service-card__line {
    width: 100%;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
}

.partner-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-100);
    border-radius: var(--br-lg);
    padding: var(--sp-xl);
    text-align: center;
    transition: all var(--tr-base);
    position: relative;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-glow);
}

.partner-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-gold-dark);
    background: rgba(212, 168, 67, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: var(--sp-md);
}

.partner-card__name {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--clr-midnight);
    margin-bottom: 6px;
}

.partner-card__role {
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
    line-height: 1.5;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
}

.project-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card {
    background: var(--clr-white);
    border-radius: var(--br-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--tr-base);
    border: 1px solid var(--clr-grey-100);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.2);
}

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

.project-card--featured .project-card__image {
    height: 100%;
    min-height: 360px;
}

.project-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--tr-slow);
}

.project-card--featured .project-card__image img {
    height: 100%;
    min-height: 360px;
}

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

.project-card__overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.project-card__capacity {
    background: var(--clr-gold);
    color: var(--clr-white);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.project-card__info {
    padding: var(--sp-lg);
}

.project-card--featured .project-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
    padding: var(--sp-2xl);
}

.project-card__name {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--clr-midnight);
    margin-bottom: 8px;
}

.project-card--featured .project-card__name {
    color: var(--clr-white);
    font-size: var(--fs-xl);
}

.project-card__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.project-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
}

.project-card--featured .project-card__location {
    color: var(--clr-grey-300);
}

.project-card__sector {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-gold-dark);
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
}

.project-card--featured .project-card__sector {
    background: rgba(76, 175, 80, 0.2);
    color: var(--clr-gold-light);
}

.project-card__phase {
    font-size: var(--fs-sm);
    color: var(--clr-grey-300);
    margin-top: 6px;
    font-style: italic;
}

/* ============================================
   MARKETS SECTION
   ============================================ */
.markets__layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--sp-4xl);
    align-items: center;
}

.markets__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-500);
    margin-bottom: var(--sp-2xl);
    line-height: 1.8;
    font-family: var(--ff-serif);
}

.markets__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.market-item {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    padding: var(--sp-lg);
    background: var(--clr-offwhite);
    border-radius: var(--br-md);
    border: 1px solid var(--clr-grey-100);
    transition: all var(--tr-base);
}

.market-item:hover {
    border-color: var(--clr-gold);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.market-item__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    color: var(--clr-gold);
}

.market-item__icon svg {
    width: 100%;
    height: 100%;
}

.market-item h3 {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--clr-midnight);
    margin-bottom: 2px;
}

.market-item span {
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
}

.markets__impact-card {
    background: linear-gradient(135deg, var(--clr-midnight), var(--clr-midnight-medium));
    border-radius: var(--br-xl);
    padding: var(--sp-3xl);
    text-align: center;
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.markets__impact-number {
    font-size: 5rem;
    font-weight: var(--fw-black);
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: var(--sp-md);
}

.markets__impact-label {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--clr-white);
    margin-bottom: var(--sp-md);
}

.markets__impact-desc {
    font-size: var(--fs-sm);
    color: var(--clr-grey-300);
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team__showcase {
    position: relative;
    border-radius: var(--br-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.team__image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
}

.team__overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 60%, transparent 100%);
    padding: var(--sp-3xl) var(--sp-2xl) var(--sp-2xl);
}

.team__overlay-info h3 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    margin-bottom: var(--sp-sm);
}

.team__overlay-info p {
    font-size: var(--fs-sm);
    color: var(--clr-grey-300);
    max-width: 640px;
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact__centered {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.contact__centered .section__tag {
    justify-content: center;
}

.contact__lead {
    font-size: var(--fs-md);
    color: var(--clr-grey-300);
    margin-bottom: var(--sp-2xl);
    line-height: 1.8;
    font-family: var(--ff-serif);
}

.contact__details--centered {
    display: flex;
    justify-content: center;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-2xl);
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-md);
    text-align: left;
}

.contact__detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    color: var(--clr-gold);
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--br-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.contact__detail-icon svg {
    width: 100%;
    height: 100%;
}

.contact__detail strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-white);
    margin-bottom: 4px;
}

.contact__detail a {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-grey-300);
    transition: color var(--tr-fast);
}

.contact__detail a:hover {
    color: var(--clr-gold);
}

.contact__whatsapp-btn {
    margin-top: var(--sp-md);
    gap: 10px;
}

.contact__whatsapp-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-grey-900);
    padding: var(--sp-4xl) 0 var(--sp-xl);
}

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

.footer__logo {
    margin-bottom: var(--sp-lg);
}

.footer__logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer__brand p {
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
    line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--sp-lg);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: var(--fs-sm);
    color: var(--clr-grey-500);
    transition: color var(--tr-fast);
}

.footer__links a:hover {
    color: var(--clr-gold);
}

.footer__contact p {
    font-size: var(--fs-sm);
    margin-bottom: 6px;
}

.footer__contact a {
    color: var(--clr-grey-500);
}

.footer__contact a:hover {
    color: var(--clr-gold);
}

.footer__bottom {
    padding-top: var(--sp-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom p {
    font-size: var(--fs-xs);
    color: var(--clr-grey-500);
    letter-spacing: 0.3px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero__title {
        font-size: var(--fs-3xl);
    }

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

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

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

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

    .project-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

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


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

@media (max-width: 768px) {
    :root {
        --fs-4xl: 2.25rem;
        --fs-3xl: 1.875rem;
        --fs-2xl: 1.5rem;
        --sp-5xl: 4rem;
    }

    /* Mobile Nav */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--clr-midnight);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--nav-height) + var(--sp-xl)) var(--sp-xl);
        gap: 0;
        transition: right var(--tr-base);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__menu li {
        width: 100%;
    }

    .nav__menu a {
        display: block;
        padding: var(--sp-md) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: var(--fs-base);
    }

    .nav__menu a::after {
        display: none;
    }

    .nav__cta {
        margin-top: var(--sp-md);
        text-align: center;
    }

    /* Hero */
    .hero__content {
        min-height: 180px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__scroll-hint {
        display: none;
    }

    /* Stats */
    .stats__container {
        flex-wrap: wrap;
        gap: var(--sp-xl);
    }

    .stats__divider {
        display: none;
    }

    .stats__item {
        flex: 1;
        min-width: 120px;
    }

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

    /* Partners */
    .partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .project-card--featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-card--featured .project-card__image,
    .project-card--featured .project-card__image img {
        min-height: 260px;
        height: 260px;
    }

    /* Team */
    .team__image-wrapper img {
        height: 320px;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-4xl: 1.875rem;
        --fs-3xl: 1.5rem;
        --sp-5xl: 3rem;
    }

    .container {
        padding: 0 var(--sp-md);
    }

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

    .stats__number {
        font-size: var(--fs-2xl);
    }

    .contact__details--centered {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--tr-base);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
