@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Color Variables and Theme Definition */
:root {
    /* Primary brand colors */
    --primary-hsl: 182, 75%, 35%;
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(182, 75%, 45%);
    --primary-dark: hsl(182, 75%, 25%);
    
    --secondary-hsl: 215, 60%, 45%;
    --secondary: hsl(var(--secondary-hsl));
    --secondary-light: hsl(215, 60%, 55%);
    --secondary-dark: hsl(215, 60%, 35%);

    --accent-hsl: 14, 85%, 55%;
    --accent: hsl(var(--accent-hsl));
    --accent-light: hsl(14, 85%, 65%);
    
    --success: #10b981;
    --error: #ef4444;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadow presets */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    
    /* Layout properties */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --max-width: 1200px;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.75);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --shadow-color: rgba(0, 0, 0, 0.06);
    --input-bg: #f1f5f9;
    --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.65) 100%);
    --card-hover-border: rgba(var(--primary-hsl), 0.2);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-glass: rgba(17, 24, 39, 0.75);
    --border-color: rgba(37, 99, 235, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --input-bg: #1f2937;
    --hero-overlay: linear-gradient(135deg, rgba(7, 10, 17, 0.92) 0%, rgba(11, 15, 25, 0.75) 100%);
    --card-hover-border: rgba(var(--primary-hsl), 0.4);
}

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

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

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

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

button, .btn {
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo svg {
    color: var(--primary);
}

.logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

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

/* Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: var(--input-bg);
    color: var(--text-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--border-color);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    background-image: var(--hero-overlay), url('clinic_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: var(--header-height) 0 0 0;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp var(--transition-slow);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-hsl), 0.25);
    border: 1px solid rgba(var(--primary-hsl), 0.4);
    color: #4fe3e8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--primary-hsl), 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-hsl), 0.45);
    opacity: 0.95;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--accent-hsl), 0.3);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-hsl), 0.4);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

/* Goals (Was wir wollen) Section */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.goal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.goal-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-md);
}

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

.goal-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(var(--primary-hsl), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.goal-card:hover .goal-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.05);
}

.goal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

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

/* Call to Action Bar */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 8px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* News / Pressemitteilung Section */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.news-main {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-main h3 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.news-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    border-left: 4px solid var(--accent);
    padding-left: 16px;
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.news-bullets {
    margin: 24px 0;
    padding-left: 8px;
}

.news-bullets li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.news-bullets li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.quote-block {
    margin-top: 32px;
    padding: 24px;
    border-radius: var(--border-radius-md);
    background: var(--input-bg);
    border-left: 4px solid var(--primary);
}

.quote-block p {
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.quote-author {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

/* Sidebar / Info Column */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-card h4 i {
    color: var(--primary);
}

/* Progress Tracker / Signature simulation */
.progress-container {
    margin-top: 16px;
}

.progress-bar-bg {
    height: 10px;
    background-color: var(--input-bg);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    width: 74%; /* Simulated value */
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 100px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}

.info-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li i {
    color: var(--accent);
    margin-top: 4px;
}

/* About / Mitstreiter Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.about-image {
    position: relative;
}

/* Abstract design card for about section to look super premium */
.about-graphic-card {
    background: linear-gradient(135deg, rgba(var(--primary-hsl), 0.1) 0%, rgba(var(--secondary-hsl), 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.about-graphic-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-hsl), 0.08) 0%, transparent 70%);
}

.about-badge-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
    transform: rotate(-1deg);
}

.about-badge-card i {
    font-size: 2rem;
    color: var(--accent);
}

.about-badge-card h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-badge-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-badge-card.card-2 {
    transform: rotate(1deg);
    margin-bottom: 0;
    margin-left: 40px;
}

.about-badge-card.card-2 i {
    color: var(--primary);
}

/* Contact / Email Form Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
}

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

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(var(--primary-hsl), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.method-details h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.method-details a,
.method-details p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-hsl), 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit-btn {
    width: 100%;
}

.form-status {
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 12px;
}

.form-status.success {
    display: flex;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-status.error {
    display: flex;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Footer */
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-secondary);
}

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

/* Modals (Impressum / Datenschutz) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
    overflow: hidden;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: transparent;
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--input-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

/* Custom Scrollbar for Modal and Body */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.modal-body h4 {
    font-size: 1.15rem;
    margin: 24px 0 12px 0;
}

.modal-body h4:first-of-type {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -8px);
    }
    60% {
        transform: translate(-50%, -4px);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .mobile-nav-toggle {
        display: block;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-graphic-card {
        padding: 30px;
    }
    
    .about-badge-card.card-2 {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .news-main {
        padding: 30px;
    }
    
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}
