/* Global Styles - Premium Medical Brand Theme */
:root {
    /* Color System - Premium Medical */
    --primary-bg: #F7F9FC;
    /* Soft Neutral Background */
    --secondary-bg: #FFFFFF;
    /* Pure White for Cards */

    --accent-color: #0B2545;
    /* Deep Premium Navy */
    --accent-light: #1E3A8A;
    /* Lighter Navy for hover */

    --medical-green: #10B981;
    /* Medical Trust Green */
    --medical-green-dark: #059669;

    --text-main: #0B2545;
    /* Navy for Headings */
    --text-body: #4A4A4A;
    /* Soft Dark Gray for Body */
    --text-muted: #64748b;
    /* Slate for less important text */

    --border-color: #E2E8F0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Layout */
    --container-width: 1200px;
    /* Tighter container for readability */
    --header-height: 90px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Overrides - Pro Alignment */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Slightly less tight */
    margin-bottom: 0.75em;
    /* Standardized */
}

p {
    color: var(--text-muted);
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 1.5em;
}

/* Ad Banner - Centered */
.ad-banner-top {
    background: var(--text-main);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    /* Slightly tighter */
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Heading & Hero Adjustments */
.hero-content h1 {
    font-size: 3.75rem;
    /* Optical balance */
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Alignment Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

/* Section Title - Always Centered with Line */
.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin: 0;
    display: block;
    text-align: center;
    line-height: 1.2;
}

/* Feature Card Alignment */
.feature-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    /* Softer corners */
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
    /* Keep left for readability */
    height: 100%;
    /* Uniform height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card p {
    margin-bottom: 0;
    /* Remove bottom margin in cards */
    font-size: 0.95rem;
}

/* Navigation - Clean & Solid */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    margin: 0;
    border-radius: 0;
    max-width: 100%;
}

.glass-header.scrolled {
    box-shadow: var(--shadow-sm);
    top: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    /* Slightly larger */
    font-weight: 300;
    /* Light weight base */
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    background: none;
    -webkit-text-fill-color: var(--text-main);
    letter-spacing: -0.03em;
    /* Tight tracking */
}

.brand-bold {
    font-weight: 700;
    /* Bold contrast */
}

.logo .dot {
    color: var(--medical-green);
    font-size: 2rem;
    line-height: 0;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cta-button {
    background: var(--medical-green);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    /* Slightly more rounded */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.cta-button:hover {
    background: var(--medical-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section - Clean Split & Gradient */
.hero-section {
    padding: 100px 0;
    /* More breathing room */
    background: linear-gradient(135deg, #F7F9FC 0%, #E2E8F0 100%);
    /* Subtle neutral gradient */
    overflow: hidden;
    min-height: 90vh;
    /* Taller hero */
    display: flex;
    /* Center vertically */
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    padding: 0;
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    /* Medical Green tint */
    color: var(--medical-green-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    border: none;
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Large and bold */
    margin-bottom: 32px;
    color: var(--accent-color);
    /* Navy */
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--medical-green), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 540px;
    color: var(--text-body);
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-cta {
    background: var(--text-main);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-transform: none;
    letter-spacing: normal;
}

.hero-cta:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-cta {
    padding: 14px 32px;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    transition: var(--transition);
}

.secondary-cta:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: #eff6ff;
}

.hero-image-container {
    padding-right: 0;
    display: block;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    object-fit: cover;
    transform: scale(1.01);
    box-shadow: none;
    border-radius: 0;
    animation: none;
}

/* Floating Card - Tech Style */
.floating-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--accent-color);
    max-width: 260px;
    animation: none;
}

.floating-card .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: none;
    width: auto;
    height: auto;
}

.floating-card .text {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.floating-card small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections Global - Perfect Rhythm */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 24px;
    /* Balanced 80px */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    /* Standardized gap */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin: 0;
    display: block;
    left: auto;
    transform: none;
    text-align: center;
}

.section-title::after {
    display: none;
}

/* About Section */
.about-section,
.why-us-section,
.testimonials-section {
    padding: 60px 0;
    /* Reduced from 100px */
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Reduced from 80px */
    align-items: center;
}

/* Why Us cards - Professional Grid */
.why-us-section {
    background: var(--secondary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Feature Cards - Premium Medical */
.feature-card {
    background: var(--secondary-bg);
    padding: 48px 32px;
    border-radius: 16px;
    border: 1px solid transparent;
    /* Cleaner look */
    transition: all 0.4s ease;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
    /* Medical Green hint */
    background: #fff;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(11, 37, 69, 0.05);
    /* Navy tint */
    color: var(--medical-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 32px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    overflow: visible;
    padding: 20px 10px;
}

.testimonial-card {
    background: var(--secondary-bg);
    padding: 48px;
    border-radius: 20px;
    border: none;
    position: relative;
    box-shadow: var(--shadow-sm);
    flex: auto;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    display: none;
}

.testimonial-card .stars {
    color: #F59E0B;
    /* Amber */
    margin-bottom: 24px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    color: var(--text-main);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.8;
}

.testimonial-card .author {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: auto;
    justify-content: flex-start;
    color: var(--text-main);
    font-weight: 700;
}

.testimonial-card .author .avatar {
    width: 48px;
    height: 48px;
    margin-right: 16px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.testimonial-card .author .info {
    text-align: left;
}

.testimonial-card .author .info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Footer - Premium Medical */
.glass-footer {
    background: var(--accent-color);
    /* Deep Premium Navy */
    color: #94A3B8;
    /* Slate 400 */
    padding: 80px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle divider */
    padding-bottom: 48px;
    margin-bottom: 32px;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-column h3 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased spacing */
}

.footer-column a {
    color: #94A3B8;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #FFFFFF;
    text-decoration: none;
    padding-left: 6px;
}

.ad-disclaimer {
    border: none;
    color: #64748b;
    font-size: 0.75rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* FAQ - Premium Accordion */
.faq-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    /* Clean divider style */
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.faq-question {
    padding: 24px 0;
    color: var(--text-main);
    background: transparent;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    /* Align toggle icon */
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: transparent;
    color: var(--medical-green);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-out;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer.show {
    padding: 0 0 24px 0;
    max-height: 500px;
    /* Allow enough space */
    opacity: 1;
}

/* Cookie Popup - Modern */
.cookie-popup {
    background: #fff;
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.btn-reject {
    border: 1px solid var(--border-color) !important;
    color: var(--text-main);
}

/* Loader - Sound Wave */
.loader-container {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.sound-wave .bar {
    display: block;
    width: 6px;
    height: 10px;
    background: var(--accent-color);
    /* Navy default */
    border-radius: 4px;
    animation: soundWave 1.2s infinite ease-in-out;
}

.sound-wave .bar:nth-child(2) {
    animation-delay: 0.1s;
    background: var(--medical-green);
    /* Accent Green */
    height: 20px;
}

.sound-wave .bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 30px;
}

.sound-wave .bar:nth-child(4) {
    animation-delay: 0.3s;
    background: var(--medical-green);
    height: 20px;
}

.sound-wave .bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 10px;
}

@keyframes soundWave {

    0%,
    100% {
        height: 10px;
        transform: scaleY(1);
    }

    50% {
        height: 50px;
        transform: scaleY(1.5);
    }
}

/* Animation Classes */
.fade-in,
.fade-in-up,
.fade-in-left,
.slide-left,
.slide-right {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in-left,
.slide-left {
    transform: translateX(-20px);
}

.fade-in.visible,
.fade-in-up.visible,
.fade-in-left.visible,
.slide-left.visible,
.slide-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}


/* Responsive - Premium Mobile */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .hero-cta,
    .secondary-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-image-container {
        padding: 0;
        margin-bottom: 40px;
    }

    .floating-card {
        display: none;
    }

    .about-grid,
    .features-grid,
    .testimonials-slider,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .footer-column {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 32px;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column ul {
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .header-actions .cta-button {
        display: none;
        /* Hide button on mobile */
    }

    .hamburger {
        display: flex !important;
        /* Override global style at bottom of file */
        z-index: 1002;
        margin-left: 0;
        width: 30px;
        height: 20px;
        justify-content: space-between;
    }

    .glass-header {
        padding: 0 20px;
    }

    .mobile-menu.active {
        display: flex !important;
        /* Ensure visibility */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonials-slider {
        padding-bottom: 20px;
    }

    .image-stack {
        height: auto;
    }

    .main-img {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .sub-img {
        display: none;
    }

    /* Simplify on mobile */
}

/* Helper Classes */
.hamburger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.hamburger .line {
    background: var(--text-main);
    height: 2px;
    width: 100%;
    border-radius: 2px;
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px 24px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1003;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex !important;
}

/* Close Icon */
.close-icon {
    color: var(--text-main);
    top: 24px;
    right: 24px;
    position: absolute;
    font-size: 2.5rem;
    /* Larger touch target */
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1004;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
}

.close-icon:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
    background: #e2e8f0;
}

.mobile-nav-links {
    list-style: none;
    /* Remove bullets */
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.mobile-nav-links a {
    color: var(--text-main);
    font-size: 1.5rem;
    /* Larger text */
    font-weight: 600;
    display: block;
    text-decoration: none;
}

.mobile-nav-links .cta-button.mobile-cta {
    display: inline-flex;
    margin-top: 16px;
    padding: 16px 32px;
    width: auto;
    min-width: 200px;
    justify-content: center;
    background: var(--medical-green);
    color: #fff !important;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: var(--shadow-md);
}

/* --- RE-ADDED MISSING STYLES --- */

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 24px;
    display: none;
    /* Managed by JS/Class */
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    display: flex;
}

.cookie-popup p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
    margin-right: 20px;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-buttons button {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept {
    background: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-accept:hover {
    background: var(--accent-dark);
}

.btn-reject {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-reject:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Navy/Slate overlay */
    backdrop-filter: blur(4px);
    z-index: 11000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s;
}

.modal[style*="display: flex"] {
    opacity: 1;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.modal[style*="display: flex"] .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--text-main);
}



@media (max-width: 768px) {
    .cookie-popup {
        flex-direction: column;
        text-align: center;
        bottom: 20px;
    }

    .cookie-popup p {
        margin: 0 0 20px 0;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 0 300px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}