/* ══════════════════════════════════════════════════════════════
   QCS PILANI — TCS/HEXAVIEW ENTERPRISE LIGHT THEME
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Core Light Palette */
    --bg: #ffffff;
    --bg2: #f4f4f4;
    --bg3: #e5e5e5;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfcfc;

    /* Brand Colors (TCS Inspired) */
    --primary: #E2136C; /* Magenta */
    --primary-dark: #b30f55;
    --primary-light: #f34c93;
    --primary-glow: rgba(226, 19, 108, 0.08);
    
    --accent: #0055c5; /* Deep Blue */
    --accent2: #000000;

    /* Text */
    --text: #000000;
    --text-secondary: #333333;
    --muted: #555555;
    --muted2: #777777;

    /* Surfaces */
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.95);
    --border: #e0e0e0;
    --border2: #d1d1d1;
    --border-hover: #000000;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Utils */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1280px;
    --radius-sm: 0px; /* Sharp corners for corporate look */
    --radius-md: 2px;
    --radius-lg: 4px;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5%;
}

/* ── SCROLL PROGRESS BAR ── */
#prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── BACK TO TOP ── */
#btt {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #111111;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-md);
    border: none;
}
#btt:hover { transform: translateY(-3px); background: var(--primary); }
#btt.vis { opacity: 1; pointer-events: auto; }

/* ══════════════════════════════════════
   NAVIGATION (TCS-STYLE ENTERPRISE NAV)
   ══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5vw;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s var(--ease);
    background: transparent;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: #111111;
    border-bottom: 1px solid #222222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); } /* Force white logo if needed, or leave normal */
nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
nav.scrolled .nav-logo img { filter: brightness(0) invert(1); }

.nav-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 12px;
    transition: all 0.2s;
}

.nav-links > li > a:hover {
    color: var(--primary);
}

.nav-links > li > a .arrow {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.nav-links > li:hover > a .arrow { transform: rotate(180deg); }

/* Megamenu Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    min-width: 600px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s var(--ease);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-links > li:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.mega-item:hover { 
    background: #ffffff; 
    border-color: #e0e0e0; 
    box-shadow: var(--shadow-sm); 
}

.mega-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mega-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
    letter-spacing: 0;
}
.mega-info p {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.4;
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    margin-left: 16px;
    transition: all 0.3s var(--ease) !important;
    border: 2px solid var(--primary) !important;
}
.nav-cta:hover {
    background: transparent !important;
    color: var(--primary) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mob-menu-overlay {
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mob-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mob-menu-overlay a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.2s;
}
.mob-menu-overlay a:hover { color: var(--primary); }

/* ══════════════════════════════
   HERO SECTION (TCS LIGHT THEME)
   ══════════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background: #111111; /* Fallback */
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 800px;
    padding: 0 5%;
    margin-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-title .gradient-text {
    color: var(--primary); /* Use solid accent instead of gradient for corporate */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

/* Hero Floating Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ══════════════════════════════
   CLIENTS / TRUST BAR
   ══════════════════════════════ */
.trust-bar {
    padding: 60px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}
.trust-bar p {
    text-align: center;
    font-size: 0.9rem;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 32px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s;
}
.trust-logos:hover {
    opacity: 1;
}
.trust-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #333333;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════
   SECTION HEADERS (REUSABLE)
   ══════════════════════════════ */
.section-header {
    margin-bottom: 64px;
}
.section-header.center {
    text-align: center;
}
.section-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #000000;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.section-desc {
    font-size: 1.1rem;
    color: #555555;
    max-width: 700px;
    line-height: 1.7;
}
.section-header.center .section-desc {
    margin: 0 auto;
}

/* ══════════════════════════════════
   SERVICES SECTION (CARD GRID)
   ══════════════════════════════════ */
#services {
    padding: 120px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5%;
}

.service-card {
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: #ffffff;
    border-color: #000000;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-img img {
    transform: scale(1.03);
}

.service-card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    display: none; /* Hide for true minimalist look */
}

.service-card h3 {
    font-size: 1.75rem;
    color: #000000;
    margin-bottom: 16px;
}

.service-card p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.service-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333333;
    background: #f0f0f0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.2s;
}
.service-link:hover { color: #000000; gap: 12px; }

/* ══════════════════════════════
   STATS BAR 
   ══════════════════════════════ */
#stats {
    padding: 80px 0;
    background: #111111;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-right: 1px solid #333333;
}
.stat-item:last-child { border-right: none; }

.stat-val {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ══════════════════════════════════
   WHY CHOOSE US (CAPABILITIES)
   ══════════════════════════════════ */
#capabilities {
    padding: 120px 0;
    background: #f4f4f4;
}

.cap-grid {
    display: grid;
    gap: 1px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
}

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

.cap-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cap-card {
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 48px 32px;
    transition: all 0.2s;
    z-index: 1;
}

.cap-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.70); /* Light overlay for text readability */
    z-index: -1;
    transition: all 0.2s;
}

.cap-card:hover::before {
    background: rgba(255, 255, 255, 0.5); /* Reveal more of the image on hover */
}

.cap-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cap-card h3 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 16px;
}

.cap-card p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ══════════════════════════════════
   PROCESS / TIMELINE
   ══════════════════════════════════ */
#process {
    padding: 120px 0;
    background: #ffffff;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: #e0e0e0;
}

.tl-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
    position: absolute;
    left: 28px;
    top: 0;
    width: 26px;
    height: 26px;
    background: #ffffff;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.tl-content {
    background: #ffffff;
    padding: 0;
}
.tl-content h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 12px;
}
.tl-content p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}

/* ══════════════════════════════════
   CTA SECTION
   ══════════════════════════════════ */
#cta {
    padding: 120px 5%;
    text-align: center;
    background: #111111;
    color: #ffffff;
}

#cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: #ffffff;
}

#cta p {
    font-size: 1.25rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ══════════════════════════════════
   FOOTER (CORPORATE)
   ══════════════════════════════════ */
footer {
    background: #000000;
    color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 10px solid var(--primary);
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: var(--max-w);
    margin: 0 auto 60px;
}

.foot-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.foot-logo img { height: 40px; filter: brightness(0) invert(1); }
.foot-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}
.foot-logo-text span { color: var(--primary); }

.foot-desc {
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.foot-col h5 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 16px; }
.foot-col ul li a {
    color: #999999;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.foot-col ul li a:hover { color: #ffffff; }

.foot-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #777777;
}

.footer-legal-strip {
    max-width: var(--max-w);
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555555;
}
.legal-links a { margin: 0 8px; transition: color 0.2s; }
.legal-links a:hover { color: #ffffff; }
.legal-divider { color: #333333; }

/* ══════════════════════════════════
   INNER PAGE HERO
   ══════════════════════════════════ */
.inner-page-hero {
    padding: 160px 0 80px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.inner-page-hero .hero-bg { display: none; } /* No bg images for inner headers usually */

.inner-page-content {
    max-width: var(--max-w);
    margin: 0 auto;
}

.inner-page-hero .hero-badge {
    background: #000000;
    color: #ffffff;
}

.inner-page-hero .hero-title {
    color: #000000;
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.inner-page-hero .hero-subtitle {
    color: #555555;
    margin: 0;
}

/* ══════════════════════════════════
   SERVICE DETAILS (INNER PAGES)
   ══════════════════════════════════ */
.srv-detail-section {
    padding: 100px 0;
    background: #ffffff;
}

.srv-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.srv-detail-item:nth-child(even) {
    direction: rtl;
}
.srv-detail-item:nth-child(even) > * {
    direction: ltr;
}
.srv-detail-item:last-child { margin-bottom: 0; }

.srv-img-wrap {
    width: 100%;
}
.srv-img-wrap img {
    width: 100%;
    border-radius: 0;
    border: 1px solid #e0e0e0;
}

.srv-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #000000;
}
.srv-content p {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 32px;
}

.phase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.phase-item {
    padding: 24px;
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--primary);
}
.phase-item strong {
    display: block;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 8px;
}
.phase-item span {
    font-size: 0.95rem;
    color: #555555;
}

/* Lists */
.srv-list {
    list-style: none;
}
.srv-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #333333;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.srv-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.team-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 40px;
    text-align: center;
}
.team-av {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    background: #f0f0f0;
}
.team-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.team-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.team-desc {
    color: #555555;
    font-size: 0.95rem;
}

/* ══════════════════════════════════
   FORMS & MODALS
   ══════════════════════════════════ */
.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.field {
    flex: 1;
    margin-bottom: 24px;
}
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--primary);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 700px;
    padding: 60px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    border-top: 6px solid var(--primary);
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #000000;
    cursor: pointer;
}
.form-ttl {
    font-size: 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #000000;
    margin-bottom: 32px;
}

/* ══════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.test-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 40px;
    transition: all 0.3s;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.test-stars {
    color: #000000;
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.test-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 30px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-av {
    width: 48px;
    height: 48px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
}

.test-author-name {
    font-weight: 600;
    color: #000000;
}

.test-author-role {
    font-size: 0.9rem;
    color: #666666;
}

/* ══════════════════════════════════
   PORTFOLIO GALLERY (REDESIGN)
   ══════════════════════════════════ */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: #000;
}

/* Feature the first item to span full width */
.portfolio-item:nth-child(1) {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}

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

.portfolio-overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.portfolio-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
}

.portfolio-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    max-width: 600px;
}

.portfolio-link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.portfolio-link:hover {
    background: var(--primary-dark);
}

/* ══════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid, .stats-grid, .foot-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .srv-detail-item { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 32px; }
    
    .services-grid, .team-grid, .cap-grid, .stats-grid, .foot-grid, .testimonials-grid, .portfolio-gallery { 
        grid-template-columns: 1fr; 
    }
    
    .form-row { flex-direction: column; gap: 0; }
    
    .inner-page-hero { padding: 120px 0 60px; }
    .srv-detail-section, #services, #capabilities, #process, #cta { padding: 80px 0; }
    
    .modal-content { padding: 40px 24px; }
}
