/* ========================================
   BIRDIE GROWTH - Modern Professional Design
   Clean, Structured, Organized
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Primary Palette - Professional Blue */
    --blue-900: #0f1a2e;
    --blue-800: #1a2d4d;
    --blue-700: #2d4a6e;
    --blue-600: #3e6b9e;
    --blue-500: #4a7db8;
    --blue-400: #6b9fd4;
    --blue-300: #9ec5eb;
    --blue-200: #c5ddf5;
    --blue-100: #e8f2fc;
    --blue-50: #f4f8fd;
    
    /* Accent - Vibrant Blue for CTAs */
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.15);
    
    /* Secondary Accent - Orange for highlights */
    --orange: #f97316;
    --orange-light: #fb923c;
    
    /* Neutrals */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography - Clean Sans-Serif */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px var(--accent-glow);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
    background: transparent;
    background-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.language-selector {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 1001;
}

.language-selector select {
    padding: 0.5rem 1.25rem;
    padding-right: 2rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-800);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2d4d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.language-selector select:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-md);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: var(--blue-800);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: var(--blue-900);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-mark {
    width: 44px;
    height: 44px;
    color: var(--white);
    transition: var(--transition-base);
    background: none !important;
    background-color: transparent !important;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: none !important;
    background-color: transparent !important;
}

.brand-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--blue-800);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-600);
    border: 2px solid var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--blue-600);
    color: var(--blue-700);
    background: var(--blue-50);
}

.btn-full {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(62, 107, 158, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(60px);
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: var(--blue-500);
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    top: 50%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: var(--blue-400);
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    bottom: 10%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: var(--orange);
    opacity: 0.2;
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.hero-content-centered {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.highlight {
    color: var(--orange);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 580px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.4s backwards;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.6s ease 0.5s backwards;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s backwards;
}

.visual-container {
    position: relative;
}

.hero-illustration {
    width: 100%;
    height: auto;
    max-width: 520px;
    margin: 0 auto;
}

/* Hero Bird Wrapper - unterhalb der Buttons */
.hero-bird-wrapper {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    background: none !important;
    background-color: transparent !important;
}

.hero-bird-logo {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
    background: none !important;
    background-color: transparent !important;
    /* Übergang für Scroll-Animation */
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    transform: scale(1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
section {
    padding: var(--space-3xl) 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--slate-100);
}

.services-intro {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.services-intro p {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.services-intro p:last-child {
    margin-bottom: 0;
}

.services-intro strong {
    color: var(--blue-800);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 45, 77, 0.12);
    border-color: var(--blue-200);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    border-radius: var(--radius-md);
    color: var(--blue-700);
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon {
    background: var(--blue-700);
    color: var(--white);
    transform: scale(1.05);
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: var(--space-sm);
}

.service-content p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.service-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--slate-100);
    line-height: 1;
    transition: var(--transition-base);
}

.service-card:hover .service-number {
    color: var(--blue-100);
}

/* ========================================
   KNOWLEDGE EXCHANGE (KX) SECTION
   ======================================== */
.knowledge-exchange {
    background: var(--white);
    border-top: 1px solid var(--slate-200);
}

.kx-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.kx-header-text {
    max-width: 600px;
}

.kx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.kx-card {
    display: flex;
    flex-direction: column;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.kx-card:hover {
    border-color: var(--blue-300);
    box-shadow: 0 8px 24px rgba(26, 45, 77, 0.08);
    transform: translateY(-4px);
}

.kx-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.kx-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    border-radius: var(--radius-md);
    color: var(--blue-700);
    flex-shrink: 0;
}

.kx-icon svg {
    width: 22px;
    height: 22px;
}

.kx-card:hover .kx-icon {
    background: var(--blue-700);
    color: var(--white);
}

.kx-category {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-600);
    margin-bottom: 0.25rem;
}

.kx-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.4;
}

.kx-card-description {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.kx-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--slate-200);
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.kx-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.kx-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--slate-400);
}

.kx-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    font-weight: 600;
    color: var(--blue-600);
    transition: var(--transition-base);
}

.kx-link:hover {
    color: var(--orange);
}

.kx-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
}

.kx-link:hover svg {
    transform: translateX(3px);
}

.kx-source-link {
    display: block;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition-base);
}

.kx-source-link:hover {
    color: var(--blue-600);
}

.kx-disclaimer {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
    text-align: center;
}

.kx-disclaimer strong {
    color: var(--gray-700);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    position: relative;
    background: var(--blue-800);
    color: var(--white);
    overflow: hidden;
}

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

.about-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(62, 107, 158, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
}

.about-illustration {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
}

.visual-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
}

.about-content .section-tag {
    color: var(--blue-300);
}

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

.about-text {
    margin-bottom: var(--space-xl);
}

.about-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

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

.about-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--slate-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: var(--space-md);
}

.contact-description {
    color: var(--slate-600);
    margin-bottom: var(--space-xl);
    max-width: 400px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    border-radius: var(--radius-md);
    color: var(--blue-700);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--slate-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--slate-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-900);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--slate-800);
    transition: var(--transition-base);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--white);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--blue-900);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-mark {
    width: 36px;
    height: 36px;
    color: var(--white);
    background: none !important;
    background-color: transparent !important;
}

.footer-logo .logo-mark img {
    background: none !important;
    background-color: transparent !important;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--orange);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.footer-disclaimer {
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.terms-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-base);
}

.terms-link:hover {
    color: var(--orange-500);
}

/* ========================================
   KX SUBPAGE
   ======================================== */
.navbar-solid {
    background: var(--blue-900);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.kx-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
    position: relative;
}

.kx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.kx-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.kx-hero-content .section-title {
    color: white;
    margin-bottom: var(--space-md);
}

.kx-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.knowledge-exchange.kx-page {
    padding-top: var(--space-3xl);
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--space-lg);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    padding: var(--space-lg) var(--space-xl);
    padding-right: 60px;
    margin: 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1.5rem;
    color: var(--gray-900);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-500);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.modal-body {
    padding: var(--space-xl);
    overflow-y: auto;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.modal-body h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin: var(--space-lg) 0 var(--space-sm);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: var(--space-md);
}

.modal-body ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.modal-body li {
    margin-bottom: var(--space-xs);
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        margin: 0 auto var(--space-xl);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-bird-logo {
        max-width: 220px;
    }
    
    .hero-illustration {
        max-width: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-illustration {
        max-width: 320px;
    }
    
    .kx-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--blue-800);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--white);
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .kx-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .language-selector {
        top: var(--space-sm);
        right: var(--space-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .kx-card {
        padding: var(--space-md);
    }
    
    .kx-meta {
        flex-wrap: wrap;
    }
}
