/* --------------------------------------------------
   NÜANS TURİZM DESIGN SYSTEM & STYLESHEET
   -------------------------------------------------- */

/* --- Custom Variables --- */
:root {
    --bg-primary: #f8fafc;      /* Clean Light Slate Background */
    --bg-secondary: #ffffff;    /* Card & Core Backgrounds */
    --bg-tertiary: #f1f5f9;     /* Light Gray Section Alternator */
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --color-gold: #0284c7;      /* Vivid Ocean/Sky Blue Primary */
    --color-gold-light: #38bdf8;/* Light Blue Accent */
    --color-gold-dark: #0369a1; /* Deep Corporate Navy */
    --color-gold-glow: rgba(2, 132, 199, 0.15);
    
    --color-accent: #f97316;     /* Sunset Orange Secondary (More Vibrant) */
    --color-accent-light: #ffedd5;
    --color-accent-dark: #ea580c;
    
    --text-primary: #0f172a;    /* Deep Slate/Charcoal for Corporate Weight */
    --text-secondary: #475569;  /* Accessible Body Text */
    --text-muted: #94a3b8;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-gold: rgba(2, 132, 199, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout: keeps the original 70% proportion on wide monitors but never
       drops below 1100px, so phones and tablets get the full screen width
       instead of being squeezed into 70% of it. */
    --max-width: max(70%, 1100px);
    --gutter: clamp(16px, 5vw, 32px);
    --header-h: 90px;
    --header-h-scrolled: 75px;

    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Layered shadows read as depth rather than as a grey halo */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 8px 20px rgba(15, 23, 42, 0.08), 0 32px 64px rgba(15, 23, 42, 0.16);
    --shadow-gold: 0 6px 20px rgba(2, 132, 199, 0.22);
}

/* --- Dark Theme Custom Variables --- */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-glass: rgba(15, 23, 42, 0.85);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-gold: rgba(2, 132, 199, 0.25);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.4), 0 32px 64px rgba(0, 0, 0, 0.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Anchor links must not slide under the fixed header */
    scroll-padding-top: calc(var(--header-h-scrolled) + 16px);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Locks background scrolling while the mobile drawer is open */
body.nav-open {
    overflow: hidden;
}

/* Long Turkish compound words must wrap instead of pushing the layout wide */
h1, h2, h3, h4, h5, p, li, span, a, label {
    overflow-wrap: break-word;
}

/* Tighter optical tracking on display type — reads as considered, not loud */
h1, h2, h3 {
    letter-spacing: -0.015em;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* --- Global Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
}

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

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

.grid-three-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.section {
    padding: clamp(56px, 8vw, 100px) 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-header {
    margin-bottom: clamp(32px, 6vw, 60px);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2.4vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

/* Short accent rule — a quiet corporate signature ahead of every eyebrow */
.section-subtitle::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    flex-shrink: 0;
}

.text-center .section-subtitle::after {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-desc {
    color: var(--text-secondary);
    font-size: clamp(0.98rem, 2.6vw, 1.1rem);
    line-height: 1.65;
}

/* Reusable responsive image frame — replaces the old fixed pixel heights */
.media-frame,
.section-image-banner {
    /* width must stay definite: when the grid stretches the frame vertically,
       aspect-ratio would otherwise size the width off the height and overflow */
    width: 100%;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    isolation: isolate;
}

.media-frame {
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}

.section-image-banner {
    margin-bottom: clamp(24px, 4vw, 40px);
    aspect-ratio: 16 / 7;
    box-shadow: var(--shadow-md);
}

.media-frame > img,
.section-image-banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Premium finish: a soft brand-tinted scrim plus a hairline inner edge,
   so photography sits in the design system instead of floating on top of it */
.media-frame::after,
.section-image-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(2, 30, 60, 0.38) 0%, rgba(2, 30, 60, 0.06) 42%, transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* Steer each crop to the subject of that particular photograph */
.events-section .section-image-banner > img {
    object-position: center 52%;   /* keeps the stage and front rows */
}

.education-section .section-image-banner > img {
    object-position: center 46%;   /* keeps the students, not the empty ceiling */
}

.health-visual > img {
    object-position: 62% center;   /* the doctor sits right of centre */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--bg-primary);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-full-width {
    width: 100%;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--header-h);
    transition: var(--transition-normal);
}

/* Scrolled header state via JS */
.header.scrolled {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color-gold);
}
.header.scrolled .header-container {
    height: var(--header-h-scrolled);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    white-space: nowrap;
}

.logo-accent {
    color: var(--color-gold);
    margin-right: 2px;
}

.nav-list {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-normal);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(6px, 2vw, 20px);
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--color-gold);
    background-color: var(--bg-tertiary);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.theme-toggle-btn .hidden {
    display: none;
}

/* Language selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.lang-btn {
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    /* Comfortable tap target on touch screens */
    min-width: 40px;
    min-height: 40px;
    padding: 4px 6px;
    transition: var(--transition-fast);
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--color-gold);
}

.lang-divider {
    color: var(--border-color);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Open mobile nav toggle state */
.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(32px, 8vw, 90px));
    padding-bottom: clamp(48px, 9vw, 120px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 85% 15%, #e0f2fe 0%, var(--bg-primary) 70%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* svh keeps mobile browsers from over-sizing the hero behind the URL bar */
@supports (height: 100svh) {
    .hero {
        min-height: 100svh;
    }
}

.hero.has-bg-image {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg-primary) -8%, rgba(2, 30, 60, 0) 26%),
        linear-gradient(135deg, rgba(2, 30, 60, 0.86) 0%, rgba(2, 90, 160, 0.55) 60%, rgba(2, 30, 60, 0.78) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: clamp(36px, 7vw, 80px);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2.6vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: #7dd3fc;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-wrap: balance;
    animation: fadeInUp 0.8s ease;
}

.hero-lead {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: clamp(28px, 4vw, 40px);
    line-height: 1.7;
    max-width: 650px;
    animation: fadeInUp 1s ease;
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 1.2s ease;
}

/* Quick Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(14px, 2vw, 24px);
    margin-top: auto;
    animation: fadeInUp 1.4s ease;
}

.hero-feature-card {
    background-color: rgba(2, 30, 60, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--border-radius);
    padding: clamp(16px, 3vw, 24px);
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    transition: var(--transition-normal);
    color: #fff;
}

.hero-feature-card:hover {
    border-color: var(--color-gold-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    background-color: rgba(2, 132, 199, 0.08);
    border: 1px solid var(--border-color-gold);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.hero-feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.hero-feature-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-primary);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-color-gold);
    border-radius: var(--border-radius-lg);
    padding: clamp(24px, 4vw, 48px);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow-md), var(--shadow-gold);
    overflow: hidden;
}

/* Image-only variant used by the About section */
.visual-card--image {
    padding: 0;
    background: none;
    border: none;
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    display: block;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
}

.badge-year {
    position: absolute;
    bottom: clamp(12px, 3vw, 20px);
    left: clamp(12px, 3vw, 20px);
    display: flex;
    flex-direction: column;
    background: rgba(2, 30, 60, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(125, 211, 252, 0.3);
}

.year-num {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 9vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    color: #7dd3fc;
    background: none;
    -webkit-text-fill-color: #7dd3fc;
}

.year-label {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
}

.quote-block {
    position: relative;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: rgba(2, 132, 199, 0.15);
    position: absolute;
    top: -24px;
    left: -12px;
    z-index: 0;
}

.quote-block p {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}

/* --- Events Grid Section --- */
.events-section {
    background-color: var(--bg-secondary);
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-normal);
}

.accordion-item:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: clamp(14px, 3vw, 20px) clamp(14px, 3vw, 24px);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: left;
}

.accordion-header:hover {
    background-color: rgba(2, 132, 199, 0.02);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    min-width: 0;
}

.acc-group-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    background-color: rgba(2, 132, 199, 0.1);
    padding: 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: clamp(0.98rem, 3vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.accordion-chevron {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.accordion-item.active .accordion-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-secondary);
}

.accordion-list {
    list-style: none;
    padding: clamp(14px, 3vw, 24px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(10px, 2vw, 16px);
}

.accordion-list.grid-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 768px) {
    .accordion-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accordion-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.9rem, 2.6vw, 1rem);
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    min-width: 0;
    transition: var(--transition-normal);
}

.accordion-list li:hover {
    background-color: var(--bg-primary);
    color: var(--color-gold-dark);
}

.accordion-list li svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* --- Fair & Congress Services --- */
.fairs-section {
    background-color: var(--bg-primary);
}

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

.fairs-lead {
    font-size: clamp(0.98rem, 2.6vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.fairs-visual {
    aspect-ratio: 4 / 3;
}

.fairs-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-item svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.services-container {
    display: flex;
    justify-content: center;
}

.services-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color-gold);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.services-card-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.services-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.services-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* --- Visa Services Section --- */
.visa-section {
    background-color: var(--bg-secondary);
}

.visa-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.visa-region-card {
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    overflow: hidden;
}

/* Accent bar wipes in on hover instead of the whole border changing colour */
.visa-region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.visa-region-card:hover {
    border-color: var(--border-color-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.visa-region-card.minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 30px);
}

.visa-region-card.minimal .region-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--color-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.visa-region-card.minimal:hover .region-icon-wrapper {
    background-color: var(--color-gold);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.visa-region-card.minimal .region-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.visa-region-card.minimal .region-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-wrap: balance;
}

.visa-region-card.minimal .region-desc {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 0.95rem);
    line-height: 1.6;
}

/* --- Health Consultancy Section --- */
.health-grid {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    align-items: stretch;
}

.health-visual {
    min-height: 0;
}

.health-points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.2rem);
}

.health-points-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.4vw, 1.5rem);
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.info-tile {
    background: var(--bg-secondary);
    padding: clamp(0.9rem, 2.4vw, 1.2rem);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition-normal);
}

.info-tile:hover {
    border-color: var(--border-color-gold);
    box-shadow: var(--shadow-md);
}

.info-tile .feature-icon-wrapper {
    flex-shrink: 0;
}

.info-tile h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-tile p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.health-footnote {
    margin-top: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
}

/* --- Education Section --- */
.education-section {
    background-color: var(--bg-secondary);
}

.education-section .banner-short {
    aspect-ratio: 16 / 6.5;
}

/* --- Contact & Form Section --- */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-lead {
    font-size: clamp(0.98rem, 2.6vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: clamp(28px, 4vw, 40px);
}

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

.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(2, 132, 199, 0.06);
    border: 1px solid var(--border-color-gold);
    color: var(--color-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-card h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.contact-visual {
    margin-top: clamp(24px, 4vw, 36px);
    aspect-ratio: 16 / 9;
}

.contact-visual-caption {
    position: absolute;
    left: clamp(14px, 3vw, 22px);
    bottom: clamp(12px, 3vw, 18px);
    z-index: 1;
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 2.2vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(2, 30, 60, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: var(--border-radius-sm);
    padding: 7px 14px;
}

.contact-form-block {
    display: flex;
    justify-content: center;
}

.form-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: clamp(20px, 4vw, 40px);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-md);
}

.form-header {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3.6vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-family: inherit;
    /* 16px minimum: anything smaller makes iOS Safari zoom in on focus */
    font-size: 1rem;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px var(--color-gold-glow);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-30%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-fast);
}

.select-wrapper:hover::after {
    border-color: var(--color-gold);
}

/* Captcha styling */
.captcha-group {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.captcha-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.captcha-canvas-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 4px;
    flex-shrink: 0;
}

#captcha-canvas {
    display: block;
    cursor: pointer;
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

.captcha-action-row #form-captcha {
    flex: 1 1 140px;
    min-width: 0;
}

.refresh-btn {
    border: none;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.refresh-btn svg {
    width: 18px;
    height: 18px;
}

.refresh-btn:hover {
    color: var(--color-gold);
    transform: rotate(45deg);
}

#form-captcha {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Alert Notification box styling */
.form-alert-box {
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.form-alert-box.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.form-alert-box.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.hidden {
    display: none !important;
}

/* Loading spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--bg-primary);
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color-gold);
    padding: clamp(48px, 7vw, 80px) 0 calc(40px + env(safe-area-inset-bottom)) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    padding-bottom: clamp(32px, 5vw, 60px);
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 420px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.social-link:hover {
    color: var(--bg-primary);
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

/* Footer Badges & Verification */
.footer-verification {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.tursab-badge {
    background-color: var(--bg-primary);
    border: 1px solid var(--color-gold-dark);
    border-radius: 8px;
    width: 100%;
    max-width: 250px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.tursab-badge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color-gold);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.badge-type {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--color-gold-dark);
    padding: 2px 6px;
    border-radius: 3px;
}

.tursab-badge-body {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.tursab-verif-text {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ito-badge {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-width: 250px;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
}

.ito-badge-body {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.ito-badge .badge-label {
    font-size: 0.75rem;
    font-weight: 600;
}

.ito-badge .badge-val {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 1px solid var(--color-gold-dark);
    padding: 2px 6px;
    border-radius: 3px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.corporate-badge {
    font-weight: 500;
    color: var(--text-secondary);
}

.developer-credit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.developer-credit .gold-text {
    color: var(--color-gold);
    font-weight: 600;
    transition: var(--transition-fast);
}

.developer-credit .gold-text:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

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

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

/* --- Responsive Media Queries --- */

/* Tablet & below: the inline nav no longer fits — switch to a drawer */
@media (max-width: 1150px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background-color: var(--bg-primary);
        z-index: 999;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
        padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    @supports (height: 100dvh) {
        .nav {
            height: calc(100dvh - var(--header-h));
        }
    }

    /* Drawer follows the shrunken header once the page is scrolled */
    .header.scrolled .nav {
        top: var(--header-h-scrolled);
        height: calc(100vh - var(--header-h-scrolled));
    }

    @supports (height: 100dvh) {
        .header.scrolled .nav {
            height: calc(100dvh - var(--header-h-scrolled));
        }
    }

    .nav.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list a {
        display: block;
        font-size: 1.05rem;
        padding: 16px 4px;
        color: var(--text-primary);
    }

    /* The animated underline reads as a glitch on full-width drawer rows */
    .nav-list a::after {
        display: none;
    }
}

/* Two-column layouts collapse to one */
@media (max-width: 900px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: clamp(28px, 6vw, 50px);
    }

    .about-visual {
        order: 2; /* Image below the text on narrow screens */
    }

    .media-frame,
    .fairs-visual,
    .about-img {
        aspect-ratio: 16 / 10;
    }

    /* Square source images survive a gentler crop on narrow screens */
    .section-image-banner,
    .education-section .banner-short {
        aspect-ratio: 3 / 2;
    }

    .contact-form-block {
        justify-content: stretch;
    }

    .form-wrapper {
        max-width: none;
    }

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

    .footer-verification {
        align-items: flex-start;
    }
}

/* Phones */
@media (max-width: 768px) {
    :root {
        --header-h: 68px;
        --header-h-scrolled: 60px;
    }

    .hero-cta-wrapper .btn {
        width: 100%;
    }

    .section-image-banner,
    .education-section .banner-short {
        aspect-ratio: 4 / 3;
    }

    .services-card {
        padding: 30px 20px;
    }

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

    .footer-bottom-links {
        align-items: center;
    }

    .footer-desc {
        max-width: none;
    }
}

/* Small phones */
@media (max-width: 480px) {
    /* Logo + actions must all fit on a 320px row without clipping the menu button */
    .header-actions {
        gap: 0;
    }

    .logo {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }

    .lang-btn {
        min-width: 30px;
        padding: 4px 2px;
        font-size: 0.8rem;
    }

    .lang-divider {
        display: none;
    }

    .mobile-nav-toggle {
        width: 40px;
    }

    .hero-feature-card {
        align-items: flex-start;
    }

    .accordion-header {
        align-items: flex-start;
    }

    .acc-group-icon {
        width: 28px;
        height: 28px;
    }

    .captcha-group {
        padding: 12px;
    }

    .captcha-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-canvas-wrapper {
        justify-content: space-between;
    }

    #form-captcha {
        text-align: left;
    }

    .modal-card {
        padding: 28px 20px;
    }

    .visa-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .visa-tabs::-webkit-scrollbar {
        display: none;
    }

    .visa-tab-btn {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .country-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Landscape phones: a full-height hero would hide everything below it */
@media (max-height: 520px) and (orientation: landscape) {
    .hero {
        min-height: auto;
    }
}

/* Touch devices get no hover lift — it sticks after a tap */
@media (hover: none) {
    .btn:hover,
    .visa-region-card:hover,
    .hero-feature-card:hover,
    .social-link:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Custom Alert Modal (Popup) --- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2500;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: clamp(24px, 5vw, 40px);
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 52px;
    height: 52px;
}

.modal-icon.success {
    color: #10b981; /* Emerald green */
}

.modal-icon.error {
    color: #ef4444; /* Rose red */
}

.modal-icon.info {
    color: var(--color-gold); /* Primary Blue */
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 30px;
}

.modal-close-btn {
    padding: 12px 36px;
    font-size: 0.95rem;
    border-radius: 6px;
    min-width: 120px;
}

/* --- Interactive World Map Styles --- */
.map-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-silhouette-bg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.08; /* Subtle background continents */
    pointer-events: none;
    filter: hue-rotate(200deg) brightness(0.9);
}

.map-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

/* Hub Node (Istanbul) */
.hub-node {
    fill: var(--color-accent);
    r: 8;
}

.hub-pulse {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.5px;
    r: 8;
    animation: hubRadar 2s infinite ease-out;
}

@keyframes hubRadar {
    0% {
        r: 8;
        opacity: 1;
    }
    100% {
        r: 25;
        opacity: 0;
    }
}

/* Destination Nodes (Served Countries) */
.dest-node {
    fill: var(--color-gold);
    stroke: var(--bg-secondary);
    stroke-width: 2px;
    r: 6.5;
    cursor: pointer;
    transition: transform 0.2s, fill 0.2s, r 0.2s;
}

.dest-node:hover, .dest-node.highlighted {
    fill: var(--color-accent);
    r: 9;
    transform: scale(1.2);
}

.dest-pulse {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1px;
    r: 6.5;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.dest-pulse.highlighted {
    opacity: 1;
    animation: hubRadar 1.5s infinite ease-out;
    stroke: var(--color-accent);
}

/* Flight Paths */
.flight-path {
    stroke: var(--color-gold);
    stroke-width: 1.2px;
    stroke-dasharray: 4, 3;
    opacity: 0.25;
    fill: none;
    transition: opacity 0.3s, stroke 0.3s, stroke-width 0.3s;
}

.flight-path.highlighted {
    stroke: var(--color-accent);
    opacity: 0.9;
    stroke-width: 2px;
    stroke-dasharray: none;
}

.flight-dash {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2px;
    stroke-dasharray: 8, 45;
    stroke-dashoffset: 100;
    animation: travelFlight 5s linear infinite;
    opacity: 0.6;
}

@keyframes travelFlight {
    to {
        stroke-dashoffset: -100;
    }
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background-color: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    transform: translate(-50%, -130%);
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s, transform 0.2s;
}

.map-tooltip.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -110%);
}

.map-node-label {
    fill: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.2s, fill 0.2s, font-weight 0.2s;
    user-select: none;
}

.map-node-label.active {
    opacity: 1;
    fill: var(--color-accent);
    font-weight: 700;
}
