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

:root {
    --bg-color: #F9F9F4;
    --primary-color: #103028;
    --accent-color: #2C5F4D;
    --text-color: #103028;
    --bg-dark: #103028;
    --bg-light: #F8FBF9;
    --text-muted: #707070;
    --white: #ffffff;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    /* Removed scroll-behavior: smooth to prevent conflict with scroll-snap */
}

/* Premium Polish Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

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

.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.reveal-fade-in.active {
    opacity: 1;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Enhanced Typography */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

.section-title-ai {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -0.03em;
}

/* Magnetic Button Base */
.btn-hero-primary,
.btn-primary-glow,
.btn-hero-ghost {
    transition: transform 0.2s ease-out, box-shadow 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: 80px;
}




/* Header Styles */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Scrolled state — JS adds this class */
header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 40px;
}

/* On dark-bg pages (ai-development), invert the scrolled style */
body.dark-page header.scrolled {
    background: rgba(16, 48, 40, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.dark-page header.scrolled nav ul li a,
body.dark-page header.scrolled .logo span {
    color: #fff;
}

body.dark-page header.scrolled .btn-consult {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}


header .container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

body.dark-page .logo span {
    color: #fff;
}
body.dark-page .logo svg path {
    stroke: #fff;
}

.logo svg {
    width: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    padding-bottom: 8px;
}

body.dark-page nav ul li a {
    color: #fff;
    opacity: 0.9;
}

body.dark-page nav ul li a:hover {
    opacity: 1;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #265d4d;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

body.dark-page nav ul li a::after {
    background: #fff;
}

nav ul li a:hover {
    color: #265d4d;
}

body.dark-page nav ul li a:hover {
    color: #fff;
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- Dropdown Menu --- */
/* nav ul li.has-dropdown>a::after {
    content: ' ▾';
    font-size: 10px;
    opacity: 0.6;
} */

/* Bridge: invisible area between the link and the dropdown so hover doesn't get interrupted */
nav ul li.has-dropdown {
    position: relative;
}

nav ul li.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 16px;
    background: transparent;
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
    padding: 10px 0;
    min-width: 230px;
    gap: 0;
    border: 1px solid rgba(16, 48, 40, 0.12);
    z-index: 9999;
    /* Hidden by default via visibility + opacity — NOT display:none */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

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

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 11px 22px;
    color: var(--text-color) !important;
    opacity: 1 !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color) !important;
    opacity: 1 !important;
    padding-left: 28px;
}

.dropdown-menu li:first-child a {
    border-radius: 14px 14px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 14px 14px;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-consult {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

body.dark-page .btn-consult {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

body.dark-page .btn-consult:hover {
    background-color: #fff;
    color: #265d4d;
    border-color: #fff;
}

.btn-consult:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.icon-box {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.icon-box:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

body.dark-page .menu-toggle span {
    background-color: #fff;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}



/* Hero Styles */
.hero {
    min-height: 80vh;
    /* Reduced from 100vh */
    display: flex;
    align-items: center;
    padding: 100px 40px 40px;
    /* Reduced vertical padding */
    position: relative;
    max-width: 1200px;
    /* Consistent with header */
    margin: 0 auto;
    gap: 40px;
}

/* Global Side Labels */
.global-side-label {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    mix-blend-mode: difference;
    transition: var(--transition);
}

.global-side-label:hover {
    letter-spacing: 4px;
    opacity: 0.8;
}

.global-side-label.left {
    left: 20px;
    transform: translateY(-50%) rotate(180deg);
}

.global-side-label.right {
    right: 20px;
}

.global-side-label .scroll-track {
    width: 2px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    border-radius: 2px;
}

.global-side-label .scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* updated via JS */
    background-color: #fff;
    border-radius: 2px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 95, 77, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent-color);
    border: 1px solid rgba(44, 95, 77, 0.1);

}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 58px;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-content h1 span {
    font-style: italic;
    font-weight: 600;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 400px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #12372c;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-main:hover {
    background-color: #12372c;
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.btn-main:hover::before {
    left: 100%;
}

.btn-main .plus-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.4s ease;
}

.hero-image-container {
    flex: 1;
    height: 500px;
    /* Reduced from 700px */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-mask {
    width: 100%;
    height: 100%;
    position: relative;
    /* Using SVG clip-path for 100% fidelity and mobile compatibility */
    clip-path: url(#hero-mask);
    z-index: 1;
}

/* About Us Section Styles */
.about-section {
    background-color: var(--primary-color);
    background-image: radial-gradient(circle at 50% 50%, #1a4a40 0%, #103028 100%);
    padding: 70px 0 50px;
    /* Increased padding */
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Glassmorphism About Content */
.about-glass-container {
    padding: 60px 0 100px;
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
}

.about-watermark {
    position: absolute;
    top: -50px;
    left: 40px;
    font-family: var(--font-heading);
    font-size: 280px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.glass-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.main-glass {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-badge {
    align-self: flex-start;
    margin-bottom: 20px;
    position: relative;
    padding-left: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.pulsing-halo {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    animation: pulsehalo 2s infinite;
}

@keyframes pulsehalo {
    0% {
        transform: translateY(-50%) scale(0.9);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
    }

    100% {
        transform: translateY(-50%) scale(0.9);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.glass-title {
    font-family: var(--font-serif);
    font-size: 50px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #fff;
}

.glass-title em {
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.glass-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.glass-text p:last-child {
    margin-bottom: 0;
}

.glass-text ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.glass-text li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
    font-weight: 500;
}

.glass-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    font-size: 18px;
}

.glass-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-glass {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.g-num {
    font-family: var(--font-heading);
    font-size: 80px;
    font-style: italic;
    line-height: 1;
    color: #fff;
    margin-bottom: 15px;
}

.g-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.g-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    color: rgba(255, 255, 255, 0.3);
}

.visual-glass {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.g-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.glass-btn {
    position: relative;
    z-index: 1;
    margin: 30px;
    align-self: flex-start;
    padding: 16px 32px;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Background Bubbles Animation */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(15, 75, 60, 0.9) 0%, rgba(10, 30, 24, 0) 70%);
    /* Deeper, more saturated green */
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    z-index: 1;
    opacity: 1;
}

.bubble-1 {
    width: 1400px;
    height: 1400px;
    top: -500px;
    left: -200px;
    animation: wavyMove1 15s infinite ease-in-out;
}

.bubble-2 {
    width: 1100px;
    height: 1100px;
    top: -100px;
    right: -300px;
    animation: wavyMove2 12s infinite ease-in-out;
    background: radial-gradient(circle, rgba(20, 90, 70, 0.8) 0%, rgba(10, 30, 24, 0) 70%);
}

.bubble-3 {
    width: 1500px;
    height: 1500px;
    bottom: -600px;
    left: 0%;
    animation: wavyMove3 18s infinite ease-in-out;
    /* Speeded up from 30s */
}

.bubble-4 {
    width: 900px;
    height: 900px;
    top: 20%;
    left: -300px;
    animation: wavyMove1 10s infinite reverse ease-in-out;
    opacity: 0.8;
}

@keyframes wavyMove1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20%, 25%) scale(1.1);
    }

    /* More movement */
    50% {
        transform: translate(40%, 0) scale(1);
    }

    75% {
        transform: translate(20%, -25%) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes wavyMove2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    33% {
        transform: translate(-30%, 40%) scale(1);
    }

    /* More movement */
    66% {
        transform: translate(20%, -20%) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1.1);
    }
}

@keyframes wavyMove3 {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    50% {
        transform: translate(30%, 25%) rotate(180deg);
    }

    /* More movement */
    100% {
        transform: translate(-10%, -10%) rotate(360deg);
    }
}

/* Response for About Section */
@media (max-width: 1024px) {
    .about-layout {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .big-num {
        font-size: 140px;
    }

    .stat-badge {
        justify-content: center;
    }

    .partner-logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-section {
        padding: 80px 20px;
    }

    /* Responsive about glass container */
    .about-glass-container {
        padding: 40px 20px 60px;
    }

    .glass-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .glass-card {
        padding: 30px;
        border-radius: 20px;
    }

    .glass-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .glass-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .glass-text ul {
        grid-template-columns: 1fr;
        gap: 12px 0;
        margin-top: 15px;
    }

    .glass-text li {
        font-size: 15px;
        padding-left: 24px;
    }

    .g-num {
        font-size: 60px;
    }

    .about-watermark {
        font-size: 180px;
        top: 20px;
        left: 20px;
    }
}

/* Mobile responsive - 480px and below */
@media (max-width: 480px) {
    .about-glass-container {
        padding: 30px 15px 40px;
    }

    .glass-card {
        padding: 20px;
        border-radius: 16px;
    }

    .glass-badge {
        padding-left: 28px;
        font-size: 12px;
    }

    .glass-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .glass-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .glass-text ul {
        grid-template-columns: 1fr;
        gap: 10px 0;
        margin-top: 12px;
    }

    .glass-text li {
        font-size: 14px;
        padding-left: 22px;
        line-height: 1.5;
    }

    .glass-text li::before {
        font-size: 16px;
    }

    .g-num {
        font-size: 48px;
        margin-bottom: 10px;
    }

    .g-text {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .g-icon {
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .glass-btn {
        margin: 20px;
        font-size: 13px;
        padding: 10px 18px;
    }

    .about-watermark {
        font-size: 100px;
        top: 10px;
        left: 10px;
        opacity: 0.02;
    }
}

/* Remove previous mask-image attempts */
.image-mask {
    -webkit-mask-image: none;
    mask-image: none;
}

.drag-btn {
    position: absolute;
    bottom: 30%;
    left: 20%;
    /* Moved left to align with the image center-right better */
    width: 110px;
    height: 110px;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.drag-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.slider-images {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-images img.active {
    opacity: 1;
}

/* Responsiveness */
@media (max-width: 1024px) {
    header .container {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-image-container {
        order: 2;
        width: 100%;
        height: 400px;
        margin-top: 20px;
        display: flex !important;
        /* Ensure flex for centering */
        justify-content: center;
        align-items: center;
    }

    .image-mask {
        width: 100%;
        height: 100%;
        max-width: 320px;
        clip-path: url(#hero-mask);
        /* Maintain shape on mobile */
        display: block !important;
        -webkit-mask-image: none;
        mask-image: none;
        height: 500px;
    }

    .slider-images {
        display: block !important;
        width: 100%;
        height: 100%;
    }

    .slider-images img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .drag-btn {
        width: 80px;
        height: 80px;
        bottom: 25%;
        left: 25%;
    }

    .hero-content h1 {
        font-size: 38px;
    }

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

/* Services Section Styles */
.services-section {
    padding: 80px 0 40px;
    background-color: #f8fbf9;
}

.services-accordion {
    display: flex;
    flex-direction: row;
    height: 550px;
    width: 100%;
    gap: 15px;
    border-radius: 30px;
    overflow: hidden;
}

.service-item {
    position: relative;
    flex: 0 0 80px;
    height: 100%;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item.active {
    flex: 1;
    cursor: default;
}

.collapsed-title {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-color);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-item.active .collapsed-title {
    opacity: 0;
}

.expanded-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease 0.2s, visibility 0.5s ease 0.2s;
}

.service-item.active .expanded-content {
    opacity: 1;
    visibility: visible;
}

.service-content-inner {
    flex: 1;
    max-width: 450px;
}

.badge.service-badge {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    margin-bottom: 25px;
}

.service-content-inner h2 {
    font-size: 52px;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #103129 !important;
}

.service-content-inner p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #103028;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(16, 48, 40, 0.15);
}

.btn-primary:hover {
    background-color: #2C5F4D;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 48, 40, 0.25);
    color: #ffffff;
}

.service-image {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 40px;
}

.service-image img {
    max-width: 100%;
    height: 80%;
    object-fit: cover;
    /* transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    height:350px;
    border-radius: 20px;
}

/* Mobile Accordion Response */
@media (max-width: 1024px) {
    .services-accordion {
        flex-direction: column;
        height: auto;
        gap: 15px;
        border-radius: 0;
    }

    .service-item {
        flex: none;
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 0;
        cursor: pointer;
        border-radius: 15px;
        border: none;
        display: block;
        /* Use block — no flex conflicts */
        overflow: hidden;
    }

    /* Collapsed state: show title as simple flat text */
    .collapsed-title {
        position: static;
        transform: none;
        padding: 28px 24px;
        width: 100%;
        text-align: left;
        display: block;
        opacity: 1 !important;
        font-size: 22px;
        font-weight: 600;
        font-family: var(--font-heading);
        color: inherit;
        white-space: normal;
    }

    /* Active: hide collapsed-title since the h2 inside the white card shows the title */
    .service-item.active .collapsed-title {
        display: none;
    }

    /* Hidden by default */
    .expanded-content {
        display: none;
        padding: 0;
        height: auto;
        min-height: 0;
        opacity: 1;
        visibility: visible;
        overflow: visible;
        flex-direction: column;
        position: static;
    }

    /* Shown when active — stacks image then card vertically */
    .service-item.active .expanded-content {
        display: flex;
        flex-direction: column;
    }

    /* Image fills upper half of the card */
    .service-image {
        position: static;
        transform: none;
        width: 100%;
        height: 280px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 30px 20px 15px;
        margin: 0;
    }

    .service-image img {
        width: auto;
        max-width: 90%;
        height: 100%;
        object-fit: contain;
        transform: rotate(-5deg);
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
        opacity: 1 !important;
    }

    /* White content card at the bottom */
    .service-content-inner {
        position: static;
        background: #ffffff;
        padding: 28px 24px 32px;
        border-radius: 16px 16px 12px 12px;
        width: calc(100% - 32px);
        margin: 0 auto 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
        max-width: 100%;
        z-index: auto;
    }

    .service-content-inner h2 {
        display: block;
        font-size: 24px;
        margin-bottom: 10px;
        color: #111 !important;
        font-family: var(--font-heading);
    }

    .service-content-inner p {
        font-size: 15px;
        line-height: 1.6;
        color: #555 !important;
        margin-bottom: 0;
    }

    .badge.service-badge {
        display: none;
    }
    .service-content-inner .btn-primary {
        display: inline-flex;
        margin-top: 20px;
    }
}

/* =============================================
   Business Solutions Section (Bento Grid)
   ============================================= */

.biz-solutions-section {
    padding: 100px 0 80px;
    background: #f7faf8;
    position: relative;
    overflow: hidden;
}

.biz-solutions-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 48, 40, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.biz-solutions-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.biz-tag {
    display: inline-block;
    background: rgba(16, 48, 40, 0.08);
    color: var(--primary-color, #103028);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.biz-solutions-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #0a1a15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.biz-solutions-header h2 em {
    font-style: italic;
    color: var(--primary-color, #103028);
}

.biz-solutions-header p {
    font-size: 17px;
    color: #556b63;
    line-height: 1.7;
}

/* Bento Grid Layout — Desktop: 3-col (featured | 2-col mini-grid) */
.biz-grid {
    display: grid;
    gap: 20px;
    /* Default: single column for mobile-first */
    grid-template-columns: 1fr;
}

/* Base Card */
.biz-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}

.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(10, 30, 20, 0.14);
}

/* Featured card dark style */
.biz-card--featured {
    background: linear-gradient(135deg, #0d2b22 0%, #1a4a3a 100%);
    color: #fff;
    min-height: 500px;
}

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

.biz-card-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 207, 139, 0.18) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Small cards */
.biz-card--sm {
    background: #fff;
    border: 1px solid rgba(16, 48, 40, 0.08);
    padding: 0;
    min-height: 220px;
}

.biz-card--accent {
    background: linear-gradient(135deg, #103028 0%, #1e4a3b 100%);
    color: #fff;
    border: none;
}

.biz-card--accent .biz-card-inner p {
    color: rgba(255,255,255,0.72);
}

.biz-card--accent .biz-card-stat strong {
    color: #4ecb8d;
}

.biz-card--accent .biz-card-stat span {
    color: rgba(255,255,255,0.55);
}

/* Inner content */
.biz-card-inner {
    position: relative;
    z-index: 2;
    padding: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Icon */
.biz-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

/* Label above title */
.biz-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

/* Titles */
.biz-card--featured .biz-card-inner h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.biz-card--sm .biz-card-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1a15;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.biz-card--accent .biz-card-inner h3 {
    color: #fff;
}

/* Paragraphs */
.biz-card--featured .biz-card-inner > p {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 24px;
}

.biz-card--sm .biz-card-inner > p {
    font-size: 13.5px;
    color: #6b8079;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

/* Feature bullet list */
.biz-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.biz-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.biz-card-features li svg {
    flex-shrink: 0;
    color: #4ecb8d;
}

/* CTA Button inside featured card */
.biz-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 100px;
    margin-top: auto;
    width: fit-content;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.biz-card-cta:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
    transform: translateX(4px);
}

/* Stat block on small cards */
.biz-card-stat {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(16, 48, 40, 0.08);
}

.biz-card--accent .biz-card-stat {
    border-top-color: rgba(255,255,255,0.1);
}

.biz-card-stat strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color, #103028);
    letter-spacing: -1px;
    line-height: 1;
}

.biz-card-stat span {
    font-size: 12px;
    color: #8fa89e;
    font-weight: 500;
    margin-top: 2px;
}

/* ---- Bento Grid Responsive ---- */

/* Mobile (up to 540px): single column, all cards stack */
@media (max-width: 540px) {
    .biz-solutions-section {
        padding: 60px 0 50px;
    }

    .biz-solutions-header {
        margin-bottom: 36px;
    }

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

    .biz-card--featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 320px;
    }

    .biz-card--featured .biz-card-inner h3 {
        font-size: 26px;
    }

    .biz-card-inner {
        padding: 28px 24px;
    }

    .biz-card-stat strong {
        font-size: 24px;
    }
}

/* Tablet (541px – 900px): 2 columns, featured card spans full width */
@media (min-width: 541px) and (max-width: 900px) {
    .biz-solutions-section {
        padding: 70px 0 60px;
    }

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

    .biz-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 360px;
    }

    .biz-card--featured .biz-card-inner h3 {
        font-size: 28px;
    }
}

/* Desktop (901px+): 3-column bento layout */
@media (min-width: 901px) {
    .biz-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

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

    .biz-grid > .biz-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    .biz-grid > .biz-card:nth-child(3) { grid-column: 3; grid-row: 1; }
    .biz-grid > .biz-card:nth-child(4) { grid-column: 2; grid-row: 2; }
    .biz-grid > .biz-card:nth-child(5) { grid-column: 3; grid-row: 2; }
}

/* =============================================
   Why Choose Us Section
   ============================================= */
.why-choose-section {
    padding: 70px 0;
    background-color: var(--bg-color);
    overflow: hidden;
}


.why-choose-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    /* Proper side spacing matching header */
}

@media (max-width: 1024px) {
    .why-choose-layout {

        padding: 0 20px;
        /* Proper side spacing matching header */
    }

}

/* --- Left Column --- */
.why-choose-left {
    flex: 1.1;
}

.why-headline {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    margin: 24px 0 50px;
}

.why-headline span {
    font-style: italic;
    font-weight: 400;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 32px 24px 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* Right column items get a left border */
.feature-item:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.07);
}

/* Remove bottom border from last 2 items */
.feature-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.feature-text p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --- Right Column --- */
.why-choose-right {
    flex: 0.9;
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative gradient circle — animated floating */
.deco-circle {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C3B4E8 0%, #E8A4B8 50%, #B4C8E8 100%);
    opacity: 0.75;
    z-index: 0;
    animation: floatCircle 6s ease-in-out infinite;
}

@keyframes floatCircle {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-18px, 20px) scale(1.05);
    }

    50% {
        transform: translate(12px, 35px) scale(0.96);
    }

    75% {
        transform: translate(20px, 10px) scale(1.03);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.image-stack {
    position: relative;
    width: 100%;
    height: 420px;
    z-index: 1;
}

.img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 86%;
    border-radius: 20px;
    overflow: hidden;
}

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

.img-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: 74%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
}

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

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .why-choose-layout {
        flex-direction: column;
        gap: 60px;
    }

    .why-choose-left,
    .why-choose-right {
        flex: none;
        width: 100%;
    }

    .why-headline {
        font-size: 42px;
    }

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

    .feature-item:nth-child(2n) {
        padding-left: 0;
        border-left: none;
    }

    .feature-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .why-choose-right {
        min-height: 360px;
    }

    .image-stack {
        height: 360px;
    }

    .deco-circle {
        width: 160px;
        height: 160px;
        top: -20px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .why-headline {
        font-size: 34px;
    }

    .why-choose-section {
        padding: 80px 0;
    }
}

/* =============================================
   Parallax Banner Section
   ============================================= */
.parallax-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* The background image acts as the parallax layer */
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1600&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Native CSS parallax */
}

/* Dark warm overlay */
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 12, 18, 0.72) 0%,
            rgba(20, 18, 10, 0.55) 50%,
            rgba(10, 12, 18, 0.72) 100%);
    z-index: 1;
}

/* Side vertical labels */
.parallax-label {
    position: absolute;
    top: 50%;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.55);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}

.parallax-label.left {
    left: 30px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}

.parallax-label.right {
    right: 30px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
}

/* Line accent for right label */
.parallax-label.right::before {
    content: '';
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.35);
}

/* Centre content block */
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 30px;
    color: #fff;
}

.parallax-headline {
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.parallax-headline span {
    display: block;
    font-weight: 400;
    font-style: italic;
}

.parallax-sub {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 480px;
    margin: 0 auto 50px;
}

/* Circular play button */
.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s ease;
    outline: none;
    position: relative;
}

/* Outer pulse ring */
.play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulsering 2.5s ease-out infinite;
}

@keyframes pulsering {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .parallax-banner {
        /* Fallback: fixed attachment doesn't work smoothly on iOS */
        background-attachment: scroll;
        min-height: 80vh;
    }

    .parallax-headline {
        font-size: 52px;
    }

    .parallax-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .parallax-banner {
        min-height: 70vh;
    }

    .parallax-headline {
        font-size: 38px;
    }

    .parallax-sub {
        font-size: 15px;
    }
}

/* =============================================
   Scroll-Driven Approach Section (Rebuilt)
   - 300vh tall so each slide gets 100vh of scroll travel
   - Sticky viewport pins to 100vh
   - 1 slide shown at a time, slides enter from bottom / exit up
   ============================================= */
.approach-section {
    position: relative;
    height: 300vh;
    /* 100vh per slide × 5 slides (faster transition) */
    background-color: var(--bg-color);
}

/* Sticky container — pins to viewport as user scrolls */
.approach-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Stack all slides on top of each other */
.approach-slides {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Each slide is a vertical accordion item */
.approach-slide {
    position: relative;
    flex: 0 0 65px;
    /* Collapsed height shows only the top bar */
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-color);
    transition: flex 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Active slide expands to fill remaining space */
.approach-slide.is-active {
    flex: 1;
}

/* Left content area */
.slide-left {
    padding: 80px 60px 30px 120px;
    /* high top padding to clear the absolute top bar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

/* The "01" number circle pinned to the top */
.slide-num {
    position: absolute;
    top: 15px;
    left: 120px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
}

.slide-headline {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    margin-bottom: 20px;
}

.slide-headline em {
    font-style: italic;
    font-weight: 400;
    display: block;
}

.slide-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 380px;
}

/* Right content area */
.slide-right {
    position: relative;
    padding: 80px 80px 30px 60px;
    display: flex;
    flex-direction: column;
}

/* "Trusted Partner" pill pinned to top right */
.slide-tag {
    position: absolute;
    top: 15px;
    right: 80px;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.slide-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.slide-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fade in/out the actual content when active vs collapsed */
.approach-slide .slide-headline,
.approach-slide .slide-desc,
.approach-slide .slide-img {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.approach-slide.is-active .slide-headline,
.approach-slide.is-active .slide-desc,
.approach-slide.is-active .slide-img {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.3s;
    /* delay slightly so row expands first */
}

/* Progress dots */
.approach-dots {
    display: none;
    /* Hide dots since accordion headers clearly show progress */
}



/* ---- Mobile: linear stacked cards ---- */
@media (max-width: 1024px) {
    .approach-section {
        height: auto;
    }

    .approach-sticky {
        position: static;
        height: auto;
        overflow: visible;
    }

    .approach-slides {
        position: static;
        height: auto;
    }

    .approach-slide {
        flex: none;
        height: auto;
        grid-template-columns: 1fr;
        padding-bottom: 40px;
    }

    .approach-slide .slide-headline,
    .approach-slide .slide-desc,
    .approach-slide .slide-img {
        opacity: 1;
        transform: none;
    }

    .slide-left {
        padding: 100px 24px 24px;
        border-right: none;
    }

    .slide-num {
        left: 24px;
    }

    .slide-tag {
        right: 24px;
    }

    .slide-right {
        padding: 0 24px 24px;
        min-height: 280px;
    }

    .slide-headline {
        font-size: 44px;
    }


}

@media (max-width: 480px) {
    .slide-headline {
        font-size: 34px;
    }

    .slide-left {
        padding: 36px 20px 16px;
    }
}

/* =============================================
   Unique Case Study Section
   ============================================= */
.cs-section {
    position: relative;
    overflow: visible;
    background-color: var(--primary-color);
    background-image: radial-gradient(ellipse at top right, #1a4a40 0%, var(--primary-color) 70%);
    /* Glossy effect */
    color: #fff;
    padding: 30px 0 20px;
    /* Reduced padding drastically */
}

/* Container for header */
.cs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    /* Reduced from 50px */
}

.cs-title {
    font-family: var(--font-serif);
    font-size: 42px;
    /* Reduced from 48px */
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.cs-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cs-btn:hover {
    border-bottom-color: #fff;
    gap: 16px;
    /* Arrow pushes out */
}

/* Horizontal Track */
.cs-track {
    display: flex;
    gap: 24px;
    padding: 0 60px 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    position: relative;
}

.cs-track::-webkit-scrollbar {
    display: none;
}

.cs-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.cs-slider-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(16, 48, 40, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: #103028;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    margin: 0 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.cs-slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.cs-slider-btn svg {
    width: 18px;
    height: 18px;
    stroke: #103028;
}

/* Card */
.cs-card {
    flex: 0 0 calc(35vw);
    min-width: 340px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 420px;
}

.cs-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
}

/* =============================================
   Industries Served Section
   ============================================= */
.industries-section {
    background-color: var(--bg-color);
    /* Light */
    padding: 60px 0;
    color: var(--text-color);
}

.ind-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 80px;
}

/* Left: List */
.ind-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ind-header {
    margin-bottom: 60px;
}

.ind-subtitle {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.ind-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.ind-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--primary-color);
}

.ind-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.ind-item {
    display: flex;
    flex-direction: column;
    /* allow image below on mobile */
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ind-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ind-item-header {
    display: flex;
    align-items: center;
    width: 100%;
}

.ind-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 40px;
    transition: color 0.4s ease;
}

.ind-name {
    font-size: 26px;
    /* Reduced from 38px as per user request */
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.4s ease;
    margin: 0;
}

.ind-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--primary-color);
}

.ind-mobile-img {
    display: none;
}

/* Hover & Active States (Desktop) */
@media (min-width: 1025px) {

    .ind-item:hover .ind-name,
    .ind-item.active .ind-name {
        color: var(--text-color);
        transform: translateX(15px);
    }

    .ind-item:hover .ind-num,
    .ind-item.active .ind-num {
        color: var(--primary-color);
    }

    .ind-item:hover .ind-arrow,
    .ind-item.active .ind-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Right: Industry Display Cards */
.ind-right {
    flex: 1.2;
    position: relative;
}

.ind-details-wrapper {
    position: sticky;
    top: 120px;
    width: 100%;
}

.ind-detail-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(16, 48, 40, 0.05);
    border: 1px solid rgba(16, 48, 40, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ind-detail-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.ind-card-img {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #f0f0f0;
}

.ind-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ind-card-content h4 {
    font-size: 22px;
    color: #103028;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.ind-card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.ind-pointers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ind-pointer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #103028;
}

.ind-pointer i {
    color: #4CAF8B;
    font-size: 14px;
}

.ind-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    /* Slight zoom for dramatic enter */
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ind-gallery img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .ind-container {
        flex-direction: column;
        gap: 60px;
    }

    .ind-right {
        display: none;
        /* Hide sticky gallery on mobile */
    }

    .ind-mobile-img {
        display: block;
        width: 100%;
        height: 0;
        /* Hidden by default */
        opacity: 0;
        overflow: hidden;
        border-radius: 16px;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        margin-top: 0;
    }

    .ind-mobile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
        transition: transform 0.6s ease;
    }

    .ind-name {
        font-size: 32px;
    }

    /* Native Accordion for mobile! */
    .ind-item.active .ind-name,
    .ind-item.active .ind-num {
        color: var(--text-color);
    }

    .ind-item.active .ind-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .ind-item.active .ind-mobile-img {
        height: 320px;
        margin-top: 30px;
        opacity: 1;
    }

    .ind-item.active .ind-mobile-img img {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .industries-section {
        padding: 80px 0;
    }

    .ind-container {
        padding: 0 24px;
        gap: 40px;
    }

    .ind-title {
        font-size: 42px;
    }

    .ind-header {
        margin-bottom: 40px;
    }

    .ind-name {
        font-size: 26px;
    }

    .ind-num {
        margin-right: 20px;
    }

    .ind-item {
        padding: 30px 0;
    }

    .ind-item.active .ind-mobile-img {
        height: 240px;
        margin-top: 20px;
    }
}

.cs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-card:hover .cs-image-wrapper img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Hover Overlay */
.cs-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 17, 13, 0.88);
    /* Match background */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cs-card:hover .cs-hover-overlay {
    opacity: 1;
}

/* Stats inside overlay */
.cs-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.cs-card:hover .cs-stats {
    transform: translateY(0);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item strong {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.stat-item span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.cs-read-more {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.cs-card:hover .cs-read-more {
    transform: translateY(0);
}

/* Card Meta (Below image) */
.cs-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.cs-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.cs-card:hover .cs-name {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .cs-card {
        flex: 0 0 calc(60vw);
        min-width: 380px;
    }
}

@media (max-width: 768px) {
    .cs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .cs-section {
        padding: 80px 0 100px;
    }

    .cs-container {
        padding: 0 24px;
    }

    .cs-track {
        padding: 0 24px 24px;
        gap: 20px;
    }

    .cs-card {
        flex: 0 0 calc(85vw);
        min-width: 280px;
    }

    .cs-title {
        font-size: 42px;
    }

    .cs-image-wrapper {
        aspect-ratio: 1/1;
        /* Squarer on mobile */
    }

    .cs-name {
        font-size: 24px;
    }
}

/* =============================================
   Connected Bottom Block (CTA + Footer)
   ============================================= */
.bottom-block {
    background-color: var(--primary-color);
    background-image: radial-gradient(ellipse at top, #1a4a40 0%, var(--primary-color) 70%);
    color: #fff;
    overflow: hidden;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 70px 0 50px;
    text-align: center;
    background: #E8F4F1;
}

.cta-sub {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0f3028;
    margin-bottom: 20px;
    display: block;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 50px;
    color:#0f3028;
}

.cta-title em {
    font-style: italic;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--primary-color);
    padding: 12px 12px 12px 32px;
    /* pill shape */
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
}

.cta-button .btn-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    transition: all 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button:hover .btn-icon {
    transform: rotate(45deg);
}

.site-footer {
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-snap-align: end;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.footer-brand .logo svg {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 12px;
}

.link-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.link-col a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* ---- Infinite Marquee ---- */
.footer-marquee {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.15);
    /* Slightly darker grounding bar */
}

.marquee-track {
    display: inline-flex;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
}

.marquee-content span.separator {
    margin: 0 40px;
    color: rgba(255, 255, 255, 0.3);
}

.marquee-content span {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

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

    100% {
        transform: translateX(-50%);
    }

    /* Track contains 2 identical contents, so 50% translates perfectly */
}

/* ---- Mobile Responsive ---- */
@media (max-width: 1024px) {
    .cta-title {
        font-size: 56px;
    }

    .footer-top {
        flex-direction: column;
        gap: 60px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

    .link-col {
        flex: 1 1 120px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 100px 24px 60px;
    }

    .cta-title {
        font-size: 44px;
        margin-bottom: 40px;
    }

    .footer-container {
        padding: 0 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .marquee-content span {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .marquee-content span.separator {
        margin: 0 20px;
    }
}

/* =============================================
   Service Detail Section (AI Development)
   ============================================= */
.service-detail-section {
    padding: 180px 0 100px;
    background-color: var(--white);
    /* White/light */
    min-height: 100vh;
}

.sd-container {
    display: flex;
    align-items: center;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-left {
    flex: 0 0 45%;
    position: relative;
}

.sd-deco-circle {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 175, 139, 0.4) 0%, rgba(16, 48, 40, 0.2) 100%);
    z-index: 0;
}

.sd-image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 200px 20px 20px 20px;
    /* Arch top-left */
    overflow: hidden;
    height: 600px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.sd-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-stat-box {
    position: absolute;
    bottom: 0;
    left: 0;
}

.brand-content {
    padding: 30px 40px;
    border-radius: 0 24px 0 0;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
}


.sd-num {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1;
    font-weight: 500;
}

.sd-text {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.sd-right {
    flex: 1;
}

.badge.service-detail-badge {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 12px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.sd-headline {
    font-family: var(--font-serif);
    font-size: 56px;
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.sd-desc {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 50px;
}

.sd-progress-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.progress-item {
    width: 100%;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.progress-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4CAF50);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

@media (max-width: 1024px) {
    .sd-container {
        gap: 60px;
        flex-direction: column;
    }

    .sd-left {
        flex: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .sd-image-wrapper {
        height: 450px;
        border-radius: 100px 20px 20px 20px;
    }

    .sd-stat-box {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sd-num {
        font-size: 56px;
    }

    .sd-headline {
        font-size: 42px;
    }
}

/* =============================================
   AI Capabilities Section
   ============================================= */
.ai-capabilities {
    padding: 120px 0;
    background-color: var(--bg-dark);
    /* Or #103028 */
    background-image: radial-gradient(circle at top right, rgba(76, 175, 139, 0.1), transparent 50%),
        radial-gradient(circle at bottom left, rgba(76, 175, 139, 0.05), transparent 50%);
    color: #fff;
}

.cap-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cap-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.cap-badge {
    margin-bottom: 20px;
    display: inline-block;
}

.cap-title {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 20px;
}

.cap-title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.cap-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cap-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cap-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.cap-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(76, 175, 139, 0.2);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.cap-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.cap-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* =============================================
   AI Process Section
   ============================================= */
.ai-process {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.proc-header h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    text-align: center;
    margin-bottom: 80px;
}

.proc-header h2 em {
    font-style: italic;
    color: var(--text-muted);
}

.proc-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.proc-step {
    display: flex;
    align-items: stretch;
    /* So the line stretches */
    gap: 40px;
    position: relative;
}

.proc-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: rgba(0, 0, 0, 0.1);
    font-weight: 700;
    width: 80px;
    text-align: right;
    position: relative;
}

.proc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 120px;
    /* Roughly after number */
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.proc-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.proc-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.proc-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

    .proc-step {
        flex-direction: column;
        gap: 20px;
    }

    .proc-number {
        text-align: left;
        margin-bottom: -10px;
    }

    .proc-step:not(:last-child)::after {
        display: none;
    }
}

/* =========================================================================
   AI DEVELOPMENT ENTIRE PAGE DESIGN (10 SECTIONS)
   ========================================================================= */

/* --- GLOW BADGES & BUTTONS --- */
.hero-badge-ai {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(76, 175, 139, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(76, 175, 139, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.btn-primary-glow {
    display: inline-block;
    padding: 16px 36px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(76, 175, 139, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 139, 0.6);
    color: #fff;
}

.section-title-ai {
    font-family: var(--font-serif);
    font-size: 56px;
    margin-bottom: 60px;
    color: var(--text-color);
}

.section-title-ai em {
    color: var(--primary-color);
    font-style: italic;
}

.section-title-ai.center {
    text-align: center;
}

/* ============================================
   PREMIUM AI HERO — Complete Redesign
   ============================================ */

.ai-hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    scroll-snap-align: start;
}

.container {
    width: 100%;
    max-width: 100%;
    /* Slightly more constrained for better 'side space' look */
    margin: 0 auto;
    padding: 0 70px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.container-fluid {
    width: 100%;

    margin: 0 auto;
    padding: 0 70px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .container-fluid {
        width: 100%;
        margin: 0 auto;
        padding: 0 30px;
        position: relative;
        z-index: 2;
        box-sizing: border-box;
    }

}

/* Restored Background Image */
.ai-hero-bg {
    position: absolute;
    inset: 0;
    background: url('assests/image/ai-hero-bg.png') center center / cover no-repeat;
    z-index: 0;
}

/* Ensure sections are centered columns */
.ai-hero-new,
.ai-bento-section,
.ai-why-us-split,
.ai-process-zigzag,
.ai-industries-hover,
.ai-portfolio,
.ai-faq-section,
.ai-insights,
.ai-cta-parallax,
.ai-experience-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}



/* Dark gradient overlay on top of image */
.ai-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(5, 18, 13, 0.92) 0%,
            rgba(10, 32, 24, 0.80) 50%,
            rgba(5, 18, 13, 0.65) 100%);
    z-index: 1;
}

/* Subtle grid pattern */
.ai-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 175, 139, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 139, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

/* Main flex container */
.ai-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* ---- LEFT SIDE ---- */
.ai-hero-left {
    flex: 0 0 55%;
    max-width: 600px;
}

/* Live status eyebrow badge */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(76, 175, 139, 0.12);
    border: 1px solid rgba(76, 175, 139, 0.3);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.hero-live-dot {
    width: 8px;
    height: 8px;
    background: #4caf8b;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(76, 175, 139, 0.4);
    animation: livePulse 2s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 139, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 139, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 139, 0);
    }
}

/* Main headline */
.ai-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(42px, 5.5vw, 76px);
    /* Slightly smaller to fit better */
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

/* Animated gradient word */
.gradient-word {
    background: linear-gradient(90deg, #4caf8b, #a8edcc, #4caf8b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
    font-style: italic;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Subtext */
.ai-hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    margin-bottom: 44px;
}

/* CTA Buttons */
.ai-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 0px;
    /* Removed margin as stats are gone */
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
    box-shadow: 0 8px 30px rgba(76, 175, 139, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(76, 175, 139, 0.55);
    background: #3d9b7a;
}

.btn-hero-primary svg {
    transition: transform 0.3s;
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}



/* ---- RIGHT SIDE: ORB VISUAL ---- */
.ai-hero-right {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 460px;
}

/* Orbiting rings */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(76, 175, 139, 0.25);
    animation: spinRing linear infinite;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    animation-duration: 20s;
}

.ring-2 {
    width: 380px;
    height: 380px;
    border-color: rgba(76, 175, 139, 0.15);
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 460px;
    height: 460px;
    border-color: rgba(76, 175, 139, 0.08);
    animation-duration: 45s;
}

@keyframes spinRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Central sphere */
.ai-sphere {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(76, 175, 139, 0.8), rgba(16, 48, 40, 0.9) 70%);
    box-shadow:
        0 0 0 2px rgba(76, 175, 139, 0.3),
        0 0 60px rgba(76, 175, 139, 0.4),
        0 0 120px rgba(76, 175, 139, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spherePulse 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.sphere-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spherePulse {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(76, 175, 139, 0.3), 0 0 60px rgba(76, 175, 139, 0.4), 0 0 120px rgba(76, 175, 139, 0.15);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(76, 175, 139, 0.5), 0 0 80px rgba(76, 175, 139, 0.6), 0 0 160px rgba(76, 175, 139, 0.25);
    }
}

/* Floating info chips */
.ai-chip {
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 4;
    animation: chipFloat 5s ease-in-out infinite;
}

.chip-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.chip-right {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.chip-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes chipFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

.chip-right {
    animation: chipFloatV 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes chipFloatV {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

.chip-dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 2s infinite;
}

.chip-dot.green {
    background: #4caf8b;
    box-shadow: 0 0 8px rgba(76, 175, 139, 0.7);
}

/* ---- BOTTOM TICKER ---- */
.ai-hero-ticker {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.ticker-track {
    display: flex;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
    width: max-content;
}

.ticker-track span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ticker-track .sep {
    color: var(--primary-color);
    opacity: 0.7;
    letter-spacing: 0;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* 2. BENTO GRID */
.ai-bento-section {
    padding: 60px 0;
    background: var(--bg-light);
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.ai-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, auto);
    /* Increased and made flexible */
    gap: 20px;
    width: 100%;
}

.bento-box {
    position: relative;
    background: #0a1a15;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s, border-color 0.4s;
    z-index: 1;
}

/*.bento-box::before for spotlight glow handled via JS class */
.bento-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(76, 175, 139, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.bento-box:hover .bento-glow {
    opacity: 1;
}

.bento-box:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 139, 0.3);
}

.bento-box.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-box.wide {
    grid-column: span 3;
}

/* Spans till the last of Computer Vision card */
.bento-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.6;
    /* Increased for better image visibility */
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(16, 48, 40, 0.2), rgba(16, 48, 40, 0.9));
    z-index: 1;
}

.bento-box:hover .bento-bg {
    opacity: 0.8;
    transform: scale(1.05);
}

.bg-1 {
    background-image: url('../image/bento_ml.png');
}

.bg-2 {
    background-image: url('../image/bento_nlp.png');
}

.bg-3 {
    background-image: url('../image/bento_cv.png');
}

.bg-4 {
    background-image: url('../image/bento_analytics.png');
}

.bento-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.5s, background 0.5s, border-color 0.5s;
}

.bento-box:hover .bento-icon {
    transform: translateY(-5px);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.bento-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.bento-content h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #fff;
}

.bento-box.large h3 {
    font-size: 30px;
}

.bento-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
    font-size: 14px;
}


/* 3. WHY US STICKY SPLIT */
.ai-why-us-split {
    padding: 60px 0;
    background: #fff;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.split-layout-ai {
    display: flex;
    gap: 80px;
    width: 100%;
}

.split-left-sticky {
    flex: 0 0 45%;
    position: sticky;
    top: 150px;
    height: max-content;
}

.split-left-sticky h2 {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.split-left-sticky h2 em {
    color: var(--accent-color);
}

.split-left-sticky p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.split-right-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 0px;
}

.why-card-ai {
    position: relative;
}

.why-num-ai {
    font-family: var(--font-heading);
    font-size: 80px;
    color: rgba(76, 175, 139, 0.1);
    font-weight: 700;
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: 0;
}

.why-card-ai h4 {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.why-card-ai p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}


/* 4. PROCESS ZIGZAG */
.ai-process-zigzag {
    height: 100vh;
    box-sizing: border-box;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.ai-process-zigzag .section-title-ai {
    color: #fff;
    margin-bottom: 50px;
}

.ai-process-zigzag .section-title-ai em {
    color: rgba(255, 255, 255, 0.5);
}

.zigzag-path {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.zig-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.zig-item {
    display: flex;
    width: 50%;
    position: relative;
}

.zig-item.right-align {
    margin-left: auto;
    justify-content: flex-start;
    padding-left: 50px;
}

.zig-item.left-align {
    justify-content: flex-end;
    padding-right: 50px;
}

.zig-num {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    top: 0;
}

.zig-item.left-align .zig-num {
    right: -25px;
}

.zig-item.right-align .zig-num {
    left: -25px;
}

.zig-content h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.zig-content p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Process Path Animation */
.zigzag-path {
    position: relative;
}

.zig-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.zig-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transition: height 0.1s linear;
    z-index: 2;
}


/* 5. INDUSTRIES HOVER */
.ai-industries-hover {
    height: 100vh;
    box-sizing: border-box;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.wrapper-relative {
    position: relative;
}

.ind-hover-list {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ind-hover-item {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: padding-left 0.4s ease;
}

.ind-hover-item:hover {
    padding-left: 30px;
}

.ind-hover-item h3 {
    font-size: 40px;
    font-weight: 400;
    font-family: var(--font-serif);
    transition: color 0.4s;
}

.ind-hover-item:hover h3 {
    color: var(--primary-color);
}

.ind-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s, color 0.4s;
}

.ind-hover-item:hover .ind-arrow {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.ind-hover-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    border-radius: 20px;
    overflow: hidden;
}

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

.ind-hover-list:hover~.ind-hover-bg {
    opacity: 1;
    visibility: visible;
}

/* Adding native hover background changes logic */
.ind-hover-list:has(.ind-hover-item:nth-child(1):hover)~.ind-hover-bg img {
    content: url('../image/hero-1.png');
}

.ind-hover-list:has(.ind-hover-item:nth-child(2):hover)~.ind-hover-bg img {
    content: url('../image/hero-2.png');
}

.ind-hover-list:has(.ind-hover-item:nth-child(3):hover)~.ind-hover-bg img {
    content: url('../image/hero-3.png');
}

.ind-hover-list:has(.ind-hover-item:nth-child(4):hover)~.ind-hover-bg img {
    content: url('../image/hero-1.png');
}


/* 6. TECH STACK MARQUEE */
.ai-techstack {
    height: 100vh;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
}

.tech-header h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-family: var(--font-serif);
}

.tech-header h2 em {
    font-style: italic;
    color: var(--primary-color);
}

.tech-marquee-wrapper {
    position: relative;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.tech-track {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: scrollLeft 20s linear infinite;
}

.tech-track span {
    font-size: 24px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
}

.tech-track span.dot {
    color: var(--accent-color);
    margin: 0 40px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 7. CASE STUDIES (CARDS) */
.ai-portfolio {
    height: 100vh;
    box-sizing: border-box;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.port-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    font-size: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.port-img-wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

/* Reduced from 350px */

.port-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.port-card:hover .port-img-wrap img {
    transform: scale(1.05);
}

.port-info {
    padding: 40px;
    font-size: 16px;
}

.port-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(76, 175, 139, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 20px;
}

.port-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.port-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.port-link {
    display: inline-block;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s;
    text-decoration: none;
}

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

/* 8. FAQ */
.ai-faq-section {
    height: 100vh;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.faq-layout {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-left {
    flex: 0 0 35%;
}

.faq-left h2 {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.1;
}

.faq-left h2 em {
    color: var(--primary-color);
    font-style: italic;
}

.faq-right {
    flex: 1;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    cursor: pointer;
    transition: padding-left 0.3s;
}

.faq-item:hover {
    padding-left: 20px;
}

.faq-q {
    font-size: 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q span {
    font-size: 32px;
    color: var(--accent-color);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item:hover .faq-q span {
    transform: rotate(90deg);
}

/* 9. INSIGHTS */
.ai-insights {
    height: 100vh;
    box-sizing: border-box;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.insight-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.insight-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: filter 0.4s;
    filter: grayscale(50%);
}

.insight-card:hover .insight-img {
    filter: grayscale(0%);
}

.insight-text {
    padding: 0 10px;
}

.insight-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.insight-text h4 {
    font-size: 22px;
    line-height: 1.4;
    transition: color 0.3s;
}

.insight-card:hover h4 {
    color: var(--accent-color);
}

/* 10. CTA PARALLAX */
.ai-cta-parallax {
    position: relative;
    background-image: url('../image/hero-2.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 48, 40, 0.85);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.parallax-headline {
    font-family: var(--font-serif);
    font-size: 72px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.parallax-headline em {
    color: var(--accent-color);
    font-style: italic;
}

.parallax-sub {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 50px;
}

.parallax-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

/* 11. EXPERIENCE SECTION */
.ai-experience-section {
    background: #fff;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.exp-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.exp-image-side {
    flex: 0 0 45%;
    position: relative;
}

.exp-img-box {
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.exp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-badge-float {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    color: #fff;
}

.exp-num {
    font-size: 100px;
    font-weight: 700;
    line-height: .8;
    margin: 0;
}

.exp-label {
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.exp-content-side {
    flex: 1;
}

.exp-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(90deg, #7b5aff, #24d292);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.exp-content-side h2 {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.exp-content-side p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 50px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: .5px;
}

.skill-track {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #7b5aff, #24d292);
    border-radius: 10px;
    transition: width 1s ease;
}

/* AI PAGE MEDIA QUERIES */
@media (max-width: 1024px) {
    html {
        scroll-snap-type: none;
    }

    .ai-hero-new,
    .ai-bento-section,
    .ai-why-us-split,
    .ai-process-zigzag,
    .ai-industries-hover,
    .ai-portfolio,
    .ai-faq-section,
    .ai-insights,
    .ai-cta-parallax,
    .ai-experience-section {
        min-height: auto;
        padding: 80px 0;
        scroll-snap-align: none;
    }

    .ai-hero-new {
        padding-top: 150px;
    }

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

    .bento-box.wide {
        grid-column: span 2;
    }

    .split-layout-ai {
        flex-direction: column;
        gap: 40px;
    }

    .split-left-sticky {
        position: static;
    }

    .zigzag-path {
        display: flex;
    }

    .zig-line {
        left: 40px;
    }

    .zig-item {
        width: 100%;
        padding-left: 100px !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .zig-num {
        left: 15px !important;
        right: auto !important;
    }

    .faq-layout {
        flex-direction: column;
        gap: 30px;
    }

    .exp-grid {
        flex-direction: column;
        gap: 60px;
    }

    .exp-image-side {
        flex: 0 0 100%;
        width: 100%;
    }
}


@media (max-width: 768px) {
    .ai-hero-content h1 {
        font-size: 48px;
    }

    .ai-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-box.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-box.wide {
        grid-column: span 1;
    }

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

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

    .ai-industries-hover {
        display: block;
    }

    .ind-hover-item h3 {
        font-size: 28px;
    }

    .ind-hover-bg {
        display: none;
    }

    .parallax-headline {
        font-size: 42px;
    }

    .section-title-ai {
        font-size: 36px;
    }

    .exp-content-side h2 {
        font-size: 36px;
    }

    .container {
        padding: 0 20px;
    }
}

/* ==========================================
   WEB DEVELOPMENT PAGE (STEP-BY-STEP REBUILD)
   ========================================== */

/* Header Visibility Override for Dark Banner */
body.web-dev-page header:not(.scrolled) nav ul li a,
body.web-dev-page header:not(.scrolled) .logo span {
    color: #fff;
}

body.web-dev-page header:not(.scrolled) .logo svg path {
    stroke: #fff;
}

body.web-dev-page header:not(.scrolled) .btn-consult {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

body.web-dev-page header:not(.scrolled) .btn-consult:hover {
    background: #fff;
    color: #000;
}

body.web-dev-page header:not(.scrolled) .btn-consult:hover svg line {
    stroke: #000;
}

body.web-dev-page header.scrolled {
    background: rgba(16, 48, 40, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.web-dev-page header.scrolled nav ul li a,
body.web-dev-page header.scrolled .logo span {
    color: #fff;
}

body.web-dev-page header.scrolled .logo svg path {
    stroke: #fff;
}

body.web-dev-page header.scrolled .btn-consult {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

body.web-dev-page header.scrolled .btn-consult:hover {
    background: #fff;
    color: #000;
}

body.web-dev-page header.scrolled .btn-consult:hover svg line {
    stroke: #000;
}

/* Section 1: Hero Banner */
.web-hero-banner {
    position: relative;
    height: 70vh;
    /* Reduced to safely fit in 1 frame of desktop */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Using an existing real image placeholder */
    background-image: url('../image/hero-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

/* Green Overlay substituting the red in the image */
.web-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(6, 68, 48, 0.85);
    mix-blend-mode: multiply;
    z-index: 1;
}

.web-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
}

.web-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Scaled down slightly to match homepage */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: center;
}

.highlight-text {
    position: relative;
    display: inline-block;
    color: #fff;
    /* Changed to white for clear contrast against green overlay */
    font-weight: 800;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.animate-fade-up {
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .web-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Footer & Global Scroll Fixes */
.bottom-block {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 50vh;
    /* Ensure it has enough presence to snap */
}


/* --- Web Development Services Stacking Cards --- */
.web-services-stack {
    position: relative;
    padding: 100px 0;
    background: #F9F9F4;
}

.service-card-wrapper {
    position: sticky;
    top: 15vh;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30vh;
    /* Controls how long each card stays visible before next one stacks */
}

.service-card {
    width: 95%;
    max-width: 1300px;
    height: 100%;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.08);
    transform-origin: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* Watermark styles */
.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 950;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
    font-family: var(--font-sans);
    letter-spacing: -0.05em;
}

.service-card[style*="color: #fff"] .watermark-text {
    color: rgba(255, 255, 255, 0.05);
}

.card-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.card-num {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    opacity: 0.6;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.card-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(36px, 6vw, 84px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 40px;
}

.card-content p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 36px;
    border-radius: 100px;
    transition: all 0.4s ease;
}

.service-card[style*="color: #fff"] .btn-card {
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-card:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 48, 40, 0.2);
}

.service-card[style*="color: #fff"] .btn-card:hover {
    background: #fff;
    color: var(--primary-color) !important;
    border-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .service-card {
        padding: 80px;
    }
}

@media (max-width: 1024px) {
    .service-card-wrapper {
        height: 60vh;
        margin-bottom: 20vh;
    }

    .service-card {
        padding: 60px;
    }
}

@media (max-width: 768px) {
    .web-services-stack {
        padding: 60px 0;
    }

    .service-card-wrapper {
        top: 15vh;
        height: auto;
        min-height: 70vh;
        margin-bottom: 5vh;
        position: relative;
        /* Stop sticking on small mobile if preferred, or keep it */
    }

    .service-card {
        padding: 80px 30px 60px;
        width: 92%;
        border-radius: 40px;
        height: auto;
    }

    .card-content h2 {
        font-size: 38px;
    }

    .watermark-text {
        font-size: 35vw;
    }

    /* Mobile Nav Reveal */
    .menu-toggle {
        display: flex;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    header nav ul li a {
        font-size: 24px;
        font-weight: 600;
        color: var(--primary-color);
    }

    .header-right {
        display: none;
        /* Hide consult btn on mobile default or move inside nav */
    }
}

/* --- Why Choose Us Bento Section --- */
.web-why-us-bento {
    background-color: var(--bg-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.web-why-us-bento .section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

.web-why-us-bento .section-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-top: 20px;
    color: #fff;
    font-family: var(--font-serif);
}

.web-why-us-bento .section-title strong {
    color: #4CAF50;
    font-weight: 700;
}

.web-why-us-bento .section-desc {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 18px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(240px, auto));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.bento-tile {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.bento-tile:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Specific Tile Spans */
.tile-large {
    grid-column: span 1;
    grid-row: span 2;
    justify-content: center;
    text-align: center;
}

.tile-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.tile-small {
    grid-column: span 1;
    grid-row: span 1;
}

.tile-wide {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    justify-content: flex-start;
}

.tile-icon {
    margin-bottom: 25px;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.tile-large .tile-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
}

.bento-tile h3,
.bento-tile h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.tile-large h3 {
    font-size: 32px;
}

.bento-tile p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.bento-tile strong {
    color: #fff;
}

.wide-info {
    flex: 1;
}

/* Background Blobs */
.bento-blob {
    position: absolute;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #1a4a40;
    top: -100px;
    right: -100px;
    animation: blobFloat 20s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #2C5F4D;
    bottom: -50px;
    left: -100px;
    animation: blobFloat 15s infinite alternate-reverse;
}

@keyframes blobFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Responsive Bento */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .tile-large {
        grid-row: span 1;
    }

    .tile-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .web-why-us-bento {
        padding: 80px 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tile-large,
    .tile-medium,
    .tile-small,
    .tile-wide {
        grid-column: span 1;
        height: auto;
        min-height: 300px;
        padding: 35px;
        text-align: center;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .tile-icon {
        margin: 0 auto 20px;
    }
}

/* --- Staggered Process Timeline Section --- */
.staggered-timeline-section {
    background-color: #ffffff;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

/* Background Animated Blobs */
.process-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 139, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    top: -100px;
    left: -200px;
    animation: floatBlob 20s infinite alternate;
}

.blob-2 {
    bottom: 100px;
    right: -200px;
    background: radial-gradient(circle, rgba(16, 48, 40, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    animation: floatBlob 25s infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    opacity: 0.5;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(30deg);
    }
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: height 0.1s linear;
}

.line-glow-tip {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
}

.timeline-items {
    position: relative;
    z-index: 2;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 120px;
    position: relative;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-milestone {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 18px;
    z-index: 5;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.active .timeline-milestone {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 10px rgba(16, 48, 40, 0.05);
    transform: translate(-50%, 0) scale(1.1);
}

/* 3D Card Effects */
.timeline-card {
    width: 85%;
    background: #fff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
    margin-right: 60px;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.timeline-item.right .timeline-card {
    margin-right: 0;
    margin-left: 60px;
}

.card-inner {
    transform: translateZ(50px);
    transition: transform 0.4s ease;
}

.timeline-item.active .timeline-card {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.timeline-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.timeline-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/* Staggered Reveals */
.timeline-item.reveal .reveal-stagger-1,
.timeline-item.reveal .reveal-stagger-2,
.timeline-item.reveal .reveal-stagger-3 {
    opacity: 0;
    transform: translateY(20px) translateZ(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.reveal.active .reveal-stagger-1 {
    opacity: 1;
    transform: translateY(0) translateZ(50px);
    transition-delay: 0.1s;
}

.timeline-item.reveal.active .reveal-stagger-2 {
    opacity: 1;
    transform: translateY(0) translateZ(50px);
    transition-delay: 0.25s;
}

.timeline-item.reveal.active .reveal-stagger-3 {
    opacity: 1;
    transform: translateY(0) translateZ(50px);
    transition-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .timeline-line {
        left: 40px;
    }

    .timeline-milestone {
        left: 40px;
    }

    .timeline-item,
    .timeline-item.right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 90px;
        margin-bottom: 80px;
    }

    .timeline-card,
    .timeline-item.right .timeline-card {
        width: 100%;
        margin-left: 0;
        padding: 40px;
    }

    .process-blob {
        display: none;
    }
}

/* --- Web Tech Stack Section --- */
.web-techstack {
    background-color: #ffffff;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tech-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.07);
    border-color: rgba(76, 175, 139, 0.1);
}

.tech-card:hover::before {
    height: 100%;
}

.tech-category-icon {
    width: 64px;
    height: 64px;
    background: #f8fbf9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.tech-card:hover .tech-category-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.tech-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.tech-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-list li {
    background: #f4f7f5;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-list li {
    background: rgba(76, 175, 139, 0.08);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .web-techstack {
        padding: 80px 0;
    }

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

/* --- Blog Section --- */
.blog-section {
    background-color: #ffffff;
    padding: 40px 0;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;

}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-info {
    padding: 0 10px;
}

.blog-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.blog-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    color: var(--primary-color);
}

.blog-card:hover h3 {
    color: var(--secondary-color);
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.blog-read-more svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 0;
    }

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

/* --- Reusable Slider Styles --- */
.slider-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px 0;
}

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

.slider-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 48, 40, 0.2);
}

.slider-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* --- Compact FAQ Card --- */
.faq-card {
    min-width: 380px;
    width: 380px;
    height: 280px;
    /* Reduced height as requested */
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(76, 175, 139, 0.2);
}

.faq-q-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 15px;
}

.faq-a-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Adjust Blog Cards for Slider */
.blog-card-slider {
    min-width: 380px;
    width: 380px;
}

.blog-card-slider .blog-image-wrapper {
    height: 200px;
    /* Shorter image for decreased card height */
}

@media (max-width: 768px) {

    .faq-card,
    .blog-card-slider {
        min-width: 280px;
        width: 280px;
    }
}

/* --- About Us Page Specifics --- */
.about-hero {
    padding: 120px 0 80px;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: clamp(48px, 6vw, 84px);
    font-family: var(--font-serif);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Pillar Grid (Bento Style) */
.pillar-section {
    padding: 70px 0;
    background: #ffffff;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.pillar-card {
    background: #f8fbf9;
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    border: 1px solid rgba(16, 48, 40, 0.05);
}

.pillar-card:hover {
    background: var(--primary-color);
    transform: translateY(-10px);
}

.pillar-card:hover h3,
.pillar-card:hover p {
    color: #ffffff;
}

.pillar-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(16, 48, 40, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.pillar-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: #f4f7f5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .about-hero h1 {
        font-size: 42px;
    }
}

/* --- About Us: Stats Counter Section --- */
.about-stats-section {
    padding: 100px 0;
    background: var(--primary-color);
}

.stats-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.stat-block {
    text-align: center;
    flex: 1;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* --- Achievements Marquee --- */
.marquee-section {
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid rgba(16, 48, 40, 0.06);
    border-bottom: 1px solid rgba(16, 48, 40, 0.06);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    padding-right: 40px;
}

.marquee-content span {
    font-size: 15px;
    font-weight: 600;
    color: #Fff;
    white-space: nowrap;
}

.marquee-content span.sep {
    color: #4caf8b;
    font-size: 12px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .stats-strip {
        flex-direction: column;
        gap: 30px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .about-stats-section {
        padding: 80px 0;
    }
}

/* --- About Us: Fix Glass Card Text on Light Background --- */
.about-page .glass-card.main-glass {
    background: var(--primary-color);
}

.about-page .glass-title {
    color: #ffffff;
}

.about-page .glass-title em {
    color: rgba(255, 255, 255, 0.75);
}

.about-page .glass-text p {
    color: rgba(255, 255, 255, 0.75);
}

.about-page .glass-card.stat-glass {
    background: rgba(16, 48, 40, 0.06);
    border: 1px solid rgba(16, 48, 40, 0.08);
}

.about-page .g-num {
    color: var(--primary-color);
}

.about-page .g-text {
    color: var(--text-muted);
}

.about-page .glass-badge {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   SERVICES OVERVIEW PAGE
   ========================================================= */

/* Hero */
.services-hero {
    padding: 120px 0 80px;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 48, 40, 0.04) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.services-hero .badge {
    margin-bottom: 24px;
    display: inline-flex;
}

.services-hero h1 {
    font-family: var(--font-serif);
    font-size: 60px;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.services-hero h1 em {
    font-style: italic;
    font-weight: 400;
}

.services-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-scroll-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid rgba(16, 48, 40, 0.2);
    padding: 12px 28px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-scroll-cta:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Alternating Service Rows */
.svc-alt-row {
    display: flex;
    align-items: center;
    min-height: 560px;
}

.svc-alt-row.dark-row {
    background: var(--primary-color);
}

.svc-alt-row.light-row {
    background: #ffffff;
}

.svc-alt-row.reverse {
    flex-direction: row-reverse;
}

.svc-image-panel {
    flex: 1;
    height: 560px;
    overflow: hidden;
    position: relative;
}

.svc-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.svc-alt-row:hover .svc-image-panel img {
    transform: scale(1.05);
}

.svc-content-panel {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dark row text */
.dark-row .svc-content-panel .svc-num,
.dark-row .svc-content-panel h2,
.dark-row .svc-content-panel p,
.dark-row .svc-content-panel .svc-feature {
    color: #ffffff;
}

.dark-row .svc-content-panel .svc-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-row .svc-content-panel .svc-explore-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.dark-row .svc-content-panel .svc-explore-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Light row text */
.light-row .svc-content-panel .svc-num {
    color: rgba(16, 48, 40, 0.12);
}

.light-row .svc-content-panel h2 {
    color: var(--primary-color);
}

.light-row .svc-content-panel p {
    color: var(--text-muted);
}

.light-row .svc-content-panel .svc-icon {
    background: rgba(16, 48, 40, 0.06);
    color: var(--primary-color);
}

.light-row .svc-content-panel .svc-explore-btn {
    border-color: rgba(16, 48, 40, 0.2);
    color: var(--primary-color);
}

.light-row .svc-content-panel .svc-explore-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Shared row content styles */
.svc-num {
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.12;
    margin-bottom: -20px;
    display: block;
}

.svc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.svc-content-panel .svc-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4caf8b;
    margin-bottom: 16px;
    display: block;
}

.svc-content-panel h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.svc-content-panel p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 480px;
}

.svc-features {
    list-style: none;
    padding: 0;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svc-feature {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf8b;
    flex-shrink: 0;
}

.svc-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 100px;
    border: 1px solid;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.svc-explore-btn svg {
    transition: transform 0.3s ease;
}

.svc-explore-btn:hover svg {
    transform: translateX(4px);
}

/* Process Snapshot */
.process-snapshot {
    background: #f4f7f5;
    padding: 70px 0;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    border: 1px solid rgba(16, 48, 40, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.process-step {
    padding: 48px 40px;
    border-right: 1px solid rgba(16, 48, 40, 0.08);
    transition: background 0.3s ease;
    position: relative;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: var(--primary-color);
}

.process-step:hover .step-num,
.process-step:hover .step-title,
.process-step:hover .step-desc {
    color: #ffffff;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: rgba(16, 48, 40, 0.1);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Services Page Stats */
.svc-stats-bar {
    background: var(--primary-color);
    padding: 80px 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .svc-content-panel {
        padding: 60px 50px;
    }
}

@media (max-width: 768px) {

    .svc-alt-row,
    .svc-alt-row.reverse {
        flex-direction: column;
    }

    .svc-image-panel {
        height: 280px;
        width: 100%;
    }

    .svc-content-panel {
        padding: 40px 24px;
    }

    .process-row {
        grid-template-columns: 1fr 1fr;
    }

    .process-step {
        border-right: none;
        border-bottom: 1px solid rgba(16, 48, 40, 0.08);
    }

    .services-hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 480px) {
    .process-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SERVICES PAGE — PREMIUM BENTO GRID (replaces alt rows)
   ========================================================= */

.svc-bento-section {
    background: #0a0a0a;
    padding: 70px 0 80px;
}

.svc-bento-section .container {
    max-width: 1400px;
}

.svc-bento-section .section-header .section-title {
    color: #fff;
}

.svc-bento-section .section-header .section-desc {
    color: rgba(255, 255, 255, 0.5);
}

.svc-bento-section .section-header .badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Bento Grid Layout ── */
.svc-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

/* Top row: 3 columns */
.svc-bento-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Bottom row: 3 columns equal */
.svc-bento-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Individual Bento Card ── */
.svc-bento-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 460px;
    isolation: isolate;
}

.svc-bento-card.card-sm {
    height: 300px;
}

/* Background image */
.svc-bento-card .card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.svc-bento-card:hover .card-bg {
    transform: scale(1.08);
}

/* Gradient overlays — unique per service */
.svc-bento-card .card-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease;
}

/* AI Dev — deep cosmic purple */
.svc-bento-card.card-ai .card-overlay {
    background: linear-gradient(145deg, rgba(30, 10, 60, 0.92) 0%, rgba(80, 20, 120, 0.75) 50%, rgba(16, 48, 40, 0.8) 100%);
}

.svc-bento-card.card-ai:hover .card-overlay {
    background: linear-gradient(145deg, rgba(30, 10, 60, 0.97) 0%, rgba(80, 20, 120, 0.88) 50%, rgba(16, 48, 40, 0.9) 100%);
}

/* Web Dev — ocean teal */
.svc-bento-card.card-web .card-overlay {
    background: linear-gradient(145deg, rgba(10, 40, 70, 0.92) 0%, rgba(16, 80, 80, 0.80) 60%, rgba(4, 120, 100, 0.7) 100%);
}

.svc-bento-card.card-web:hover .card-overlay {
    background: linear-gradient(145deg, rgba(10, 40, 70, 0.97) 0%, rgba(16, 80, 80, 0.92) 60%, rgba(4, 120, 100, 0.88) 100%);
}

/* App Dev — fiery magenta */
.svc-bento-card.card-app .card-overlay {
    background: linear-gradient(145deg, rgba(70, 10, 30, 0.92) 0%, rgba(120, 16, 60, 0.80) 60%, rgba(180, 4, 80, 0.7) 100%);
}

.svc-bento-card.card-app:hover .card-overlay {
    background: linear-gradient(145deg, rgba(70, 10, 30, 0.97) 0%, rgba(120, 16, 60, 0.92) 60%, rgba(180, 4, 80, 0.88) 100%);
}

/* Digital Marketing — warm coral */
.svc-bento-card.card-dm .card-overlay {
    background: linear-gradient(145deg, rgba(80, 20, 10, 0.92) 0%, rgba(160, 60, 20, 0.82) 60%, rgba(200, 100, 30, 0.7) 100%);
}

.svc-bento-card.card-dm:hover .card-overlay {
    background: linear-gradient(145deg, rgba(80, 20, 10, 0.97) 0%, rgba(160, 60, 20, 0.92) 60%, rgba(200, 100, 30, 0.88) 100%);
}

/* UI/UX — sage emerald */
.svc-bento-card.card-ux .card-overlay {
    background: linear-gradient(145deg, rgba(16, 48, 40, 0.95) 0%, rgba(30, 90, 65, 0.82) 60%, rgba(60, 150, 100, 0.7) 100%);
}

.svc-bento-card.card-ux:hover .card-overlay {
    background: linear-gradient(145deg, rgba(16, 48, 40, 0.98) 0%, rgba(30, 90, 65, 0.94) 60%, rgba(60, 150, 100, 0.9) 100%);
}

/* Brand Identity — rich gold */
.svc-bento-card.card-bi .card-overlay {
    background: linear-gradient(145deg, rgba(40, 25, 5, 0.92) 0%, rgba(100, 65, 10, 0.82) 60%, rgba(160, 110, 20, 0.7) 100%);
}

.svc-bento-card.card-bi:hover .card-overlay {
    background: linear-gradient(145deg, rgba(40, 25, 5, 0.97) 0%, rgba(100, 65, 10, 0.92) 60%, rgba(160, 110, 20, 0.88) 100%);
}

/* Content inside card */
.svc-bento-content {
    position: absolute;
    inset: 0;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.card-num {
    position: absolute;
    top: 36px;
    right: 44px;
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    transition: color 0.4s ease;
}

.svc-bento-card:hover .card-num {
    color: rgba(255, 255, 255, 0.12);
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.svc-bento-card:hover .card-icon-wrap {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}

.card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.svc-bento-content h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0;
    transition: margin-bottom 0.4s ease;
}

/* Description hidden by default, revealed on hover */
.card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.svc-bento-card:hover .card-desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 14px;
}

.svc-bento-card:hover .svc-bento-content h3 {
    margin-bottom: 0;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease 0.05s, opacity 0.4s ease 0.05s, margin-top 0.4s ease;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    width: fit-content;
}

.svc-bento-card:hover .card-cta {
    max-height: 60px;
    opacity: 1;
    margin-top: 20px;
}

.card-cta svg {
    transition: transform 0.3s ease;
}

.svc-bento-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* ── Unique border glow on hover per card ── */
.svc-bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.svc-bento-card:hover::after {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .svc-bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .svc-bento-card {
        height: 380px;
    }

    .svc-bento-card.card-sm {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .svc-bento-grid {
        grid-template-columns: 1fr;
    }

    .svc-bento-row-bottom {
        grid-template-columns: 1fr;
    }

    .svc-bento-card,
    .svc-bento-card.card-sm {
        height: 300px;
    }

    .svc-bento-section {
        padding: 80px 0 100px;
    }
}

/* =========================================================
   CONTACT US PAGE — PREMIUM DESIGN
   ========================================================= */

.contact-page-wrap {
    min-height: 100vh;
    background: #ffffff;
}

/* ── Split Hero ── */
.contact-hero {
    background: var(--primary-color);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: 'CONTACT';
    position: absolute;
    font-family: var(--font-serif);
    font-size: 200px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5vw, 68px);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.contact-hero h1 em {
    font-style: italic;
    color: #4caf8b;
}

.contact-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 48px;
}

/* Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(76, 175, 139, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf8b;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Form Section ── */
.contact-form-section {
    padding: 100px 0 120px;
    background: #f8fbf9;
}

.contact-form-wrap {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 64px;
    box-shadow: 0 30px 100px rgba(16, 48, 40, 0.06);
    border: 1px solid rgba(16, 48, 40, 0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 56px;
}

.form-header h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.form-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ── Form Fields ── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.form-group label span.required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid rgba(16, 48, 40, 0.12);
    border-radius: 14px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--primary-color);
    background: #f8fbf9;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(16, 48, 40, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 48, 40, 0.06);
}

/* Error state */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: #fff8f8;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.06);
}

.field-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.form-group.has-error .field-error {
    display: block;
}

/* Select arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none;
    opacity: 0.5;
}

.form-group textarea {
    resize: none;
    height: 140px;
    line-height: 1.6;
}

/* Phone flag prefix */
.phone-wrapper {
    display: flex;
    gap: 0;
    border: 1.5px solid rgba(16, 48, 40, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: #f8fbf9;
    transition: all 0.3s ease;
}

.phone-wrapper:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 48, 40, 0.06);
}

.phone-wrapper.error {
    border-color: #e74c3c;
    background: #fff8f8;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.06);
}

.phone-prefix {
    padding: 16px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    border-right: 1.5px solid rgba(16, 48, 40, 0.12);
    white-space: nowrap;
    background: rgba(16, 48, 40, 0.03);
}

.phone-wrapper input {
    border: none;
    border-radius: 0;
    flex: 1;
    background: transparent;
    box-shadow: none !important;
}

.phone-wrapper input:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-submit-btn:hover {
    background: #1a4a3a;
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(16, 48, 40, 0.25);
}

.contact-submit-btn:hover::before {
    opacity: 1;
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Loading state */
.contact-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.contact-submit-btn.loading .btn-spinner {
    display: block;
}

.contact-submit-btn.loading .btn-text {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Success Message ── */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: #e8f5ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #4caf8b;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ── Map Section ── */
.contact-map-section {
    height: 400px;
    background: #e8eee8;
    position: relative;
    overflow: hidden;
}

.contact-map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.05);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrap {
        padding: 48px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .contact-hero {
        padding: 130px 0 70px;
    }

    .form-header h2 {
        font-size: 28px;
    }

    .contact-form-section {
        padding: 60px 0 80px;
    }
}

/* =========================================================
   CONTACT US PAGE — PREMIUM STUDIO REDESIGN v2
   ========================================================= */

.contact-studio-wrap {
    min-height: 100vh;
    background: #090e0c;
}

/* ── Full-Viewport Split Layout ── */
.contact-studio {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 100vh;
    padding-top: 80px;
    /* header height */
}

/* ─────────────────────────────────────
   LEFT PANEL — Info & Branding
───────────────────────────────────── */
.cs-left {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 72px 48px 64px;
}

/* Animated gradient blobs */
.cs-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.cs-blob-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4caf8b, transparent);
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.cs-blob-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #2a7a5a, transparent);
    bottom: 100px;
    right: -60px;
    animation-delay: 3s;
}

.cs-blob-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #103028, transparent);
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.15);
    }
}

/* Left panel content */
.cs-left-top {
    position: relative;
    z-index: 2;
}

.cs-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4caf8b;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-label::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: #4caf8b;
}

.cs-left h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.5vw, 48px);
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.cs-left h2 em {
    color: #4caf8b;
    font-style: italic;
}

.cs-left>.cs-left-top>p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 52px;
}

/* Contact lines */
.cs-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.cs-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cs-contact-line-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(76, 175, 139, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf8b;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cs-contact-line:hover .cs-contact-line-icon {
    background: rgba(76, 175, 139, 0.12);
    border-color: #4caf8b;
}

.cs-contact-line-text small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.cs-contact-line-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Bottom of left panel */
.cs-left-bottom {
    position: relative;
    z-index: 2;
}

.cs-left-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.cs-socials {
    display: flex;
    gap: 12px;
}

.cs-social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 700;
}

.cs-social-btn:hover {
    border-color: #4caf8b;
    color: #4caf8b;
    background: rgba(76, 175, 139, 0.08);
    transform: translateY(-2px);
}

/* Big decorative text */
.cs-deco-text {
    position: absolute;
    bottom: -10px;
    left: 48px;
    font-family: var(--font-serif);
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
    line-height: 1;
}

/* ─────────────────────────────────────
   RIGHT PANEL — Form
───────────────────────────────────── */
.cs-right {
    background: #0f1512;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 60px;
    position: relative;
    overflow: hidden;
}

/* Animated grid lines background */
.cs-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 175, 139, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 139, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Glow orb in background */
.cs-right::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 48, 40, 0.6) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cs-form-inner {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

/* Form title */
.cs-form-title {
    margin-bottom: 48px;
}

.cs-form-title .step-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4caf8b;
    margin-bottom: 16px;
    display: block;
}

.cs-form-title h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ── Studio Form Inputs ── */
.cs-field {
    margin-bottom: 32px;
    position: relative;
}

.cs-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.cs-field:focus-within label {
    color: #4caf8b;
}

.cs-field input,
.cs-field select,
.cs-field textarea {
    width: 100%;
    padding: 0 0 14px;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    font-family: var(--font-sans);
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    caret-color: #4caf8b;
}

.cs-field input::placeholder,
.cs-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.cs-field input:focus,
.cs-field select:focus,
.cs-field textarea:focus {
    border-color: #4caf8b;
}

.cs-field textarea {
    resize: none;
    height: 100px;
    line-height: 1.7;
}

.cs-field select option {
    background: #0f1512;
    color: #fff;
}

/* Animated underline */
.cs-field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #4caf8b;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cs-field:focus-within .cs-field-line {
    width: 100%;
}

/* Error state */
.cs-field.has-error label {
    color: #ff6b6b;
}

.cs-field.has-error input,
.cs-field.has-error select,
.cs-field.has-error textarea {
    border-color: rgba(255, 107, 107, 0.4);
}

.cs-field.has-error .cs-field-line {
    background: #ff6b6b;
    width: 100%;
}

.cs-field-error {
    font-size: 11px;
    color: #ff6b6b;
    margin-top: 6px;
    display: none;
    font-weight: 600;
}

.cs-field.has-error .cs-field-error {
    display: block;
}

/* Phone row */
.cs-phone-row {
    display: flex;
    align-items: flex-end;
    gap: 0;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
    transition: border-color 0.3s ease;
}

.cs-phone-row:focus-within {
    border-color: #4caf8b;
}

.cs-phone-flag {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 14px;
    flex-shrink: 0;
    padding-bottom: 0;
    line-height: 1;
}

.cs-phone-row input {
    border: none;
    padding: 0;
    flex: 1;
}

.cs-phone-row input:focus {
    border: none;
}

/* Field for phone */
.cs-field.phone-field .cs-field-line-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
}

/* 2-col form row */
.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Submit Button */
.cs-submit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 32px;
    background: #4caf8b;
    color: #0a1a12;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.cs-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cs-submit-btn:hover {
    background: #5dcfa0;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(76, 175, 139, 0.35);
}

.cs-submit-btn:hover::before {
    opacity: 1;
}

.cs-submit-btn:active {
    transform: translateY(0);
}

.cs-btn-icon {
    width: 44px;
    height: 44px;
    background: rgba(10, 26, 18, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cs-submit-btn:hover .cs-btn-icon {
    transform: translateX(4px);
}

/* spinner */
.cs-submit-btn.loading {
    pointer-events: none;
    opacity: 0.75;
}

.cs-spin {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10, 26, 18, 0.2);
    border-top-color: #0a1a12;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.cs-submit-btn.loading .cs-spin {
    display: block;
}

.cs-submit-btn.loading .cs-btn-text {
    display: none;
}

/* Success state */
.cs-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.cs-success.show {
    display: flex;
}

.cs-success-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #4caf8b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: #4caf8b;
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 139, 0.3);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(76, 175, 139, 0);
    }
}

.cs-success h3 {
    font-family: var(--font-serif);
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 12px;
}

.cs-success p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1100px) {
    .contact-studio {
        grid-template-columns: 360px 1fr;
    }

    .cs-right {
        padding: 60px 40px;
    }
}

@media (max-width: 900px) {
    .contact-studio {
        grid-template-columns: 1fr;
    }

    .cs-left {
        padding: 60px 32px 52px;
        min-height: auto;
    }

    .cs-right {
        padding: 60px 32px;
    }

    .cs-deco-text {
        font-size: 80px;
    }
}

@media (max-width: 600px) {
    .cs-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cs-right {
        padding: 48px 24px;
    }

    .cs-left {
        padding: 48px 24px 40px;
    }
}

/* =========================================================
   CONTACT US PAGE — MODERN EDITORIAL REDESIGN v3
   ========================================================= */

.contact-v3-wrap {
    background: #ffffff;
    padding-top: 100px;
    overflow: hidden;
}

/* ── Hero Section ── */
.v3-hero {
    padding: 100px 0 60px;
    position: relative;
}

.v3-title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 25vw;
    font-weight: 700;
    color: rgba(16, 48, 40, 0.02);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.v3-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.v3-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(50px, 8vw, 100px);
    color: var(--primary-color);
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.v3-hero h1 span {
    display: block;
    font-style: italic;
    font-weight: 400;
}

.v3-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ── Main Layout ── */
.v3-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    padding: 80px 0 120px;
    border-top: 1px solid rgba(16, 48, 40, 0.08);
}

/* ── Left side: Info ── */
.v3-info {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.v3-info-item {
    margin-bottom: 60px;
}

.v3-info-item h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(16, 48, 40, 0.4);
    margin-bottom: 15px;
}

.v3-info-item p,
.v3-info-item a {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.2;
    display: block;
}

.v3-info-item a:hover {
    color: #4caf8b;
}

/* ── Right side: Form ── */
.v3-form-card {
    background: #ffffff;
}

.v3-form-group {
    margin-bottom: 50px;
    position: relative;
}

.v3-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.v3-input-wrapper {
    position: relative;
}

.v3-form-group input,
.v3-form-group select,
.v3-form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(16, 48, 40, 0.15);
    background: transparent;
    font-size: 18px;
    font-family: var(--font-sans);
    color: var(--primary-color);
    outline: none;
    transition: all 0.3s ease;
}

.v3-form-group textarea {
    height: 120px;
    resize: none;
}

.v3-input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.v3-form-group input:focus~.v3-input-focus-line,
.v3-form-group select:focus~.v3-input-focus-line,
.v3-form-group textarea:focus~.v3-input-focus-line {
    width: 100%;
}

/* Hover effects */
.v3-form-group:hover input,
.v3-form-group:hover textarea {
    border-bottom-color: rgba(16, 48, 40, 0.3);
}

/* Submit Button */
.v3-submit-btn {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    font-size: 20px;
    font-family: var(--font-serif);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    margin-top: 40px;
    overflow: hidden;
}

.v3-btn-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #4caf8b;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.v3-submit-btn:hover .v3-btn-circle {
    transform: scale(1);
}

.v3-submit-btn span {
    position: relative;
    z-index: 2;
}

.v3-submit-btn:hover {
    transform: scale(1.05);
}

/* Phone input special */
.v3-phone-container {
    display: flex;
    align-items: center;
}

.v3-phone-code {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(16, 48, 40, 0.15);
}

/* Success Message */
.v3-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: #ffffff;
    text-align: center;
}

.v3-success.active {
    display: flex;
}

.v3-success h2 {
    font-family: var(--font-serif);
    font-size: 80px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .v3-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .v3-info {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .v3-info-item {
        margin-bottom: 0;
    }

    .v3-info-item p,
    .v3-info-item a {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .v3-hero h1 {
        font-size: 60px;
    }

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

    .v3-submit-btn {
        width: 160px;
        height: 160px;
        font-size: 16px;
    }
}

/* =========================================================
   CONTACT PAGE v3 — EDITORIAL FLOATING LABEL DESIGN
   ========================================================= */

.ct-page {
    background: #F5F2EC;
    min-height: 100vh;
    font-family: var(--font-sans);
}

/* ── Top Banner ── */
.ct-banner {
    padding: 160px 0 60px;
    border-bottom: 1px solid rgba(16, 48, 40, 0.08);
    position: relative;
    overflow: hidden;
}

.ct-banner-bg-text {
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(120px, 20vw, 240px);
    font-weight: 700;
    color: rgba(16, 48, 40, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.06em;
    user-select: none;
    line-height: 1;
}

.ct-banner-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.ct-banner-left h1 {
    font-family: var(--font-serif);
    font-size: clamp(52px, 7vw, 100px);
    color: var(--primary-color);
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 0;
}

.ct-banner-left h1 .arrow-word {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-style: italic;
}

.ct-banner-left h1 .arrow-word svg {
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.ct-banner-left h1:hover .arrow-word svg {
    transform: translateX(10px);
}

.ct-banner-right {
    text-align: right;
    padding-bottom: 16px;
    max-width: 320px;
    flex-shrink: 0;
}

.ct-banner-right p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ct-response-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.ct-response-dot {
    width: 8px;
    height: 8px;
    background: #4caf8b;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* ── Services Ticker ── */
.ct-ticker {
    border-top: 1px solid rgba(16, 48, 40, 0.08);
    border-bottom: 1px solid rgba(16, 48, 40, 0.08);
    padding: 14px 0;
    overflow: hidden;
    background: #fff;
}

.ct-ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
}

.ct-ticker-inner:hover {
    animation-play-state: paused;
}

.ct-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.ct-ticker-item .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4caf8b;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Main Body: Form + Info ── */
.ct-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    border-bottom: 1px solid rgba(16, 48, 40, 0.08);
}

/* ── Form Column ── */
.ct-form-col {
    padding: 80px 80px 80px 0;
    border-right: 1px solid rgba(16, 48, 40, 0.08);
}

/* Floating Label Field */
.ct-fl-group {
    position: relative;
    margin-bottom: 48px;
}

.ct-fl-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(16, 48, 40, 0.35);
    pointer-events: none;
    transform-origin: left top;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Float up when active or has value */
.ct-fl-group.active label,
.ct-fl-group.filled label {
    top: -10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ct-fl-group.has-error.active label,
.ct-fl-group.has-error.filled label,
.ct-fl-group.has-error label {
    color: #c0392b;
}

.ct-fl-group input,
.ct-fl-group select,
.ct-fl-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(16, 48, 40, 0.15);
    padding: 16px 0 14px;
    font-size: 18px;
    font-family: var(--font-sans);
    color: var(--primary-color);
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
    caret-color: var(--primary-color);
    -webkit-appearance: none;
}

.ct-fl-group input::placeholder,
.ct-fl-group textarea::placeholder {
    color: transparent;
}

.ct-fl-group.active input,
.ct-fl-group.active select,
.ct-fl-group.active textarea {
    border-color: var(--primary-color);
}

.ct-fl-group.has-error input,
.ct-fl-group.has-error select,
.ct-fl-group.has-error textarea {
    border-color: #c0392b;
}

.ct-fl-group textarea {
    height: 100px;
    resize: none;
    line-height: 1.6;
}

.ct-fl-group select option {
    color: var(--primary-color);
    background: #F5F2EC;
}

/* Animated progress line under input */
.ct-fl-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ct-fl-group.active .ct-fl-line {
    width: 100%;
}

.ct-fl-group.has-error .ct-fl-line {
    background: #c0392b;
    width: 100%;
}

.ct-fl-error {
    position: absolute;
    bottom: -22px;
    left: 0;
    font-size: 12px;
    font-weight: 600;
    color: #c0392b;
    display: none;
}

.ct-fl-group.has-error .ct-fl-error {
    display: block;
}

/* 2-col row */
.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Phone inline prefix */
.ct-phone-wrap {
    display: flex;
    align-items: flex-end;
    border-bottom: 1.5px solid rgba(16, 48, 40, 0.15);
    padding-bottom: 14px;
    transition: border-color 0.3s ease;
}

.ct-fl-group.active .ct-phone-wrap,
.ct-fl-group:focus-within .ct-phone-wrap {
    border-color: var(--primary-color);
}

.ct-fl-group.has-error .ct-phone-wrap {
    border-color: #c0392b;
}

.ct-phone-code {
    font-size: 18px;
    color: rgba(16, 48, 40, 0.4);
    font-weight: 600;
    padding-right: 12px;
    border-right: 1.5px solid rgba(16, 48, 40, 0.12);
    margin-right: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ct-phone-wrap input {
    border: none;
    padding: 0;
    flex: 1;
    font-size: 18px;
}

.ct-phone-wrap input:focus {
    border: none;
}

/* ── Submit Button ── */
.ct-submit-wrap {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ct-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--primary-color);
    color: transparent;
    border: none;
    border-radius: 100px;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    height: 62px;
    width: 62px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease 0.2s;
}

/* Expanded state via JS */
.ct-submit-btn.expanded {
    width: 220px;
    color: #ffffff;
}

.ct-submit-btn.expanded .ct-btn-label {
    opacity: 1;
    transform: translateX(0);
}

.ct-btn-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    z-index: 1;
}

.ct-btn-label {
    padding: 0 20px 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.25s ease 0.2s, transform 0.25s ease 0.2s;
}

.ct-submit-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Loading state */
.ct-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.ct-load-spin {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.ct-submit-btn.loading .ct-load-spin {
    display: block;
}

.ct-submit-btn.loading .ct-arrow-icon {
    display: none;
}

/* ── Info Column ── */
.ct-info-col {
    padding: 80px 0 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ct-info-block {
    margin-bottom: 48px;
}

.ct-info-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(16, 48, 40, 0.35);
    margin-bottom: 10px;
}

.ct-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.6;
}

.ct-info-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.ct-info-value a:hover {
    text-decoration: underline;
}

.ct-info-sep {
    height: 1px;
    background: rgba(16, 48, 40, 0.08);
    margin-bottom: 48px;
}

.ct-socials-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ct-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(16, 48, 40, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ct-social-pill:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Success Card */
.ct-success-card {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 0;
}

.ct-success-card.show {
    display: flex;
}

.ct-check-wrap {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 28px;
}

.ct-success-card h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.ct-success-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .ct-form-col {
        padding: 60px 60px 60px 0;
    }

    .ct-info-col {
        padding: 60px 0 60px 40px;
    }
}

@media (max-width: 960px) {
    .ct-body {
        grid-template-columns: 1fr;
    }

    .ct-form-col {
        padding: 60px 0;
        border-right: none;
        border-bottom: 1px solid rgba(16, 48, 40, 0.08);
    }

    .ct-info-col {
        padding: 60px 0 60px;
    }

    .ct-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-banner-right {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .ct-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ct-banner-left h1 {
        font-size: 48px;
    }
}

/* =========================================================
   CONTACT PAGE v4 — ULTRA PREMIUM GLASS BENTO FORM
   ========================================================= */

.contact-layout {
    background-color: var(--primary-color);
    color: #fff;
    min-height: 100vh;
    font-family: var(--font-sans);
    position: relative;
    overflow-x: hidden;
}

/* ── Section 1: Hero ── */
.contact-bento-hero {
    padding: 180px 0 120px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.contact-bento-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.contact-bento-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Section 2: Glass Bento Form ── */
.contact-bento-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 120px;
}

.glass-bento-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.bento-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bento-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-tile:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4caf8b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76, 175, 139, 0.1);
}

.bento-tile.full-width {
    grid-column: 1 / -1;
}

.bento-tile label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.bento-tile:focus-within label {
    color: #4caf8b;
}

/* Inputs within tiles */
.bento-tile input,
.bento-tile select,
.bento-tile textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-sans);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.bento-tile input::placeholder,
.bento-tile textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.bento-tile select option {
    background: var(--primary-color);
    color: #fff;
}

.bento-tile textarea {
    resize: none;
    height: 120px;
    line-height: 1.6;
}

/* Phone tile */
.bento-phone-wrap {
    display: flex;
    align-items: center;
}

.bento-phone-wrap span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Submit Tile */
.bento-submit-tile {
    background: #4caf8b !important;
    border: none !important;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    padding: 24px;
}

.bento-submit-tile:hover {
    background: #5dcfa0 !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(76, 175, 139, 0.4);
}

/* Error states */
.bento-tile.has-error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

.bento-tile.has-error label {
    color: #ff6b6b;
}

.bento-error-msg {
    position: absolute;
    bottom: -22px;
    left: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #ff6b6b;
    display: none;
}

.bento-tile.has-error .bento-error-msg {
    display: block;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Success State */
.bento-success-state {
    display: none;
    text-align: center;
    padding: 80px 20px;
}

.bento-success-state.show {
    display: block;
}

/* Loading spinner */
.btn-loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(16, 48, 40, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.bento-submit-tile.loading .btn-loader {
    display: block;
}

.bento-submit-tile.loading span,
.bento-submit-tile.loading svg {
    display: none;
}


/* ── Section 3: The Process Timeline ── */
.process-section {
    background: #ffffff;
    color: var(--text-color);
    padding: 120px 0;
    position: relative;
    z-index: 5;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -80px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.timeline-card {
    background: var(--bg-light);
    border: 1px solid rgba(16, 48, 40, 0.06);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-8px);
}

.timeline-step {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 700;
    color: rgba(16, 48, 40, 0.06);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.timeline-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.timeline-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ── Section 4: Locations ── */
.locations-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    display: flex;
    background: #fff;
    border: 1px solid rgba(16, 48, 40, 0.06);
    border-radius: 24px;
    overflow: hidden;
}

.loc-img {
    flex: 1;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.loc-info {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loc-info h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.loc-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loc-info p svg {
    color: #4caf8b;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .glass-bento-container {
        padding: 40px;
    }

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

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

@media (max-width: 600px) {
    .bento-form-grid {
        grid-template-columns: 1fr;
    }

    .glass-bento-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .location-card {
        flex-direction: column;
    }

    .loc-img {
        min-height: 200px;
    }
}

/* =========================================================
   CONTACT PAGE v5 — NATURAL LANGUAGE FORM
   ========================================================= */

.nl-page {
    background: var(--bg-color);
    min-height: 100vh;
    font-family: var(--font-sans);
}

/* ── Section 1: The Dark Cinematic Banner ── */
.nl-banner {
    background: var(--primary-color);
    padding: 200px 0 140px;
    position: relative;
    overflow: hidden;
}

/* Subtle architectural grid lines in banner */
.nl-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.nl-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.nl-banner h1 {
    font-family: var(--font-serif);
    font-size: clamp(52px, 8vw, 110px);
    color: #fff;
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.nl-banner h1 em {
    color: #4caf8b;
    font-style: italic;
}

.nl-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Section 2: Conversational Form Overlap ── */
.nl-form-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 120px;
}

.nl-form-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 80px 100px;
    box-shadow: 0 40px 100px rgba(16, 48, 40, 0.08);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(16, 48, 40, 0.05);
}

/* The massive sentence */
.nl-sentence {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.9;
    color: var(--primary-color);
    font-weight: 400;
}

/* Inline Input Wrapper */
.nl-input-wrap {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    margin: 0 4px;
}

/* Base input styles blended into text */
.nl-input {
    background: transparent;
    border: none;
    border-bottom: 2px dashed rgba(16, 48, 40, 0.3);
    color: #4caf8b;
    font-family: var(--font-sans);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    text-align: center;
    padding: 0 10px 4px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 220px;
    max-width: 100%;
    border-radius: 0;
    -webkit-appearance: none;
    line-height: 1.2;
}

/* Autosizing trick using JS - we'll set padding instead */
.nl-input::placeholder {
    color: rgba(16, 48, 40, 0.25);
    font-weight: 500;
}

.nl-input:focus,
.nl-input.filled {
    border-bottom-style: solid;
    border-bottom-color: #4caf8b;
    color: #103028;
    background: rgba(76, 175, 139, 0.05);
}

/* Custom Select styling to look inline */
.nl-select {
    cursor: pointer;
}

.nl-select option {
    font-size: 16px;
    color: var(--primary-color);
}

/* Textarea handling within sentence */
.nl-textarea-wrap {
    display: block;
    margin-top: 20px;
    width: 100%;
}

.nl-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px dashed rgba(16, 48, 40, 0.3);
    color: #4caf8b;
    font-family: var(--font-sans);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    padding: 10px 0;
    outline: none;
    resize: none;
    line-height: 1.5;
    transition: all 0.3s ease;
    min-height: 80px;
}

.nl-textarea::placeholder {
    color: rgba(16, 48, 40, 0.25);
    font-weight: 500;
}

.nl-textarea:focus,
.nl-textarea.filled {
    border-bottom-style: solid;
    border-bottom-color: #4caf8b;
    color: #103028;
}

/* Error States */
.nl-input.has-error,
.nl-textarea.has-error {
    border-bottom-color: #e74c3c;
    color: #e74c3c;
}

/* Form Footer Actions */
.nl-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(16, 48, 40, 0.08);
}

.nl-submit {
    background: #103028;
    color: #fff;
    border: none;
    padding: 20px 48px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
}

.nl-submit:hover {
    background: #4caf8b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(76, 175, 139, 0.3);
}

.nl-submit svg {
    transition: transform 0.3s ease;
}

.nl-submit:hover svg {
    transform: translateX(6px);
}

.nl-privacy-note {
    font-size: 14px;
    color: var(--text-muted);
}

/* Loading State */
.nl-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.nl-spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.nl-submit.loading .nl-spinner {
    display: block;
}

.nl-submit.loading span,
.nl-submit.loading svg {
    display: none;
}

/* Success Msg */
.nl-success-view {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.nl-success-view.show {
    display: block;
}

/* ── Section 3: Direct Contact Strip ── */
.nl-contact-strip {
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid rgba(16, 48, 40, 0.05);
    border-bottom: 1px solid rgba(16, 48, 40, 0.05);
    margin-bottom: 80px;
}

.nl-strip-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nl-strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nl-strip-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 48, 40, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf8b;
}

.nl-strip-text span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.nl-strip-text p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .nl-form-container {
        padding: 60px 40px;
    }

    .nl-sentence {
        line-height: 2.2;
    }

    .nl-strip-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .nl-form-container {
        padding: 40px 24px;
    }

    .nl-input {
        width: 100%;
        min-width: unset;
        display: block;
        margin: 12px 0;
        text-align: left;
    }

    .nl-form-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .nl-submit {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   CONTACT PAGE v6 — PLAYFUL & PREMIUM REACTIVE FORM
   ========================================================= */

.pf-page {
    background: var(--bg-color);
    min-height: 100vh;
    font-family: var(--font-sans);
}

/* ── Section 1: The "Serious Business" Banner ── */
.pf-banner {
    background: var(--primary-color);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.pf-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 20%, rgba(76, 175, 139, 0.1), transparent 50%);
}

.pf-header-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pf-banner h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
}

.pf-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Section 2: The Reactive Mood Form ── */
.pf-form-section {
    padding: 80px 0 140px;
    position: relative;
    background: var(--bg-color);
}

.pf-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 30px 80px rgba(16, 48, 40, 0.05);
    border: 1px solid rgba(16, 48, 40, 0.05);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* The fields */
.pf-field {
    margin-bottom: 40px;
    position: relative;
}

.pf-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.pf-input,
.pf-select,
.pf-textarea {
    width: 100%;
    background: #F9F9F4;
    border: 2px solid transparent;
    padding: 20px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--primary-color);
    outline: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
}

.pf-input::placeholder,
.pf-textarea::placeholder {
    color: rgba(16, 48, 40, 0.3);
}

/* Interaction States */
.pf-field:focus-within .pf-input,
.pf-field:focus-within .pf-select,
.pf-field:focus-within .pf-textarea {
    background: #ffffff;
    border-color: #4caf8b;
    box-shadow: 0 10px 30px rgba(76, 175, 139, 0.1);
    transform: translateY(-2px);
}

.pf-field:focus-within .pf-label {
    color: #4caf8b;
}

.pf-textarea {
    resize: none;
    height: 140px;
    line-height: 1.6;
}

/* Witty Microcopy + Animated Emojis */
.pf-hint {
    position: absolute;
    bottom: -24px;
    left: 4px;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.pf-emoji {
    position: absolute;
    right: -60px;
    top: 36px;
    font-size: 40px;
    opacity: 0;
    transform: scale(0.5) translateX(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Reveal hints and emojis on focus */
.pf-field:focus-within .pf-hint {
    opacity: 1;
    transform: translateY(0);
}

.pf-field:focus-within .pf-emoji {
    opacity: 1;
    transform: scale(1) translateX(0);
    animation: bounceEmoji 2s infinite ease-in-out;
}

@keyframes bounceEmoji {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* ── Fun Validation & Submit ── */
.pf-field.has-error .pf-input,
.pf-field.has-error .pf-select,
.pf-field.has-error .pf-textarea {
    border-color: #ff6b6b;
    background: #fffafa;
}

.pf-field.has-error .pf-label {
    color: #ff6b6b;
}

/* The Headshake Animation */
.shake-head {
    animation: headShake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes headShake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px) rotate(-2deg);
    }

    40% {
        transform: translateX(8px) rotate(2deg);
    }

    60% {
        transform: translateX(-4px) rotate(-1deg);
    }

    80% {
        transform: translateX(4px) rotate(1deg);
    }

    100% {
        transform: translateX(0);
    }
}

/* The Blast-Off Button */
.pf-submit {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.pf-submit:hover {
    background: #4caf8b;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(76, 175, 139, 0.3);
}

.pf-submit span {
    position: relative;
    z-index: 2;
}

.pf-btn-rocket {
    font-size: 20px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.pf-submit:hover .pf-btn-rocket {
    transform: translate(6px, -6px);
}

/* Loading state */
.pf-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.pf-loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pf-submit.loading .pf-loader {
    display: block;
}

.pf-submit.loading span,
.pf-submit.loading .pf-btn-rocket {
    display: none;
}

/* The Success Blast-Off Sequence */
.pf-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.pf-success-state.show {
    display: flex;
    animation: fadeInScale 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.pf-form-container.success-shrink {
    max-width: 500px;
    padding: 40px;
    transition: max-width 0.8s ease, padding 0.8s ease;
}

.pf-success-rocket {
    font-size: 72px;
    margin-bottom: 24px;
    animation: rocketLaunch 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.pf-success-state h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.pf-success-state p {
    font-size: 16px;
    color: var(--text-muted);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rocketLaunch {
    0% {
        transform: translateY(100px) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ── Mobile adjustments ── */
@media (max-width: 900px) {
    .pf-emoji {
        display: none;
        /* remove floating emojis on mobile to save space */
    }
}

@media (max-width: 600px) {
    .pf-form-container {
        padding: 40px 24px;
        border-radius: 24px;
        margin: 0 16px;
    }

    .pf-banner {
        padding: 140px 20px 80px;
    }

    .pf-banner h1 {
        font-size: 40px;
    }
}

/* =========================================================
   CONTACT PAGE v7 — SPOTLIGHT GLASS UI 
   ========================================================= */

.sg-page {
    background: var(--primary-color);
    min-height: 100vh;
    font-family: var(--font-sans);
    color: #fff;
}

/* ── Section 1: The Cinematic Banner ── */
.sg-banner {
    padding: 220px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sg-banner h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 500;
}

.sg-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ── Section 2: Spotlight Grid Form ── */
.sg-form-section {
    padding: 40px 0 160px;
}

.sg-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.sg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* The magic spotlight container */
.sg-field-wrap {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1px;
    /* Defines the thickness of the glowing spotlight border */
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sg-field-wrap.full-width {
    grid-column: 1 / -1;
}

/* Base border line */
.sg-field-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 2;
}

/* The dynamic spotlight layer (tracks --mouse-x, --mouse-y from JS) */
.sg-field-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(76, 175, 139, 0.8),
            transparent 40%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

/* Activate spotlight glow when the whole form area is hovered */
.sg-form-wrapper:hover .sg-field-wrap::before {
    opacity: 1;
}

/* The inner card to block the spotlight everywhere except the 1px padding (border) */
.sg-field-inner {
    background: rgb(18, 55, 45);
    /* A stealthy hue slightly lighter than background */
    border-radius: 15px;
    /* slightly smaller than wrapper to allow rounding */
    padding: 24px 32px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Focused elevation */
.sg-field-wrap:focus-within {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Input Typography & Resets */
.sg-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.sg-field-wrap:focus-within .sg-label {
    color: #4caf8b;
}

.sg-input,
.sg-select,
.sg-textarea {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-family: var(--font-sans);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
}

.sg-input::placeholder,
.sg-textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.sg-select option {
    background: var(--primary-color);
    color: #fff;
}

.sg-textarea {
    resize: none;
    height: 120px;
    line-height: 1.6;
}

/* Minimal Error State */
.sg-field-wrap.has-error::before {
    background: radial-gradient(500px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(231, 76, 60, 0.8),
            transparent 40%);
    opacity: 1;
}

.sg-field-wrap.has-error .sg-label {
    color: #e74c3c;
}

/* The Magnetic Submit Button */
.sg-submit-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sg-submit {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 24px 64px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s linear, background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    will-change: transform;
}

.sg-submit:hover {
    background: #4caf8b;
    color: #fff;
}

/* Loading Form State */
.sg-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.sg-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(16, 48, 40, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.sg-submit.loading .sg-spinner {
    display: block;
}

.sg-submit.loading span {
    display: none;
}

.sg-submit.loading svg {
    display: none;
}

/* Cinematic Success State */
.sg-success-state {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    animation: fadeInScale 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.sg-success-state.show {
    display: block;
}

.sg-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(76, 175, 139, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #4caf8b;
}

.sg-success-state h3 {
    font-family: var(--font-serif);
    font-size: 40px;
    color: #fff;
    margin-bottom: 16px;
}

.sg-success-state p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .sg-form-grid {
        gap: 24px;
        padding: 0 24px;
    }
}

@media (max-width: 600px) {
    .sg-form-grid {
        grid-template-columns: 1fr;
    }

    .sg-field-inner {
        padding: 20px 24px;
    }
}

/* =========================================================
   WEB DEV — SINGLE-SCREEN LAPTOP SHOWCASE (WHY CHOOSE US)
   ========================================================= */

.laptop-showcase-section {
    height: 100vh;
    min-height: 800px;
    /* Beautiful, soothing premium mesh background breaking away from pure green */
    background:
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(76, 175, 139, 0.15) 0%, transparent 50%),
        #070a0e;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.laptop-showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

/* ── Panel Left: Titles and Tabs ── */
.ls-left-panel {
    flex: 0 0 400px;
    z-index: 10;
}

.ls-header {
    margin-bottom: 40px;
}

.ls-header .badge {
    background: rgba(76, 175, 139, 0.1);
    color: #4CAF8B;
    border: 1px solid rgba(76, 175, 139, 0.2);
    margin-bottom: 16px;
    display: inline-block;
}

.ls-header h2 {
    font-family: var(--font-serif);
    font-size: 48px;
    color: #ffffff;
    line-height: 1.1;
}

.ls-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ls-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.ls-tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(76, 175, 139, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ls-tab-btn h4 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.ls-tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.ls-tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.ls-tab-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: #4CAF8B;
    transform: translateX(10px);
}

.ls-tab-btn.active::before {
    opacity: 1;
}

.ls-tab-btn.active .ls-tab-icon {
    background: #4CAF8B;
    color: #fff;
    box-shadow: 0 0 15px rgba(76, 175, 139, 0.4);
}

/* ── Panel Right: The Realistic CSS Laptop ── */
.ls-right-panel {
    flex: 1;
    position: relative;
    perspective: 1200px;
}

.laptop-mockup {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    /* Subtle 3D tilt for premium feel */
    transform-style: preserve-3d;
    transform: rotateX(2deg) rotateY(-8deg) rotateZ(1deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.laptop-mockup:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

/* The Lid (Bezel) */
.laptop-lid {
    background: #141414;
    border-radius: 24px 24px 0 0;
    padding: 3% 3% 4.5%;
    border: 2px solid #333;
    border-bottom: none;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* The Screen Area */
.laptop-screen-inner {
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* The Notch */
.laptop-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16%;
    height: 22px;
    background: #141414;
    border-radius: 0 0 10px 10px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-camera {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #050505;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* The Base */
.laptop-base {
    height: 22px;
    background: linear-gradient(to bottom, #d9dce3 0%, #8c9096 100%);
    border-radius: 0 0 32px 32px;
    width: 114%;
    margin-left: -7%;
    /* Protrude outwards */
    position: relative;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.5), 0 40px 80px rgba(0, 0, 0, 0.8);
}

/* Base Top Edge */
.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 4px 4px 0 0;
}

/* Thumb Groove Opening */
.laptop-thumb-groove {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 8px;
    background: #6a6d73;
    border-radius: 0 0 12px 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ── Screen Content (Tabs) ── */
.screen-content-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 60px 40px 40px;
    background: #0a0f14;
    /* Fallback */
}

/* Unique images per tab with deep dark overlay for contrast */
#tab-uiux {
    background: linear-gradient(rgba(10, 15, 20, 0.80), rgba(5, 10, 15, 0.98)), url('../image/hero-1.png') center/cover;
}

#tab-custom {
    background: linear-gradient(rgba(10, 15, 20, 0.80), rgba(5, 10, 15, 0.98)), url('../image/hero-2.png') center/cover;
}

#tab-corp {
    background: linear-gradient(rgba(10, 15, 20, 0.80), rgba(5, 10, 15, 0.98)), url('../image/hero-3.png') center/cover;
}

#tab-startup {
    background: linear-gradient(rgba(10, 15, 20, 0.80), rgba(5, 10, 15, 0.98)), url('../image/hero-1.png') center/cover;
}

.screen-content-layer.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 5;
}

.sc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sc-header svg {
    color: #4CAF8B;
}

.sc-header h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: #fff;
    margin: 0;
}

.sc-body p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Dashboard UI Mockup inside Screen */
.sc-ui-mockup {
    margin-top: 24px;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Different inner graphics per tab */
.mockup-skeleton-header {
    width: 40%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
}

.mockup-skeleton-graph {
    display: flex;
    gap: 10px;
    height: 100px;
    align-items: flex-end;
    margin-bottom: 20px;
}

/* Using a soothing Indigo-to-Blue tech gradient instead of pure green for the laptop charts */
.mockup-skeleton-bar {
    flex: 1;
    background: linear-gradient(to top, #4f46e5, #3b82f6);
    border-radius: 4px 4px 0 0;
}

.mockup-skeleton-row {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .laptop-showcase-container {
        flex-direction: column;
        padding: 40px 0;
    }

    .laptop-showcase-section {
        height: auto;
        padding: 100px 0;
        overflow: visible;
        min-height: unset;
    }

    .ls-left-panel {
        flex: 1;
        width: 100%;
        text-align: center;
    }

    .ls-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .ls-tab-btn {
        flex: 1 1 200px;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .laptop-mockup {
        transform: none !important;
    }
}

/* =========================================================
   WEB DEV — HORIZONTAL INTERACTIVE TIMELINE
   ========================================================= */

.ht-section {
    height: 100vh;
    min-height: 700px;
    background: #ffffff;
    /* Clean white */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.ht-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.ht-header .badge {
    background: rgba(76, 175, 139, 0.1);
    color: #4CAF8B;
    border: 1px solid rgba(76, 175, 139, 0.2);
    margin-bottom: 16px;
    display: inline-block;
}

.ht-header h2 {
    color: #103028;
    font-size: 48px;
    font-family: var(--font-serif);
    margin: 0;
}

/* The Track */
.ht-track-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 60px;
    position: relative;
    padding: 0 40px;
}

.ht-line-bg {
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    z-index: 1;
}

.ht-line-progress {
    position: absolute;
    top: 24px;
    left: 40px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF8B, #6366f1);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 0%;
    /* Dynamic */
}

.ht-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 5;
}

.ht-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    width: 140px;
    margin-left: -70px;
    /* Center align over points */
}

.ht-node:first-child {
    margin-left: 0;
    align-items: flex-start;
}

.ht-node:last-child {
    margin-left: -140px;
    align-items: flex-end;
}

.ht-node-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f8fafc;
    border: 4px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-family: monospace;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 0 6px #ffffff;
}

.ht-node.completed .ht-node-circle {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2), 0 0 0 6px #ffffff;
}

.ht-node.active .ht-node-circle {
    transform: scale(1.15);
    border-color: #4CAF8B;
    background: #4CAF8B;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(76, 175, 139, 0.3), 0 0 0 6px #ffffff;
}

.ht-node-label {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    transition: color 0.4s;
    white-space: nowrap;
}

.ht-node:first-child .ht-node-label {
    text-align: left;
}

.ht-node:last-child .ht-node-label {
    text-align: right;
}

.ht-node.active .ht-node-label {
    color: #103028;
    font-weight: 600;
}

/* The Stage */
.ht-stage-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    height: 300px;
}

.ht-stage-card {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.ht-stage-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ht-stage-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 24px;
    background: rgba(76, 175, 139, 0.08);
    border: 1px solid rgba(76, 175, 139, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF8B;
}

.ht-stage-icon svg {
    width: 48px;
    height: 48px;
}

.ht-stage-content h3 {
    font-size: 32px;
    color: #103028;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.ht-stage-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.ht-stage-content strong {
    color: #103028;
    font-weight: 600;
}

@media (max-width: 900px) {
    .ht-section {
        height: auto;
        padding: 100px 0;
        min-height: unset;
        overflow: visible;
    }

    .ht-track-container {
        display: none;
        /* Mobile optimization: can hide nodes down to simple cards or adjust */
    }

    .ht-stage-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        height: auto;
        position: relative;
        display: none;
    }

    .ht-stage-card.active {
        display: flex;
        transform: none;
    }

    .ht-stage-container {
        height: auto;
    }
}

/* =============================================
   STARTUP ECOSYSTEM PAGE STYLES
   ============================================= */

/* Hero Banner */
.startup-hero-banner {
    background: #0d2620; /* Darker green base */
    color: #fff;
    padding: 130px 0 130px;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Let it overlap header if needed or keep default */
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatShape 20s infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1a4a40 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: floatShape 15s infinite alternate-reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: floatShape 25s infinite alternate;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.startup-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(13,38,32,0.8), rgba(13,38,32,0.4), rgba(13,38,32,0.9));
    z-index: 2;
}

.startup-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    background: rgba(44, 95, 77, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-weight: 600;
    border: 1px solid rgba(44, 95, 77, 0.3);
    backdrop-filter: blur(5px);
}

.startup-hero-content h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -0.02em;
}

.startup-hero-content h1 .highlight-text {
    font-style: italic;
    font-weight: 400;
    color: #E8F5E9;
    display: block; /* Break line for impact */
    margin-top: 10px;
}

.startup-hero-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.startup-hero-ctas {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.btn-startup-primary,
.btn-startup-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.btn-startup-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-startup-primary span {
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.4s ease;
}

.btn-startup-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255,255,255,0.2);
}

.btn-startup-primary:hover span {
    transform: rotate(90deg);
}

.btn-startup-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-startup-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-5px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
}

.hero-scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    position: relative;
}

.hero-scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

@media (max-width: 768px) {
    .startup-hero-banner {
        padding: 120px 0 100px;
        margin-top: 60px;
    }
    
    .startup-hero-content h1 {
        font-size: clamp(36px, 5vw, 56px);
    }
    
    .startup-hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-startup-primary,
    .btn-startup-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Highlights - Bento Grid */
.startup-highlights-section {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.highlights-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
}

.bento-card {
    background: #f8fbf9;
    padding: 50px 40px;
    border-radius: 32px;
    border: 1px solid rgba(16,48,40,0.06);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 40px 80px rgba(16,48,40,0.1);
    border-color: var(--accent-color);
}

.bento-lg {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
    background: #0d2620;
    color: #fff;
    border-color: transparent;
}

.bento-lg:hover {
    background: #11352c;
}

.bento-md {
    grid-column: span 2;
    min-height: 250px;
}

.bento-sm {
    grid-column: span 1;
    min-height: 250px;
}

.bento-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: auto;
    display: inline-block;
}

.bento-lg .bento-tag {
    color: #a5d6a7;
}

.bento-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bento-lg h3 {
    color: #fff;
    font-size: clamp(36px, 4vw, 56px);
}

.bento-lg .big-text {
    font-style: italic;
    font-weight: 300;
    color: #a5d6a7;
}

.bento-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 90%;
}

.bento-lg p {
    color: rgba(255,255,255,0.7);
}

.bento-link {
    margin-top: 30px;
    font-weight: 600;
    color: #a5d6a7;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-link {
    transform: translateX(10px);
}

@media (max-width: 1024px) {
    .highlights-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .highlights-bento {
        grid-template-columns: 1fr;
    }
    
    .bento-lg, .bento-md, .bento-sm {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }
}

/* Introduction Section - V2 Premium */
.startup-intro-v2 {
    padding: 60px 0;
    background: #E8F4F1; /* Home page soft sage */
    position: relative;
    overflow: hidden;
}

.intro-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.intro-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(16,48,40,0.03);
    filter: blur(60px);
}

.intro-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.intro-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.intro-v2-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.intro-v2-left h2 {
    font-family: var(--font-serif);
    font-size: 50px;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.intro-v2-left .text-gradient {
    display: block;
    color: var(--accent-color);
    font-style: italic;
    font-weight: 300;
}

.intro-large-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 600px;
}

.intro-stats {
    display: flex;
    gap: 40px;
}

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

.i-num {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.i-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Glass Card - Right Side */
.intro-glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 40px 80px rgba(16,48,40,0.08);
    position: relative;
    transform: rotate(2deg);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.intro-glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dot-wrap {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.3;
}

.glass-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.glass-body h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.accent-text {
    color: var(--accent-color);
}

.glass-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.glass-visual {
    margin-top: 40px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.pulse-line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.pulse-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #fff 50%, transparent 100%);
    animation: pulseScan 3s infinite;
}

@keyframes pulseScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.glass-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(16,48,40,0.05);
}

.footer-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .intro-v2-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .intro-v2-left .intro-large-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .intro-stats {
        justify-content: center;
    }
    
    .intro-glass-card {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .startup-intro-v2 {
        padding: 100px 0;
    }
    
    .intro-v2-left h2 {
        font-size: 36px;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .intro-glass-card {
        padding: 30px;
    }
}

/* ════════════════════════════════════════════
   THE NXERAI STARTUP ECOSYSTEM (HORIZONTAL ACCORDION)
════════════════════════════════════════════ */
.startup-horizontal-accordion {
    background: var(--bg-light); /* Swapped from dark green to light background */
    padding: 50px 0;
    overflow: hidden;
}

.startup-horizontal-accordion .section-header h2 {
    color: var(--primary-color);
}
.startup-horizontal-accordion .section-header p {
    color: var(--text-muted);
}

.accordion-wrapper {
    display: flex;
    width: 100%;
    height: 560px;
    margin-top: 50px;
    gap: 10px;
    padding: 0 20px;
}

/* Individual Panel */
.acc-panel {
    flex: 1; /* Default collapsed state */
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: var(--white); /* White background instead of dark green */
    border: 1px solid rgba(16, 48, 40, 0.1); /* Subtle dark border */
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(16, 48, 40, 0.05);
}

/* Hover / Active Expansion */
.acc-panel:hover,
.acc-panel.active {
    flex: 5; /* Expands to take up majority of the space */
    background: var(--white);
    border-color: rgba(16, 48, 40, 0.2);
    box-shadow: 0 20px 50px rgba(16, 48, 40, 0.15);
}

/* ── Collapsed State Content ── */
.acc-collapsed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    padding: 30px 0;
}

.acc-panel:hover .acc-collapsed,
.acc-panel.active .acc-collapsed {
    opacity: 0;
    pointer-events: none;
}

.acc-num {
    font-size: 32px;
    font-weight: 900;
    font-family: var(--font-serif);
    color: var(--accent-color);
    margin-bottom: 30px;
    opacity: 0.5; /* Slightly faded so it's not too loud on white */
}

.acc-vert-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color); /* Dark green text */
    white-space: nowrap;
}

/* ── Expanded State Content ── */
.acc-expanded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s; /* Delayed fade in */
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-panel:hover .acc-expanded,
.acc-panel.active .acc-expanded {
    opacity: 1;
    visibility: visible;
}

.acc-content-inner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.acc-stage-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
}

.acc-expanded h3 {
    font-size: 28px;
    color: var(--primary-color); /* Dark text for light background */
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: 15px;
}

.acc-expanded p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.acc-details {
    background: rgba(16, 48, 40, 0.03); /* Very faint green tint */
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 48, 40, 0.05);
}

.acc-details strong {
    display: block;
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.acc-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acc-details li {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.acc-details li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 900;
    font-size: 12px;
    margin-right: 10px;
}

.acc-outcome {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(44, 95, 77, 0.1);
    border: 1px solid rgba(44, 95, 77, 0.2);
    padding: 12px 20px;
    border-radius: 30px;
}

.acc-outcome .text {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ── Mobile Fallback (Vertical Accordion) ── */
@media (max-width: 1024px) {
    .accordion-wrapper {
        flex-direction: column;
        height: auto;
    }
    
    .acc-panel {
        height: 80px; /* Collapsed height */
        flex: none;
    }
    
    .acc-panel.active,
    .acc-panel:hover {
        height: 600px; /* Expanded height */
        flex: none;
    }
    
    .acc-collapsed {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 30px;
        gap: 20px;
    }
    
    .acc-num {
        margin-bottom: 0;
        font-size: 24px;
    }
    
    .acc-vert-title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

@media (max-width: 768px) {
    .acc-expanded {
        padding: 30px 20px;
    }
    
    .acc-expanded h3 {
        font-size: 24px;
    }
    
    .acc-panel.active,
    .acc-panel:hover {
        height: 650px; /* More room for mobile text */
    }
}



.card-header-v3 {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.c-num {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.8;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: var(--font-serif);
}

.c-tag-v3 {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(44, 95, 77, 0.2);
    color: #a5d6a7;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.card-header-v3 h2 {
    font-size: 52px;
    color: #fff;
    font-family: var(--font-serif);
    line-height: 1.1;
}

.card-body-v3 p {
    font-size: 22px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

.c-activities-v3 {
    display: flex;
    gap: 30px;
}

.c-activities-v3 span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-activities-v3 span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.card-footer-v3 {
    margin-top: auto;
}

.outcome-badge {
    padding: 20px 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.o-label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    font-weight: 700;
}

.o-val {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* Side Navigation Dot Indicators */
.dive-nav {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.nav-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s;
    cursor: pointer;
}

.nav-step.active {
    background: var(--accent-color);
    transform: scale(1.8);
    box-shadow: 0 0 15px var(--accent-color);
}

/* Particles Background */
.depth-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #0d2620 100%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .dive-container {
        max-width: 90%;
        height: 70vh;
    }
    
    .card-inner {
        padding: 40px;
    }
    
    .card-header-v3 h2 { font-size: 36px; }
    .c-num { font-size: 60px; }
    .dive-nav { right: 20px; }
}

/* ════════════════════════════════════════════
   THE NXERAI STARTUP ECOSYSTEM (WHY INTERACTIVE)
════════════════════════════════════════════ */
.startup-why-interactive {
    background: #0a1a15; /* Premium dark background */
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
}

.why-split-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left Side: Typography List */
.why-list-col {
    flex: 1;
    min-width: 300px;
}

.why-list-col .section-header {
    text-align: left;
    margin-bottom: 60px;
}

.interactive-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    transform-origin: left center;
}

.why-item:last-child {
    border-bottom: none;
}

.why-num {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--accent-color);
    margin-top: 10px;
}

.why-title {
    font-size: 48px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    line-height: 1.1;
    transition: all 0.4s ease;
}

/* Active / Hover State */
.why-item:hover,
.why-item.active {
    opacity: 1;
    transform: translateX(20px);
    border-bottom-color: rgba(255,255,255,0.2);
}

.why-item:hover .why-title,
.why-item.active .why-title {
    color: #fff;
    -webkit-text-stroke: 0px transparent;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

/* Right Side: The Display Stage */
.why-display-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.display-stage {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 450px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 60px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Background Glow Orb inside the stage */
.display-stage::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(165, 214, 167, 0.15) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.stage-content {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-content.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.stage-icon {
    font-size: 64px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.stage-headline {
    font-size: 28px;
    font-family: var(--font-serif);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.stage-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ── Mobile Responsiveness ── */
@media (max-width: 1024px) {
    .why-split-layout {
        flex-direction: column;
    }
    
    .why-title {
        font-size: 36px;
    }
    
    .why-item:hover,
    .why-item.active {
        transform: translateX(10px);
    }
    
    .display-stage {
        height: 400px;
        padding: 40px;
    }
    
    .stage-content {
        top: 40px; left: 40px; right: 40px; bottom: 40px;
    }
}

@media (max-width: 768px) {
    .why-title {
        font-size: 28px;
    }
    
    .why-item {
        padding: 15px 0;
    }
    
    .display-stage {
        height: auto;
        min-height: 350px;
        padding: 30px;
    }
    
    .stage-content {
        position: relative;
        top: 0; left: 0; right: 0; bottom: 0;
        display: none; /* Hide non-active ones completely in normal flow */
    }
    
    .stage-content.active {
        display: flex;
    }
    
    .stage-headline {
        font-size: 24px;
    }
}

/* Engagement Pillars */
.startup-engagement-pillars {
    padding: 50px 0;
    background: var(--bg-light); /* Changed to light */
    color: var(--text-color); /* Changed to dark */
    overflow: hidden;
}

.startup-engagement-pillars .section-header h2 {
    color: var(--primary-color);
}

.pillars-track {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    height: 500px;
}

.engagement-pillar {
    flex: 1;
    background: var(--white); /* White instead of transparent dark */
    border: 1px solid rgba(16, 48, 40, 0.1);
    box-shadow: 0 10px 30px rgba(16, 48, 40, 0.05);
    border-radius: 40px;
    padding: 60px 40px;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.engagement-pillar:hover {
    flex: 2;
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff; /* Switch to white text on hover */
}

.p-num {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 40px;
    opacity: 0.8;
    color: var(--accent-color);
    transition: color 0.4s;
}

.engagement-pillar:hover .p-num {
    color: #fff;
    opacity: 0.8;
}

.p-main h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
    transition: color 0.4s;
}

.engagement-pillar:hover .p-main h3 {
    color: #fff;
}

.p-main p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.4s;
}

.p-expanded {
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    height: 0;
}

.engagement-pillar:hover .p-expanded {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.p-expanded ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.p-expanded li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}



/* Final CTA */
.startup-final-cta-section {
    padding: 150px 0;
    background: #0d2620;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5vw, 72px);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 30px;
}

.highlight-text { color: #fff; }

.final-cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 50px;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-startup-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-startup-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 95, 77, 0.3);
}

@media (max-width: 1024px) {
    .bento-grid-v2 { grid-template-columns: 1fr 1fr; }
    .pillars-track { flex-direction: column; height: auto; }
    .engagement-pillar:hover { flex: 1; }
    .ideal-outcomes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bento-grid-v2 { grid-template-columns: 1fr; }
    .ideal-for-card, .outcomes-card { padding: 40px; }
}

.engagement-card {
    background: #f8fbf9;
    padding: 50px 40px;
    border-radius: 24px;
    border-bottom: 6px solid transparent;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(16,48,40,0.08);
    border-bottom-color: var(--accent-color);
}

.engagement-num {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 25px;
    opacity: 0.6;
}

.engagement-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-serif);
}

.engagement-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.engagement-arrow {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 24px;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.engagement-card:hover .engagement-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ════════════════════════════════════════════
   THE NXERAI STARTUP ECOSYSTEM (FLOATING OUTCOMES)
════════════════════════════════════════════ */
.startup-ideal-floating {
    background: var(--primary-color);
    padding: 50px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.floating-layout {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    gap: 40px;
}

/* Left Side: Ideal For List */
.floating-left-content {
    flex: 1;
    z-index: 2;
    padding-right: 50px;
}

.floating-left-content .section-badge {
    background: rgba(255,255,255,0.1);
    color: var(--accent-color);
}

.ideal-large-list {
    list-style: none;
    padding: 0;
    margin: 60px 0 0 0;
}

.ideal-large-list li {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ideal-large-list li:hover {
    opacity: 1;
    transform: translateX(10px);
}

.ideal-icon {
    font-size: 32px;
    color: var(--accent-color);
    line-height: 1;
}

.ideal-text {
    font-size: 28px;
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
}

/* Right Side: Floating Glass Card */
.floating-right-glass {
    flex: 1;
    z-index: 3;
    position: relative;
}

.glass-outcome-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    animation: floatCard 8s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.glass-outcome-card .card-header {
    margin-bottom: 40px;
}

.glass-outcome-card h3 {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-top: 15px;
}

.badge-light {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.outcome-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 5px 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.outcome-item:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.02);
}

.oi-icon {
    font-size: 28px;
}

.oi-text {
    font-size: 18px;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .floating-layout {
        flex-direction: column;
        gap: 80px;
        padding: 0 10px;
    }
    
    .floating-left-content {
        padding-right: 0;
    }
    
    .ideal-text {
        font-size: 28px;
    }
    
    .glass-outcome-card {
        padding: 40px;
        animation: none; /* Disable float on mobile to prevent clipping issues */
    }
}

@media (max-width: 768px) {
    .startup-ideal-floating {
        padding: 80px 0;
    }
    
    .ideal-text {
        font-size: 24px;
    }
    
    .glass-outcome-card h3 {
        font-size: 32px;
    }
    
    .outcome-item {
        padding: 20px;
        gap: 15px;
    }
    
    .oi-text {
        font-size: 16px;
    }
}

/* ════════════════════════════════════════════
   THE NXERAI STARTUP ECOSYSTEM (LIGHT CTA)
════════════════════════════════════════════ */
.startup-light-cta {
    background: var(--bg-light); /* Premium off-white / light green background */
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.elevated-cta-card {
    background: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 40px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(16, 48, 40, 0.05); /* Soft, elegant shadow */
    border: 1px solid rgba(16, 48, 40, 0.03);
    z-index: 2;
}

.cta-inner-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner-content h2 {
    font-family: var(--font-serif);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 35px;
}

.cta-inner-content h2 .highlight-underline {
    position: relative;
    display: inline-block;
    color: var(--accent-color);
}

.cta-inner-content h2 .highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    opacity: 0.3;
}

.cta-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* Premium Light CTA Buttons */
.light-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-premium-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(13, 38, 32, 0.15);
}

.btn-premium-primary:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(13, 38, 32, 0.25);
}

.btn-premium-primary span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 400;
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(13, 38, 32, 0.1);
    transition: all 0.4s ease;
}

.btn-premium-secondary:hover {
    background: rgba(13, 38, 32, 0.05);
    border-color: rgba(13, 38, 32, 0.2);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stage-card {
        flex-direction: column;
        padding: 50px 40px;
        min-height: auto;
        gap: 30px;
    }
    
    .stage-number {
        font-size: 80px;
        right: 20px;
        opacity: 0.08;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .highlight-card,
    .why-card,
    .engagement-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .startup-highlights-section,
    .startup-intro-section,
    .startup-why-section,
    .startup-engagement-section,
    .startup-ideal-floating,
    .startup-light-cta {
        padding: 60px 0;
    }
    
    .stage-card {
        padding: 60px 30px;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .stage-icon-wrap {
        margin: 0 auto 30px;
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .stage-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stage-benefit {
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-radius: 0 0 20px 20px;
    }

    .stage-visual {
        display: none;
    }
    
    .stage-number {
        font-size: 60px;
        right: 15px;
        top: -10px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 30px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .why-grid,
    .engagement-grid {
        grid-template-columns: 1fr;
    }
    
    .ideal-outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .ideal-for-card,
    .outcomes-card {
        padding: 35px;
    }
    
    .cta-inner-content h2 {
        font-size: 36px;
    }
    
    .light-cta-buttons {
        flex-direction: column;
    }
    
    .btn-premium-primary,
    .btn-premium-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .startup-hero-banner {
        padding: 100px 0 80px;
        margin-top: 50px;
    }
    
    .startup-hero-content h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .startup-hero-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }
    
    .startup-highlights-section,
    .startup-intro-section,
    .startup-why-section,
    .startup-engagement-section,
    .startup-ideal-outcomes-section,
    .startup-final-cta-section {
        padding: 50px 0;
    }
    
    .stage-card {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .stage-icon {
        font-size: 36px;
    }
    
    .stage-card h2 {
        font-size: 24px;
    }
    
    .stage-subtitle {
        font-size: 16px;
    }
    
    .stage-what-we-do,
    .stage-benefit {
        padding: 15px;
        font-size: 14px;
    }
    
    .stage-what-we-do li {
        font-size: 14px;
        padding: 5px 0 5px 18px;
    }
    
    .highlight-card,
    .why-card,
    .engagement-card {
        padding: 25px;
    }
    
    .highlight-card h3,
    .why-card h3,
    .engagement-card h3 {
        font-size: 16px;
    }
    
    .highlight-card p,
    .why-card p,
    .engagement-card p {
        font-size: 14px;
    }
    
    .highlight-icon {
        font-size: 40px;
    }
    
    .why-icon {
        font-size: 44px;
    }
    
    .engagement-num {
        font-size: 36px;
    }
    
    .intro-content h2 {
        font-size: 28px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
    
    .ideal-for-card h3,
    .outcomes-card h3 {
        font-size: 24px;
    }
    
    .ideal-list li,
    .outcomes-list li {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .final-cta-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .final-cta-content p {
        font-size: 15px;
        margin-bottom: 35px;
    }
}


/* =======================================================
   BLOG / INSIGHTS — LISTING & DETAIL PAGES
   ======================================================= */

/* ---------- Blog Hero ---------- */
.blog-hero-section {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 15% 65%, rgba(44,95,77,0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 88% 15%, rgba(26,74,60,0.6) 0%, transparent 50%);
    padding: 150px 40px 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.blog-hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 56px;
    background: var(--bg-color);
    clip-path: ellipse(56% 100% at 50% 100%);
}

.blog-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 70px;
    align-items: center;
}

.blog-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-hero-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,0.25);
    display: block;
    flex-shrink: 0;
}

.blog-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
}

.blog-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
}

.blog-hero-subtitle {
    font-size: 16.5px;
    color: rgba(255,255,255,0.58);
    line-height: 1.78;
    max-width: 400px;
}

/* Hero featured card */
.blog-hero-card {
    background: rgba(255,255,255,0.065);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-decoration: none;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease;
}

.blog-hero-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 44px 88px rgba(0,0,0,0.38);
}

.blog-hero-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.blog-hero-card:hover .blog-hero-card-img { transform: scale(1.04); }

.blog-hero-card-body { padding: 26px 28px 30px; }

.blog-hero-card-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #6fcf97;
    display: block;
    margin-bottom: 11px;
}

.blog-hero-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 14px;
}

.blog-hero-card-meta {
    font-size: 12.5px;
    color: rgba(255,255,255,0.38);
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ---------- Blog Main Section ---------- */
.blog-main-section {
    background: var(--bg-color);
    padding: 70px 40px 110px;
}

.blog-main-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats bar */
.blog-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(16,48,40,0.07);
    border-radius: 18px;
    padding: 20px 36px;
    margin-bottom: 52px;
    gap: 20px;
}

.blog-stat {
    text-align: center;
    flex: 1;
}

.blog-stat-num {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.blog-stat-label {
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.blog-stats-divider {
    width: 1px;
    height: 34px;
    background: rgba(16,48,40,0.08);
}

/* Category filter */
.blog-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 46px;
    flex-wrap: wrap;
}

.blog-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 19px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(16,48,40,0.12);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: var(--font-sans);
}

.blog-cat-btn:hover,
.blog-cat-btn.is-active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.blog-cat-count {
    font-size: 10.5px;
    background: rgba(16,48,40,0.07);
    color: var(--text-muted);
    border-radius: 20px;
    padding: 1px 7px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.blog-cat-btn:hover .blog-cat-count,
.blog-cat-btn.is-active .blog-cat-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Section heading */
.blog-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.blog-section-label {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 600;
    color: var(--text-color);
}

.blog-see-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.22s;
}

.blog-see-all:hover { gap: 10px; }

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 56px;
}

/* Blog card */
.blog-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(16,48,40,0.07);
    transition: all 0.42s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(16,48,40,0.1);
    border-color: transparent;
}

.blog-card-img-wrap {
    overflow: hidden;
    height: 210px;
    position: relative;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.blog-card:hover .blog-card-img { transform: scale(1.06); }

.blog-card-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category tags */
.blog-cat-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 50px;
    margin-bottom: 13px;
    align-self: flex-start;
}

.cat-ai      { background: rgba(16,48,40,0.07);   color: #103028; }
.cat-web     { background: rgba(44,95,77,0.09);   color: #2C5F4D; }
.cat-mkt     { background: rgba(26,82,118,0.08);  color: #1a5276; }
.cat-cloud   { background: rgba(74,35,90,0.07);   color: #6c3483; }
.cat-startup { background: rgba(133,101,4,0.09);  color: #7d6608; }
.cat-biz     { background: rgba(27,94,32,0.07);   color: #1b5e20; }
.cat-mobile  { background: rgba(0,105,112,0.08);  color: #006770; }
.cat-design  { background: rgba(100,50,120,0.07); color: #643278; }
.cat-brand   { background: rgba(150,75,15,0.08);  color: #8c4a0e; }

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 18.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-color);
    margin-bottom: 11px;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title { color: var(--accent-color); }

.blog-card-excerpt {
    font-size: 13.5px;
    line-height: 1.72;
    color: var(--text-muted);
    margin-bottom: 22px;
    flex: 1;
}

.blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(16,48,40,0.06);
}

.blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(16,48,40,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-color);
    flex-shrink: 0;
}

.blog-card:hover .blog-card-arrow {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: rotate(-45deg);
}

/* Featured card — spans 2 columns, horizontal */
.blog-card.is-featured {
    grid-column: span 2;
    flex-direction: row;
}

.blog-card.is-featured .blog-card-img-wrap {
    width: 52%;
    height: auto;
    flex-shrink: 0;
}

.blog-card.is-featured .blog-card-body { padding: 36px 38px; }
.blog-card.is-featured .blog-card-title { font-size: 23px; margin-bottom: 13px; }
.blog-card.is-featured .blog-card-excerpt { font-size: 14.5px; }

/* Load more */
.blog-load-more-wrap { text-align: center; padding-top: 10px; }

.blog-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 34px;
    border-radius: 50px;
    border: 1px solid rgba(16,48,40,0.18);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    background: transparent;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-load-more:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* =======================================================
   BLOG DETAIL PAGE
   ======================================================= */

.blog-detail-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px;
}

.bd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,24,18,0.97) 0%,
        rgba(8,24,18,0.6) 50%,
        rgba(8,24,18,0.18) 100%
    );
}

.bd-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 72px;
}

.bd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.42);
    margin-bottom: 26px;
}

.bd-breadcrumb a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    transition: color 0.2s;
}

.bd-breadcrumb a:hover { color: #fff; }
.bd-breadcrumb span { opacity: 0.32; }

.bd-cat-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #6fcf97;
    margin-bottom: 15px;
}

.bd-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.8vw, 50px);
    font-weight: 600;
    line-height: 1.14;
    color: #fff;
    margin-bottom: 28px;
    max-width: 820px;
    letter-spacing: -0.02em;
}

.bd-meta {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

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

.bd-author-initials {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font-serif);
}

.bd-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.bd-author-role {
    font-size: 11.5px;
    color: rgba(255,255,255,0.42);
}

.bd-meta-item {
    font-size: 12.5px;
    color: rgba(255,255,255,0.42);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Article layout */
.bd-article-section {
    background: var(--bg-color);
    padding: 80px 40px 100px;
}

.bd-article-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 68px;
    align-items: start;
}

/* Article body */
.bd-article-body {
    font-size: 17px;
    line-height: 1.86;
    color: #2a3028;
}

.bd-article-body h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin: 52px 0 18px;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.bd-article-body h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--text-color);
    margin: 36px 0 14px;
}

.bd-article-body p { margin-bottom: 22px; color: #3a4a42; }

.bd-article-body ul,
.bd-article-body ol {
    padding-left: 22px;
    margin-bottom: 22px;
}

.bd-article-body li { margin-bottom: 9px; color: #3a4a42; }

.bd-article-body blockquote {
    border-left: 3px solid var(--accent-color);
    padding: 20px 28px;
    margin: 38px 0;
    background: rgba(44,95,77,0.05);
    border-radius: 0 14px 14px 0;
}

.bd-article-body blockquote p {
    font-family: var(--font-serif);
    font-size: 19px;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 8px !important;
    line-height: 1.55;
}

.bd-article-body blockquote cite {
    font-size: 12.5px;
    color: var(--text-muted);
    font-style: normal;
}

.bd-article-body strong { color: var(--text-color); font-weight: 600; }

.bd-highlight-box {
    background: var(--primary-color);
    background-image: radial-gradient(ellipse at 80% 20%, rgba(44,95,77,0.5) 0%, transparent 60%);
    color: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    margin: 38px 0;
}

.bd-highlight-box p {
    color: rgba(255,255,255,0.78) !important;
    font-size: 15.5px !important;
    margin-bottom: 0 !important;
    line-height: 1.72 !important;
}

.bd-highlight-box strong { color: #6fcf97 !important; }

/* Article tags */
.bd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 38px;
    margin-top: 48px;
    border-top: 1px solid rgba(16,48,40,0.08);
}

.bd-tag {
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 500;
    border: 1px solid rgba(16,48,40,0.12);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.bd-tag:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Author bio */
.bd-author-bio {
    background: #fff;
    border-radius: 22px;
    padding: 34px 36px;
    margin-top: 48px;
    border: 1px solid rgba(16,48,40,0.08);
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.bd-author-bio-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.bd-author-bio-text h4 {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3px;
}

.bd-author-bio-text .bio-role {
    font-size: 12.5px;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.bd-author-bio-text p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Sidebar */
.bd-sidebar {
    position: sticky;
    top: 100px;
}

.bd-sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(16,48,40,0.07);
    margin-bottom: 20px;
}

.bd-sidebar-head {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* TOC */
.bd-toc { list-style: none; padding: 0; margin: 0; }

.bd-toc li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(16,48,40,0.06);
}

.bd-toc li:last-child { border-bottom: none; padding-bottom: 0; }

.bd-toc a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.45;
}

.bd-toc a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(16,48,40,0.18);
    flex-shrink: 0;
    margin-top: 6px;
    transition: background 0.2s;
}

.bd-toc a:hover { color: var(--primary-color); padding-left: 4px; }
.bd-toc a:hover::before { background: var(--accent-color); }

/* Sidebar related posts */
.bd-sidebar-rel {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(16,48,40,0.06);
}

.bd-sidebar-rel:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.bd-sidebar-rel-img {
    width: 64px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
}

.bd-sidebar-rel-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.bd-sidebar-rel:hover .bd-sidebar-rel-title { color: var(--accent-color); }

.bd-sidebar-rel-meta { font-size: 11.5px; color: var(--text-muted); }

/* Related articles section */
.bd-related-section {
    background: #eef2ef;
    padding: 80px 40px;
}

.bd-related-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bd-related-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.bd-related-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 40px;
}

.bd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 1100px) {
    .blog-hero-inner { grid-template-columns: 1fr 380px; gap: 50px; }
}

@media (max-width: 960px) {
    .blog-hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .blog-hero-subtitle { max-width: 100%; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card.is-featured { grid-column: span 2; }
    .bd-article-inner { grid-template-columns: 1fr; }
    .bd-sidebar { position: static; }
    .bd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .blog-hero-section { padding: 130px 24px 90px; }
    .blog-main-section { padding: 48px 24px 80px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card.is-featured { grid-column: span 1; flex-direction: column; }
    .blog-card.is-featured .blog-card-img-wrap { width: 100%; height: 215px; }
    .blog-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 22px; }
    .blog-stats-divider { display: none; }
    .bd-article-section { padding: 48px 24px 70px; }
    .bd-hero-content { padding: 0 24px 54px; }
    .bd-related-grid { grid-template-columns: 1fr; }
    .bd-author-bio { flex-direction: column; }
    .blog-hero-card-img { height: 180px; }
}

/* --- Blog hero full-width (no card) --- */
.blog-hero-inner.hero-full {
    grid-template-columns: 1fr;
    max-width: 820px;
    text-align: center;
}

.blog-hero-inner.hero-full .blog-hero-eyebrow {
    justify-content: center;
}

.blog-hero-inner.hero-full .blog-hero-eyebrow::before { display: none; }

.blog-hero-inner.hero-full .blog-hero-subtitle {
    max-width: 100%;
    margin: 0 auto;
}

/* --- Blog Pagination --- */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 24px;
    flex-wrap: wrap;
}

.blog-pg-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 50px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(16,48,40,0.12);
    color: var(--text-muted);
    transition: all 0.22s ease;
    font-family: var(--font-sans);
    background: transparent;
}

.blog-pg-btn:hover,
.blog-pg-btn.is-current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.blog-pg-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}


/* =======================================================
   NXERAI AI CHATBOT WIDGET
   ======================================================= */

/* --- Floating trigger button --- */
.nxchat-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 8px 32px rgba(16,48,40,0.38);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99990;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    color: #fff;
    outline: none;
}

.nxchat-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 44px rgba(16,48,40,0.48);
}

.nxchat-btn-icon-chat,
.nxchat-btn-icon-close {
    position: absolute;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.nxchat-btn-icon-close {
    opacity: 0;
    transform: rotate(-30deg) scale(0.7);
}

.nxchat-btn.is-open .nxchat-btn-icon-chat {
    opacity: 0;
    transform: rotate(30deg) scale(0.7);
}

.nxchat-btn.is-open .nxchat-btn-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Notification pulse dot */
.nxchat-notif {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 13px;
    height: 13px;
    background: #6fcf97;
    border-radius: 50%;
    border: 2px solid #f9f9f4;
    animation: nxchat-pulse 2.2s infinite;
    transition: opacity 0.2s;
}

.nxchat-btn.is-open .nxchat-notif { opacity: 0; }

@keyframes nxchat-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(111,207,151,0.55); }
    55%      { box-shadow: 0 0 0 7px rgba(111,207,151,0); }
}

/* --- Chat window --- */
.nxchat-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 372px;
    height: 530px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    z-index: 99989;
    overflow: hidden;
    transform: scale(0.88) translateY(16px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1), opacity 0.28s ease;
}

.nxchat-window.is-visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.nxchat-head {
    background: var(--primary-color);
    background-image: radial-gradient(ellipse at 85% 20%, rgba(44,95,77,0.55) 0%, transparent 60%);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nxchat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.nxchat-head-info { flex: 1; min-width: 0; }

.nxchat-head-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.nxchat-head-status {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.nxchat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6fcf97;
    flex-shrink: 0;
    animation: nxchat-pulse 2.2s infinite;
}

.nxchat-head-close {
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.nxchat-head-close:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* Messages body */
.nxchat-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.nxchat-body::-webkit-scrollbar { width: 3px; }
.nxchat-body::-webkit-scrollbar-thumb { background: rgba(16,48,40,0.1); border-radius: 3px; }

/* Message rows */
.nxchat-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    max-width: 88%;
    animation: nxmsg-in 0.3s cubic-bezier(0.16,1,0.3,1);
}

.nxchat-row.user {
    align-self: flex-end;
    max-width: 82%;
}

@keyframes nxmsg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nxchat-bubble {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.58;
    max-width: 100%;
    word-break: break-word;
}

.nxchat-row.bot .nxchat-bubble {
    background: #f0f4f2;
    color: #2a3028;
    border-radius: 4px 16px 16px 16px;
}

.nxchat-row.user .nxchat-bubble {
    background: var(--primary-color);
    color: #fff;
    border-radius: 16px 4px 16px 16px;
}

/* Typing indicator */
.nxchat-typing-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: nxmsg-in 0.3s ease;
}

.nxchat-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 11px 15px;
    background: #f0f4f2;
    border-radius: 4px 16px 16px 16px;
}

.nxchat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(16,48,40,0.28);
    animation: nxtyping 1.3s infinite ease-in-out;
}

.nxchat-typing span:nth-child(2) { animation-delay: 0.18s; }
.nxchat-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes nxtyping {
    0%,80%,100% { transform: translateY(0); opacity: 0.35; }
    40%          { transform: translateY(-5px); opacity: 1; }
}

/* Quick replies */
.nxchat-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 14px 10px;
    animation: nxmsg-in 0.35s cubic-bezier(0.16,1,0.3,1);
}

.nxchat-qr {
    padding: 7px 14px;
    border-radius: 50px;
    border: 1px solid rgba(16,48,40,0.16);
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.nxchat-qr:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Input bar */
.nxchat-footer {
    padding: 11px 13px;
    border-top: 1px solid rgba(16,48,40,0.07);
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    background: #fff;
}

.nxchat-input {
    flex: 1;
    border: 1px solid rgba(16,48,40,0.12);
    border-radius: 50px;
    padding: 9px 15px;
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--text-color);
    background: #f8fbf9;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.nxchat-input:focus { border-color: var(--accent-color); background: #fff; }
.nxchat-input::placeholder { color: #aaa; }

.nxchat-send {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.2s ease, background 0.2s;
}

.nxchat-send:hover { background: var(--accent-color); transform: scale(1.1); }

/* Input shake on empty name */
@keyframes nxchat-shake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-5px); }
    40%,80% { transform: translateX(5px); }
}
.nxchat-shake {
    animation: nxchat-shake 0.42s ease;
    border-color: #e74c3c !important;
}

/* Responsive */
@media (max-width: 480px) {
    .nxchat-window {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 86px;
        height: 480px;
    }
    .nxchat-btn { right: 16px; bottom: 16px; }
}

/* =======================================================
   CASE STUDIES — LISTING PAGE
   ======================================================= */

.cs-listing-hero {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 10% 70%, rgba(44,95,77,0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 10%, rgba(26,74,60,0.65) 0%, transparent 50%);
    padding: 150px 40px 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cs-listing-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 56px;
    background: var(--bg-color);
    clip-path: ellipse(56% 100% at 50% 100%);
}

.cs-listing-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cs-listing-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cs-listing-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,0.25);
    display: block;
    flex-shrink: 0;
}

.cs-listing-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
}

.cs-listing-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}

.cs-listing-subtitle {
    font-size: 16.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.78;
    max-width: 520px;
}

/* Listing main section */
.cs-listing-section {
    background: var(--bg-color);
    padding: 80px 40px 110px;
}

.cs-listing-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats bar (reuse blog pattern) */
.cs-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(16,48,40,0.07);
    border-radius: 18px;
    padding: 20px 36px;
    margin-bottom: 62px;
    gap: 20px;
}

.cs-stat {
    text-align: center;
    flex: 1;
}

.cs-stat-num {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.cs-stat-label {
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.cs-stats-divider {
    width: 1px;
    height: 34px;
    background: rgba(16,48,40,0.08);
}

/* Section heading */
.cs-section-head {
    margin-bottom: 40px;
}

.cs-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-color);
    display: block;
}

.cs-section-title {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 600;
    color: var(--text-color);
}

/* Case study card grid */
.cs-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Case study card */
.cs-card-link {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(16,48,40,0.07);
    transition: all 0.44s cubic-bezier(0.16,1,0.3,1);
}

.cs-card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 72px rgba(16,48,40,0.1);
    border-color: transparent;
}

.cs-card-visual {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

.cs-card-visual-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    opacity: 0.65;
}

.cs-card-link:hover .cs-card-visual-bg {
    transform: scale(1.07);
}

.cs-card-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,24,18,0.88) 0%,
        rgba(8,24,18,0.25) 55%,
        transparent 100%
    );
}

.cs-card-visual-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 26px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.cs-card-industry-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #6fcf97;
    background: rgba(16,48,40,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(111,207,151,0.22);
    border-radius: 50px;
    padding: 5px 13px;
}

.cs-card-year {
    font-size: 11.5px;
    color: rgba(255,255,255,0.38);
    font-weight: 500;
}

.cs-card-body {
    padding: 30px 32px 32px;
}

.cs-card-client {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.cs-card-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.32;
    color: var(--text-color);
    margin-bottom: 14px;
    transition: color 0.2s;
}

.cs-card-link:hover .cs-card-title { color: var(--accent-color); }

.cs-card-excerpt {
    font-size: 14px;
    line-height: 1.72;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cs-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(16,48,40,0.07);
}

.cs-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cs-card-service-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(16,48,40,0.05);
    border-radius: 50px;
    padding: 4px 11px;
}

.cs-card-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(16,48,40,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.cs-card-link:hover .cs-card-arrow {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: rotate(-45deg);
}

/* =======================================================
   CASE STUDY — DETAIL PAGE
   ======================================================= */

/* Hero */
.csd-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px;
    background: var(--primary-color);
}

.csd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.csd-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 8% 75%, rgba(44,95,77,0.6) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 12%, rgba(26,74,60,0.7) 0%, transparent 50%),
        linear-gradient(to top, rgba(8,24,18,0.98) 0%, rgba(8,24,18,0.55) 50%, rgba(8,24,18,0.2) 100%);
}

.csd-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 72px;
}

.csd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.38);
    margin-bottom: 30px;
}

.csd-breadcrumb a {
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    transition: color 0.2s;
}

.csd-breadcrumb a:hover { color: #fff; }
.csd-breadcrumb span { opacity: 0.3; }

.csd-hero-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6fcf97;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.csd-hero-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #6fcf97;
    opacity: 0.6;
    display: block;
}

.csd-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 600;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 22px;
    max-width: 820px;
    letter-spacing: -0.022em;
}

.csd-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.52);
}

.csd-hero-desc {
    font-size: 16px;
    line-height: 1.78;
    color: rgba(255,255,255,0.55);
    max-width: 620px;
    margin-bottom: 48px;
}

/* Hero KPI strip */
.csd-hero-kpis {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    max-width: 640px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
}

.csd-hero-kpi {
    flex: 1;
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.csd-hero-kpi:last-child { border-right: none; }

.csd-hero-kpi-val {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: #6fcf97;
    line-height: 1;
    margin-bottom: 5px;
}

.csd-hero-kpi-label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.42);
    line-height: 1.45;
}

/* Overview section */
.csd-overview-section {
    background: var(--bg-color);
    padding: 90px 40px;
}

.csd-overview-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

.csd-section-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.csd-section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-color);
    display: block;
}

.csd-section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 22px;
    letter-spacing: -0.018em;
}

.csd-section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
}

.csd-overview-text p {
    font-size: 16.5px;
    line-height: 1.86;
    color: #3a4a42;
    margin-bottom: 18px;
}

/* Quick facts sidebar */
.csd-quick-facts {
    background: #fff;
    border-radius: 24px;
    padding: 32px 30px;
    border: 1px solid rgba(16,48,40,0.08);
    position: sticky;
    top: 100px;
}

.csd-quick-facts-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.csd-fact-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(16,48,40,0.06);
}

.csd-fact-row:last-child { border-bottom: none; }

.csd-fact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.csd-fact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
}

/* Challenge section */
.csd-challenge-section {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 90% 80%, rgba(44,95,77,0.45) 0%, transparent 60%),
        radial-gradient(ellipse at 5% 10%, rgba(26,74,60,0.55) 0%, transparent 50%);
    padding: 90px 40px;
    color: #fff;
}

.csd-challenge-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.csd-challenge-intro .csd-section-eyebrow { color: rgba(111,207,151,0.7); }
.csd-challenge-intro .csd-section-eyebrow::before { background: rgba(111,207,151,0.5); }
.csd-challenge-intro .csd-section-title { color: #fff; }
.csd-challenge-intro .csd-section-title em { color: rgba(255,255,255,0.45); }

.csd-challenge-intro p {
    font-size: 15.5px;
    line-height: 1.82;
    color: rgba(255,255,255,0.62);
    margin-top: 18px;
}

.csd-challenge-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csd-challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 22px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.csd-challenge-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(111,207,151,0.2);
}

.csd-challenge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(111,207,151,0.12);
    border: 1px solid rgba(111,207,151,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6fcf97;
}

.csd-challenge-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    padding-top: 6px;
}

/* Vision section */
.csd-vision-section {
    background: var(--bg-light);
    padding: 90px 40px;
    border-bottom: 1px solid rgba(16,48,40,0.06);
}

.csd-vision-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-vision-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 56px;
}

.csd-vision-text p {
    font-size: 15.5px;
    line-height: 1.86;
    color: #3a4a42;
    margin-top: 16px;
}

.csd-vision-pillars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.csd-vision-pillar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(16,48,40,0.07);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.csd-vision-pillar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

/* Creative direction section */
.csd-creative-section {
    background: var(--bg-color);
    padding: 90px 40px;
}

.csd-creative-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-creative-head {
    max-width: 560px;
    margin-bottom: 52px;
}

.csd-creative-head p {
    font-size: 15.5px;
    line-height: 1.82;
    color: #3a4a42;
    margin-top: 16px;
}

.csd-creative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.csd-creative-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 28px;
    border: 1px solid rgba(16,48,40,0.07);
    transition: all 0.38s cubic-bezier(0.16,1,0.3,1);
}

.csd-creative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(16,48,40,0.08);
    border-color: transparent;
}

.csd-creative-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(16,48,40,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary-color);
    transition: background 0.3s;
}

.csd-creative-card:hover .csd-creative-card-icon {
    background: var(--primary-color);
    color: #fff;
}

.csd-creative-card-title {
    font-family: var(--font-serif);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 9px;
}

.csd-creative-card-desc {
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--text-muted);
}

/* Solutions section */
.csd-solutions-section {
    background: var(--bg-light);
    padding: 90px 40px;
}

.csd-solutions-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-solutions-head {
    max-width: 620px;
    margin-bottom: 62px;
}

.csd-solutions-head p {
    font-size: 15.5px;
    line-height: 1.82;
    color: #3a4a42;
    margin-top: 16px;
}

.csd-solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid rgba(16,48,40,0.07);
}

.csd-solution-block:first-of-type { border-top: none; }

.csd-solution-block.reverse { direction: rtl; }
.csd-solution-block.reverse > * { direction: ltr; }

.csd-solution-block-num {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 700;
    color: rgba(16,48,40,0.055);
    line-height: 1;
    margin-bottom: 8px;
}

.csd-solution-block-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.22;
    color: var(--text-color);
    margin-bottom: 16px;
}

.csd-solution-block-text {
    font-size: 15.5px;
    line-height: 1.84;
    color: #3a4a42;
    margin-bottom: 26px;
}

.csd-solution-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csd-solution-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.csd-solution-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

.csd-solution-visual {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(44,95,77,0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 15%, rgba(26,74,60,0.7) 0%, transparent 55%);
    border-radius: 26px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.csd-solution-visual-icon {
    opacity: 0.14;
}

.csd-solution-visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 12px 18px;
    backdrop-filter: blur(10px);
}

.csd-solution-visual-badge-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6fcf97;
    margin-bottom: 3px;
}

.csd-solution-visual-badge-val {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* Tech stack section */
.csd-tech-section {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 85% 85%, rgba(44,95,77,0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 10%, rgba(26,74,60,0.55) 0%, transparent 50%);
    padding: 90px 40px;
    color: #fff;
}

.csd-tech-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-tech-head {
    max-width: 540px;
    margin-bottom: 56px;
}

.csd-tech-head .csd-section-eyebrow { color: rgba(111,207,151,0.7); }
.csd-tech-head .csd-section-eyebrow::before { background: rgba(111,207,151,0.5); }
.csd-tech-head .csd-section-title { color: #fff; }

.csd-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.csd-tech-category {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 28px 26px;
    transition: background 0.3s, border-color 0.3s;
}

.csd-tech-category:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(111,207,151,0.22);
}

.csd-tech-category-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #6fcf97;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.csd-tech-category-name::before {
    content: '';
    width: 16px;
    height: 1px;
    background: #6fcf97;
    opacity: 0.55;
}

.csd-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.csd-tech-tag {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 7px 15px;
    transition: all 0.2s;
}

.csd-tech-tag:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* Results section */
.csd-results-section {
    background: var(--bg-color);
    padding: 90px 40px;
}

.csd-results-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-results-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 62px;
}

.csd-results-intro .csd-section-title em { color: var(--accent-color); }

.csd-results-intro p {
    font-size: 15.5px;
    line-height: 1.84;
    color: #3a4a42;
    margin-top: 16px;
}

.csd-results-quote {
    background: var(--primary-color);
    background-image: radial-gradient(ellipse at 80% 20%, rgba(44,95,77,0.5) 0%, transparent 60%);
    border-radius: 24px;
    padding: 36px 38px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.csd-results-quote-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    line-height: 1.68;
    color: rgba(255,255,255,0.82);
    margin-bottom: 22px;
}

.csd-results-quote-attr {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #6fcf97;
}

.csd-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.csd-metric-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px 30px;
    border: 1px solid rgba(16,48,40,0.07);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.csd-metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(16,48,40,0.08);
    border-color: transparent;
}

.csd-metric-val {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.csd-metric-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.42;
    margin-bottom: 8px;
}

.csd-metric-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.58;
}

/* Outcome section */
.csd-outcome-section {
    background: var(--bg-light);
    padding: 90px 40px;
    border-top: 1px solid rgba(16,48,40,0.06);
}

.csd-outcome-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.csd-outcome-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.csd-outcome-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    color: var(--text-color);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.csd-outcome-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
}

.csd-outcome-text {
    font-size: 16px;
    line-height: 1.86;
    color: #3a4a42;
    margin-bottom: 42px;
}

.csd-outcome-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 8px 28px rgba(16,48,40,0.22);
}

.csd-outcome-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(16,48,40,0.28);
}

.csd-outcome-cta svg {
    transition: transform 0.3s ease;
}

.csd-outcome-cta:hover svg {
    transform: translateX(4px);
}

/* =======================================================
   RESPONSIVE — CASE STUDIES
   ======================================================= */

@media (max-width: 1024px) {
    .csd-overview-inner,
    .csd-challenge-inner,
    .csd-results-head {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .csd-quick-facts { position: static; }
    .csd-tech-grid { grid-template-columns: repeat(2, 1fr); }
    .csd-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .csd-creative-grid { grid-template-columns: repeat(2, 1fr); }
    .csd-solution-block,
    .csd-vision-head { grid-template-columns: 1fr; gap: 36px; }
    .csd-solution-block.reverse { direction: ltr; }
    .cs-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cs-listing-hero,
    .csd-hero {
        padding: 120px 24px 80px;
    }
    .cs-listing-section,
    .csd-overview-section,
    .csd-challenge-section,
    .csd-vision-section,
    .csd-creative-section,
    .csd-solutions-section,
    .csd-tech-section,
    .csd-results-section,
    .csd-outcome-section {
        padding: 64px 24px;
    }
    .csd-hero-content { padding: 0 24px 60px; }
    .csd-hero-kpis { flex-wrap: wrap; }
    .csd-hero-kpi { min-width: 120px; }
    .csd-tech-grid,
    .csd-metrics-grid,
    .csd-creative-grid { grid-template-columns: 1fr; }
    .cs-stats-row { flex-wrap: wrap; gap: 20px; padding: 18px 20px; }
    .cs-stats-divider { display: none; }
    .csd-challenge-inner { grid-template-columns: 1fr; gap: 36px; }
    .csd-hero-kpis { max-width: 100%; }
}

/* =======================================================
   SOLUTIONS ACCORDION (case study redesign)
   ======================================================= */

.csd-sol-section {
    background: var(--bg-color);
    padding: 90px 40px;
}

.csd-sol-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.csd-sol-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 64px;
}

.csd-sol-head p {
    font-size: 15.5px;
    line-height: 1.82;
    color: #3a4a42;
}

.csd-sol-accordion {
    border-top: 1px solid rgba(16,48,40,0.09);
}

.csd-sol-item {
    border-bottom: 1px solid rgba(16,48,40,0.08);
    position: relative;
}

.csd-sol-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--accent-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.csd-sol-item.is-open::before {
    transform: scaleY(1);
}

.csd-sol-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 0 30px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    transition: background 0.2s;
}

.csd-sol-trigger:hover {
    background: rgba(16,48,40,0.025);
}

.csd-sol-num {
    font-family: var(--font-serif);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 30px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.csd-sol-item.is-open .csd-sol-num {
    color: var(--accent-color);
}

.csd-sol-trigger-title {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    transition: color 0.3s;
    line-height: 1.25;
}

.csd-sol-item.is-open .csd-sol-trigger-title {
    color: var(--accent-color);
}

.csd-sol-kpi-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(44,95,77,0.08);
    border-radius: 50px;
    padding: 6px 15px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.35s ease;
    letter-spacing: 0.3px;
}

.csd-sol-item.is-open .csd-sol-kpi-badge {
    opacity: 1;
}

.csd-sol-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(16,48,40,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}

.csd-sol-toggle svg {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.csd-sol-item.is-open .csd-sol-toggle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.csd-sol-item.is-open .csd-sol-toggle svg {
    transform: rotate(45deg);
}

/* Accordion panel */
.csd-sol-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.16,1,0.3,1);
}

.csd-sol-item.is-open .csd-sol-panel {
    max-height: 700px;
}

.csd-sol-panel-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 4px 20px 44px;
    align-items: start;
}

/* Left: description + features */
.csd-sol-panel-text > p {
    font-size: 15.5px;
    line-height: 1.86;
    color: #3a4a42;
    margin-bottom: 28px;
}

.csd-sol-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.csd-sol-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.45;
}

.csd-sol-feature-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

/* Right: stat card */
.csd-sol-stat-card {
    background: var(--primary-color);
    background-image:
        radial-gradient(ellipse at 80% 15%, rgba(44,95,77,0.65) 0%, transparent 60%),
        radial-gradient(ellipse at 12% 88%, rgba(26,74,60,0.7) 0%, transparent 55%);
    border-radius: 24px;
    padding: 32px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.csd-sol-stat-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6fcf97;
}

.csd-sol-stat-card-val {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 700;
    color: #6fcf97;
    line-height: 1;
}

.csd-sol-stat-card-label {
    font-size: 12.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin-top: 6px;
}

.csd-sol-stat-card-desc {
    font-size: 13.5px;
    line-height: 1.68;
    color: rgba(255,255,255,0.62);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
}

/* Responsive */
@media (max-width: 900px) {
    .csd-sol-head { grid-template-columns: 1fr; gap: 20px; }
    .csd-sol-panel-inner { grid-template-columns: 1fr; gap: 28px; }
    .csd-sol-item.is-open .csd-sol-panel { max-height: 1200px; }
    .csd-sol-kpi-badge { display: none; }
}

@media (max-width: 600px) {
    .csd-sol-trigger { padding: 22px 0 22px 14px; gap: 16px; }
    .csd-sol-trigger-title { font-size: 17px; }
    .csd-sol-features { grid-template-columns: 1fr; }
    .csd-sol-stat-card-val { font-size: 40px; }
    .csd-sol-section { padding: 64px 20px; }
    .csd-sol-panel-inner { padding: 4px 14px 36px; }
}