/* ═══════════════════════════════════════════════════════════════
   ORBIS AJANS — Premium Design System
   Creative Agency Redesign — 2025
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─── */
:root {
    
    /* Colors - Light Theme */
    --bg: #ffffff;
    --bg-soft: #f7feff;
    --bg-tint: #e8fffc;
    --primary: #009e9a;
    --primary-2: #009e9a;
    --primary-light: #008480;
    --text: #071827;
    --text-muted: #475569;
    --text-soft: #64748b;
    --border: rgba(0, 158, 154, 0.18);
    --shadow: 0 18px 50px rgba(7, 24, 39, 0.08);
    --shadow-hover: 0 24px 70px rgba(0, 158, 154, 0.16);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 158, 154, 0.18);
    --glass-border-hover: rgba(0, 158, 154, 0.4);


    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-hero: clamp(42px, 6vw, 76px);
    --fs-xl: clamp(32px, 4vw, 52px);
    --fs-lg: clamp(26px, 3vw, 40px);
    --fs-md: clamp(20px, 2.5vw, 28px);
    --fs-body: 16px;
    --fs-sm: 14px;
    --fs-xs: 12px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;
    --space-3xl: 140px;
    --section-padding: clamp(56px, 8vw, 100px) 0;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.7s;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(0, 229, 255, 0.25);
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    background-color: var(--bg); color: var(--text);
    background-image:
        radial-gradient(ellipse 800px 600px at 15% 50%, rgba(30, 214, 201, 0.04), transparent),
        radial-gradient(ellipse 600px 800px at 85% 20%, rgba(0, 136, 255, 0.03), transparent);
    color: var(--text-muted);
    overflow-x: clip;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
[id] { scroll-margin-top: 90px !important; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* Selection */
::selection {
    background: rgba(30, 214, 201, 0.3);
    color: var(--text);
}

/* ─── 3. SCROLL PROGRESS BAR ─── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-2), var(--primary-light));
    z-index: 10001;
    transition: none;
    box-shadow: 0 0 10px rgba(0, 158, 154, 0.3);
}

/* ─── 4. GLOBAL MOUSE GLOW ─── */
.global-mouse-glow {
    position: fixed;
    top: 0; left: 0;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(30, 214, 201, 0.035) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ─── 5. LOADING SCREEN ─── */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.6s var(--ease-out);
}
#loader.fade-out { opacity: 0; pointer-events: none; }

.loader-orbit {
    width: 60px; height: 60px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}
.loader-orbit::before {
    content: ''; position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 2px solid transparent;
    border-bottom: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* ─── 6. TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.heading-hero {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.heading-xl { font-size: var(--fs-xl); }
.heading-lg { font-size: var(--fs-lg); }
.heading-md { font-size: var(--fs-md); font-weight: 600; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    padding-bottom: 0.1em;
    padding-top: 0.1em;
}

.text-turquoise { color: var(--primary-2); }
.text-gray { color: var(--text-muted); }
.text-dark { color: var(--text); }
.text-small { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }

.label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-2);
    border: 1px solid rgba(30, 214, 201, 0.2);
    border-radius: var(--radius-full);
    background: rgba(30, 214, 201, 0.05);
}

/* ─── 7. HEADER ─── */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 4vw, 60px);
    transition: all var(--duration-normal) var(--ease-out);
}
header.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 4px 30px rgba(7, 24, 39, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1001;
}
.logo img {
    height: 60px;
    width: auto;
    transition: height var(--duration-normal) var(--ease-out);
}
header.scrolled .logo img { height: 46px; }

/* Main Nav */
nav ul {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
}
nav ul li { position: relative; }
nav ul li a {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: color var(--duration-fast) ease;
    padding: 8px 0;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-2);
    transition: width var(--duration-normal) var(--ease-out);
    border-radius: 1px;
}
nav ul li a:hover { color: var(--text); }
nav ul li a:hover::after { width: 100%; }
nav ul li a.active { color: var(--primary-2); }
nav ul li a.active::after { width: 100%; }

/* Header CTA */
.header-cta {
    padding: 10px 24px;
    font-size: var(--fs-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── MEGA MENU ─── */
.has-mega-menu { position: static !important; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px clamp(20px, 4vw, 60px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 20px 60px rgba(7, 24, 39, 0.08);
}
.has-mega-menu:hover .mega-menu,
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) ease;
    text-decoration: none;
}
.mega-menu__item:hover {
    background: rgba(30, 214, 201, 0.05);
}
.mega-menu__icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(30, 214, 201, 0.08);
    border: 1px solid rgba(30, 214, 201, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mega-menu__icon svg {
    width: 20px; height: 20px;
    stroke: var(--primary-2);
    fill: none;
    stroke-width: 2;
}
.mega-menu__text h4 {
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}
.mega-menu__text p {
    font-size: var(--fs-xs);
    color: var(--text-soft);
    line-height: 1.5;
}

/* ─── HAMBURGER ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--bg);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(2, 11, 22, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out);
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
    padding: 0 30px;
}
.mobile-menu__links a {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 18px 0;
    transition: color var(--duration-fast) ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    width: 100%;
    text-align: center;
}
.mobile-menu__links a:hover,
.mobile-menu__links a.active {
    color: var(--primary-2);
}

/* Mobile accordion */
.mobile-accordion { width: 100%; text-align: center; }
.mobile-accordion__toggle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 18px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.mobile-accordion__toggle svg {
    width: 18px; height: 18px;
    transition: transform var(--duration-normal) var(--ease-out);
}
.mobile-accordion.open .mobile-accordion__toggle svg {
    transform: rotate(180deg);
}
.mobile-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out);
}
.mobile-accordion.open .mobile-accordion__content {
    max-height: 600px;
}
.mobile-accordion__content a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-soft);
    padding: 12px 0;
}
.mobile-accordion__content a:hover {
    color: var(--primary-2);
}

/* ─── 8. BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-2);
    color: var(--bg);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
    border: 1px solid var(--primary-2);
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 4px 20px rgba(30, 214, 201, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(30, 214, 201, 0.35);
    background: var(--primary-light);
    color: var(--bg);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-muted);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--fs-body);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all var(--duration-normal) var(--ease-out);
}
.btn-outline:hover {
    transform: translateY(-3px);
    border-color: var(--primary-2);
    color: var(--primary-2);
    box-shadow: var(--shadow-glow);
    background: rgba(30, 214, 201, 0.04);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-2);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: all var(--duration-fast) ease;
    padding: 8px 0;
}
.btn-ghost:hover {
    gap: 10px;
    color: var(--primary-light);
}
.btn-ghost svg {
    width: 16px; height: 16px;
    transition: transform var(--duration-fast) ease;
}
.btn-ghost:hover svg { transform: translateX(3px); }

/* ─── 9. HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px clamp(20px, 5vw, 80px) 80px;
    overflow: hidden;
    text-align: center;
}
.hero-bg-glow {
    position: absolute;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(30, 214, 201, 0.12) 0%, transparent 60%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-content h1 {
    margin-bottom: 24px;
}
.hero-content .hero-subtitle {
    font-size: clamp(17px, 1.8vw, 20px);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Typewriter cursor */
.typewrite .wrap {
    color: var(--primary-2);
    border-right: 3px solid var(--primary-2);
    padding-right: 4px;
    animation: blink-cursor 0.8s infinite;
}
@keyframes blink-cursor {
    0%, 100% { border-color: var(--primary-2); }
    50% { border-color: transparent; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: var(--fs-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}
.scroll-indicator__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-2), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ─── 10. SECTIONS ─── */
.section {
    padding: var(--section-padding);
    position: relative;
}
.section--dark { background: var(--bg-soft); }
.section--gradient {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
}
.section__header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto var(--space-xl);
}
.section__header h2 { margin-bottom: var(--space-sm); }
.section__header p {
    color: var(--text-soft);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.8;
}
.section__header .label { margin-bottom: var(--space-md); }

/* Section divider line */
.section__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-2), transparent);
    border-radius: 2px;
    margin: 0 auto var(--space-lg);
}

/* ─── 11. CARDS ─── */
.card {
    background: #ffffff;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-20deg);
    transition: var(--duration-slow);
    pointer-events: none;
}
.card:hover::before { left: 150%; }
.card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
}

/* Service Card */
.card-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--space-md);
}
.card-service__icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: rgba(30, 214, 201, 0.06);
    border: 1px solid rgba(30, 214, 201, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all var(--duration-normal) var(--ease-out);
}
.card:hover .card-service__icon {
    background: rgba(30, 214, 201, 0.12);
    border-color: rgba(30, 214, 201, 0.3);
    box-shadow: 0 0 20px rgba(30, 214, 201, 0.15);
}
.card-service__icon svg {
    width: 20px; height: 20px;
    stroke: var(--primary-2);
    fill: none;
    stroke-width: 2;
}
.card-service h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.card-service p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

/* Pricing Card */
.card-pricing {
    text-align: center;
    padding: 24px 20px;
    position: relative;
    min-width: 260px;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-pricing .btn-primary {
    margin-top: auto;
}
.card-pricing.popular {
    border-color: rgba(30, 214, 201, 0.3);
    box-shadow: var(--shadow-glow);
}
.card-pricing.popular::after {
    content: 'Popüler';
    position: absolute;
    top: 12px; right: 12px;
    background: var(--primary-2);
    color: var(--bg);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.card-pricing__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.card-pricing__price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1;
}
.card-pricing__price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-soft);
}
.card-pricing__features {
    text-align: left;
    margin-bottom: 16px;
}
.card-pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.card-pricing__features li:last-child { border-bottom: none; }
.card-pricing__features li svg {
    width: 16px; height: 16px;
    stroke: var(--primary-2);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Blog Card — Editorial */
.card-blog {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
}
.card-blog__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.card-blog__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.card-blog:hover .card-blog__image img { transform: scale(1.06); }
.card-blog__category {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(2, 11, 22, 0.7);
    backdrop-filter: blur(10px);
    color: var(--primary-2);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
}
.card-blog__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-blog__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 10px;
}
.card-blog__meta span { display: flex; align-items: center; gap: 4px; }
.card-blog h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
    transition: color var(--duration-fast) ease;
}
.card-blog:hover h3 { color: var(--primary-light); }
.card-blog p {
    color: var(--text-soft);
    font-size: var(--fs-sm);
    line-height: 1.6;
    flex-grow: 1;
}

/* Testimonial Card */
.card-testimonial {
    padding: var(--space-lg);
}
.card-testimonial__stars {
    display: flex;
    gap: 3px;
    margin-bottom: var(--space-sm);
}
.card-testimonial__stars svg {
    width: 16px; height: 16px;
    fill: var(--primary-2);
    stroke: none;
}
.card-testimonial__quote {
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-style: italic;
}
.card-testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.card-testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(30, 214, 201, 0.1);
    border: 1px solid rgba(30, 214, 201, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--primary-2);
    overflow: hidden;
}
.card-testimonial__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.card-testimonial__name {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text);
}
.card-testimonial__company {
    font-size: var(--fs-xs);
    color: var(--text-soft);
}

/* ─── 12. STORY SCROLL ─── */
.story-container {
    position: relative;
    padding: 0 clamp(20px, 5vw, 80px);
}
.story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.story-content { position: relative; }
.story-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.story-stage {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out);
    pointer-events: none;
}
.story-stage.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.story-stage h2 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}
.story-stage p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* Story progress */
.story-progress {
    position: absolute;
    left: 10px; /* Give space so active dot shadow isn't cut off */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    padding: 10px; /* Extra padding for shadow/scale */
}
.story-progress__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-soft);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}
.story-progress__dot.active {
    background: var(--primary-2);
    box-shadow: 0 0 12px rgba(0, 158, 154, 0.3);
    transform: scale(1.3);
}

/* Story visual SVG illustrations */
.story-illustration {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    position: absolute;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all var(--duration-slow) var(--ease-out);
}
.story-illustration.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ─── 13. WHY ORBIS (Counter Section) ─── */
/* Neden Biz - Animasyonlu Hikaye Akışı */
.why-story-container {
    position: relative;
    height: 600vh; /* 6 cards */
}
.why-story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(20px, 5vw, 60px);
    background: radial-gradient(circle at center, rgba(0, 158, 154, 0.05) 0%, transparent 60%);
}
.why-story-header {
    position: absolute;
    top: 10vh;
    text-align: center;
    z-index: 10;
}
.why-story-cards {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 450px;
    perspective: 1000px;
    margin-top: 10vh;
}
.why-card {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transform: translateY(100px) scale(0.9) rotateX(-10deg);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}
.why-card.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    z-index: 5;
    pointer-events: auto;
}
.why-card.passed {
    opacity: 0;
    transform: translateY(-100px) scale(0.9) rotateX(10deg);
}
.why-card__inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 158, 154, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), inset 0 0 40px rgba(0, 158, 154, 0.05);
}
.why-card__number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(0, 110, 107, 0.2);
    line-height: 1;
}
.why-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 158, 154, 0.1);
    border: 1px solid rgba(0, 158, 154, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 158, 154, 0.2);
}
.why-card__icon svg {
    width: 40px;
    height: 40px;
}
.why-card__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #333333 0%, #007c79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.why-card__desc {
    font-size: 16px;
    color: #444444;
    line-height: 1.6;
    max-width: 400px;
}
.why-progress {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}
.why-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s linear;
}

/* ─── 14. GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

/* Horizontal Scroll Container */
.scroll-x {
    display: flex;
    overflow-x: auto;
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.scroll-x::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.scroll-x > * {
    flex: 0 0 calc(33.333% - var(--space-lg));
    scroll-snap-align: start;
}
@media (max-width: 992px) {
    .scroll-x > * { flex: 0 0 calc(50% - var(--space-lg)); }
}
@media (max-width: 768px) {
    .scroll-x > * { flex: 0 0 85%; scroll-snap-align: center; }
}

/* Horizontal Scroll Trigger Section */
.horizontal-scroll-wrapper {
    position: relative;
    width: 100%;
}
.horizontal-scroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.horizontal-scroll-container {
    display: flex;
    width: max-content;
    will-change: transform;
    /* transition: transform 0.1s linear; */ /* Optional smooth damping */
}
@media (min-width: 992px) {
    .horizontal-scroll-container .card-service,
    .horizontal-scroll-container .card {
        width: 360px !important;
        flex: 0 0 360px !important;
        margin-right: 24px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 380px !important;
    }
}

/* ─── 15. FORMS ─── */
.form-group {
    margin-bottom: var(--space-md);
}
.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid #D9F7F4;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--fs-body);
    transition: all var(--duration-fast) ease;
    outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 154, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-soft);
}
.form-textarea {
    min-height: 140px;
    resize: vertical;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7F99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-select option {
    background: var(--bg-soft);
    color: var(--text);
}

/* ─── 16. FOOTER ─── */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--glass-border);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
    opacity: 0.4;
}
.footer__top {
    padding: var(--space-xl) clamp(20px, 5vw, 80px);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
}
.footer__brand p {
    color: var(--text-soft);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}
.footer__social {
    display: flex;
    gap: 12px;
}
.footer__social a {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) ease;
}
.footer__social a:hover {
    border-color: var(--primary-2);
    background: rgba(30, 214, 201, 0.08);
}
.footer__social a svg {
    width: 16px; height: 16px;
    stroke: var(--text-soft);
    transition: stroke var(--duration-fast) ease;
}
.footer__social a:hover svg { stroke: var(--primary-2); }

.footer__heading {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    transition: all var(--duration-fast) ease;
}
.footer__links a:hover {
    color: var(--primary-2);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}
.footer__contact-icon {
    width: 18px; height: 18px;
    stroke: var(--primary-2);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer__contact-item p,
.footer__contact-item a {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    line-height: 1.6;
    transition: color var(--duration-fast) ease;
}
.footer__contact-item a:hover { color: var(--primary-2); }

.footer__bottom {
    padding: var(--space-md) clamp(20px, 5vw, 80px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: var(--fs-xs);
    color: var(--text-soft);
}
.footer__bottom a {
    color: var(--primary-2);
    font-weight: 600;
    transition: color var(--duration-fast) ease;
}
.footer__bottom a:hover { color: var(--primary-light); }

/* ─── 17. PAGE HEROES (Inner pages) ─── */
.page-hero {
    padding: 160px clamp(20px, 5vw, 80px) 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero__glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(30, 214, 201, 0.1) 0%, transparent 60%);
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    padding-bottom: 0.1em;
    padding-top: 0.1em;
}
.page-hero p {
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.8;
}

/* ─── 18. SERVICE DETAIL ─── */
.service-content {
    color: var(--text-muted);
    line-height: 1.9;
}
.service-content h2,
.service-content h3 {
    color: var(--text);
    margin: var(--space-lg) 0 var(--space-sm);
}
.service-content p { margin-bottom: var(--space-sm); }
.service-content ul,
.service-content ol {
    margin-bottom: var(--space-md);
    padding-left: 24px;
}
.service-content li {
    margin-bottom: 8px;
    list-style: disc;
    color: var(--text-muted);
}
.service-content strong { color: var(--text); }

/* ─── 19. BLOG DETAIL ─── */
.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 2;
    font-size: 17px;
}
.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--text);
    margin: var(--space-xl) 0 var(--space-sm);
}
.blog-detail-content p { margin-bottom: var(--space-md); }
.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: var(--space-md);
    padding-left: 24px;
}
.blog-detail-content li {
    margin-bottom: 10px;
    list-style: disc;
}
.blog-detail-content img {
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}
.blog-detail-content blockquote {
    border-left: 3px solid var(--primary-2);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-lg) 0;
    background: rgba(30, 214, 201, 0.03);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text);
}

/* ─── 20. 404 PAGE ─── */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.page-404__number {
    font-size: clamp(100px, 20vw, 200px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-2), var(--bg-tint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

/* ─── 21. CTA Section ─── */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 500px; height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(30, 214, 201, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── 22. SCROLL REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ─── 23. FLOATING ANIMATION ─── */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--rotate, 0deg)); }
}
.floating { animation: float 6s ease-in-out infinite; }

/* ─── 24. UTILITIES ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ─── 25. RESPONSIVE ─── */
@media (max-width: 1200px) {
    .mega-menu__grid { grid-template-columns: repeat(3, 1fr); }
    .why-orbis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .global-mouse-glow { display: none !important; }
    .floating { display: none !important; }
    nav { display: none; }
    #hamburger-btn { display: flex !important; }
    .header-cta { display: none; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: repeat(2, 1fr); }
    .hero-content { max-width: 100%; }
    .story-inner { grid-template-columns: 1fr; }
    .story-visual { display: none; }
    .story-sticky { height: auto; position: relative; }
    .story-stage { position: relative; opacity: 1; transform: none; padding: var(--space-lg) 0; border-bottom: 1px solid var(--glass-border); }
    .story-progress { display: none; }
    
    /* Why Story Mobile Fallback */
    .why-story-container.mobile-mode {
        height: auto !important;
        padding: var(--space-xl) clamp(20px, 5vw, 40px);
    }
    .why-story-container.mobile-mode .why-story-sticky {
        position: relative;
        height: auto;
        padding: 0;
        background: none;
    }
    .why-story-container.mobile-mode .why-story-header {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }
    .why-story-container.mobile-mode .why-story-cards {
        height: auto;
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-story-container.mobile-mode .why-card {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
    }
    .why-story-container.mobile-mode .why-progress {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo img { height: 50px; }
    header.scrolled .logo img { height: 40px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .why-orbis { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: var(--space-lg); }
    .hero { min-height: auto; padding-top: 140px; padding-bottom: 60px; }
    .page-hero { padding-top: 130px; padding-bottom: 60px; }
    .section { padding: var(--space-xl) clamp(20px, 5vw, 40px); }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

/* Custom Cursor (Desktop Only) */
@media (min-width: 992px) {
    html.custom-cursor-active * {
        /* Keep native cursor visible */
    }
}

/* ─── 26. REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
    .global-mouse-glow { display: none; }
    .scroll-indicator { display: none; }
}

/* ─── 27. TILT CARD ─── */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 158, 154, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: var(--radius-lg);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: bottom 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
}
.cookie-banner.show {
    bottom: 20px;
    opacity: 1;
}
.cookie-banner__text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    color: #444444;
}
.cookie-banner__btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}
.cookie-banner__btn:hover {
    background: var(--primary-dark);
}
@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 30px;
        max-width: 450px;
    }
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.pricing-tab-btn {
    background: rgba(0, 158, 154, 0.05);
    border: 1px solid rgba(0, 158, 154, 0.2);
    color: var(--text);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pricing-tab-btn:hover {
    background: rgba(0, 158, 154, 0.1);
}
.pricing-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 158, 154, 0.3);
}
.pricing-tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.pricing-tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ─── 28. TEAM SECTION (EKİBİMİZ) ─── */
.team-page-section {
    padding-top: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    position: relative;
    background: var(--bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    border: 1px solid rgba(0, 229, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
}

.team-card__video, .team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-card__video,
.team-card:hover .team-card__img {
    transform: scale(1.05);
}

.team-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-tint) 0%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.4s;
    pointer-events: none;
}

.team-card:hover .team-card__overlay {
    opacity: 0.8;
}

.team-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.9);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.team-card__play-icon i {
    margin-left: 4px;
}

.team-card:hover .team-card__play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Hide play icon if video is playing */
.team-card.is-playing .team-card__play-icon {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0.5) !important;
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.team-card__placeholder svg {
    width: 60px;
    height: 60px;
}

.team-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    z-index: 2;
    pointer-events: none;
}

.team-card__name {
    color: var(--bg);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.team-card__role {
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIX
   Appended 2026-06-16 | Orbis Ajans
   ═══════════════════════════════════════════════════════════════ */

/* ── Global overflow guard ── */
html, body {
    overflow-x: clip;
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .section { padding: 60px 24px; }
    .page-hero { padding: 80px 24px; }
    .heading-xl { font-size: clamp(28px, 5vw, 48px); }
    .heading-lg { font-size: clamp(22px, 4vw, 36px); }
}

/* ── Mobile (max 768px) — extends existing 768 block ── */
@media (max-width: 768px) {
    /* Global spacing */
    .section { padding: 48px 16px; }
    .page-hero {
        padding: 60px 16px 40px;
        min-height: unset;
    }
    .container { padding: 0 16px; }

    /* Typography */
    .heading-xl { font-size: clamp(24px, 7vw, 36px); }
    .heading-lg { font-size: clamp(20px, 5vw, 28px); }
    .heading-md { font-size: clamp(16px, 4vw, 22px); }

    /* Pricing grid */
    .packages-list {
        flex-direction: column;
        align-items: center;
    }
    .packages-list .card-pricing {
        width: 100% !important;
        max-width: 400px !important;
        min-width: unset !important;
    }

    /* Pricing tabs */
    .pricing-tabs { gap: 8px; }
    .pricing-tab-btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Service cards */
    .card-service { padding: 20px; }

    /* Team cards — tighter two-column */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .team-card__media { aspect-ratio: 9 / 16; }

    /* Blog cards */
    .card-blog {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        flex: 1 1 100% !important;
    }

    /* Blog / flex wrappers with inline styles */
    [style*="display: flex"][style*="flex-wrap"] {
        flex-wrap: wrap !important;
    }

    /* Contact form */
    #contact-form .grid-2 { grid-template-columns: 1fr; }

    /* Buttons */
    .btn-primary, .btn-outline, .btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Values / feature boxes */
    .values-wrapper .card {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100%;
    }

    /* Story progress dots */
    .story-progress { left: 6px !important; }

    /* CTA rows — wrap on mobile */
    [style*="display: flex"][style*="gap: 16px"] { flex-wrap: wrap; }

    /* Spacing utility overrides */
    .mb-xl { margin-bottom: 30px !important; }
    .mb-lg { margin-bottom: 20px !important; }
    .mt-xl { margin-top: 30px !important; }
    .mt-lg { margin-top: 20px !important; }

    /* Footer grid already handled above via .footer__top, but ensure gap */
    .footer__top { gap: var(--space-md); }
}

/* ── Small Mobile (max 480px) — extends existing 480 block ── */
@media (max-width: 480px) {
    .section { padding: 36px 12px; }
    .page-hero { padding: 50px 12px 32px; }

    .heading-xl { font-size: clamp(22px, 8vw, 30px); }

    /* Team cards — single column on very small screens */
    .team-grid { grid-template-columns: 1fr; }

    /* Nav links smaller */
    .nav-links a { font-size: 14px; }

    /* Footer columns — already 1fr from 768 block, ensure gap reduction */
    .footer__top { gap: var(--space-sm); }
}

/* ── Extra small (max 375px) ── */
@media (max-width: 375px) {
    .section { padding: 28px 10px; }
    .page-hero { padding: 40px 10px 24px; }
    .heading-xl { font-size: clamp(20px, 9vw, 26px); }
    .container { padding: 0 10px; }
    .pricing-tab-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
    .team-card__name { font-size: 16px; }
    .team-card__role { font-size: 11px; }
}
/* Custom Video Player Overlay */.custom-video-wrapper { position: relative; display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }.custom-video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: default; pointer-events: none; }.custom-play-btn { display: none !important; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0, 158, 154, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; backdrop-filter: blur(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.3s ease; z-index: 10; }.custom-play-btn svg { width: 24px; height: 24px; fill: white; }.custom-video-wrapper.is-playing .custom-play-btn { opacity: 0; }

/* Mteri Yorumlar Dikey Masonry Tasarm */
.testimonial-masonry { column-count: 3; column-gap: 20px; padding-bottom: 120px; margin-bottom: 40px; }
@media (max-width: 992px) { .testimonial-masonry { column-count: 2; } }
@media (max-width: 768px) { .testimonial-masonry { column-count: 1; padding-bottom: 80px; } }
.testimonial-masonry .card-testimonial { break-inside: avoid; margin-bottom: 20px; display: inline-block; width: 100%; border: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(10px); }
.testimonial-masonry .custom-video-wrapper { aspect-ratio: 9/16; max-width: 260px; margin: 0 auto 20px auto; border-radius: 12px; overflow: hidden; }
.testimonial-masonry .custom-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.testimonial-masonry .card-testimonial__author { margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }

/* ==========================================================================
   MOBILE RESPONSIVENESS - V2 (FINAL OVERHAUL)
   Added to fix horizontal overflow, giant boxes, auto-scrolling, etc.
   ========================================================================== */

/* 1. Global Box-Sizing & Overflow Guard */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
    width: 100% !important;
}

img, video, svg, iframe {
    max-width: 100% !important;
    height: auto;
}

/* 2. Fix 100vw elements causing horizontal scroll */
.hero-wrapper, .story-container, .horizontal-scroll-wrapper, .section, .container {
    max-width: 100% !important;
}

/* 3. Mobile specific overrides */
@media (max-width: 1024px) {
    /* Hide Kesfet scroll indicator completely on mobile/tablet */
    .scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Disable Snap Scrolling and Auto-Jumping */
    .scroll-x {
        scroll-snap-type: none !important;
        overflow-x: auto !important;
        padding-bottom: 20px;
    }
    .scroll-x > * {
        scroll-snap-align: none !important;
    }

    /* Reduce Section Paddings */
    .section {
        padding: 50px 15px !important;
    }
    .page-hero {
        padding: 100px 15px 40px !important;
        min-height: auto !important;
    }

    /* Remove 100vh elements that create giant blank spaces */
    [style*="min-height: 100vh"],
    .story-sticky,
    .horizontal-scroll-sticky {
        min-height: auto !important;
        height: auto !important;
    }

    /* Story/Scroll Flow into standard cards */
    .story-inner, .why-story-header {
        position: static !important;
        height: auto !important;
    }
    .story-stage {
        opacity: 1 !important;
        transform: none !important;
        margin-bottom: 30px;
        position: static !important;
    }

    /* Fix Grid Layouts (Services, Pricing, Blog) to 1 Column */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Flex row to column for some containers */
    .flex-row-mobile {
        flex-direction: column !important;
    }

    /* Typography scale down */
    .heading-xl { font-size: clamp(28px, 8vw, 36px) !important; line-height: 1.2 !important; }
    .heading-lg { font-size: clamp(24px, 6vw, 30px) !important; line-height: 1.3 !important; }
    .heading-md { font-size: clamp(20px, 5vw, 24px) !important; line-height: 1.4 !important; }
    p { font-size: 15px !important; line-height: 1.6 !important; }

    /* Team Video Cards */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .team-card {
        width: 85vw !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    /* Pricing Cards */
    .packages-list {
        display: flex !important;
        flex-direction: column !important;
    }
    .packages-list .card-pricing {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Blog Cards */
    .card-blog {
        width: 100% !important;
        max-width: 100% !important;
    }
    .card-blog__image {
        height: 200px !important;
    }

    /* Forms */
    .form-group input, .form-group select, .form-group textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .btn-primary, .btn-outline {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    /* Footer */
    .footer__top {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .footer__col {
        width: 100% !important;
        text-align: center !important;
    }
    .footer-logo {
        margin: 0 auto 15px auto !important;
    }
    .social-links {
        justify-content: center !important;
    }
}

@media (max-width: 430px) {
    .section {
        padding: 40px 10px !important;
    }
    .page-hero {
        padding: 80px 10px 30px !important;
    }
    .heading-xl { font-size: 26px !important; }
    .heading-lg { font-size: 22px !important; }
    .team-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* ==========================================================================
   DESKTOP & MOBILE UI/UX FIXES (FINAL REFINEMENTS)
   ========================================================================== */

/* --- HAMBURGER & MOBILE MENU FIXES --- */
.hamburger span {
    background: var(--primary-2) !important;
}
.mobile-menu {
    background: #ffffff !important;
}
.mobile-menu__links a {
    color: var(--primary-2) !important;
    border-bottom: 1px solid rgba(0, 110, 107, 0.1) !important;
}
.mobile-menu__links a:hover,
.mobile-menu__links a.active {
    color: var(--primary) !important;
}

/* --- TEAM MEMBERS ALIGNMENT (DESKTOP) --- */
.team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
}
.team-grid .team-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 350px;
    min-width: 280px;
}

/* --- LIGHT THEME CARD FIXES (SERVICES & PRICING) --- */
.section--alt .card-service,
.section--alt .card,
.card-pricing {
    background-color: #ffffff !important;
    color: #333333 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}
.section--alt .card-service h3,
.section--alt .card h3,
.card-pricing__title,
.card-pricing__price {
    color: #1a202c !important; /* Dark Title */
}
.section--alt .card-service p,
.section--alt .card p,
.card-pricing__price span,
.card-pricing__features li {
    color: #4a5568 !important; /* Dark Text */
}
.section--alt .card-service .card-service__icon svg,
.card-pricing__features li svg {
    stroke: var(--primary-2) !important;
}

/* --- VIDEO FIXES --- */
video, .custom-video-wrapper video {
    display: block !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 768px) {
    /* 1. Global Box-Sizing & Overflow Guard */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    html, body {
        max-width: 100% !important;
        overflow-x: clip !important;
        width: 100% !important;
    }

    img, video, svg, iframe {
        max-width: 100% !important;
        height: auto;
    }

    .hero-wrapper, .story-container, .horizontal-scroll-wrapper, .horizontal-scroll-container, .section, .container {
        max-width: 100% !important;
        overflow-x: clip !important;
        box-sizing: border-box !important;
    }

    /* Floating Bubble Distance from Header */
    .page-hero {
        padding-top: 140px !important; /* Move content down to avoid bubble */
        padding-bottom: 40px !important;
        min-height: auto !important;
    }

    /* Disable Snap Scrolling and Auto-Jumping */
    .scroll-x {
        scroll-snap-type: none !important;
        overflow-x: auto !important;
        padding-bottom: 20px;
    }
    .scroll-x > * {
        scroll-snap-align: none !important;
    }

    /* Reduce Section Paddings */
    .section {
        padding: 50px 15px !important;
    }

    /* Remove 100vh elements that create giant blank spaces */
    [style*="min-height: 100vh"],
    .story-sticky,
    .horizontal-scroll-sticky {
        min-height: auto !important;
        height: auto !important;
        position: static !important;
    }


    /* Story/Scroll Flow into standard cards */
    .story-inner, .why-story-header {
        position: static !important;
        height: auto !important;
    }
    .story-stage {
        opacity: 1 !important;
        transform: none !important;
        margin-bottom: 30px;
        position: static !important;
    }

    /* Fix Grid Layouts (Services, Pricing, Blog) to 1 Column */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .flex-row-mobile {
        flex-direction: column !important;
    }

    /* Typography scale down */
    .heading-xl { font-size: clamp(28px, 8vw, 36px) !important; line-height: 1.2 !important; }
    .heading-lg { font-size: clamp(24px, 6vw, 30px) !important; line-height: 1.3 !important; }
    .heading-md { font-size: clamp(20px, 5vw, 24px) !important; line-height: 1.4 !important; }
    p { font-size: 15px !important; line-height: 1.6 !important; }

    /* --- HEADER & MENU --- */
    .header-cta { display: none !important; }
    .header-inner { display: flex; justify-content: space-between; align-items: center; }
    .logo { margin-right: auto; }
    .hamburger { margin-left: auto; }
    
    .mobile-menu-cta {
        display: block;
        width: calc(100% - 40px);
        margin: 20px auto;
        text-align: center;
        background: var(--primary);
        color: #fff;
        padding: 15px;
        border-radius: var(--radius-md);
        font-weight: 600;
        text-decoration: none;
    }

    /* --- HOMEPAGE SERVICES & WHY US (HORIZONTAL SCROLL FIX) --- */
    .horizontal-scroll-wrapper, .horizontal-scroll-container {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        padding: 10px 0 !important;
        overflow-x: clip !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .why-story {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }
    .story-card, .why-card, .card-service {
        height: auto !important;
        min-height: auto !important;
        padding: 25px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* --- TEAM CARDS --- */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        display: grid !important;
    }
    .team-grid .team-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }
    .team-card__media {
        height: 300px !important;
        max-height: 300px !important;
        width: 100% !important;
    }

    /* --- ABOUT US (VALUES CARDS) --- */
    .values-wrapper .grid-3 {
        flex-direction: column !important;
        display: flex !important;
    }
    .values-wrapper .card {
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 25px 20px !important;
        margin-bottom: 15px !important;
    }
    .values-wrapper .card > div:first-child {
        width: 50px !important; height: 50px !important; margin-bottom: 15px !important;
    }
    .values-wrapper .card > div:first-child svg {
        width: 24px !important; height: 24px !important;
    }

    /* --- PRICING CARDS --- */
    .packages-list, .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .card-pricing {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 25px 20px !important;
        box-sizing: border-box !important;
    }

    /* --- BLOG CARDS --- */
    .blog-grid-wrapper, .blog-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .card-blog {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    /* --- TESTIMONIALS --- */
    .testimonial-masonry {
        column-count: 1 !important;
    }
    .card-testimonial {
        width: 100% !important;
        padding: 20px !important;
    }
    
    /* Buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .btn-primary, .btn-outline {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    /* Footer */
    .footer__top {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .footer__col {
        width: 100% !important;
        text-align: center !important;
    }
    .footer-logo {
        margin: 0 auto 15px auto !important;
    }
    .social-links {
        justify-content: center !important;
    }
}

@media (max-width: 1024px) {
    /* Hide Kesfet scroll indicator completely on mobile/tablet */
    .scroll-indicator {
        display: none !important;
    }
}


/* =========================================================================
   ULTIMATE MOBILE & SCROLL FIXES (V5 - FINAL AUDITED)
   ========================================================================= */

/* 1. Reset Body & Overflow */
html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
    scroll-behavior: smooth;
}

/* Disable body scroll-snap if any was set */
html {
    scroll-snap-type: none !important;
}

/* 2. Remove Scroll Hijacking & Sticky Issues on Mobile */
@media (max-width: 991px) {
    .story-container {
        min-height: auto !important;
        height: auto !important;
    }
    .story-sticky {
        position: static !important;
        height: auto !important;
        overflow: visible !important;
    }
    .story-content {
        display: block !important;
        transform: none !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .story-stage {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        margin-bottom: 40px !important;
        pointer-events: auto !important;
        padding: 20px !important;
        height: auto !important;
        min-height: auto !important;
    }
    .story-visual {
        display: none !important;
    }
    /* Horizontal scroll containers should wrap natively */
    .horizontal-scroll-container,
    .horizontal-scroll-wrapper,
    .team-grid,
    .packages-list,
    .pricing-tabs {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        transform: none !important;
        overflow: visible !important;
        height: auto !important;
    }
    .team-grid { 
        flex-direction: row !important; 
        flex-wrap: wrap !important; 
        justify-content: center !important; 
    }
}

/* 3. Header & Hamburger Menu (White Theme) */
@media (max-width: 991px) {
    .header-cta {
        display: none !important;
    }

    header,
    header.scrolled {
        background: #ffffff !important;
        height: 70px !important;
        padding: 10px 20px !important;
        box-shadow: 0 4px 25px rgba(0, 158, 154, 0.08) !important;
        border-bottom: 1px solid rgba(0, 158, 154, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    header .logo img {
        height: 40px !important;
        width: auto !important;
    }

    /* Hamburger visibility and color (Dark Turquoise) */
    .hamburger {
        display: flex !important;
        z-index: 1001 !important;
    }
    
    .hamburger span,
    header .hamburger span,
    #hamburger-btn span {
        background: #009E9A !important;
        height: 2.5px !important;
        border-radius: 2px !important;
    }

    /* Mobile Menu White Theme Overhaul */
    .mobile-menu {
        background: #ffffff !important;
        color: #1a202c !important;
        z-index: 999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto !important;
        display: block !important; /* Allow natural scrolling */
        padding: 90px 20px 40px 20px !important;
        box-sizing: border-box !important;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu.open {
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-menu__links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .mobile-menu__links a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        color: #1a202c !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(0, 158, 154, 0.08) !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }

    .mobile-menu__links a:hover,
    .mobile-menu__links a:focus,
    .mobile-menu__links a.active {
        color: #009E9A !important;
        background: rgba(0, 158, 154, 0.04) !important;
    }

    /* Accordion in Mobile Menu */
    .mobile-accordion {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 158, 154, 0.08) !important;
    }

    .mobile-accordion__toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        color: #1a202c !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        padding: 15px 0 !important;
        cursor: pointer !important;
        transition: color 0.2s ease !important;
    }

    .mobile-accordion__toggle svg {
        width: 16px !important;
        height: 16px !important;
        stroke: #1a202c !important;
        transition: transform 0.3s ease !important;
    }

    .mobile-accordion.open .mobile-accordion__toggle {
        color: #009E9A !important;
    }

    .mobile-accordion.open .mobile-accordion__toggle svg {
        transform: rotate(180deg) !important;
        stroke: #009E9A !important;
    }

    .mobile-accordion__content {
        background: rgba(0, 158, 154, 0.02) !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .mobile-accordion.open .mobile-accordion__content {
        max-height: 350px !important;
    }

    .mobile-accordion__content a {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #4a5568 !important;
        padding: 10px !important;
        border-bottom: 1px solid rgba(0, 158, 154, 0.04) !important;
        border-right: 1px solid rgba(0, 158, 154, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    .mobile-accordion__content a:nth-child(2n) {
        border-right: none !important;
    }

    /* Teklif Iste button inside mobile menu */
    .mobile-menu-cta {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 25px auto 10px auto !important;
        padding: 12px 20px !important;
        background: #009E9A !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-align: center !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 158, 154, 0.2) !important;
        border-bottom: none !important;
    }
    
    .mobile-menu-cta:hover {
        background: #007E7A !important;
        color: #ffffff !important;
    }
}

/* 4. Pricing Cards Mobile Fix */
@media (max-width: 991px) {
    .card-pricing {
        flex: none !important;
        width: 100% !important;
        max-width: 350px !important;
        min-width: unset !important;
        margin: 0 auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.05) !important;
        border-radius: 20px !important;
        border: 1px solid rgba(0, 158, 154, 0.1) !important;
    }
    
    /* Highlight featured package */
    .card-pricing.popular {
        border: 2px solid #009E9A !important;
        transform: scale(1.02) !important;
        box-shadow: 0 12px 40px rgba(0, 158, 154, 0.1) !important;
    }

    /* Force text colors for pricing in white theme */
    .card-pricing__title { 
        color: #1a202c !important; 
        font-size: 20px !important; 
        font-weight: 700 !important;
        display: block !important; 
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    .card-pricing__price { 
        color: #009E9A !important; 
        display: block !important; 
        font-size: 30px !important; 
        font-weight: 800 !important;
        text-align: center !important;
        margin: 15px 0 !important; 
    }
    
    .card-pricing__price span { 
        color: #718096 !important; 
        display: inline-block !important; 
        font-size: 14px !important;
        font-weight: 500 !important;
    }
    
    .card-pricing__features { 
        display: block !important; 
        margin-bottom: 25px !important; 
        padding-left: 0 !important;
        list-style: none !important;
    }
    
    .card-pricing__features li { 
        color: #4a5568 !important; 
        display: flex !important; 
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 10px !important; 
        font-size: 14px !important; 
        text-align: left !important;
    }
    
    .card-pricing__features li svg { 
        stroke: #009E9A !important; 
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }
    
    .card-pricing .btn-primary { 
        display: block !important; 
        width: 100% !important; 
        margin-top: auto !important; 
        text-align: center !important;
    }
}

/* 5. Team Videos / Office Video / Custom Video Spacing Fixes */
.custom-video-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #000;
}

.custom-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Remove absolute overlay overrides on team pages */
@media (max-width: 991px) {
    .team-member-card, .team-card {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Ensure aspect-ratio works on media element */
    .team-member-card > div:first-child,
    .team-card__media {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 3/4 !important;
        height: auto !important;
    }
    
    /* Office Video wrapper fallback height fix */
    .office-video-container {
        width: 100% !important;
        height: auto !important;
    }
}

/* 6. Fix Top Space / Bubbles Too Close to Header */
@media (max-width: 991px) {
    .page-hero,
    section.page-hero {
        padding-top: 140px !important; /* Enforces spacing on all subpages */
        padding-bottom: 50px !important;
        min-height: auto !important;
    }
    .section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* 7. About Values Cards (Degerlerimiz) & Neden Biz Compact Cards */
@media (max-width: 991px) {
    /* About Us page Values Grid */
    .values-wrapper .grid-3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .values-wrapper .card {
        width: 100% !important;
        max-width: 350px !important;
        min-width: unset !important;
        padding: 24px 20px !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 auto !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 158, 154, 0.12) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
        border-radius: 16px !important;
    }

    /* Homepage Neden Biz cards */
    .why-story-container.mobile-mode .why-story-cards {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .why-story-container.mobile-mode .why-card {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 158, 154, 0.12) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        width: 100% !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.03) !important;
        box-sizing: border-box !important;
    }

    .why-story-container.mobile-mode .why-card__inner {
        transform: none !important;
        opacity: 1 !important;
    }

    .why-story-container.mobile-mode .why-card__title {
        color: #1a202c !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        margin: 10px 0 6px 0 !important;
    }

    .why-story-container.mobile-mode .why-card__desc {
        color: #4a5568 !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    .why-story-container.mobile-mode .why-card__number {
        color: rgba(0, 158, 154, 0.15) !important;
        font-size: 32px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
}

/* 8. Light Theme Card Fallbacks & Hizmetlerimiz Mobile Cards */
@media (max-width: 991px) {
    /* Hizmetlerimiz section cards */
    .horizontal-scroll-container .card-service,
    .horizontal-scroll-container .card {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 24px 20px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 158, 154, 0.12) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }

    /* Disable homepage service cards 3D/Hover translate effects */
    .horizontal-scroll-container .card-service:hover,
    .tilt-card:hover {
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    }
    
    .horizontal-scroll-container .card-service h3 {
        color: #1a202c !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        margin-top: 12px !important;
        margin-bottom: 8px !important;
    }

    .horizontal-scroll-container .card-service p {
        color: #4a5568 !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }

    .horizontal-scroll-container .card-service__icon {
        width: 48px !important;
        height: 48px !important;
        background: rgba(0, 158, 154, 0.08) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .horizontal-scroll-container .card-service__icon svg {
        width: 24px !important;
        height: 24px !important;
        stroke: #009E9A !important;
    }
}
#custom-cursor-canvas {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    header .header-cta { display: none !important; }
    #hamburger-btn { display: flex !important; }
}

#custom-cursor-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
    mix-blend-mode: normal !important;
}

#custom-cursor-dot {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 14px;
    height: 14px;
    background-color: #1ed6c9;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999 !important; /* Highest */
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #1ed6c9;
    display: none;
}
html.custom-cursor-active #custom-cursor-dot {
    display: block;
}

/* Cache bust: 2026-06-16T22:17:00 */

/* ============================================================
   NEW HERO SECTION & COLLAGE GRID
   ============================================================ */
.hero-new-section {
    padding: 100px 0 60px 0 !important;
    min-height: auto !important;
}

.hero-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 1.3fr !important;
    gap: 50px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 clamp(20px, 5vw, 40px) !important;
}

.hero-left-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.hero-left-content .label {
    margin-bottom: 20px !important;
}

.hero-left-content .heading-hero {
    font-size: clamp(38px, 4vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #24364B !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.02em !important;
}

.hero-left-content .heading-hero .text-turquoise {
    color: #009E9A !important;
    background: linear-gradient(135deg, #009E9A, #1ed6c9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

.hero-left-content .hero-subtitle {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #607086 !important;
    margin-bottom: 30px !important;
    max-width: 520px !important;
}

.hero-left-content .hero-buttons {
    display: flex !important;
    gap: 15px !important;
    width: 100% !important;
}

.hero-right-collage {
    position: relative !important;
    width: 100% !important;
}

/* Collage Grid */
.collage-container {
    position: relative !important;
    width: 100% !important;
}

.collage-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 60px !important;
    gap: 16px !important;
    width: 100% !important;
}

.collage-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 158, 154, 0.15) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 8px 30px rgba(0, 158, 154, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease !important;
}

.collage-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0, 158, 154, 0.08) !important;
    border-color: rgba(0, 158, 154, 0.3) !important;
}

/* Card Size Spans */
.card-pos-1 { grid-column: 1 !important; grid-row: 1 / span 3 !important; }
.card-pos-2 { grid-column: 1 !important; grid-row: 5 / span 3 !important; }
.card-pos-3 { grid-column: 2 !important; grid-row: 2 / span 5 !important; }
.card-pos-4 { grid-column: 3 !important; grid-row: 3 / span 6 !important; }
.card-pos-5 { grid-column: 4 !important; grid-row: 1 / span 3 !important; }
.card-pos-6 { grid-column: 4 !important; grid-row: 5 / span 4 !important; }

/* Media styling */
.collage-card__media {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

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

.collage-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    background: #000 !important;
}

/* Play button overlay */
.collage-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 158, 154, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 5 !important;
    box-shadow: 0 4px 15px rgba(0, 158, 154, 0.3) !important;
    transition: transform 0.2s ease, background-color 0.2s !important;
}

.collage-play-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    stroke: none !important;
}

.custom-video-wrapper:hover .collage-play-btn {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.custom-video-wrapper.video-playing .collage-play-btn {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Card labels */
.collage-card__label {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 20px 15px 12px 15px !important;
    background: linear-gradient(to top, rgba(36, 54, 75, 0.85) 0%, rgba(36, 54, 75, 0.4) 60%, transparent 100%) !important;
    color: #ffffff !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

.collage-card__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.collage-card__subtitle {
    font-size: 10px !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
    margin-top: 2px !important;
}

/* Decorative Icons */
.collage-icon-box {
    position: absolute !important;
    width: 44px !important;
    height: 44px !important;
    background: #EAFBFA !important;
    color: #009E9A !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 158, 154, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 158, 154, 0.06) !important;
    z-index: 10 !important;
    pointer-events: none !important;
    animation: floating-icon 3s ease-in-out infinite !important;
}

.collage-icon-box svg {
    width: 20px !important;
    height: 20px !important;
}

.collage-icon--bulb { top: 44% !important; left: 22% !important; animation-delay: 0s !important; }
.collage-icon--graph { top: 16% !important; left: 62% !important; animation-delay: 0.5s !important; }
.collage-icon--music { top: 75% !important; left: 38% !important; animation-delay: 1s !important; }
.collage-icon--gift { top: 44% !important; left: 82% !important; animation-delay: 1.5s !important; }

@keyframes floating-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Mobile Adjustments for New Hero & Custom Cursor */
@media (max-width: 991px) {
    /* Hide custom cursor on mobile to prevent turquoise dot sticking */
    #custom-cursor-canvas, #custom-cursor-dot {
        display: none !important;
    }
    
    /* Hide floating decorative icons on mobile to prevent blocking videos */
    .collage-icon-box {
        display: none !important;
    }

    /* Fix Hero Grid Stacking */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding-top: 20px !important;
    }
    
    .hero-left-content {
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero-left-content .heading-hero {
        font-size: clamp(32px, 8vw, 42px) !important;
    }

    /* Fix Collage Grid (No more thin, long columns) */
    .collage-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px !important;
        gap: 12px !important;
    }

    /* Reset all card positions to vertical spans on mobile */
    .collage-card {
        grid-column: span 1 !important;
        grid-row: span 2 !important;
    }

    /* Vertical Pinterest style layout for mobile */
    .collage-card.card-pos-1 { grid-column: 1 !important; grid-row: span 2 !important; } /* Vertical left */
    .collage-card.card-pos-2 { grid-column: 2 !important; grid-row: span 3 !important; } /* Taller vertical right */
    .collage-card.card-pos-3 { grid-column: 1 !important; grid-row: span 2 !important; } /* Vertical left */
    .collage-card.card-pos-4 { grid-column: 2 !important; grid-row: span 2 !important; } /* Vertical right */
    .collage-card.card-pos-5 { grid-column: 1 !important; grid-row: span 2 !important; } /* Vertical left */
    .collage-card.card-pos-6 { grid-column: 2 !important; grid-row: span 1 !important; } /* Smaller vertical right */
}

/* Alignment utilities for hidden visibility */
.hide-on-desktop { display: none !important; }

/* ═══ WHY SECTION - HORIZONTAL SCROLL ALIGNMENT ═══ */
@media (min-width: 992px) {
    .horizontal-scroll-container .why-card-item {
        width: 360px !important;
        flex: 0 0 360px !important;
        margin-right: 24px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 380px !important;
    }
}
@media (max-width: 991px) {
    .why-card-item {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 28px 24px !important;
        box-sizing: border-box !important;
    }
}

.why-card-item {
    background: #ffffff;
    border: 1px solid rgba(0, 158, 154, 0.15);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.why-card-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #009E9A, #1ed6c9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 158, 154, 0.12);
}

.why-card-item:hover::before {
    opacity: 1;
}

.why-card-num {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(0, 158, 154, 0.08);
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 158, 154, 0.08);
    border: 1px solid rgba(0, 158, 154, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #009E9A;
    box-shadow: 0 0 20px rgba(0, 158, 154, 0.1);
    transition: background 0.3s ease;
}

.why-card-item:hover .why-card-icon {
    background: rgba(0, 158, 154, 0.15);
}

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

.why-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a202c;
    line-height: 1.3;
}

.why-card-desc {
    font-size: 14px;
    color: #607086;
    line-height: 1.65;
}