﻿/* =========================================================================
   IM ALLTAG DABEI POLIMAC - MAIN STYLESHEET
   Premium, Modern, and Fluid Design System
   ========================================================================= */

/* --- Local Google Fonts (DSGVO Compliant) --- */

/* Outfit */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/outfit-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/outfit-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/outfit-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/outfit-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/outfit-700.ttf') format('truetype');
}

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/playfair-italic-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/playfair-normal-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/playfair-normal-600.ttf') format('truetype');
}

/* --- CSS Variables / Design Tokens --- */
:root {
    /* Color Palette - Premium & Soft */
    --clr-primary: #1e3a8a;
    /* Deep elegant blue */
    --clr-primary-light: #3b82f6;
    --clr-primary-dark: #1e40af;

    --clr-accent: #14b8a6;
    /* Vibrant Teal/Mint for contrast */
    --clr-accent-light: #2dd4bf;

    --clr-text-main: #1e293b;
    /* Soft black/dark slate */
    --clr-text-muted: #64748b;
    --clr-text-light: #f8fafc;

    --clr-bg-main: #ffffff;
    --clr-bg-alt: #f1f5f9;
    /* Very soft blue/grey for alternate sections */
    --clr-bg-card: #ffffff;

    --clr-border: #e2e8f0;

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    /* For headers to give premium feel */

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-pad-y: 6rem;

    /* Transitions & Animations */
    --trans-fast: 0.2s ease;
    --trans-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Soft and modern */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-base: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --shadow-hover: 0 20px 40px -5px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

@media (max-width: 767px) {
    :root {
        --section-pad-y: 3.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --section-pad-y: 4.5rem;
    }
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base for rem */
    scroll-padding-top: 100px;
    /* Account for fixed navbar height */
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--clr-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad-y) 0;
    position: relative;
    overflow: hidden;
}

.bg-light {
    background-color: var(--clr-bg-alt);
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--clr-accent);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--clr-accent-light);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--clr-accent);
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.25rem 1rem;
    background-color: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

.base-card {
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border: 1px solid var(--clr-border);
}

@media (min-width: 768px) {
    .base-card {
        padding: 2.5rem;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--trans-base);
    border: 2px solid transparent;
    font-size: 1rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Button Hover Ripple Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease-out;
    z-index: -1;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--clr-text-light);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-text-light);
    color: var(--clr-text-light);
}

.btn-outline:hover {
    background-color: var(--clr-text-light);
    color: var(--clr-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--trans-base);
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 95px;
    /* Erhöht für bessere Sichtbarkeit */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 75px;
    /* Etwas kleiner beim Scrollen, aber immer noch gut lesbar */
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--clr-text-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-link {
    color: var(--clr-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    transition: var(--trans-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-accent);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--clr-accent);
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--clr-text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--trans-base);
}

.navbar.scrolled .mobile-toggle {
    color: var(--clr-primary);
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--trans-base);
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-container {
    transform: translateY(0);
}

.mobile-close {
    position: absolute;
    top: -2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--clr-text-light);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--clr-text-light);
    font-family: var(--font-serif);
}

.mobile-btn {
    margin-top: 1rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    /* Account for navbar */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    /* Slight zoom for parallax/animation effect */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.9) 0%, rgba(30, 58, 138, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4rem;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        margin-top: 0;
    }
}

.hero-text-wrapper {
    color: var(--clr-text-light);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
}

@media (min-width: 768px) {
    .hero-stats {
        align-self: flex-end;
        max-width: 400px;
        margin-left: auto;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--clr-text-light);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--clr-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.stat-icon-wrapper i {
    color: white;
    width: 28px;
    height: 28px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info strong {
    font-size: 1.25rem;
    font-family: var(--font-serif);
}

.stat-info span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
    transition: var(--trans-base);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--clr-text-light);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--clr-text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: var(--trans-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--clr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--clr-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--trans-base);
}

.service-icon i {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon {
    background-color: var(--clr-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-text-main);
    font-weight: 500;
}

.service-features i {
    color: var(--clr-accent);
    width: 20px;
    height: 20px;
}

/* --- About Section --- */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.image-composition {
    position: relative;
    padding-bottom: 3rem;
    padding-right: 3rem;
}

.main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.main-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.main-image img {
    border-radius: var(--radius-lg);
    transition: transform 0.7s ease;
}

.image-composition:hover .main-image img {
    transform: scale(1.03);
}

.secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 8px solid var(--clr-bg-main);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-badge {
    position: absolute;
    top: 2rem;
    left: -2rem;
    background-color: var(--clr-accent);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    text-align: center;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Animations */
.floating {
    animation: floating 3s ease-in-out infinite alternate;
}

.floating-slow {
    animation: floating 5s ease-in-out infinite alternate-reverse;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.about-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--clr-accent);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature h4 {
    font-family: var(--font-sans);
    margin-bottom: 0.25rem;
    color: var(--clr-text-main);
}

.feature p {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

.info-card {
    height: 100%;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.info-card>p {
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--clr-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text .label {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.info-text a,
.info-text span {
    color: var(--clr-text-main);
    font-weight: 600;
    font-size: 1.125rem;
}

.info-text a:hover {
    color: var(--clr-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--clr-bg-alt);
    color: var(--clr-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--trans-base);
}

.social-link:hover {
    background-color: var(--clr-primary);
    color: white;
    transform: translateY(-3px);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text-main);
}

.input-wrapper,
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--clr-text-muted);
    width: 20px;
    height: 20px;
}

.select-icon {
    position: absolute;
    right: 1rem;
    color: var(--clr-text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    background-color: var(--clr-bg-alt);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--clr-text-main);
    transition: var(--trans-base);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: var(--clr-bg-main);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

input {
    padding-left: 3rem;
}

select {
    appearance: none;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.25rem;
    font-size: 1.125rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    padding: 5rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer-links-group h4 {
    color: white;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.heart-icon {
    display: inline-block;
    color: var(--clr-accent);
    width: 16px;
    height: 16px;
    vertical-align: middle;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Scroll Animations (Reveal Classes) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* --- Utilities & Animations --- */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 58, 138, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background-color: var(--clr-bg-main);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(30, 58, 138, 0.05);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-text-main);
    cursor: pointer;
    transition: var(--trans-base);
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--clr-primary);
    color: white;
    transform: rotate(90deg);
}

.modal-content-wrapper {
    padding: 3rem;
    overflow-y: auto;
    /* Custom scrollbar for modal */
    scrollbar-width: thin;
    scrollbar-color: var(--clr-primary-light) var(--clr-bg-alt);
}

.modal-content-wrapper::-webkit-scrollbar {
    width: 6px;
}

.modal-content-wrapper::-webkit-scrollbar-track {
    background: var(--clr-bg-alt);
}

.modal-content-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--clr-primary-light);
    border-radius: 10px;
}

.modal-title {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--clr-bg-alt);
}

.modal-body {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--clr-text-main);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.5rem 0;
    font-family: var(--font-sans);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--clr-bg-card);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 5000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--clr-border);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        padding: 2rem 1.5rem;
        gap: 2.5rem;
    }
}

.cookie-icon {
    display: none;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--clr-accent);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cookie-icon {
        display: flex;
    }
}

.cookie-text {
    flex-grow: 1;
}

.cookie-text h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--clr-primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .cookie-buttons {
        flex-direction: row;
    }
}



