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

:root {
    --primary: #5a5a5a;
    --primary-dark: #3d3d3d;
    --primary-light: #7a7a7a;
    --dark: #2e2e2e;
    --dark-light: #3e3e3e;
    --light: #f5f5f5;
    --gray: #7a7a7a;
    --gray-light: #b8b8b8;
    --white: #ffffff;
    --accent: #909090;
}

/* ========================================
   CINEMATIC INTRO ANIMATION
   ======================================== */

/* Lock body scroll during intro */
body.intro-active {
    overflow: hidden;
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.intro-overlay.intro-done {
    opacity: 0;
    pointer-events: none;
}

/* Hero image inside the intro */
.intro-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 2.5s ease;
}

.intro-overlay.intro-bg-reveal .intro-bg-image {
    opacity: 1;
    transform: scale(1);
}

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

.intro-bg-dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

/* Center typing text */
.intro-text {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.intro-letter.intro-letter-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.intro-letter.intro-x {
    color: var(--accent);
}

/* Shrink + fly text to navbar position */
.intro-text.intro-fly {
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s ease 0.3s,
                font-size 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(var(--fly-x, -42vw), var(--fly-y, -44vh)) scale(0.22);
    opacity: 0;
}

/* Sequential intro reveal — each element hidden, then revealed individually */
.intro-hidden {
    opacity: 0 !important;
    transform: translateY(28px) !important;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.intro-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* CSS-level safety: auto-show after 12s even if JS cleanup fails */
@keyframes intro-safety-show {
    to { opacity: 1; transform: translateY(0); }
}
.intro-hidden {
    animation: intro-safety-show 0.4s ease 12s forwards;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #1a1a1a;
}

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

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3a3a3a, #6a6a6a, #a0a0a0);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

/* Base hidden states */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Rotate reveal */
.reveal-rotate {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-rotate.active {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax elements */
.parallax-slow {
    transition: transform 0.1s ease-out;
}

.parallax-medium {
    transition: transform 0.1s ease-out;
}

.parallax-fast {
    transition: transform 0.1s ease-out;
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.active span {
    transform: translateY(0);
}

/* Blur reveal */
.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Card hover lift effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Scroll-triggered background color shift */
.bg-shift {
    transition: background-color 0.5s ease;
}

/* Element hidden state for JS */
.element-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.element-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.4);
}

.btn-outline {
    border: 2px solid var(--dark);
    background: transparent;
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

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

.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.arrow {
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.nav-expanded {
    padding: 20px 0;
}

.navbar.nav-collapsed {
    padding: 10px 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

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

.logo .logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left: auto;
    transition: opacity 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28), transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transform: translateX(0) scale(1);
    transform-origin: 100% 50%;
}

.nav-links li {
    transition: transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.32s ease;
}

.navbar.nav-expanded .nav-links li {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.navbar.nav-collapsed .nav-links {
    opacity: 0;
    pointer-events: none;
    transform: translateX(110px) scale(0.9);
}

.navbar.nav-collapsed .nav-links li {
    transform: translateX(110px) scale(0.9);
    opacity: 0;
}

.navbar.nav-collapsed .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    padding: 16px 20px;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.navbar.nav-collapsed .nav-links.active li {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.navbar.nav-collapsed .nav-links.active li:nth-child(1) { transition-delay: 0.00s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(2) { transition-delay: 0.03s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(3) { transition-delay: 0.06s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(4) { transition-delay: 0.09s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(5) { transition-delay: 0.12s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(6) { transition-delay: 0.15s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(7) { transition-delay: 0.18s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(8) { transition-delay: 0.21s; }
.navbar.nav-collapsed .nav-links.active li:nth-child(9) { transition-delay: 0.24s; }

.navbar.nav-collapsed .mobile-menu-btn {
    display: flex;
}

.navbar.nav-expanded .mobile-menu-btn {
    display: none;
}

.navbar.nav-expanded .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    list-style: none;
    margin-top: 15px;
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--dark);
    font-size: 0.9rem;
}

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

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section with Video */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 62, 80, 0.85) 0%, rgba(61, 78, 96, 0.8) 100%);
}

/* Image Background */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #111;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.7) 0%, rgba(80, 80, 80, 0.6) 100%);
}

/* Dark overlay for the light beam image */
.hero-bg-overlay.dark-overlay {
    background: rgba(0, 0, 0, 0.15);
}

/* Cursor Light Beam Effect */
.hero-cursor-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 25%,
        transparent 60%
    );
}

.hero:hover .hero-cursor-light {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content.hero-centered {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 700px;
    margin: 0;
}

/* Two-column hero layout: content left, buttons bottom-right */
.hero-content.hero-split {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 0;
    align-items: end;
    max-width: 100%;
}

.hero-split .hero-brand-side {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
}

.hero-buttons-right {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-self: end;
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-buttons-right .btn {
    min-width: 140px;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.85rem;
}

.hero-brand-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-brand {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.brand-x {
    text-transform: uppercase;
    font-size: 1.04em;
    display: inline;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-stats-inline {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.stat-inline {
    text-align: left;
}

.stat-inline .stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-inline .stat-suffix {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: #a0a0a0;
}

.stat-inline .stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-centered .hero-buttons,
.hero-split .hero-buttons {
    justify-content: flex-start;
}

.hero-subtitle {
    color: var(--gray-light);
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title .highlight {
    color: #c0c0c0;
    font-style: normal;
}

.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    min-height: 4.5em;
}



.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-buttons .btn {
    min-width: 140px;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.85rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 3px solid var(--gray-light);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(10px);
}

.stat-number {
    display: inline;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.stat-item .stat-suffix {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

/* Mouse Scroll Indicator */
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Hero Decorative Lines */
.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    pointer-events: none;
    z-index: 1;
}

.deco-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
}

.deco-line.line-1 {
    width: 1px;
    height: 100%;
    right: 30%;
}

.deco-line.line-2 {
    width: 1px;
    height: 100%;
    right: 60%;
}

/* Marquee Section */
.marquee-section {
    background: #f5f5f5;
    padding: 30px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f5f5f5 0%, transparent 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #f5f5f5 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-pill {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #c0c0c0;
    border-radius: 50px;
    color: #3a3a3a;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    transition: all 0.3s ease;
}

.marquee-pill:hover {
    background: #3a3a3a;
    color: #ffffff;
    border-color: #3a3a3a;
}

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

/* Showcase Section - Leroux Style Device Slider */
.showcase-section {
    background: #d0d0d0;
    padding: 80px 0 0;
    overflow: hidden;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.showcase-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.showcase-title em {
    font-style: italic;
    font-weight: 400;
}

.showcase-subtitle {
    font-size: 2.5rem;
    color: rgba(26, 26, 46, 0.5);
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

/* ========================================
   ANIMATED CARDS SLIDER
   ======================================== */
.cards-slider {
    position: relative;
    padding: 40px 0 100px;
    overflow: hidden;
}

.cards-track {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cards-row {
    display: flex;
    align-items: center;
    gap: 25px;
    width: max-content;
}

.cards-row.row-1 {
    animation: cardsSlideLeft 45s linear infinite;
}

.cards-row.row-2 {
    animation: cardsSlideRight 50s linear infinite;
}

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

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

/* Pause on hover */
.cards-slider:hover .cards-row {
    animation-play-state: paused;
}

/* Gradient fade edges */
.cards-slider::before,
.cards-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.cards-slider::before {
    left: 0;
    background: linear-gradient(90deg, #d0d0d0 0%, transparent 100%);
}

.cards-slider::after {
    right: 0;
    background: linear-gradient(-90deg, #d0d0d0 0%, transparent 100%);
}

/* Showcase Card Styles */
.showcase-card {
    position: relative;
    width: 340px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.showcase-card .card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: grayscale(100%) brightness(0.85) contrast(1.1);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

/* Card Hover Effects */
.showcase-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.showcase-card:hover .card-image img {
    transform: scale(1.1);
    filter: grayscale(70%) brightness(0.9) contrast(1.05);
}

.showcase-card:hover .card-overlay {
    transform: translateY(0);
}

.showcase-card:hover .card-shine {
    left: 150%;
}

/* Card Border Animation */
.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.2)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-card:hover::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .showcase-card {
        width: 260px;
        height: 180px;
    }
    
    .cards-row {
        gap: 15px;
    }
    
    .cards-slider::before,
    .cards-slider::after {
        width: 100px;
    }
}

/* Curved Separator */
.curve-separator {
    position: relative;
    margin-top: -50px;
}

.curve-separator svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* Legacy showcase styles (kept for compatibility) */
.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 30px auto 0;
}

.showcase-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
    opacity: 0.3;
}

.tagline {
    color: rgba(255, 255, 255, 0.6);
    margin: 15px 0 30px;
}

/* About Section */
.about-section {
    padding: 0 0 100px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* About Tabs Navigation */
.about-tabs {
    position: sticky;
    top: 70px;
    z-index: 10;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
}

.about-tabs-inner {
    display: flex;
    gap: 0;
}

.about-tab {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.about-tab:last-child {
    border-right: none;
}

.about-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6a6a6a, #9a9a9a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-tab.active {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
}

.about-tab.active::after {
    transform: scaleX(1);
}

.about-tab:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.02);
}

.tab-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.5;
}

.about-tab.active .tab-num {
    opacity: 1;
}

.tab-label {
    font-weight: 500;
}

/* About Pages Container */
.about-pages {
    position: relative;
    min-height: 500px;
}

.about-page {
    display: none;
    padding: 80px 0 0;
    animation: aboutPageIn 0.5s ease forwards;
}

.about-page.active {
    display: block;
}

@keyframes aboutPageIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Dots */
.about-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 50px 0 0;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.about-dot.active {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.about-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* About Arrows */
.about-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.about-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-arrow svg {
    width: 22px;
    height: 22px;
}

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

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

/* About Intro */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.about-intro .section-title {
    color: var(--white);
    font-size: 2.8rem;
}

.section-title-sm {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--white);
}

.section-title-sm .highlight {
    color: #a0a0a0;
}

/* About Process Steps */
.about-process {
    margin-top: 80px;
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.about-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #8a8a8a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.about-step:hover::before {
    transform: scaleX(1);
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    font-style: italic;
}

.about-step h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-step p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Vision (inside about page) */
.vision-section {
    padding: 100px 0;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-content .section-title {
    font-size: 2.5rem;
    color: var(--white);
}

.vision-content .section-title .highlight {
    color: #a0a0a0;
}

.vision-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 20px;
}

.vision-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.vision-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Goals (inside about page) */
.goals-section {
    padding: 100px 0;
    background: #1a1a1a;
    position: relative;
}

.goals-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.goals-header {
    text-align: left;
}

.goals-header .section-title {
    color: var(--white);
}

.goals-header .section-title .highlight {
    color: #a0a0a0;
}

.goals-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 15px;
}

.goals-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.goals-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.85);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.goals-image:hover img {
    transform: scale(1.03);
    filter: brightness(0.95);
}

.goals-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.goal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.goal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    background: rgba(255, 255, 255, 0.12);
}

.goal-icon svg {
    width: 28px;
    height: 28px;
    color: #b0b0b0;
}

.goal-card h3 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Section Background Decorations */
.section-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
}

.bg-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    top: -150px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.bg-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.bg-shape.shape-3 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.1) 0%, rgba(100, 100, 100, 0.02) 100%);
    top: -200px;
    left: -200px;
    animation: float 22s ease-in-out infinite;
}

.bg-shape.shape-4 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.08) 0%, rgba(100, 100, 100, 0.02) 100%);
    bottom: -150px;
    right: -150px;
    animation: float 28s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    66% {
        transform: translate(-10px, 10px) rotate(-3deg);
    }
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(100, 100, 100, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

.bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(100, 100, 100, 0.06) 2px, transparent 0);
    background-size: 50px 50px;
}

/* Floating Geometric Elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
}

.floating-shape.square {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    animation: floatRotate 15s ease-in-out infinite;
}

.floating-shape.square-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape.square-2 {
    top: 60%;
    right: 8%;
    animation-delay: -5s;
}

.floating-shape.circle {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: floatBounce 12s ease-in-out infinite;
}

.floating-shape.circle-1 {
    top: 20%;
    right: 15%;
    animation-delay: -2s;
}

.floating-shape.circle-2 {
    bottom: 25%;
    left: 10%;
    animation-delay: -7s;
}

.floating-shape.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--primary);
    opacity: 0.1;
    animation: floatRotate 18s ease-in-out infinite reverse;
}

.floating-shape.triangle-1 {
    top: 40%;
    left: 3%;
    animation-delay: -3s;
}

.floating-shape.triangle-2 {
    bottom: 15%;
    right: 5%;
    animation-delay: -10s;
}

.floating-shape.plus {
    width: 40px;
    height: 40px;
    position: absolute;
    animation: floatBounce 14s ease-in-out infinite;
}

.floating-shape.plus::before,
.floating-shape.plus::after {
    content: '';
    position: absolute;
    background: var(--primary);
}

.floating-shape.plus::before {
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.floating-shape.plus::after {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.floating-shape.plus-1 {
    top: 15%;
    left: 25%;
    animation-delay: -4s;
}

.floating-shape.plus-2 {
    bottom: 30%;
    right: 20%;
    animation-delay: -9s;
}

@keyframes floatRotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -25px) rotate(90deg);
    }
    50% {
        transform: translate(-10px, -40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -15px) rotate(270deg);
    }
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Section Divider Wave */
.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.section-wave .shape-fill {
    fill: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-subtitle {
    color: #a0a0a0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-section .section-title {
    color: var(--white);
}

.about-section .section-title .highlight {
    color: #a0a0a0;
}

.about-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 15px;
}

.about-text + .about-text {
    margin-top: 12px;
}

.about-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.about-images {
    position: relative;
}

.about-img-main {
    position: relative;
}

.about-img-main::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
}

.about-img-main img {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.about-img-main:hover img {
    transform: scale(1.02);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.about-img-secondary img {
    width: 100%;
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.exp-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.exp-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: 
        linear-gradient(45deg, transparent 49.5%, rgba(100, 100, 100, 0.03) 49.5%, rgba(100, 100, 100, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(100, 100, 100, 0.02) 49.5%, rgba(100, 100, 100, 0.02) 50.5%, transparent 50.5%),
        #ebebeb;
    background-size: 60px 60px, 100px 100px, 100% 100%;
    position: relative;
    overflow: hidden;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

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

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid #eef0f2;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #6a6a6a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(100, 100, 100, 0.3);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.service-features li {
    color: var(--gray);
    font-size: 0.9rem;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* Service Detail Sections */
.service-detail-section {
    padding: 100px 0;
    background: var(--white);
}

.service-detail-section.alt-bg {
    background: var(--light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.detail-badge {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-detail-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.detail-intro {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.advantage-list h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.advantage-list ul {
    list-style: none;
    padding: 0;
}

.advantage-list ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
}

.advantage-list ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.service-detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.services-offered {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offered-item {
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.alt-bg .offered-item {
    background: var(--white);
}

.offered-item h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.offered-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

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

.capability-card {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.capability-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.capability-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.6) 0%, rgba(30, 30, 30, 0.65) 100%),
                url('images/Gemini_Generated_Image_yp8xv6yp8xv6yp8x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.process-section .section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
}

.process-section .section-header.light .section-title {
    color: var(--white);
}

.process-section .section-header.light .section-title .highlight {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.process-card {
    background: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 35px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-card:hover {
    background: rgba(40, 40, 40, 0.7);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.process-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.process-content p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.6;
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* ========================================
   JOIN US SECTION (Paged)
   ======================================== */
.joinus-section {
    padding: 0 0 100px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Join Us Tabs */
.joinus-tabs {
    position: sticky;
    top: 70px;
    z-index: 10;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.joinus-tabs-inner {
    display: flex;
    gap: 0;
}

.joinus-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 30px;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.joinus-tab:last-child {
    border-right: none;
}

.joinus-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1a1a1a, #8a8a8a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.joinus-tab.active {
    color: rgba(0, 0, 0, 0.85);
    background: rgba(0, 0, 0, 0.02);
}

.joinus-tab.active::after {
    transform: scaleX(1);
}

.joinus-tab:hover {
    color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.01);
}

.joinus-tab .tab-icon {
    display: flex;
    align-items: center;
}

.joinus-tab .tab-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.joinus-tab.active .tab-icon svg {
    opacity: 1;
}

/* Join Us Pages */
.joinus-pages {
    position: relative;
    min-height: 400px;
}

.joinus-page {
    display: none;
    padding: 70px 0 0;
    animation: joinusPageIn 0.5s ease forwards;
}

.joinus-page.active {
    display: block;
}

@keyframes joinusPageIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Join Us Hero Block */
.joinus-hero-block {
    margin-bottom: 50px;
}

.joinus-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 20px;
}

.joinus-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

/* Join Us Content Block */
.joinus-content-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.joinus-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

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

/* Highlight Cards */
.joinus-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.joinus-highlight-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 25px;
    transition: all 0.3s ease;
}

.joinus-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    color: #6a6a6a;
}

.joinus-highlight-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.joinus-highlight-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

/* CTA */
.joinus-cta {
    margin-top: 50px;
}

/* Join Us Dots */
.joinus-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 50px 0 0;
}

.joinus-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.joinus-dot.active {
    background: rgba(0, 0, 0, 0.55);
    transform: scale(1.2);
}

.joinus-dot:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Join Us Arrows */
.joinus-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.joinus-arrow:hover {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.75);
    border-color: rgba(0, 0, 0, 0.15);
}

.joinus-arrow svg {
    width: 22px;
    height: 22px;
}

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

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

/* Stats Section */
/* Quote Section */
.quote-section {
    padding: 100px 0 120px;
    background: #f5f5f5;
}

.quote-header {
    max-width: 650px;
    margin-bottom: 60px;
}

.quote-header .section-title {
    font-size: 2.5rem;
    color: var(--dark);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.25;
}

.quote-header .section-title .highlight {
    color: #6a6a6a;
}

.quote-header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c8956c, #d4a574);
    margin-top: 25px;
    border-radius: 2px;
}

.quote-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #2c4a5c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.quote-stats-side {
    padding: 50px 40px;
    display: flex;
    align-items: center;
}

.quote-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}

.quote-stat {
    padding: 30px 25px;
    text-align: center;
    color: var(--white);
    position: relative;
}

/* Vertical divider between columns */
.quote-stat:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Horizontal divider between rows */
.quote-stat:nth-child(1)::before,
.quote-stat:nth-child(2)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.quote-stat-num {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    display: inline;
}

.quote-stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.quote-stat p {
    opacity: 0.65;
    margin-top: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-form-side {
    padding: 50px 45px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-form-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quote-form-group input,
.quote-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.quote-form-group input::placeholder,
.quote-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.quote-form-group input:focus,
.quote-form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.quote-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.quote-form .btn-full {
    margin-top: 5px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 140px;
    background: var(--dark);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1.25;
    margin-top: 16px;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-detail-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.5);
}

.contact-details-list a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.contact-details-list a:hover {
    color: #fff;
}

.contact-details-list p,
.contact-detail-item p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin: 0;
}

/* Minimal form — no card */
.contact-minimal-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-minimal-form input,
.contact-minimal-form select,
.contact-minimal-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding: 18px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    transition: border-color 0.3s;
    border-radius: 0;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.contact-minimal-form input::placeholder,
.contact-minimal-form textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.contact-minimal-form select {
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.contact-minimal-form select option {
    background: var(--dark);
    color: #fff;
}

.contact-minimal-form input:focus,
.contact-minimal-form select:focus,
.contact-minimal-form textarea:focus {
    outline: none;
    border-bottom-color: rgba(255,255,255,0.5);
}

.contact-minimal-form textarea {
    resize: none;
    min-height: 80px;
}

.contact-submit-btn {
    margin-top: 32px;
    padding: 16px 0;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    letter-spacing: 0.5px;
}

.contact-submit-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

.contact-submit-btn span {
    margin-left: 8px;
    transition: margin-left 0.3s;
}

.contact-submit-btn:hover span {
    margin-left: 14px;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(100, 100, 100, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 100, 100, 0.5);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   TRUST & RESULTS SECTION
   ======================================== */
.trust-section {
    padding: 100px 0;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Client Logos Bar */
.clients-bar {
    text-align: center;
    margin-bottom: 80px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.clients-label {
    color: var(--gray);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    opacity: 0.4;
    transition: all 0.3s ease;
    padding: 15px 25px;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

/* Why Choose Us / Differentiators */
.why-choose-us {
    margin-bottom: 80px;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.diff-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a, #8a8a8a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.diff-card:hover::before {
    transform: scaleX(1);
}

.diff-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.diff-card:hover .diff-icon {
    background: rgba(255, 255, 255, 0.15);
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.diff-card:hover .diff-icon svg {
    color: white;
}

.diff-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.diff-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.diff-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonials-slider {
    position: relative;
    min-height: 300px;
    flex: 1;
    min-width: 0;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-content {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-left: auto;
}

.testimonial-rating span {
    color: #9a9a9a;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-btn:hover {
    background: var(--primary);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.testimonial-btn:hover svg {
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 100, 100, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    overflow: visible;
    margin-top: 120px;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    color: #ebebeb;
    z-index: 10;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-content {
    position: relative;
    z-index: 3;
    padding: 40px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand-section {
    padding-right: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.footer-newsletter h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-wrap {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-input-wrap:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-wrap button {
    background: var(--primary);
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-wrap button:hover {
    background: var(--primary-light);
}

.newsletter-input-wrap button svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-nav-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col ul li {
    margin-bottom: 14px;
}

.footer-nav-col ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-nav-col ul a:hover {
    color: white;
}

.footer-nav-col ul a .link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-light);
}

.footer-nav-col ul a:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: white;
}

.footer-address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.contact-icon {
    font-size: 1rem;
}

.footer-social {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: white;
}

.footer-bottom-right .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Decorations */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.footer-float.float-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.footer-float.float-2 {
    width: 300px;
    height: 300px;
    background: white;
    bottom: 50px;
    left: -100px;
}

.footer-float.float-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    bottom: -50px;
    right: 20%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    /* Hero Section Tablet */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content.hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-split .hero-brand-side {
        grid-column: 1;
        grid-row: auto;
        align-self: flex-start;
        text-align: left;
        padding-left: 0;
    }
    
    .hero-brand {
        text-align: left;
    }
    
    .hero-buttons-right {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        align-self: flex-start;
        padding-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-brand {
        font-size: 4rem;
    }
    
    .hero-stats-inline {
        gap: 40px;
        justify-content: flex-start;
    }
    
    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-item.large,
    .showcase-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .about-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-images {
        display: none;
    }
    
    .about-tab {
        padding: 16px 20px;
        font-size: 0.75rem;
    }
    
    .tab-num {
        font-size: 0.95rem;
    }
    
    .about-arrow {
        display: none;
    }
    
    .joinus-content-block {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .joinus-arrow {
        display: none;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .about-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .goals-top-grid {
        gap: 40px;
    }

    .goals-image img {
        height: 280px;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-grid {
        gap: 50px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quote-card {
        grid-template-columns: 1fr;
    }
    
    .quote-form-side {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Device slider responsive */
    .device-row {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .device.laptop .device-frame {
        width: 250px;
    }
    
    .device.laptop .device-screen {
        height: 150px;
    }
    
    .device.laptop.large .device-frame {
        width: 320px;
    }
    
    .device.laptop.large .device-screen {
        height: 190px;
    }
    
    .showcase-title {
        font-size: 2.5rem;
    }
    
    .showcase-subtitle {
        font-size: 2rem;
    }
    
    /* Trust Section Responsive */
    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer Responsive */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-brand-section {
        padding-right: 0;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        background: transparent;
        padding: 15px 0;
        pointer-events: none;
    }
    
    .navbar.scrolled {
        background: transparent;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .logo {
        display: flex !important;
    }

    .logo .logo-img {
        height: 32px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        pointer-events: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        color: var(--white);
    }
    
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        padding: 10px 0 10px 20px;
        display: none;
    }
    
    .nav-links .dropdown:hover .dropdown-menu,
    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .navbar .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        background: rgba(255, 255, 255, 0.15);
        padding: 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: auto;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        background: var(--white);
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Hero Section Responsive */
    .hero {
        min-height: auto;
        padding: 70px 0 50px;
        overflow-x: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content.hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-split .hero-brand-side {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
    
    .hero-buttons-right {
        display: none;
    }
    
    .hero-brand {
        font-size: 2.2rem;
        letter-spacing: -1px;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
    
    .stat-inline {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .stat-inline .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-inline .stat-suffix {
        font-size: 1.2rem;
    }
    
    .stat-inline .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-buttons-right .btn {
        min-width: 120px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }
    
    .contact-stat:nth-child(2)::after {
        display: none;
    }
    
    .contact-stat-num {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-img {
        height: 42px;
    }
    
    .footer-brand-section {
        padding-right: 0;
    }
    
    .footer-main {
        padding: 50px 0;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-detail-content h2 {
        font-size: 1.8rem;
    }
    
    .stat-num {
        font-size: 2.5rem;
    }
    
    .about-img-secondary {
        display: none;
    }
    
    .about-images {
        display: none;
    }
    
    .experience-badge {
        display: none;
    }
    
    /* New sections responsive */
    .about-process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-intro .section-title {
        font-size: 2rem;
    }
    
    .section-title-sm {
        font-size: 1.5rem;
    }
    
    .about-tabs-inner {
        flex-direction: column;
    }
    
    .about-tab {
        padding: 14px 20px;
        font-size: 0.75rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .about-tab:last-child {
        border-bottom: none;
    }
    
    .about-arrow {
        display: none !important;
    }
    
    .about-page {
        padding: 50px 0 0;
    }
    
    /* Join Us mobile */
    .joinus-tabs-inner {
        flex-direction: column;
    }
    
    .joinus-tab {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        justify-content: flex-start;
        padding: 16px 20px;
    }
    
    .joinus-tab:last-child {
        border-bottom: none;
    }
    
    .joinus-arrow {
        display: none !important;
    }
    
    .joinus-page {
        padding: 40px 0 0;
    }
    
    .joinus-title {
        font-size: 2rem;
    }
    
    .joinus-content-block {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-image {
        order: -1;
    }

    .goals-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goals-header {
        text-align: center;
    }

    .goals-image img {
        height: 250px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quote-header .section-title {
        font-size: 1.8rem;
    }
    
    .quote-card {
        grid-template-columns: 1fr;
    }
    
    .quote-stats-side {
        padding: 30px 20px;
    }
    
    .quote-form-side {
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .quote-form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-stat-num {
        font-size: 2rem;
    }

    /* Device slider mobile */
    .device-slider {
        padding: 20px 0 60px;
    }
    
    .device-row {
        gap: 15px;
        padding: 0 10px;
    }
    
    .device-row.row-2 {
        display: none;
    }
    
    .device.phone .device-frame {
        width: 90px;
    }
    
    .device.phone .device-screen {
        height: 160px;
    }
    
    .device.tablet .device-frame {
        width: 140px;
    }
    
    .device.tablet .device-screen {
        height: 200px;
    }
    
    .device.laptop .device-frame {
        width: 180px;
    }
    
    .device.laptop .device-screen {
        height: 110px;
    }
    
    .device.laptop.large .device-frame {
        width: 220px;
    }
    
    .device.laptop.large .device-screen {
        height: 130px;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .showcase-subtitle {
        font-size: 1.5rem;
    }
    
    .curve-separator {
        margin-top: -30px;
    }
    
    .curve-separator svg {
        height: 60px;
    }
    
    /* Trust Section Mobile */
    .clients-logos {
        gap: 20px;
    }
    
    .client-logo span {
        font-size: 1.2rem;
    }
    
    .differentiators-grid {
        grid-template-columns: 1fr;
    }
    
    .diff-card {
        padding: 30px 25px;
    }
    
    .diff-number {
        font-size: 2rem;
    }
    
    .testimonial-content {
        padding: 25px 20px;
    }
    
    .testimonials-section {
        gap: 15px;
        padding: 0 10px;
    }
    
    .testimonials-slider {
        min-height: 340px;
        width: 100%;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .testimonial-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .quote-icon {
        font-size: 4rem;
        top: 5px;
        left: 15px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
    
    .testimonial-rating {
        margin-left: 0;
    }
    
    /* Process Section Mobile */
    .process-section {
        padding: 70px 0;
        background-attachment: scroll;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-card {
        grid-template-columns: auto 1fr;
        gap: 15px;
        padding: 25px;
    }
    
    .process-number {
        font-size: 2rem;
    }
    
    .process-content h3 {
        font-size: 1.05rem;
    }
    
    .process-content p {
        font-size: 0.85rem;
    }
    
    .process-icon {
        display: none;
    }
    
    /* Footer Mobile */
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}

/* Element Reveal Animations */
.element-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.element-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section Visibility */
.section-visible .section-title,
.section-visible .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal */
[data-scroll] {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Navbar transition */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero content fade on scroll */
.hero-content {
    transition: opacity 0.1s ease, transform 0.1s ease;
}

/* Stagger animations for children */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.process-card:nth-child(1) { transition-delay: 0.1s; }
.process-card:nth-child(2) { transition-delay: 0.2s; }
.process-card:nth-child(3) { transition-delay: 0.3s; }
.process-card:nth-child(4) { transition-delay: 0.4s; }

/* Page load animation */
body:not(.loaded) {
    overflow: hidden;
}

body.loaded .hero-content {
    opacity: 1;
}

/* ================================================
   SERVICE PAGE STYLES
   ================================================ */

/* Service Hero */
.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding-top: 80px;
    padding-bottom: 40px;
}

.service-hero .container {
    position: relative;
    z-index: 5;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 62, 80, 0.55) 0%, rgba(100, 100, 100, 0.45) 100%);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}

.service-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Team hero — make it bigger */
.team-hero {
    min-height: 85vh;
}

.team-hero .service-hero-bg img {
    object-position: center 30%;
}

/* Ideas hero — push bulb image to right */
.ideas-hero {
    min-height: 85vh;
}

.ideas-hero .service-hero-bg img {
    object-position: 80% center;
}

.ideas-hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    padding-left: 10%;
}

.ideas-hero .service-hero-content {
    text-align: left;
    max-width: 380px;
    padding-left: 0;
}

.ideas-hero .service-hero-content p {
    margin: 0;
}

.service-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.service-hero-buttons .btn {
    min-width: 140px;
    position: relative;
    z-index: 10;
}

/* Service Introduction Section */
.service-intro-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-intro-content p {
    color: var(--gray);
    line-height: 1.8;
}

.service-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-stat {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef0f2;
}

.intro-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 62, 80, 0.1);
}

.intro-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.intro-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Service Advantages */
.service-advantages {
    padding: 100px 0;
    background: #f0f2f4;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef0f2;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 62, 80, 0.12);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.advantage-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Capabilities */
.service-capabilities {
    padding: 100px 0;
    background: #f5f5f5;
}

.capabilities-detailed {
    margin-top: 50px;
}

.capability-item {
    display: flex;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.capability-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray-light);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    min-width: 100px;
}

.capability-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.capability-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.capability-content ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
}

.capability-content ul li {
    color: var(--dark);
    font-size: 0.95rem;
    padding-left: 25px;
    position: relative;
}

.capability-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Service Use Cases */
.service-usecases {
    padding: 100px 0;
    background: var(--dark);
}

.service-usecases .section-header.light .section-title,
.service-usecases .section-header.light .section-subtitle {
    color: var(--white);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.usecase-content {
    padding: 25px;
}

.usecase-content h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.usecase-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Service CTA */
.service-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    text-align: center;
}

.service-cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Service Page Responsive */
@media (max-width: 1024px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-intro-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .intro-stat {
        flex: 1;
        max-width: 200px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .service-hero p {
        font-size: 0.95rem;
    }
    
    .service-hero-content {
        padding: 30px 15px;
    }
    
    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 25px;
    }
    
    .service-hero-buttons .btn {
        width: 100%;
        max-width: 220px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .service-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .service-intro-section {
        padding: 60px 0;
    }
    
    .service-intro-content h2 {
        font-size: 2rem;
    }
    
    .service-intro-stats {
        flex-direction: column;
    }
    
    .intro-stat {
        max-width: none;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .capability-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .capability-number {
        font-size: 3rem;
        min-width: auto;
    }
    
    .capability-content ul {
        grid-template-columns: 1fr;
    }
    
    .usecases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-cta-content h2 {
        font-size: 2rem;
    }
}
/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 8px 0;
    }
    
    .mobile-menu-btn {
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero {
        padding: 55px 0 30px;
    }
    
    .hero-brand {
        font-size: 1.75rem;
        letter-spacing: 0;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.55rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    
    .hero-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 12px;
        margin: 15px 0;
    }
    
    .stat-inline {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .stat-inline .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-inline .stat-suffix {
        font-size: 1rem;
    }
    
    .stat-inline .stat-label {
        font-size: 0.6rem;
        margin-top: 0;
        display: inline;
    }
    
    .hero-buttons-right {
        display: none;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .marquee-pill {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
.footer-logo-img {
        height: 36px;
    }
    
    .footer-logo {
        gap: 8px;
    }
    
    .footer-brand-section {
        padding-right: 0;
    }
    
    .footer-tagline {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-newsletter h4 {
        font-size: 0.95rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-main {
        padding: 20px 0;
        gap: 30px;
    }
    
    .newsletter-input-wrap {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-input-wrap input {
        width: 100%;
    }
    
    .newsletter-input-wrap button {
        width: 100%;
        border-radius: 50px;
    }
    
    /* Testimonials for small mobile */
    .testimonials-section {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }
    
    .testimonial-btn {
        display: none;
    }
    
    .testimonials-slider {
        min-height: auto;
        width: 100%;
    }
    
    .testimonial-card {
        position: relative;
        display: none;
    }
    
    .testimonial-card.active {
        display: block;
    }
    
    .testimonial-content {
        padding: 20px 15px;
    }
    
    .quote-icon {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .testimonial-dots {
        margin-top: 15px;
    }
    
    .testimonial-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Process section for small mobile */
    .process-section {
        padding: 60px 0;
    }
    
    .process-grid {
        gap: 15px;
    }
    
    .process-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .process-number {
        font-size: 2rem;
    }
    
    .process-content h3 {
        font-size: 1rem;
    }
    
    .process-content p {
        font-size: 0.8rem;
    }
    
    .process-icon {
        display: none;
    }
    
    /* Contact section for small mobile */
    .contact-section {
        padding: 60px 0;
    }

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

    .contact-heading {
        font-size: 2rem;
    }
    
    /* Clients bar for small mobile */
    .clients-bar {
        padding: 25px 15px;
    }
    
    .clients-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    .clients-logos {
        gap: 15px 25px;
    }
    
    .client-logo {
        padding: 8px 12px;
    }
    
    .client-logo span {
        font-size: 1.1rem;
    }
    
    /* Differentiators for small mobile */
    .diff-card {
        padding: 25px 20px;
    }
    
    .diff-number {
        font-size: 1.8rem;
    }
    
    .diff-card h3 {
        font-size: 1rem;
    }
    
    .diff-card p {
        font-size: 0.85rem;
    }
    
    /* Trust section for small mobile */
    .trust-section {
        padding: 60px 0;
    }
    
    .why-choose-us {
        margin-bottom: 50px;
    }
    
    /* Showcase section for small mobile */
    .showcase-section {
        padding: 50px 0 0;
    }
    
    .showcase-title {
        font-size: 1.6rem;
    }
    
    .showcase-subtitle {
        font-size: 1.2rem;
    }
    
    .showcase-card {
        width: 220px;
        height: 150px;
    }
    
    .cards-slider {
        padding: 30px 0 60px;
    }
    
    .cards-row {
        gap: 12px;
    }
    
    .cards-slider::before,
    .cards-slider::after {
        width: 60px;
    }
    
    /* About section for small mobile */
    .about-section {
        padding: 0 0 60px;
    }
    
    .about-tabs {
        top: 50px;
    }
    
    .about-tab {
        padding: 12px 15px;
        font-size: 0.7rem;
    }
    
    .tab-num {
        font-size: 0.85rem;
    }
    
    .about-intro .section-title {
        font-size: 1.6rem;
    }
    
    .section-title-sm {
        font-size: 1.3rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .about-step {
        padding: 22px 18px;
    }
    
    .step-num {
        font-size: 2rem;
    }
    
    .about-step h3 {
        font-size: 1rem;
    }
    
    .about-step p {
        font-size: 0.8rem;
    }
    
    /* Goals for small mobile */
    .goal-card {
        padding: 25px 18px;
    }
    
    .goal-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
    }
    
    .goal-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .goal-card h3 {
        font-size: 0.9rem;
    }
    
    /* Scroll to top for small mobile */
    .scroll-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Service pages for small mobile */
    .service-hero h1 {
        font-size: 1.5rem;
    }
    
    .service-hero p {
        font-size: 0.85rem;
    }
    
    .service-intro-section {
        padding: 40px 0;
    }
    
    .service-intro-content h2 {
        font-size: 1.6rem;
    }
    
    .intro-lead {
        font-size: 1rem;
    }
    
    .intro-stat {
        padding: 20px;
    }
    
    .intro-stat-number {
        font-size: 2rem;
    }
    
    .service-advantages {
        padding: 50px 0;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .advantage-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 18px;
    }
    
    .advantage-card h3 {
        font-size: 1.1rem;
    }
    
    .service-capabilities {
        padding: 50px 0;
    }
    
    .capability-number {
        font-size: 2.5rem;
    }
    
    .capability-content h3 {
        font-size: 1.2rem;
    }
    
    .service-usecases {
        padding: 50px 0;
    }
    
    .usecase-card img {
        height: 140px;
    }
    
    .usecase-content {
        padding: 18px;
    }
    
    .usecase-content h4 {
        font-size: 1rem;
    }
    
    .service-cta {
        padding: 50px 0;
    }
    
    .service-cta-content h2 {
        font-size: 1.6rem;
    }
    
    .service-cta-content p {
        font-size: 1rem;
    }
    
    /* Footer bottom for small mobile */
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-bottom-right {
        gap: 8px;
    }
    
    .footer-bottom-right a {
        font-size: 0.8rem;
    }
    
    .footer-bottom-right .separator {
        display: none;
    }
}

/* Extra small mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-brand {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.75rem;
    }
    
    .stat-inline .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-inline .stat-label {
        font-size: 0.55rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .about-tab {
        padding: 10px 12px;
        font-size: 0.65rem;
    }
    
    .tab-num {
        font-size: 0.75rem;
    }
    
    .contact-stats {
        gap: 10px;
    }
    
    .contact-stat-num {
        font-size: 1.3rem;
    }
    
    .contact-stat p {
        font-size: 0.55rem;
    }
    
    .footer-logo-img {
        height: 30px;
    }
    
    .goal-card {
        padding: 20px 15px;
    }
    
    .process-card {
        padding: 20px 15px;
    }
    
    .service-hero h1 {
        font-size: 1.3rem;
    }
}

/* ========================================
   TEAM PAGE
   ======================================== */

.team-section {
    padding: 100px 0 80px;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.02) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.015) 0%, transparent 40%);
}

.team-category {
    margin-bottom: 70px;
}

.team-category:last-of-type {
    margin-bottom: 50px;
}

@keyframes titleShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes titleUnderlineGlow {
    0%, 100% { opacity: 0.5; width: 50px; }
    50% { opacity: 1; width: 90px; }
}

@keyframes titleFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.team-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 22px;
    letter-spacing: 1px;
    /* Animated gradient text */
    background: linear-gradient(
        90deg,
        rgba(120, 120, 135, 0.7) 0%,
        rgba(170, 170, 185, 1) 25%,
        rgba(210, 210, 220, 1) 50%,
        rgba(170, 170, 185, 1) 75%,
        rgba(120, 120, 135, 0.7) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShimmer 6s ease-in-out infinite, titleFadeUp 0.8s ease-out both;
    text-shadow: none;
}

.team-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 215, 0.8), transparent);
    border-radius: 2px;
    animation: titleUnderlineGlow 3s ease-in-out infinite;
}

.team-category-title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: radial-gradient(ellipse, rgba(200, 200, 220, 0.15) 0%, transparent 70%);
    filter: blur(4px);
    pointer-events: none;
}

.team-category-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-grid-collab {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 35px 28px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    opacity: 1;
    transition: opacity 0.4s ease;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.team-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.team-card-avatar {
    margin-bottom: 20px;
}

.team-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

.team-avatar-placeholder svg {
    width: 50px;
    height: 50px;
}

.team-card:hover .team-avatar-placeholder {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.5);
}

/* Photo override - when you add real photos */
.team-card-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.06), 0 0 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.team-card:hover .team-card-avatar img {
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.07);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1), 0 0 70px rgba(0, 0, 0, 0.4);
}

.team-avatar-org {
    border-radius: 12px;
    width: 80px;
    height: 80px;
}

.team-avatar-org svg {
    width: 40px;
    height: 40px;
}

.collab-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.team-card:hover .collab-logo {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.collab-logo-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.collab-logo-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.team-card:hover .collab-logo-wrap {
    border-color: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

/* Collaborators Section - Prominent */
.collab-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.collab-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 220, 0.4), transparent);
}

.collab-header {
    text-align: center;
    margin-bottom: 50px;
}

.collab-badge {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid rgba(200, 200, 220, 0.35);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(210, 210, 225, 0.9);
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(200, 200, 220, 0.08), rgba(180, 180, 200, 0.04));
    box-shadow: 0 0 20px rgba(200, 200, 220, 0.08), inset 0 0 12px rgba(200, 200, 220, 0.04);
    animation: titleFadeUp 0.6s ease-out both;
    position: relative;
}

.collab-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(200, 200, 220, 0.15), transparent 60%, rgba(200, 200, 220, 0.1));
    z-index: -1;
    opacity: 0.6;
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.collab-card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.collab-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 50%, rgba(255,255,255,0.04));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.collab-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.collab-card:hover::before {
    opacity: 1;
}

.collab-card-logo {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.collab-card-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.collab-card-content {
    position: relative;
    z-index: 1;
}

.collab-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.collab-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.collab-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .collab-section {
        padding: 40px 20px;
    }
    
    .collab-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collab-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    
    .collab-card-logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .collab-section {
        padding: 30px 16px;
    }
    
    .collab-card {
        padding: 24px 18px;
    }
    
    .collab-card-logo {
        width: 85px;
        height: 85px;
    }
    
    .collab-card-content h3 {
        font-size: 1.05rem;
    }
}

.team-card-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}

.team-social-link svg {
    width: 16px;
    height: 16px;
}

.team-social-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Join CTA */
.team-cta {
    text-align: center;
    padding: 70px 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.team-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.team-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 18px;
    background: linear-gradient(
        90deg,
        rgba(120, 120, 135, 0.7) 0%,
        rgba(170, 170, 185, 1) 25%,
        rgba(210, 210, 220, 1) 50%,
        rgba(170, 170, 185, 1) 75%,
        rgba(120, 120, 135, 0.7) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShimmer 6s ease-in-out infinite;
}

.team-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.team-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #2a2a2e, #1e1e22);
    color: rgba(210, 210, 220, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-cta-btn:hover {
    background: linear-gradient(135deg, #333338, #28282c);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(230, 230, 240, 1);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Team responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

@media (max-width: 768px) {
    .team-section {
        padding: 70px 0 60px;
    }

    .team-category {
        margin-bottom: 60px;
    }

    .team-category-title {
        font-size: 2.6rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid-collab {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .team-card {
        padding: 30px 24px 28px;
    }

    .team-card-avatar img {
        width: 120px;
        height: 120px;
    }

    .team-cta {
        padding: 40px 24px;
    }

    .team-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 50px 0 40px;
    }

    .team-category-title {
        font-size: 2rem;
    }

    .team-category-desc {
        font-size: 0.95rem;
    }

    .team-card {
        padding: 25px 20px;
    }

    .team-avatar-placeholder {
        width: 80px;
        height: 80px;
    }

    .team-avatar-placeholder svg {
        width: 40px;
        height: 40px;
    }

    .team-card-info h3 {
        font-size: 1.1rem;
    }

    .team-cta-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */

/* Toggle Button */
.cb-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.cb-toggle:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.cb-toggle svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.cb-icon-close {
    display: none;
}

.cb-open .cb-toggle .cb-icon-chat {
    display: none;
}

.cb-open .cb-toggle .cb-icon-close {
    display: block;
}

/* Notification Badge */
.cb-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c0c0c0;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cb-badge-show {
    opacity: 1;
    transform: scale(1);
    animation: badgePulse 2s ease-in-out infinite;
}

.cb-open .cb-badge {
    opacity: 0 !important;
    transform: scale(0) !important;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 192, 192, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(192, 192, 192, 0); }
}

/* Chat Window */
.cb-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    border-radius: 20px;
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-open .cb-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.cb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.cb-avatar svg {
    width: 20px;
    height: 20px;
}

.cb-header-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.cb-header-status {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.cb-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8c8;
    box-shadow: 0 0 6px rgba(136, 204, 136, 0.4);
    display: inline-block;
}

.cb-minimize {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cb-minimize:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.cb-minimize svg {
    width: 16px;
    height: 16px;
}

/* Messages Area */
.cb-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
    max-height: 340px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.cb-messages::-webkit-scrollbar {
    width: 4px;
}

.cb-messages::-webkit-scrollbar-track {
    background: transparent;
}

.cb-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

/* Messages */
.cb-msg {
    display: flex;
    animation: msgFadeIn 0.3s ease-out both;
}

.cb-msg-bot {
    justify-content: flex-start;
}

.cb-msg-user {
    justify-content: flex-end;
}

.cb-msg-bubble {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.cb-msg-bubble-bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border-bottom-left-radius: 4px;
}

.cb-msg-bubble-user {
    background: linear-gradient(135deg, rgba(180, 180, 195, 0.15), rgba(140, 140, 155, 0.1));
    border: 1px solid rgba(180, 180, 195, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-bottom-right-radius: 4px;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Options buttons */
.cb-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 4px;
    animation: msgFadeIn 0.3s ease-out both;
}

.cb-option-btn {
    padding: 9px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cb-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* Input Area */
.cb-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.cb-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 11px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.cb-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cb-input:focus {
    border-color: rgba(255, 255, 255, 0.16);
}

.cb-input-error {
    animation: cb-shake 0.4s ease;
    border-color: rgba(255, 80, 80, 0.5) !important;
}

@keyframes cb-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.cb-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cb-send svg {
    width: 18px;
    height: 18px;
}

.cb-send:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cb-window {
        right: 12px;
        left: 12px;
        bottom: 90px;
        width: auto;
        max-height: 70vh;
    }

    .cb-toggle {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }

    .cb-messages {
        min-height: 220px;
        max-height: 50vh;
    }
}

/* ========================================
   IDEA PORTAL
   ======================================== */

/* Force dark theme for Ideas page */
body.ideas-page {
    background: #f5f5f7;
    color: #1d1d1f;
}

/* ---- Community Intro Section ---- */
.ideas-intro {
    background: linear-gradient(180deg, #2a2a30 0%, #28282e 50%, #252529 100%);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.ideas-intro-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 20% 20%, rgba(140,140,200,0.04), transparent),
        radial-gradient(ellipse 600px 400px at 80% 80%, rgba(100,100,160,0.03), transparent);
    pointer-events: none;
}

.ideas-intro-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 65%);
}

.ideas-intro .container {
    position: relative;
    z-index: 1;
}

/* Header */
.ideas-intro-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.ideas-intro-badge {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 30px;
    background: rgba(160,160,200,0.08);
    border: 1px solid rgba(160,160,200,0.15);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(180,180,210,0.8);
    margin-bottom: 28px;
    animation: introFadeUp 0.8s ease-out both;
}

.ideas-intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(220,220,235,1), rgba(160,160,180,0.9), rgba(220,220,235,1));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: introFadeUp 0.8s 0.15s ease-out both, introShimmer 6s ease-in-out infinite;
}

.ideas-intro-subtitle {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    animation: introFadeUp 0.8s 0.3s ease-out both;
}

@keyframes introFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes introShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Feature Cards Grid */
.ideas-intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}

.ideas-intro-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.ideas-intro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(180,180,220,0.25), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ideas-intro-card:hover::before {
    opacity: 1;
}

.ideas-intro-card:hover {
    transform: translateY(-6px);
    border-color: rgba(180,180,220,0.15);
    box-shadow: 0 16px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(180,180,220,0.04);
    background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

/* Staggered entrance animations */
.ideas-intro-card-1 { animation: introCardIn 0.7s 0.3s ease-out both; }
.ideas-intro-card-2 { animation: introCardIn 0.7s 0.45s ease-out both; }
.ideas-intro-card-3 { animation: introCardIn 0.7s 0.6s ease-out both; }
.ideas-intro-card-4 { animation: introCardIn 0.7s 0.75s ease-out both; }

@keyframes introCardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ideas-intro-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(160,160,200,0.12), rgba(120,120,160,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: rgba(200,200,220,0.8);
    transition: all 0.4s ease;
}

.ideas-intro-card-icon svg {
    width: 24px;
    height: 24px;
}

.ideas-intro-card:hover .ideas-intro-card-icon {
    background: linear-gradient(135deg, rgba(160,160,200,0.18), rgba(120,120,160,0.08));
    box-shadow: 0 0 20px rgba(160,160,200,0.08);
    transform: scale(1.05);
}

.ideas-intro-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.ideas-intro-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

.ideas-intro-card-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
}

.ideas-intro-card:hover .ideas-intro-card-number {
    color: rgba(255,255,255,0.06);
}

/* Stats row */
.ideas-intro-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: introFadeUp 0.8s 0.9s ease-out both;
}

.ideas-intro-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ideas-intro-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(100,200,150,0.08);
    border: 1px solid rgba(100,200,150,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(120,210,160,0.8);
    flex-shrink: 0;
}

.ideas-intro-stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* CTA */
.ideas-intro-cta {
    text-align: center;
    animation: introFadeUp 0.8s 1.1s ease-out both;
}

.ideas-intro-cta p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.ideas-intro-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #35354a, #2a2a3e);
    border: 1px solid rgba(160,160,200,0.2);
    border-radius: 14px;
    color: rgba(220,220,235,0.95);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.ideas-intro-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,200,220,0.06), transparent);
    transition: left 0.6s ease;
}

.ideas-intro-cta-btn:hover::before {
    left: 100%;
}

.ideas-intro-cta-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(160,160,200,0.35);
    box-shadow: 0 10px 36px rgba(0,0,0,0.3), 0 0 20px rgba(160,160,200,0.05);
}

.ideas-intro-cta-btn svg {
    transition: transform 0.3s ease;
}

.ideas-intro-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Intro Responsive */
@media (max-width: 1024px) {
    .ideas-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ideas-intro {
        padding: 70px 0 60px;
    }

    .ideas-intro-title {
        font-size: 2.2rem;
    }

    .ideas-intro-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ideas-intro-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .ideas-intro-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .ideas-intro-title {
        font-size: 1.8rem;
    }

    .ideas-intro-card {
        padding: 28px 22px;
    }
}

/* Auth Gate */
.ideas-auth-gate {
    padding: 120px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #f0f2f5 0%, #e8eaef 50%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

.ideas-auth-gate::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 62, 80, 0.04), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-card {
    max-width: 380px;
    margin: 0 auto;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    position: relative;
    box-shadow: none;
}

.auth-card::before {
    display: none;
}

.auth-card::after {
    display: none;
}

.auth-icon {
    display: none;
}

@keyframes authIconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 1; }
}

.auth-icon svg {
    width: 28px;
    height: 28px;
}

.auth-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-desc {
    color: #777777;
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

.auth-form {
    text-align: left;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.auth-input-group input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #d0d0d5;
    border-radius: 0;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.auth-input-group input::placeholder {
    color: #aaaaaa;
}

.auth-input-group input:focus {
    border-bottom-color: #2d3e50;
    background: transparent;
    box-shadow: none;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.auth-btn-primary {
    background: #2d3e50;
    color: #ffffff;
    border: none;
}

.auth-btn-primary:hover {
    background: #3a4f63;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 62, 80, 0.2);
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: #d0d0d5;
}

.auth-divider span {
    background: linear-gradient(160deg, #f0f2f5, #e8eaef);
    padding: 0 16px;
    position: relative;
    color: #999999;
    font-size: 0.82rem;
}

.auth-btn-google {
    background: #ffffff;
    color: #333333;
    border: 1px solid #d0d0d5;
}

.auth-btn-google:hover {
    background: #ffffff;
    border-color: #2d3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-toggle {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    color: #777777;
}

.auth-toggle a {
    color: #2d3e50;
    text-decoration: none;
    font-weight: 600;
}

.auth-toggle a:hover {
    color: rgba(220, 220, 235, 1);
}

.auth-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(220, 80, 80, 0.1);
    border: 1px solid rgba(220, 80, 80, 0.2);
    border-radius: 8px;
    color: rgba(240, 140, 140, 0.9);
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

/* User bar */
.ideas-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    z-index: 2;
}

.ideas-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ideas-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8e8f0, #d8d8e0);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #555;
}

.ideas-user-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.ideas-logout-btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ideas-logout-btn:hover {
    background: #f0f0f2;
    color: #333;
}

/* Ideas Section */
.ideas-section {
    padding: 80px 0 60px;
    min-height: 60vh;
    background: linear-gradient(180deg, #f5f5f7, #eeeef0 50%, #e8e8ec 100%);
    position: relative;
}

.ideas-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 700px 500px at 15% 20%, rgba(100,100,180,0.04), transparent),
        radial-gradient(ellipse 600px 400px at 85% 80%, rgba(80,80,150,0.03), transparent);
    pointer-events: none;
}

/* Toolbar */
.ideas-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 22px 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: relative;
}

.ideas-toolbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
    border-radius: 18px 18px 0 0;
}

.ideas-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.ideas-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.ideas-search {
    width: 100%;
    padding: 11px 16px 11px 40px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #1d1d1f;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.ideas-search::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.ideas-search:focus {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.ideas-filters {
    display: flex;
    gap: 10px;
}

.ideas-select {
    padding: 11px 14px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,0.35)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.ideas-select option {
    background: #fff;
    color: #333;
}

.ideas-new-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #2d2d3a, #1a1a28);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.ideas-new-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,200,220,0.06), transparent);
    transition: left 0.5s ease;
}

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

.ideas-new-btn svg {
    width: 16px;
    height: 16px;
}

.ideas-new-btn:hover {
    background: linear-gradient(135deg, #3a3a4a, #28283a);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

/* New Idea Form */
.idea-form-wrap {
    margin-bottom: 28px;
    animation: msgFadeIn 0.3s ease-out both;
}

.idea-form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
}

.idea-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
    border-radius: 18px 18px 0 0;
}

.idea-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.idea-form-group {
    margin-bottom: 18px;
}

.idea-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.idea-form-group input,
.idea-form-group textarea,
.idea-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #1d1d1f;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.idea-form-group input::placeholder,
.idea-form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.idea-form-group input:focus,
.idea-form-group textarea:focus {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.idea-form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,0.35)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.idea-form-group select option {
    background: #fff;
    color: #333;
}

.idea-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.ideas-cancel-btn {
    padding: 11px 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    border-radius: 10px;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ideas-cancel-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
    background: #f5f5f7;
}

.ideas-submit-btn {
    padding: 11px 28px;
    background: linear-gradient(135deg, #2d2d3a, #1a1a28);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ideas-submit-btn:hover {
    background: linear-gradient(135deg, #3a3a4a, #28283a);
    border-color: rgba(0, 0, 0, 0.25);
}

/* Ideas List */
.ideas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ideas-loading {
    text-align: center;
    padding: 60px 0;
    color: #999;
}

.ideas-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-top-color: #555;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ideas-empty {
    text-align: center;
    padding: 100px 0;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px dashed rgba(0,0,0,0.1);
    border-radius: 20px;
    margin-top: 20px;
}

.ideas-empty svg {
    opacity: 0.4;
    color: #888;
}

.ideas-empty p {
    font-size: 1.05rem;
    font-weight: 500;
}

/* Idea Card */
.idea-card {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: msgFadeIn 0.3s ease-out both;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.idea-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
}

.idea-card:hover {
    border-color: rgba(0, 0, 0, 0.14);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Vote Column */
.idea-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    gap: 4px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 64px;
    background: #fafafa;
}

.idea-vote-btn {
    width: 34px;
    height: 30px;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.idea-vote-btn svg {
    width: 18px;
    height: 18px;
}

.idea-vote-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    transform: scale(1.15);
}

.idea-vote-btn.voted-up {
    color: #2ea86f;
}

.idea-vote-btn.voted-down {
    color: #d64545;
}

.idea-score {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1d1d1f;
    min-width: 24px;
    text-align: center;
}

/* Idea Content */
.idea-content {
    flex: 1;
    padding: 20px 24px;
}

.idea-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.idea-category-tag {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #555;
}

.idea-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-new {
    background: rgba(50, 120, 220, 0.08);
    color: #3278dc;
    border: 1px solid rgba(50, 120, 220, 0.15);
}

.status-under-review {
    background: rgba(200, 160, 40, 0.08);
    color: #b8920a;
    border: 1px solid rgba(200, 160, 40, 0.15);
}

.status-planned {
    background: rgba(40, 170, 100, 0.08);
    color: #1a9a5a;
    border: 1px solid rgba(40, 170, 100, 0.15);
}

.status-done {
    background: rgba(120, 120, 140, 0.08);
    color: #777;
    border: 1px solid rgba(120, 120, 140, 0.15);
}

.idea-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    line-height: 1.4;
}

.idea-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 14px;
}

.idea-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: #999;
}

.idea-author {
    font-weight: 600;
    color: #555;
}

.idea-comments-count {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* Detail Modal */
.idea-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.idea-modal {
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    animation: msgFadeIn 0.25s ease-out both;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.idea-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f5f5f7;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.idea-modal-close svg {
    width: 16px;
    height: 16px;
}

.idea-modal-close:hover {
    background: #eee;
    color: #333;
}

.idea-modal-content {
    padding: 36px 32px;
}

.modal-idea-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1d1d1f;
    margin: 14px 0 12px;
    line-height: 1.35;
}

.modal-idea-meta {
    display: flex;
    gap: 20px;
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-idea-body p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Comments */
.modal-comments h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    max-height: 250px;
    overflow-y: auto;
}

.no-comments {
    color: #999;
    font-size: 0.88rem;
    text-align: center;
    padding: 20px 0;
}

.comment-item {
    padding: 14px 16px;
    background: #f8f8fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

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

.comment-author {
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
}

.comment-date {
    font-size: 0.75rem;
    color: #aaa;
}

.comment-text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.55;
}

.modal-comment-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.modal-comment-form textarea {
    flex: 1;
    padding: 12px 16px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #1d1d1f;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    resize: none;
    transition: border-color 0.2s ease;
}

.modal-comment-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.modal-comment-form textarea:focus {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.modal-comment-form .ideas-submit-btn {
    white-space: nowrap;
    align-self: flex-end;
}

/* Idea Portal Responsive */

/* Decorative Elements */
.ideas-decor {
    display: none;
}

.ideas-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.ideas-orb-1 {
    width: 350px; height: 350px;
    top: -80px; right: -60px;
    background: radial-gradient(circle, rgba(100,100,200,0.06), transparent 70%);
    animation: orbFloat1 15s ease-in-out infinite;
}

.ideas-orb-2 {
    width: 300px; height: 300px;
    bottom: 10%; left: -80px;
    background: radial-gradient(circle, rgba(80,80,180,0.05), transparent 70%);
    animation: orbFloat2 18s ease-in-out infinite;
}

.ideas-orb-3 {
    width: 200px; height: 200px;
    top: 40%; right: 15%;
    background: radial-gradient(circle, rgba(120,120,200,0.04), transparent 70%);
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -15px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, -20px); }
}

.ideas-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.ideas-auth-gate > .container,
.ideas-section > .container {
    position: relative;
    z-index: 1;
}

/* =============================================
   PENDING APPROVAL SCREEN
   ============================================= */
.ideas-pending-gate,
.ideas-rejected-gate {
    position: relative;
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.pending-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 44px 40px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

/* Status bar */
.pending-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 100px;
    margin-bottom: 28px;
}

.pending-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.pending-status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rejected-status {
    background: #fef2f2;
    border-color: #fecaca;
}

.rejected-status .pending-status-dot {
    background: #ef4444;
    animation: none;
}

.rejected-status .pending-status-text {
    color: #991b1b;
}

.pending-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pending-desc {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.pending-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    margin-bottom: 28px;
    text-align: left;
}

.pending-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.pending-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pending-user-name {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.pending-user-email {
    color: var(--gray);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pending-actions {
    margin-top: 4px;
}

.pending-signout-btn {
    width: 100%;
    padding: 12px 24px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pending-signout-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.rejected-card h2 {
    color: #dc2626;
}

/* =============================================
   ADMIN BUTTON
   ============================================= */
.ideas-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ideas-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ideas-admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-panel-section {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    padding: 0;
    display: none;
}

.admin-panel-section > .container {
    max-width: 900px;
    margin: 80px auto 40px;
    background: #f5f5f7;
    border-radius: 20px;
    padding: 36px 32px 48px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.admin-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-panel-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.admin-panel-subtitle {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.admin-panel-header .ideas-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-tabs {
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.admin-tab {
    flex: 1;
    padding: 10px 18px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.admin-tab:hover {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.03);
}

.admin-tab.active {
    background: #1d1d1f;
    color: #fff;
}

.admin-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ff3b30;
    color: #fff;
}

.admin-tab.active .admin-tab-badge {
    background: #fff;
    color: #1d1d1f;
}

.admin-users-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    transition: box-shadow 0.2s ease;
}

.admin-user-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.admin-user-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.admin-user-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.admin-user-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-email {
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-date {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.35);
}

.admin-user-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
}

.admin-role-pending {
    background: rgba(255, 200, 50, 0.12);
    color: #b8860b;
}

.admin-role-approved {
    background: rgba(52, 199, 89, 0.12);
    color: #1b7a3d;
}

.admin-role-rejected {
    background: rgba(255, 59, 48, 0.1);
    color: #cc2d25;
}

.admin-role-admin {
    background: rgba(102, 126, 234, 0.12);
    color: #4a5ec0;
}

.admin-actions {
    display: flex;
    gap: 6px;
}

.admin-action-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-approve-btn {
    background: #34c759;
    color: #fff;
}

.admin-approve-btn:hover {
    background: #2db84e;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.4);
}

.admin-reject-btn {
    background: #ff3b30;
    color: #fff;
}

.admin-reject-btn:hover {
    background: #e6352b;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
}

.admin-promote-btn {
    background: #667eea;
    color: #fff;
}

.admin-promote-btn:hover {
    background: #5a70d6;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.admin-demote-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

.admin-demote-btn:hover {
    background: rgba(0, 0, 0, 0.14);
}

.admin-self-label {
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.35);
    font-style: italic;
}

.admin-empty {
    text-align: center;
    padding: 48px 20px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.95rem;
}

.admin-loading {
    text-align: center;
    padding: 48px 20px;
    color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .ideas-toolbar {
        flex-direction: column;
        gap: 12px;
    }

    .ideas-search-wrap {
        width: 100%;
    }

    .ideas-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .ideas-select {
        flex: 1;
        min-width: 0;
    }

    .ideas-new-btn {
        width: 100%;
        justify-content: center;
    }

    .idea-card {
        flex-direction: column;
    }

    .idea-vote-col {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding: 10px 16px;
        gap: 12px;
    }

    .auth-card {
        padding: 36px 24px;
    }

    .idea-modal {
        max-height: 90vh;
    }

    .idea-modal-content {
        padding: 28px 20px;
    }

    .modal-comment-form {
        flex-direction: column;
    }

    .modal-idea-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .admin-user-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-user-right {
        width: 100%;
        justify-content: space-between;
    }

    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-tab {
        flex: none;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .ideas-user-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .admin-panel-header {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ideas-auth-gate {
        padding: 70px 0 50px;
    }

    .auth-card h2 {
        font-size: 1.5rem;
    }

    .ideas-filters {
        flex-direction: column;
    }

    .idea-content {
        padding: 16px;
    }
}

/* =============================================
   PREMIUM ANIMATIONS
   ============================================= */

/* 1. Magnetic Cursor Effect - handled in JS, needs smooth transition */
.magnetic-hover {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* 2. Text Reveal on Scroll */
.text-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(20deg);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.text-reveal-word.revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* 3. Morphing Blob */
.morph-blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.morph-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.06;
    filter: blur(60px);
    animation: morphBlob 20s ease-in-out infinite;
}

.morph-blob-1 {
    background: linear-gradient(135deg, #2d3e50, #4a6fa5);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.morph-blob-2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    bottom: -200px;
    left: -150px;
    width: 400px;
    height: 400px;
    animation-delay: -7s;
    animation-duration: 25s;
}

@keyframes morphBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: translate(30px, -50px) rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(-20px, 20px) rotate(180deg) scale(0.95);
    }
    75% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(20px, -30px) rotate(270deg) scale(1.05);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* 4. Parallax Depth Layers - handled in JS */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* 5. Staggered Card Entrance */
.stagger-card {
    opacity: 0;
    transform: translateY(60px) rotate(2deg);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.stagger-card.stagger-visible {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* 6. Number Counter Roll */
.counter-roll {
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    vertical-align: bottom;
}

.counter-roll-inner {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.counter-roll-digit {
    height: 1.2em;
    line-height: 1.2em;
}

/* 7. Ink Spread Effect */
.ink-spread {
    position: relative;
    overflow: hidden;
}

.ink-spread::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(45, 62, 80, 0.03);
    transform: translate(-50%, -50%);
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                height 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 0;
}

.ink-spread.ink-active::after {
    width: 200%;
    height: 200%;
}

/* 8. Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

@keyframes rippleAnim {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll progress bar enhancement */
.scroll-progress {
    transition: width 0.1s linear;
}

/* Hidden nav items (temporary) */
.nav-links li:has(a[href="team.html"]),
.nav-links li:has(a[href="../team.html"]) {
    display: none;
}