/* ================================================
   BANU ÜNAL ERGÜN - Karar Koçluğu Web Sitesi
   Design System & Base Styles
   ================================================ */

/* CSS Variables - Design Tokens */
:root {
    /* Colors - Professional Palette */
    --color-primary: #1E3A5F;
    /* Koyu Lacivert - Ana renk */
    --color-primary-dark: #0F2640;
    /* Daha koyu lacivert */
    --color-primary-light: #2E5A8F;
    /* Açık lacivert */

    --color-accent: #B8860B;
    /* Altın - Vurgu rengi */
    --color-accent-dark: #8B6914;
    /* Koyu altın */
    --color-accent-light: #D4A84B;
    /* Açık altın */

    --color-secondary: #4E5F6E;
    /* Kurşuni mavi - Dengeli ton - WCAG AA iyileştirildi */
    --color-secondary-dark: #3D4A56;
    /* Koyu kurşuni */
    --color-secondary-light: #8A9AAB;
    /* Açık kurşuni */

    --color-bg: #FAFBFC;
    /* Çok açık gri-beyaz */
    --color-bg-alt: #F0F2F5;
    /* Alternatif arka plan */
    --color-white: #FFFFFF;

    --color-text: #2C3E50;
    /* Koyu metin */
    --color-text-light: #4A5668;
    /* Açık metin - WCAG AA kontrast iyileştirildi (4.6:1) */
    --color-text-dark: #1A252F;
    /* En koyu metin */

    /* Typography - Inter font (matching Next.js) */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* CLS Prevention: contain layout so images don't shift surrounding content */
    contain: layout style;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.nav-logo-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
}

.nav-logo-tagline {
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-style: italic;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* Reduced to accommodate new elements without wrapping */
    list-style: none;
}

.nav-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-sm) 0;
    white-space: nowrap; /* Prevents wrapping of menu text */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Language Switcher - Next.js Style */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px;
    border-radius: 50px;
    margin-left: 1.5rem;
    gap: 2px;
}

.lang-link {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    color: var(--color-text-light) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

.lang-link:hover {
    color: var(--color-primary) !important;
}

.lang-link.active {
    background: white;
    color: var(--color-primary-dark) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lang-divider {
    display: none;
}

/* ── Teste Geç CTA Butonu ───────────────────────────── */
.nav-cta-item {
    margin-left: 0.75rem;
}








.nav-link:hover,
.nav-link.active {
    color: var(--color-text-dark);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: var(--radius-sm);
    padding: var(--space-sm) 0;
    top: 100%;
    left: 0;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--color-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    padding-left: 20px;
    /* Slight movement on hover */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensure mobile menu handles this gracefully (simplified for now) */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: none;
        /* Disable hover dropdown on mobile, rely on click/expand logic if needed later */
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    /* Fill screen minus navbar height */
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
    /* CLS Prevention: isolate stacking context */
    isolation: isolate;
    contain: layout style;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    /* CLS Prevention: Reserve space before image loads */
    aspect-ratio: 5 / 6;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* Professional Hero Variant */
.hero-professional {
    background-image: linear-gradient(120deg,
            var(--shiny-base) 0%,
            var(--shiny-base) 35%,
            var(--shiny-color) 50%,
            var(--shiny-base) 65%,
            var(--shiny-base) 100%);
}

.hero-tagline-top {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    opacity: 0.8;
}

.hero-title-large {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.1;
    font-weight: 600;
}

.hero-degree {
    font-weight: 400;
}

.hero-professional .hero-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: var(--space-sm);
    display: block;
}

.hero-philosophy {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: var(--space-lg) 0;
    border-radius: var(--radius-full);
}

.hero-headline {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    font-weight: 600;
}

.hero-headline .highlight {
    color: var(--color-accent);
}

/* Hero Poetic Text */
.hero-poetic {
    margin-bottom: var(--space-xl);
}

.hero-poetic p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

.hero-emphasis {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: var(--space-sm);
    letter-spacing: 1px;
}

/* Nav Logo with Degree */
.nav-logo-degree {
    font-weight: 400;
}



/* Quote Section */
.quote-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.main-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    border: none;
}

.main-quote p {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .quote-section {
        padding: var(--space-2xl) 0;
    }

    .main-quote p {
        font-size: var(--font-size-lg);
    }
}

/* Section Base */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-subtitle {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card-link {
    display: block;
    height: 100%;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-full);
    font-size: var(--font-size-3xl);
}

/* SVG Icon Style - Teal Background */
.service-icon-svg {
    background: #5BBFBA;
    width: 90px;
    height: 90px;
}

.service-icon-svg svg {
    width: 50px;
    height: 50px;
    color: var(--color-text-dark);
}

/* Image-based Service Icons */
.service-icon-img {
    background: transparent;
    width: auto;
    height: auto;
}

.service-icon-img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.service-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.service-description {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content blockquote {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--color-text);
    border-left: 4px solid var(--color-accent);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
}

.credentials {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.credential svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    text-align: center;
    padding: 2.5rem 2rem;
    overflow: hidden;
    border-radius: 32px;
    margin: 0 1.5rem 3rem;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    /* Ensure content is above canvas */
}

.threads-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.threads-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1.0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.cta-section .section-title {
    color: var(--color-white);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-bottom: 0.75rem;
}

.cta-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.cta-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* CTA Redesigned */
.cta-redesigned {
    padding: 2.5rem 2rem;
    border-radius: 32px;
    margin: 0 1.5rem 3rem;
}

.cta-main-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cta-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-white);
    color: var(--color-primary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--color-primary);
}

.btn-whatsapp-cta svg {
    fill: #25D366;
}

/* Footer */
/* Footer */
.footer {
    background: var(--color-text-dark);
    color: var(--color-white);
    padding: var(--space-xl) 0;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-brand .nav-logo-name {
    text-decoration: none;
    color: var(--color-white);
}

.footer-logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo-degree {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.footer-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 250px;
}

.footer-lang-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Horizontal Footer Nav */
.footer-nav-horizontal {
    display: flex;
    align-items: center;
}

.footer-links-horizontal {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-links-horizontal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-links-horizontal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-light);
    transition: width 0.25s ease;
}

.footer-links-horizontal a:hover {
    color: var(--color-white);
}

.footer-links-horizontal a:hover::after {
    width: 100%;
}

.social-link-mini {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.social-link-mini:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--font-size-xs);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-link-sub {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link-sub:hover {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xl);
    }

    .footer-links-horizontal {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    border: 2px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
    background: var(--color-bg);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Page Header */
.page-header {
    padding: calc(80px + 2.5rem) 0 2rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    text-align: center;
}

.page-header .section-subtitle {
    margin-bottom: var(--space-md);
}

.page-header .section-title {
    margin-bottom: var(--space-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .credentials {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-xl);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all var(--transition-base);
        z-index: 9999 !important;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex; z-index: 10000 !important; relative; 
    }

    .hero {
        min-height: auto;
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    }

    .hero-image::before {
        display: none;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.mb-0 {
    margin-bottom: 0;
}

.mt-xl {
    margin-top: var(--space-xl);
}

/* ================================================
   Additional Page Components
   ================================================ */

/* Service Detail Page */
.service-detail {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.service-detail-header h2 {
    color: var(--color-primary);
}

.service-detail-content h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.service-list li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    position: relative;
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0 auto var(--space-md);
}

.process-step h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.process-step p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-methods {
    margin: var(--space-2xl) 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-method-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.contact-method-info h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

.contact-method-info p,
.contact-method-info a {
    color: var(--color-text-light);
}

.contact-note {
    background: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}

.contact-note h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
}

.contact-note p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.form-disclaimer {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-top: var(--space-md);
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    text-align: center;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.faq-item {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.faq-item h4 {
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.faq-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* About Story */
.about-story {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about-story-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-story-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.about-story-content blockquote {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--color-text);
    border-left: 4px solid var(--color-accent);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    background: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Why Areas */
.why-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
}

.why-area-card {
    background: var(--color-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-primary);
    flex: 1 1 320px;
    max-width: 380px;
}

.why-area-card h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.why-area-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Philosophy Section */
.philosophy {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-4xl);
    align-items: start;
}

.philosophy-content .section-subtitle {
    text-align: left;
}

.philosophy-content .section-title {
    text-align: left;
}

.philosophy-lead {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.philosophy-quote {
    display: flex;
    gap: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
}

.philosophy-quote span {
    font-size: var(--font-size-3xl);
    flex-shrink: 0;
}

.philosophy-quote p {
    margin-bottom: 0;
    font-style: italic;
}

.philosophy-credentials {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.philosophy-credentials h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    color: var(--color-primary);
}

.credential-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.credential-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.credential-info h4 {
    font-size: var(--font-size-base);
    margin-bottom: 0;
}

.credential-info p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ================================================
   Featurette / Zig-Zag Layout (Refined)
   ================================================ */

.featurette-section {
    padding: var(--space-4xl) 0;
    overflow: hidden;
    background-color: #fff !important;
    /* Force white background for all */
}

/* Remove alternating background */
.featurette-section:nth-of-type(even) {
    background-color: #fff !important;
}

.featurette {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Larger gap for "clean" look */
}

/* Reverse order for even-numbered featurettes (Zig-Zag) */
.featurette.reverse {
    flex-direction: row-reverse;
}

.featurette-image {
    flex: 1;
    width: 50%;
    position: relative;
    border-radius: var(--radius-sm);
    /* Sharper corners or small radius */
    overflow: hidden;
    /* Remove box-shadow for cleaner flat look if desired, or keep subtle */
    box-shadow: none;
    height: auto;
    /* Allow natural height but respect aspect ratio */
    min-height: 400px;
}

.featurette-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featurette-content {
    flex: 1;
    width: 50%;
    padding: var(--space-lg);
}

/* Hide the icon if not in the reference, or style it minimally */
.featurette-icon {
    display: none;
}

.featurette-heading {
    font-family: 'Outfit', sans-serif;
    /* Keep site font */
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: #000;
    /* Strict black for high contrast */
}

.featurette-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

.featurette-list {
    display: none;
    /* Hide the list to match the simple paragraph style of the reference, or styling it very simply */
}

/* Custom Black Pill Button for this section */
.featurette-content .btn {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.featurette-content .btn:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {

    .featurette,
    .featurette.reverse {
        flex-direction: column !important;
        text-align: center;
        gap: var(--space-2xl);
    }

    .featurette-image,
    .featurette-content {
        width: 100%;
    }

    .featurette-image {
        min-height: 300px;
    }

    .featurette-heading {
        font-size: 2rem;
    }
}

/* Responsive for new components */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .about-story {
        grid-template-columns: 1fr;
    }

    .about-story-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .why-areas {
        grid-template-columns: 1fr;
    }

    .philosophy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Styling */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: #25D366;
    color: var(--color-white) !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-base);
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: var(--color-white);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;

    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: var(--color-white);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Back to Top with Scroll Progress */
.back-to-top-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    /* Disabled when hidden */
}

.back-to-top-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-progress-bar {
    width: 4px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.scroll-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--color-primary);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 0.1s linear;
}

.back-to-top-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top-container {
        right: 20px;
        bottom: 90px;
    }
}

/* ================================================
   Banner / Slider Section
   ================================================ */

.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: 500px;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(15, 38, 64, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.banner-title {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Slider Navigation Dots */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.banner-dot.active,
.banner-dot:hover {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Slider Arrow Buttons */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-arrow.prev {
    left: 30px;
}

.banner-arrow.next {
    right: 30px;
}

@media (max-width: 768px) {
    .banner-slide {
        height: 350px;
    }

    .banner-title {
        font-size: var(--font-size-2xl);
    }

    .banner-subtitle {
        font-size: var(--font-size-base);
        padding: 0 var(--space-md);
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
    }

    .banner-arrow.prev {
        left: 15px;
    }

    .banner-arrow.next {
        right: 15px;
    }
}

/* Clean Banner Variant - No Shadow, Centered Images */
.banner-clean .banner-slide {
    height: 550px;
}

.banner-clean .banner-slide img {
    object-fit: contain;
    object-position: center;
    background: var(--color-bg);
}

.banner-clean .banner-overlay {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(15, 38, 64, 0.6) 100%);
}

.banner-clean .banner-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .banner-clean .banner-slide {
        height: 400px;
    }
}

/* No Overlay Banner - Text embedded in images */
.banner-no-overlay .banner-overlay {
    display: none;
}

.banner-no-overlay .banner-slide {
    height: 600px;
    position: relative;
}

.banner-no-overlay .banner-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Slight overlay for readability */
    z-index: 1;
}

.banner-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
}

.banner-overlay-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .banner-no-overlay .banner-slide {
        height: 400px;
    }

    .banner-overlay-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .banner-no-overlay .banner-slide {
        height: 300px;
    }

    .banner-overlay-text h2 {
        font-size: 1.5rem;
    }
}

.banner-no-overlay .banner-slide img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Scroll Stack Component */
.scroll-stack-section {
    padding: 120px 0;
    background-color: var(--white);
    overflow: visible;
}

.scroll-stack-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.stack-left {
    position: sticky;
    top: 120px;
    padding-right: 20px;
}

.stack-left h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.stack-left .section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
}

.stack-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stack-card {
    position: sticky;
    width: 100%;
    max-width: 400px;
    /* Scaled down further for better fit */
    height: auto;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    /* Changed back to hidden */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 25vh;
    margin-left: auto;
    /* Push to the right side of its column */
    transition: transform 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Precise sticky offsets for "Piling" effect */
.stack-card:nth-child(1) {
    top: 100px;
    z-index: 1;
}

.stack-card:nth-child(2) {
    top: 120px;
    z-index: 2;
}

.stack-card:nth-child(3) {
    top: 140px;
    z-index: 3;
}

.stack-card:nth-child(4) {
    top: 160px;
    z-index: 4;
}

.stack-card:nth-child(5) {
    top: 180px;
    z-index: 5;
}

.stack-card:nth-child(6) {
    top: 200px;
    z-index: 6;
}

.stack-card:nth-child(7) {
    top: 220px;
    z-index: 7;
}

.stack-card:nth-child(8) {
    top: 240px;
    z-index: 8;
}

.stack-card:nth-child(9) {
    top: 260px;
    z-index: 9;
}

.stack-card:nth-child(10) {
    top: 280px;
    z-index: 10;
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.stack-card:hover img {
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .scroll-stack-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stack-left {
        position: static;
        padding-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .stack-left h1 {
        font-size: 2.5rem;
    }

    .stack-right {
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding: 20px 15px 40px 15px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
    }

    /* Subtle scrollbar */
    .stack-right::-webkit-scrollbar {
        height: 6px;
    }
    .stack-right::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.15);
        border-radius: 10px;
    }

    .stack-card {
        flex: 0 0 280px;
        width: 280px;
        aspect-ratio: 1 / 1;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        scroll-snap-align: center;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
}

@media (max-width: 480px) {
    .stack-left h1 {
        font-size: 2.2rem;
    }

    .stack-card {
        aspect-ratio: 1 / 1;
    }

    .stack-card-overlay h3 {
        font-size: 1.5rem;
    }
}/* Roadmap / Timeline Styles */

.roadmap-wrapper {

    position: relative;

    padding: 2rem 0;

    overflow-x: auto;

}



.roadmap-container {

    display: flex;

    justify-content: space-between;

    position: relative;

    min-width: 700px;

    /* Ensure scrolling on small screens if needed */

    padding-top: 2rem;

}



/* Connecting Line */

.roadmap-container::before {

    content: '';

    position: absolute;

    top: 0;

    left: 40px;

    right: 40px;

    height: 4px;

    background: #e2e8f0;

    border-radius: 4px;

    z-index: 1;

}



.roadmap-item {

    position: relative;

    z-index: 2;

    text-align: center;

    flex: 1;

    padding: 0 1rem;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.roadmap-marker {

    width: 24px;

    height: 24px;

    background: var(--color-primary);

    border: 4px solid #fff;

    border-radius: 50%;

    box-shadow: 0 0 0 4px #e2e8f0;

    margin-bottom: 2rem;

    position: absolute;

    top: -10px;

    /* Align with the line */

}



/* Active/Latest marker style if needed */

.roadmap-item:last-child .roadmap-marker {

    background: var(--color-accent);

    box-shadow: 0 0 0 4px var(--color-accent-light);

}



.roadmap-icon-box {

    margin-top: 1.5rem;

    /* Space for the line/marker */

    width: 64px;

    height: 64px;

    background: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.75rem;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    margin-bottom: 1rem;

    border: 1px solid #f1f5f9;

    color: var(--color-primary);

    transition: transform 0.3s ease;

}



.roadmap-item:hover .roadmap-icon-box {

    transform: translateY(-5px);

    border-color: var(--color-accent);

}



.roadmap-content h4 {

    font-size: 1rem;

    color: var(--color-primary-dark);

    margin-bottom: 0.25rem;

    font-weight: 700;

}



.roadmap-content p {

    font-size: 0.9rem;

    color: #64748b;

    line-height: 1.4;

    margin-bottom: 0;

}



.roadmap-year {

    display: inline-block;

    background: #f1f5f9;

    padding: 0.25rem 0.75rem;

    border-radius: 20px;

    font-size: 0.75rem;

    font-weight: 600;

    color: var(--color-primary);

    margin-bottom: 0.5rem;

}



/* Mobile Responsive - Vertical Layout */

@media (max-width: 768px) {

    .roadmap-wrapper {

        overflow: visible;

    }



    .roadmap-container {

        flex-direction: column;

        min-width: auto;

        padding-top: 0;

        gap: 2rem;

        padding-left: 20px;

    }



    .roadmap-container::before {

        left: 31px;

        /* Center with the marker */

        right: auto;

        top: 0;

        bottom: 0;

        width: 4px;

        height: auto;

    }



    .roadmap-item {

        flex-direction: row;

        align-items: flex-start;

        text-align: left;

        padding: 0;

        gap: 1.5rem;

    }



    .roadmap-marker {

        position: relative;

        top: 20px;

        /* Align with top of content roughly */

        margin-bottom: 0;

        flex-shrink: 0;

        margin-right: -12px;

        /* Pull closer to line */

        left: 0;

    }



    .roadmap-icon-box {

        margin-top: 0;

        width: 50px;

        height: 50px;

        font-size: 1.5rem;

    }

}

/* Interactive Credentials Grid */

.credentials-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 2rem;

    padding: 2rem 0;

}



.interactive-card {

    background: #fff;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    border: 1px solid rgba(0, 0, 0, 0.03);

    cursor: pointer;

    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    overflow: hidden;

    position: relative;

    display: flex;

    flex-direction: column;

}



.interactive-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);

    border-color: var(--color-primary-light);

}



.interactive-card.active {

    grid-column: span 2;

    /* Expand to full width when active */

    background: #fff;

    border-color: var(--color-primary);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

}



.card-header {

    padding: 2rem;

    display: flex;

    align-items: flex-start;

    gap: 1.5rem;

    position: relative;

}



.card-icon {

    font-size: 2.5rem;

    line-height: 1;

    background: var(--color-bg);

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.card-header-text {

    flex: 1;

}



.card-title {

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--color-primary-dark);

    margin-bottom: 0.5rem;

    line-height: 1.3;

}



.card-summary {

    font-size: 1rem;

    color: #64748b;

    font-style: italic;

    line-height: 1.5;

}



.expand-icon {

    position: absolute;

    top: 2rem;

    right: 2rem;

    width: 24px;

    height: 24px;

    background: var(--color-bg);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--color-primary);

    transition: transform 0.3s ease;

}



.interactive-card.active .expand-icon {

    transform: rotate(180deg);

    background: var(--color-primary);

    color: #fff;

}



.card-details {

    max-height: 0;

    overflow: hidden;

    padding: 0 2rem;

    opacity: 0;

    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

}



.interactive-card.active .card-details {

    max-height: 1000px;

    /* Arbitrary large height */

    padding-bottom: 2rem;

    opacity: 1;

}



.details-content {

    border-top: 1px solid #f1f5f9;

    padding-top: 1.5rem;

    font-size: 1.05rem;

    line-height: 1.7;

    color: var(--color-text);

}



.detail-list {

    list-style: none;

    padding: 0;

    margin: 1rem 0;

}



.detail-list li {

    position: relative;

    padding-left: 1.5rem;

    margin-bottom: 0.75rem;

}



.detail-list li::before {

    content: 'â¬ ¢';

    color: var(--color-primary);

    font-size: 1.5rem;

    position: absolute;

    left: 0;

    top: -5px;

}



@media (max-width: 768px) {

    .credentials-grid {

        grid-template-columns: 1fr;

    }



    .interactive-card.active {

        grid-column: span 1;

    }



    .card-header {

        padding: 1.5rem;

    }



    .card-title {

        font-size: 1.1rem;

    }

}

/* Interactive Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.interactive-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.interactive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-light);
}

.interactive-card.active {
    grid-column: span 2;
    /* Expand to full width when active */
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

.card-icon {
    font-size: 2.5rem;
    line-height: 1;
    background: var(--color-bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-header-text {
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-summary {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.5;
}

.expand-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 24px;
    height: 24px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.interactive-card.active .expand-icon {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: #fff;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card.active .card-details {
    max-height: 1000px;
    /* Arbitrary large height */
    padding-bottom: 2rem;
    opacity: 1;
}

.details-content {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-list li::before {
    content: 'â€¢';
    color: var(--color-primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .interactive-card.active {
        grid-column: span 1;
    }

    .card-header {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }
}
/* Interactive Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.interactive-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.interactive-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--color-primary-light);
}

.interactive-card.active {
    grid-column: span 2;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.card-icon {
    font-size: 1.75rem;
    line-height: 1;
    background: var(--color-bg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.card-header-text {
    flex: 1;
    padding-right: 2rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.card-summary {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 300;
}

.expand-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: transparent;
    color: #cbd5e1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.interactive-card:hover .expand-icon {
    color: var(--color-primary);
}

.interactive-card.active .expand-icon {
    transform: translateY(-50%) rotate(180deg);
    color: var(--color-primary);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfcfc;
}

.interactive-card.active .card-details {
    max-height: 800px;
    padding-bottom: 1.5rem;
    opacity: 1;
    border-top: 1px solid #f1f5f9;
}

.details-content {
    padding-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.detail-list li::before {
    font-size: 1.2rem;
    top: -3px;
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .interactive-card.active {
        grid-column: span 1;
    }
}
/* Credentials Grid - Blog Style */
.credentials-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.credential-card {
    position: relative;
    height: 400px;
    /* Match blog card height */
    transition: all 0.3s ease;
    grid-column: span 1;
}

/* Expanded State */
.credential-card.active {
    grid-column: 1 / -1;
    /* Span all columns */
    height: auto;
    /* Allow auto height for details */
    min-height: 400px;
}

.credential-card .inner-box {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    /* Fixed height for visual part */
    background-color: #000;
    transition: all 0.5s ease;
}

/* Icon Box (Replaces Image Box) */
.credential-card .icon-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 500ms ease;
    background-size: cover;
    background-position: center;
}

/* Gradients for different Cards */
.card-gradient-1 {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
}

/* Blue/Indigo */
.card-gradient-2 {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Green */
.card-gradient-3 {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

/* Purple */
.card-gradient-4 {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
}

/* Pink */

.credential-card .icon-box svg,
.credential-card .icon-box i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    /* Subtle icon */
    transition: all 0.5s ease;
}

.credential-card:hover .icon-box {
    opacity: 0.25;
    transform: scale(1.05);
}

/* Content Box (Bottom Title) */
.credential-card .content-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    z-index: 2;
    transition: all 500ms ease;
}

.credential-card:hover .content-box {
    opacity: 0;
    transform: translateY(20px);
}

.credential-card .content-box h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.credential-card .content-box .link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Overlay Content (Hover) */
.credential-card .overlay-content {
    position: absolute;
    top: 50%;
    /* Start from center/bottom for effect */
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 500ms ease;
}

.credential-card:hover .overlay-content {
    opacity: 1;
    transform: translateY(0);
    top: 0;
}

.credential-card .overlay-content h4 {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.credential-card .overlay-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.credential-card .overlay-content .btn-examine {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 300ms ease;
    cursor: pointer;
    background: transparent;
    width: fit-content;
}

.credential-card .overlay-content .btn-examine:hover {
    background: #fff;
    color: #000;
}

/* Full Details Panel */
.credential-details-panel {
    display: none;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
    /* Rounded bottom */
    margin-top: -20px;
    /* Overlap slightly with box */
    padding-top: 40px;
    border: 1px solid #e2e8f0;
    border-top: none;
    animation: slideDown 0.5s ease;
}

.credential-card.active .inner-box {
    border-radius: 20px 20px 0 0;
    /* Flat bottom when active */
}

.credential-card.active .credential-details-panel {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .credentials-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .credentials-grid-container {
        grid-template-columns: 1fr;
    }
}
/* Image Box (Corrected for Images) */
.credential-card .image-box {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    /* Ensure image doesn't spill */
}

.credential-card .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 500ms ease;
    opacity: 1;
}

.credential-card:hover .image-box img {
    opacity: 0.25;
    transform: scale(1.1);
}

/* Ensure no conflict with gradient classes if they remain */
.credential-card .image-box.card-gradient-1,
.credential-card .image-box.card-gradient-2,
.credential-card .image-box.card-gradient-3,
.credential-card .image-box.card-gradient-4 {
    background: none;
    /* Remove gradients */
}
/* Update Credential Card Height - Shortened */
.credential-card,
.credential-card .inner-box {
    height: 340px;
    /* Shortened from 400px */
}

/* Expanded State Height Reset */
.credential-card.active {
    height: auto;
}

/* Ensure Icon Box Styles are Active (Reverting Image Box overrides) */
.credential-card .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
/* Credential Customizations - Soft & Short */

/* 1. Reduced Height */
.credential-card,
.credential-card .inner-box {
    height: 300px !important;
    /* Force shortened height */
}

/* 2. Soft Pastel Gradients */
/* Adler: Soft Sky */
.card-gradient-1 {
    background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%) !important;
}

/* Experience: Soft Mint/Green */
.card-gradient-2 {
    background: linear-gradient(135deg, #F1F8E9 0%, #C5E1A5 100%) !important;
}

/* Warwick: Soft Lavender */
.card-gradient-3 {
    background: linear-gradient(135deg, #EDE7F6 0%, #D1C4E9 100%) !important;
}

/* Statistics: Soft Rose */
.card-gradient-4 {
    background: linear-gradient(135deg, #FCE4EC 0%, #F48FB1 100%) !important;
}

/* 3. Text & Icon Colors for Light Backgrounds */
.credential-card .icon-box svg,
.credential-card .icon-box i {
    color: rgba(51, 65, 85, 0.5) !important;
    /* Dark Grey Icon */
}

.credential-card .content-box h4 {
    color: #1e293b !important;
    /* Dark Slate Text */
    text-shadow: none !important;
}

.credential-card .content-box .link {
    color: #334155 !important;
}

/* Overlay Styling for Light Mode */
.credential-card .overlay-content {
    background: rgba(255, 255, 255, 0.95);
}

.credential-card .overlay-content h4 {
    color: #0f172a !important;
}

.credential-card .overlay-content p {
    color: #475569 !important;
}

.credential-card .overlay-content .btn-examine {
    border-color: #334155 !important;
    color: #334155 !important;
}

.credential-card .overlay-content .btn-examine:hover {
    background: #334155 !important;
    color: #fff !important;
}
/* Move icons up */
.credential-card .inner-box .icon-box {
    align-items: flex-start !important;
    padding-top: 40px;
    /* Adjust this value to control how high they go */
}
/* Revert Overlay to Dark Mode (Karartmalı) */
.credential-card .overlay-content {
    background: rgba(0, 0, 0, 0.6) !important;
    /* Dark dimmed overlay */
    backdrop-filter: blur(2px);
    /* Slight blur for elegance */
}

/* Revert Text Colors to White */
.credential-card .overlay-content h4 {
    color: #fff !important;
}

.credential-card .overlay-content p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Revert Button Styles */
.credential-card .overlay-content .btn-examine {
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #fff !important;
}

.credential-card .overlay-content .btn-examine:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}
/* Quick Navigation Buttons */
.btn-quick-nav {
    background: #475569;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    border: 1px solid transparent;
}

.btn-quick-nav:hover {
    background: var(--color-primary);
    /* Uses site primary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
    color: white;
}


/* FAQ / Search Intent Q&A Section */
.faq-section {
    background: #fafafb;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-question {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin: 0;
    font-weight: 700;
}

.faq-answer {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1.05rem;
}

/* E-E-A-T Author Box Image adjustment — top of head at top of circular frame */
.author-img-enhanced {
    object-position: center 20% !important;
}

/* Mobile Dropdown Expansion Styles */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown .dropdown-content {
        display: none;
        position: static;
        background-color: #fafafa;
        box-shadow: none;
        border: none;
        width: 100%;
        padding: var(--space-xs) 0;
        margin-top: var(--space-xs);
        border-radius: var(--radius-sm);
        animation: none; /* Disable fade-in transition flash on mobile */
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 16px;
        font-size: 0.95rem;
        border-bottom: none;
        color: var(--color-text-dark);
    }
    
    /* Small arrow indicator logic (optional: visually helpful) */
    .dropdown > .nav-link::after {
        content: ' ▾';
        font-size: 0.8rem;
        vertical-align: middle;
    }
    
    .dropdown.open > .nav-link::after {
        content: ' ▴';
    }
}

/* Mobile Horizontal Swipeable Sub-Navigation (Solution 2) */
.mobile-sub-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sub-nav {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        height: 52px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 998;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }
    
    .mobile-sub-nav::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    
    .mobile-sub-nav-inner {
        display: inline-flex;
        align-items: center;
        height: 100%;
        padding: 0 var(--space-md);
        gap: var(--space-sm);
    }
    
    .sub-nav-link {
        display: inline-block;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        padding: 7px 14px;
        border-radius: 20px;
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }
    
    .sub-nav-link:active {
        opacity: 0.8;
    }
    
    /* Inactive button styles with subtle tinted background and matching text color */
    .sub-nav-link.btn-genel {
        background: rgba(15, 43, 70, 0.07);
        color: #0f2b46;
    }
    .sub-nav-link.btn-ebeveyn {
        background: rgba(15, 118, 110, 0.08);
        color: #0f766e;
    }
    .sub-nav-link.btn-goc {
        background: rgba(180, 83, 9, 0.08);
        color: #b45309;
    }
    .sub-nav-link.btn-liderlik {
        background: rgba(76, 29, 149, 0.08);
        color: #4c1d95;
    }
    .sub-nav-link.btn-genclik {
        background: rgba(49, 46, 129, 0.08);
        color: #312e81;
    }
    .sub-nav-link.btn-surec {
        background: rgba(15, 118, 110, 0.08);
        color: #0f766e;
    }
    .sub-nav-link.btn-expat {
        background: rgba(200, 169, 81, 0.1);
        color: #aa8528; /* Slightly darker gold for accessibility on light background */
    }

    .sub-nav-link.active {
        color: #fff !important;
    }

    /* Page-specific active colors matching their respective header themes (solid background + white text) */
    .sub-nav-link.btn-genel.active {
        background: #0f2b46 !important;
        box-shadow: 0 2px 6px rgba(15, 43, 70, 0.2);
    }
    .sub-nav-link.btn-ebeveyn.active {
        background: #0f766e !important;
        box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
    }
    .sub-nav-link.btn-goc.active {
        background: #b45309 !important;
        box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);
    }
    .sub-nav-link.btn-liderlik.active {
        background: #4c1d95 !important;
        box-shadow: 0 2px 6px rgba(76, 29, 149, 0.25);
    }
    .sub-nav-link.btn-genclik.active {
        background: #312e81 !important;
        box-shadow: 0 2px 6px rgba(49, 46, 129, 0.25);
    }
    .sub-nav-link.btn-surec.active {
        background: #0f766e !important;
        box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
    }
    .sub-nav-link.btn-expat.active {
        background: #c8a951 !important;
        box-shadow: 0 2px 6px rgba(200, 169, 81, 0.25);
    }

    /* Push page content down on mobile when sub-nav is active */
    body.has-sub-nav {
        padding-top: 52px;
    }
}

/* Global Blog Hero Image Size Override */
.blog-hero-img {
    max-width: 500px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    background-color: #f1f5f9;
    object-fit: cover !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.5rem !important;
}

/* Keyboard Access & Focus-Within Dropdown Trigger */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Mobile Touch Target Size Improvements */
@media (max-width: 768px) {
    .sub-nav-link {
        padding: 12px 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        min-height: 48px !important; /* Ensure min height of 48px */
    }
}

/* CTA Button Micro-Animations */
.cta-box-blog a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.cta-box-blog a:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 24px rgba(200, 169, 81, 0.4) !important;
}


/* Global E-E-A-T Author Box Styles */
.blog-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.author-box-enhanced {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #c8a951;
    border-radius: 0 16px 16px 0;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.author-box-enhanced:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.11);
    transform: translateY(-2px);
}

.author-img-enhanced {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #c8a951 !important;
    flex-shrink: 0 !important;
}

.author-details {
    flex-grow: 1;
}

.author-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b46;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.author-eeat-title {
    color: #c8a951;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.author-eeat-creds {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.author-eeat-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.author-eeat-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.author-eeat-btn-about {
    background: #1e3a5f;
    color: #fff;
}

.author-eeat-btn-about:hover {
    background: #0f2b46;
    transform: translateY(-1px);
}

.author-eeat-btn-linkedin {
    background: #0077b5;
    color: #fff;
}

.author-eeat-btn-linkedin:hover {
    background: #005c8f;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .author-box-enhanced {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .author-eeat-links {
        justify-content: center;
    }
}


/* Hero Mobile Responsive & List Alignment Fixes */
@media (max-width: 768px) {
    .hero {
        padding-top: 115px !important;
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }
    .hero-content {
        text-align: center !important;
    }
    .hero-headline {
        font-size: 1.65rem !important;
        line-height: 1.35 !important;
        margin-bottom: 1rem !important;
    }
    .hero-description {
        font-size: 1rem !important;
    }
    .hero-poetic ul {
        display: inline-block !important;
        text-align: left !important;
        max-width: 100% !important;
        margin: 0.5rem auto 1.5rem !important;
    }
    .hero-poetic ul li {
        margin-bottom: 0.5rem !important;
        font-size: 0.95rem !important;
    }
}




.nav-cta-btn::after, .nav-cta-btn:after {
    display: none !important;
}


/* ── UNIFIED NAV CTA BUTTON (EXACT MATCH WITH INDEX.HTML) ── */
.navbar .nav-menu .nav-cta-btn,
.nav-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, #d4a843 0%, #b8923a 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em !important;
    padding: 9px 18px !important;
    border-radius: 99px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(212, 168, 67, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    height: auto !important;
    line-height: normal !important;
}
.navbar .nav-menu .nav-cta-btn:hover,
.nav-cta-btn:hover {
    background: linear-gradient(135deg, #e0b94e 0%, #c8a040 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(212, 168, 67, 0.45) !important;
    color: #ffffff !important;
}
.navbar .nav-menu .nav-cta-btn::after,
.navbar .nav-menu .nav-cta-btn:after,
.nav-cta-btn::after,
.nav-cta-btn:after {
    display: none !important;
}
