/* Base Variables & Theme */
:root {
    --primary-color: #d81b60; /* Darkish Pink */
    --primary-dark: #ad1457;
    --primary-light: #f48fb1;
    --bg-color: #faf5f7; /* Impure White */
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-bg-hover: rgba(255, 255, 255, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --surface-color: var(--glass-bg);
    --text-main: #1a1a1a;
    --text-muted: #3a3a3a;
    --border-radius: 24px;
    --border-radius-sm: 12px;
    --shadow: var(--glass-shadow);
    --shadow-hover: 0 15px 40px rgba(31, 38, 135, 0.15);
    --transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    /* Gradient combination of the colors */
    background: linear-gradient(135deg, #faf5f7 0%, #f48fb1 50%, #d81b60 100%);
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

/* Glass Utility (Reusable) */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: var(--shadow);
}

/* Floating Social Icons */
.floating-icons {
    position: fixed;
    bottom: 40px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp { background: rgba(37, 211, 102, 0.8); animation-delay: 0s; }
.call { background: rgba(216, 27, 96, 0.8); animation-delay: 0.2s; }
.instagram { background: rgba(225, 48, 108, 0.8); animation-delay: 0.4s; }

@keyframes float {
    0% { transform: translate3d(0, 0px, 0); }
    50% { transform: translate3d(0, -10px, 0); }
    100% { transform: translate3d(0, 0px, 0); }
}

/* Typography & Utilities */
h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 700; color: var(--text-main); margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(255,255,255,0.5); }
h2 { font-size: 2.5rem; font-weight: 600; color: var(--text-main); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary-dark); }
p { font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.5rem; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-primary {
    background: rgba(216, 27, 96, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}

/* App Container */
.app-container {
    max-width: 1400px;
    margin: 40px auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    
    /* Apply Glassmorphism */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 5px rgba(255,255,255,0.8);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
}

/* Mobile Menu Styles */
.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 1001;
}

.mobile-dropdown {
    position: absolute;
    top: 75px;
    left: 20px;
    background: rgba(216, 27, 96, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    width: 220px;
    box-shadow: 0 15px 35px rgba(216, 27, 96, 0.4), inset 0 0 10px rgba(255,255,255,0.2);
    z-index: 1000;
    overflow: hidden;
    
    /* Paper drop and fade in animation */
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transform: perspective(600px) rotateX(-90deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.5s ease;
}

.mobile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: perspective(600px) rotateX(0deg);
}

.dropdown-links {
    list-style: none;
    padding: 10px 0;
}

.mobile-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s ease;
}

.dropdown-links li:last-child .mobile-link {
    border-bottom: none;
}

.mobile-link:hover {
    background: rgba(0,0,0,0.1);
}

/* Page Sections Logic */
.page-section {
    display: block;
    padding: 40px;
    animation: fadeIn 0.6s ease;
}

/* View Containers */
.view-container {
    display: block;
    animation: fadeIn 0.4s ease;
}

.view-container.hidden {
    display: none;
}

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

/* Section 1: Hero (Home) */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(216,27,96,0.3) 100%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.doctor-image {
    position: relative;
    z-index: 1;
    max-width: 90%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.6);
}

.stats-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.stat-box h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    text-shadow: 0 2px 5px rgba(255,255,255,0.8);
}

.cards-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    flex: 1;
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.primary-card {
    background: rgba(216, 27, 96, 0.7);
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.primary-card h4 { color: white; margin: 15px 0; font-size: 1.2rem; }
.primary-card .badge {
    background: rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}
.primary-card .card-icons { display: flex; gap: 15px; font-size: 1.5rem; opacity: 0.9; color: white; }

.light-card h4 { margin-bottom: 20px; font-size: 1.2rem; }
.light-card:hover, .primary-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Section 2: Quiz */
.quiz-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.quiz-option {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.hidden { display: none; }
.result-icon { font-size: 4rem; color: #25D366; margin-bottom: 20px; filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.4)); }

/* Section 3: Video */
.video-wrapper {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin-top: 40px;
    background: rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius) - 2px);
}

/* Section 4: Results & Reviews */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(255,255,255,0.8);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

#rev-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

#rev-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

#rev-track .review-card {
    scroll-snap-align: start;
    flex: 0 0 85%; /* Let the next card peek on mobile so user knows to scroll */
}

@media (min-width: 993px) {
    #rev-track .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-dark);
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-slide {
    flex: 0 0 calc(50% - 15px);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.carousel-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.6);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-caption {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255,255,255,0.4);
    text-align: center;
    transition: all 0.3s ease;
}

.slide-caption summary {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    outline: none;
}

.slide-caption summary::-webkit-details-marker {
    display: none;
}

.slide-caption p.detail-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

.review-card {
    flex: 0 0 calc(50% - 15px);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.stars { color: #FFB300; margin-bottom: 15px; font-size: 1.2rem; filter: drop-shadow(0 2px 4px rgba(255, 179, 0, 0.3)); }
.review-text { font-style: italic; font-size: 1.1rem; color: var(--text-main); }
.reviewer { font-weight: 600; color: var(--primary-dark); text-align: right; margin-top: 15px; }

/* Add Review Form */
.add-review-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-shadow: var(--shadow);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group { text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.rating-select {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    color: #FFB300;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(255, 179, 0, 0.3));
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { padding-right: 0; }
    .cards-row { flex-direction: column; }
    .stats-container { justify-content: center; }
    .carousel-slide { flex: 0 0 calc(50% - 15px); }
    .review-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .nav-links { display: none; }
    .mobile-menu-icon { display: block; }
    .navbar { padding: 15px 20px; }
    .options-grid { grid-template-columns: 1fr; }
    .carousel-slide { flex: 0 0 100%; }
    .floating-icons { left: 10px; bottom: 20px; transform: scale(0.75); transform-origin: bottom left; }
    .app-container { margin: 0; border-radius: 0; padding-bottom: 20px; }
    .page-section { padding: 30px 15px; }
    .mobile-dropdown { width: calc(100vw - 40px); left: 20px; top: 65px; z-index: 1000; }
    .circle-bg { width: 300px; height: 300px; }
    .stats-container { flex-wrap: wrap; justify-content: space-around; gap: 20px; }
    .stat-box { text-align: center; }
    .stat-box h3 { font-size: 1.8rem; }
    .map-container iframe { height: 300px; border-radius: 12px !important; }
    
    /* Mobile Review Adjustments */
    .review-details summary {
        display: none !important;
    }
    .review-details {
        display: block;
    }
    .review-card {
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .review-card .review-text {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-top: 0;
        font-style: italic;
    }
    .review-card .reviewer {
        margin-top: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .circle-bg { width: 250px; height: 250px; }
    .btn-large { padding: 12px 24px; font-size: 1rem; }
    .quiz-container { padding: 20px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
    .review-card { padding: 20px; }
    .nav-actions .btn { padding: 8px 16px; font-size: 0.9rem; }
    .logo { font-size: 1.2rem; }
}

/* Doctor Inline Profile Card */
.doctor-profile-card {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto;
}
.doctor-profile-card h4 {
    font-size: 1.8rem;
    margin-top: 10px;
}
.doctor-inline-image {
    width: 100%;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.6);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* Expandable Review Details */
.review-details summary {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    outline: none;
    margin-bottom: 5px;
}
.review-details summary::-webkit-details-marker {
    display: none;
}
.review-details p.review-text {
    animation: fadeIn 0.4s ease;
    margin-top: 10px;
}

/* --- Section 5: Appointment Form --- */
#appointment {
    background: linear-gradient(135deg, #ffffff 0%, #fce4ec 100%);
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

.appointment-wrapper {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.appointment-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 15px 35px rgba(216, 27, 96, 0.08);
}

.appointment-intro {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: left;
}

#clinic-booking-container {
    width: 100%;
    height: auto;
    background: transparent;
    padding: 0;
    margin-top: 0;
}

@media (max-width: 480px) {
    .appointment-form-container {
        padding: 25px 20px;
    }
}

/* Dynamic Review Notification Popup */
.review-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fce4ec 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 3px solid var(--primary-light);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.2);
    z-index: 999;
    text-decoration: none;
    color: var(--text-main);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: blinkBorder 2s infinite alternate;
}

.review-popup.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.review-popup:hover {
    transform: scale(1.02);
}

.popup-content {
    transition: opacity 0.5s ease;
}

.popup-name {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.popup-stars {
    color: #FFB300;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.popup-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
}

@keyframes blinkBorder {
    from { border-color: var(--primary-light); box-shadow: 0 10px 30px rgba(216, 27, 96, 0.1); }
    to { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(216, 27, 96, 0.4); }
}

@media (max-width: 768px) {
    .review-popup {
        bottom: 20px;
        right: 20px;
        width: 280px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .review-popup {
        bottom: 20px;
        right: 20px;
        left: auto;
        transform: scale(1);
        transform-origin: bottom right;
        width: 240px;
        max-width: none;
        padding: 12px;
        z-index: 1001;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .review-popup.hidden {
        transform: scale3d(0, 0, 1);
        opacity: 0;
    }
    .review-popup.shrunk {
        transform: scale3d(0.125, 0.125, 1);
    }
    .review-popup.shrunk .popup-content {
        opacity: 0;
        visibility: hidden;
    }
    .review-popup:hover {
        transform: scale(1.02);
    }
    .popup-name {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    .popup-stars {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    .popup-text {
        font-size: 0.85rem;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 20px 20px;
    font-family: 'Outfit', sans-serif;
    margin-top: auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-column h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-top {
        justify-content: flex-start;
        gap: 100px;
    }
    .footer-column {
        flex: 0 1 auto;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-bottom p {
        margin-bottom: 0;
    }
}

/* --- FAQ Accordion --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.faq-answer p {
    padding: 15px 25px 25px;
    margin: 0;
    color: var(--text-main);
    line-height: 1.6;
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
}

.faq-question.active + .faq-answer p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

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