/* 
  Medassist Ayurveda Landing Page Styles
  Based on design from https://www.medassist.ru/
*/

/* Используем системные шрифты вместо Google Fonts */

html {
    scroll-behavior: smooth;
}

:root {
    /* Brand Colors */
    --color-primary: #771469;
    /* Purple / Eggplant */
    --color-secondary: #009BB9;
    /* Blue/Cyan */
    --color-bronze: #cd7f32;
    /* Bronze from Sri Lanka title */
    --color-amber: #e1ad01;
    /* Amber from color picker */
    --color-footer-bg: #2F3338;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-border: #dee2e6;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 133px;
    /* Approx from analysis */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: #5a0f50;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* Visibility Classes */
.mobile-only {
    display: none !important;
}

/* Header Styles */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-top {
    padding: 10px 0;
    font-size: 14px;
}

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

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust as needed */
    width: auto;
}

.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-contact .btn-outline {
    padding: 8px 20px;
    font-weight: 500;
}

/* Messenger Icons */
.messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.messenger-icon:hover {
    transform: scale(1.1);
}

.icon-whatsapp {
    color: #25D366;
}

.icon-telegram {
    color: #0088cc;
}

.burger-btn {
    display: none;
}

.phone-link {
    font-weight: 600;
    font-size: 17px;
    color: #333;
}

.header-nav {
    background-color: #f3ecf1;
    color: #1f1f1f;
}

.header-nav .container {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
}

.nav-item a {
    display: block;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 500;
    color: #1f1f1f;
}

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

/* Hero Section */
.hero {
    background: url('images/hero-banner.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    height: 588px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: none;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: none;
}

.hero .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 16px;
    padding: 12px 32px;
    border-radius: 50px;
}

.hero .btn-primary:hover {
    background-color: #f6e1eb;
    color: var(--color-primary);
}

/* Responsive Hero Banner */
@media (max-width: 768px) {
    .hero {
        background-image: url('images/hero-banner-tablet.webp');
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('images/hero-banner-mobile.webp');
    }
}

/* Intro Section */
.intro {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--color-white);
}

.intro h2 {
    color: var(--color-text-main);
    font-size: 36px;
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: none;
}

.intro-icon-wrapper {
    width: 120px;
    height: 120px;
    background-color: #f7f6f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.intro-icon {
    width: 60px;
    height: 60px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Destinations Section */
.destinations {
    padding: 50px 0;
    background-color: var(--color-light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    /* Increased from 10px for standalone titles */
    color: var(--color-text-main);
    font-size: 28px;
    font-weight: 700;
}

.section-title+.section-subtitle {
    margin-top: -30px;
    /* Pull subtitle up to maintain small gap */
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-light);
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.destinations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.destination-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.destination-card h3 {
    color: var(--color-secondary);
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Resorts Grid */
.resorts {
    padding: 80px 0;
}

.resorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resort-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 0px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.resort-card:hover {
    transform: translateY(-5px);
}

.resort-image {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.resort-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resort-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.resort-stars {
    color: #ffd700;
    /* Gold */
    margin-bottom: 15px;
    font-size: 14px;
}

.resort-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.resort-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--color-light-gray);
}

.resort-price {
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 16px;
}

.btn-card {
    padding: 5px 16px;
    font-size: 12px;
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    /* Mixed case */
}

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

.resort-stars {
    color: #cd7f32;
    /* Bronze for all */
    margin-bottom: 15px;
    font-size: 14px;
}

/* Modal Styles */
.resort-modal {
    max-width: 900px;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
}

.resort-modal-header {
    margin-bottom: 25px;
}

.resort-modal-header h2 {
    color: var(--color-text-main);
    /* Changed to black/dark gray */
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1.5;
    /* Increased line-height */
}

/* Fancybox Override */
.fancybox__content {
    padding: 1rem !important;
    /* Force padding change */
}

.resort-modal-header .resort-stars {
    margin-bottom: 0;
    font-size: 16px;
}

.resort-modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Give image column slightly more space if needed, or 1fr 1fr */
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
    /* Align to top */
}

.resort-modal-image img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 3/2;
    /* Fixed aspect ratio to prevent distortion */
    /* Fixed height removed */
    object-fit: cover;
    /* Ensure image covers area without distortion */
    display: block;
}

.resort-price-large {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: -5px;
    /* Visual alignment */
    margin-bottom: 20px;
}

.resort-modal-desc h4 {
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.resort-modal-desc ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--color-text-light);
    font-size: 15px;
}

.resort-modal-desc li {
    margin-bottom: 8px;
}

.resort-modal-form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
}

.form-instruction {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-text-main);
    font-weight: 500;
}

.resort-modal-form {
    display: grid;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.btn-block {
    width: 100%;
}

@media (max-width: 768px) {
    .resort-modal-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }
}

/* Color Picker Section (Temporary) */
.color-picker {
    padding: 60px 0;
    background-color: var(--color-light-gray);
    text-align: center;
}

.color-picker-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.color-box {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-box:hover {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    padding: 0;
    /* Remove padding for full-width */
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0;
    /* No gap */
}

.gallery-item {
    display: block;
    border-radius: 0;
    /* Remove border radius */
    overflow: hidden;
    height: 300px;
    /* Increased height for better visual */
    position: relative;
    /* Remove shadow for clean look */
    box-shadow: none;
}

.gallery-item:hover {
    transform: none;
    /* Remove lift effect */
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
    display: block;
    margin-bottom: 10px;
}

/* Removed old hover rule - specific styles defined below */


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

/* Responsive Grid adjustments */
@media (max-width: 992px) {
    .resorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Tablet: 3 cols * 2 rows = 6 items max */
    .gallery-item:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* Modal Mobile Adjustments */
    .resort-modal {
        padding: 10px 5px;
        /* Reduced further as requested (10px top/bottom, 5px left/right) */
    }

    .resort-modal-header h2 {
        font-size: 20px;
        /* Reduced to 20px on mobile */
    }

    .resort-modal-grid {
        gap: 20px;
    }

    .resort-modal-desc ul {
        padding-left: 15px;
        /* Less indentation */
    }

    .header-top .container {
        flex-direction: row;
        /* KEEP ROW for one line */
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 5px 15px;
    }

    .logo {
        margin-bottom: 0;
        font-size: 18px;
        order: 1;
        /* Logo far left */
        flex-grow: 0;
        justify-content: flex-start;
        margin-left: 0;
    }

    .header-contact {
        order: 2;
        /* Middle section */
        flex-direction: row;
        gap: 10px;
        margin-top: 0;
        width: auto;
        flex-grow: 1;
        justify-content: flex-end;
        margin-right: 15px;
    }

    .burger-btn {
        display: block;
        order: 3;
        /* Far right */
    }

    .header-contact .btn-outline {
        display: none !important;
        /* Hide in header top for mobile */
    }

    .header-contact .messenger-icon {
        margin-right: 5px;
    }

    .nav-btn-call {
        display: block;
        background-color: var(--color-primary);
        color: var(--color-white) !important;
        text-align: center;
        padding: 12px 20px;
        border-radius: 24px;
        margin: 10px 0;
        font-weight: 600;
    }

    .socials-nav {
        display: flex;
        gap: 15px;
        padding-top: 10px;
        border-top: 1px solid var(--color-light-gray);
        width: 100%;
    }

    .nav-social-link {
        color: var(--color-primary) !important;
        font-weight: 600;
        text-decoration: underline;
    }

    /* Navigation - Hidden by default */
    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 150;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding-top: 60px;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 20px;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
    }

    .nav-item a {
        display: block;
        padding: 15px 0;
        color: #1f1f1f;
        font-weight: 500;
    }

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

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 140;
        display: none;
    }

    .header-nav.active .nav-overlay {
        display: block;
    }

    .destinations-grid,
    .resorts-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile: 2 cols * 2 rows = 4 items max */
    .gallery-item:nth-child(n+5) {
        display: none;
    }

    .hero {
        border-radius: 0;
        height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 16px;
        font-weight: 300;
    }

    .intro h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .about-features-slider {
        padding-bottom: 40px !important;
    }

    .features-pagination {
        bottom: 0 !important;
    }

    .feature-photo-item {
        margin-bottom: 0 !important;
    }

    @media (max-width: 480px) {
        .gallery-grid {
            grid-template-columns: 1fr;
        }

        /* Mobile Small: 1 col * 2 rows = 2 items max */
        .gallery-item:nth-child(n+3) {
            display: none;
        }

        .phone-link {
            font-size: 16px;
        }
    }
}

/* Desktop Styles - Outside Media Queries */

/* Desktop Styles for Floating Widget */
/* Floating Contact Widget */
.floating-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Floating Button (FAB) */
/* Floating Button (FAB) */
.floating-btn {
    width: 60px;
    height: 60px;
    background-color: #40e0d0;
    /* Updated to match the first color box */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
    cursor: pointer;
    border: none;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-turquoise 2s infinite;
}

.floating-btn:hover {
    background-color: #20b2aa;
    /* Slightly darker turquoise */
    transform: scale(1.1);
}

.floating-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Close Icon Logic (Optional: rotate to X) */
.floating-widget-container.active .floating-btn svg {
    transform: rotate(135deg);
    /* If using a plus or generic icon, or just simple rotation effect */
}

/* Pulse Animation */
@keyframes pulse-turquoise {
    0% {
        box-shadow: 0 0 0 0 rgba(64, 224, 208, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(64, 224, 208, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(64, 224, 208, 0);
    }
}

/* Contact Card */
.contact-card-widget {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom right;
}

.floating-widget-container.active .contact-card-widget {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    /* Reverted to theme color */
}

.contact-info-header h4 {
    color: var(--color-text-main);
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 700;
}

.contact-role {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.2;
    /* Tightened line height as requested */
    display: block;
    /* Ensure it respects line-height */
}

.contact-card-body p {
    font-size: 14px;
    color: var(--color-text-main);
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-phone-highlight {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
    /* Reverted to theme color */
    text-decoration: none;
}

.contact-phone-highlight:hover {
    text-decoration: none;
    /* Removed underline */
    color: #5a0f50;
    /* Reverted hover color */
}

.contact-card-footer {
    padding-top: 10px;
}

.contact-card-footer .btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    background-color: var(--color-primary);
    /* Reverted to theme color */
    border-color: var(--color-primary);
    /* Reverted to theme color */
}

.contact-card-footer .btn:hover {
    background-color: #5a0f50;
    /* Reverted hover color */
    border-color: #5a0f50;
    /* Reverted hover color */
}



/* Desktop Styles for Country Info */


/* Country Info Section */
.country-info {
    padding: 80px 0;
    background-color: #f7f6f3;
}

.country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    /* Ensure both columns are same height */
}

/* Make column a flex container to push slider to bottom */
.country-col {
    display: flex;
    flex-direction: column;
}

.country-title {
    font-size: 28px;
    color: var(--color-text-main);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}




.country-text p {
    margin-bottom: 15px;
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 1.8;
}

.country-text {
    margin-bottom: 20px;
}

/* Single Country Image */
.country-image-container {
    width: 100%;
    margin-top: auto;
    /* Push to bottom of flex container */
    height: 300px;
    /* Fixed height for consistency */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.country-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.country-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.country-image-container:hover .country-img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .country-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .country-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

    /* FAQ Section */
    .faq {
        padding: 80px 0;
        background-color: var(--color-white);
    }

    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        border-bottom: 1px solid var(--color-light-gray);
        margin-bottom: 0;
    }

    .faq-question {
        padding: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: color 0.3s ease;
    }

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

    .faq-question h3 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        padding-right: 20px;
    }

    .toggle-icon {
        font-size: 24px;
        font-weight: 300;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .faq-item.active .toggle-icon {
        transform: rotate(45deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .faq-content {
        padding-bottom: 20px;
        font-size: 16px;
        color: var(--color-text-main);
        line-height: 1.6;
    }

    .faq-content ul {
        list-style-type: disc;
        padding-left: 20px;
        margin-bottom: 15px;
    }

    .faq-content li {
        margin-bottom: 5px;
    }

    /* Discount Banner */
    .discount-banner {
        background: linear-gradient(135deg, #3f0067, #850061, #e40030);
        padding: 60px 0;
        text-align: center;
        color: var(--color-white);
    }

    .discount-banner h3 {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        margin-bottom: 30px;
    }

    .btn-banner {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 12px 30px;
    }

    .btn-banner:hover {
        background-color: #5a0f50;
        color: var(--color-white);
    }

    /* Reviews Section */

    /* Reviews Section */
    .reviews {
        padding: 80px 0;
        background-color: #f7f6f3;
    }

    .reviews-slider {
        padding-bottom: 20px;
        /* Reduced since pagination is external now */
        /* Space for pagination */
    }

    .review-card {
        background: var(--color-white);
        padding: 30px;
        /* Reduced padding from 40px */
        border-radius: 16px;
        box-shadow: none;
        text-align: left;
        /* Changed from center */
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .review-text-container {
        position: relative;
        margin-bottom: 15px;
    }

    .review-text-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        /* Height of the fade */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .review-text-container.expanded::after,
    .review-text-container.no-fade::after {
        opacity: 0;
    }

    .review-text {
        font-size: 14px;
        /* Reduced from 16px */
        color: var(--color-text-main);
        font-style: normal;
        line-height: 1.6;
        /* Updated to 1.6 */
        max-height: 210px;
        /* Increased from 160px to show ~30% more content */
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-bottom: 5px;
    }

    .review-text.expanded {
        max-height: 500px;
        /* Arbitrary large height for expansion */
    }

    .read-more-btn {
        display: inline-block;
        color: #999;
        /* Grey default color */
        font-size: 13px;
        font-weight: 500;
        font-family: inherit;
        /* Ensure it uses Montserrat */
        cursor: pointer;
        text-decoration: none;
        margin-bottom: 0;
        /* Remove bottom margin */
        border: none;
        background: none;
        padding: 0;
        align-self: flex-start;
        /* Ensure left alignment */
    }

    .read-more-btn:hover {
        color: var(--color-primary);
        text-decoration: none;
    }

    .review-author {
        font-weight: 700;
        color: var(--color-text-main);
        font-size: 16px;
        margin-bottom: 10px;
        /* Added spacing below name */
        margin-top: 0;
        /* Removed auto margin */
    }

    /* Reviews Navigation positioning */
    .reviews-slider .swiper-slide {
        height: auto;
        /* Ensure equal height slides */
        display: flex;
        /* Flex to fill height */
    }

    .reviews-slider .swiper-button-next,
    .reviews-slider .swiper-button-prev {
        display: none;
        /* Hide arrows */
    }

    .reviews-pagination {
        text-align: center;
        margin-top: 20px;
    }

    .reviews-pagination .swiper-pagination-bullet-active {
        background: rgba(0, 0, 0, 0.8) !important;
        /* Force dark active color */
        opacity: 1 !important;
    }

    .reviews-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px;
        background: rgba(0, 0, 0, 0.15);
        /* Pale inactive color */
        opacity: 1;
    }

    /* About Us Section */
    .about-us {
        padding: 80px 0;
        background: linear-gradient(0deg, #fff 0%, #f7f6f3 100%);
        position: relative;
        overflow: hidden;
    }


    .about-content {
        display: flex;
        flex-direction: column;
        gap: 0px;
        position: relative;
        z-index: 1;
    }

    .about-main-row {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .about-text-block {
        flex: 1;
        text-align: left;
        /* Changed from center */
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--color-text-main);
    }

    .about-image-block {
        flex: 0 0 400px;
        /* Fixed width for image column */
        max-width: 40%;
    }

    .about-image {
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }

    .about-text-block p {
        margin-bottom: 20px;
    }

    .about-text-block a {
        color: var(--color-primary);
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.3s ease;
    }

    .about-text-block a:hover {
        border-bottom-color: var(--color-primary);
    }

    .law-disclaimer {
        font-size: 0.9rem;
        color: #888;
        margin-top: 30px;
        font-style: italic;
    }

    .about-features {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-top: 20px;
    }

    .feature-item {
        background: var(--color-white);
        padding: 30px 20px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .feature-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        color: var(--color-primary);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(119, 20, 105, 0.1);
        /* Primary color with opacity */
        border-radius: 50%;
        padding: 12px;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .feature-icon svg {
        width: 100%;
        height: 100%;
    }

    .feature-item:hover .feature-icon {
        background: var(--color-primary);
        color: var(--color-white);
    }

    .feature-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--color-heading);
        line-height: 1.4;
    }

    @media (max-width: 992px) {
        .about-features {
            grid-template-columns: repeat(2, 1fr);
        }

        .about-features-photos {
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 50px;
        }

        .about-main-row {
            flex-direction: column;
            align-items: center;
        }

        .about-image-block {
            flex: none;
            max-width: 100%;
            width: 100%;
        }

        .about-text-block {
            text-align: left;
            /* Keep left alignment on mobile too preferably */
        }
    }

    @media (max-width: 576px) {
        .about-features {
            grid-template-columns: 1fr;
        }

        .about-features-photos {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 15px !important;
            margin-top: 40px;
        }

        .feature-photo-item {
            text-align: center;
        }

        .feature-photo-wrapper {
            width: 100%;
            height: auto;
            padding-bottom: 100%; /* Квадратные пропорции */
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .feature-photo {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .feature-photo-title {
            font-size: 14px;
            margin-top: 10px;
            line-height: 1.3;
        }
    }

    /* Footer Refinements */
    footer {
        background-color: #1c181f;
        color: white;
        padding: 60px 0 20px;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 40px;
        grid-template-columns: none;
        /* Override if previously grid */
    }

    .footer-col {
        flex: 1;
        /* Equal width columns */
        min-width: 280px;
    }

    .footer-legal-col {
        flex: 1;
        /* Changed from 1.5 to balance with left column */
    }

    .footer-phone {
        font-size: 24px;
        font-weight: 700;
        color: white;
        text-decoration: none;
        display: block;
        margin-bottom: 15px;
    }

    .footer-phone:hover {
        color: white;
        /* Keep white, no turquoise */
    }

    .footer-btn {
        margin-bottom: 20px;
        border: 1px solid white;
        /* White border */
        color: white !important;
        /* White text */
        background: transparent;
        padding: 15px 25px;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-block;
        width: 180px;
        text-align: center;
    }

    .footer-btn:hover {
        background: white;
        /* White background on hover */
        color: #333 !important;
    }

    .footer-email {
        font-size: 18px;
        color: #ccc;
        text-decoration: none;
        display: block;
        margin-bottom: 15px;
    }

    .footer-email:hover {
        color: white;
    }

    .footer-address {
        font-size: 14px;
        line-height: 1.5;
        color: #aaa;
        /* Removed max-width constraint */
    }

    .footer-disclaimer {
        font-size: 14px;
        /* Increased from 12px to match address */
        line-height: 1.6;
        color: #999;
        margin-bottom: 15px;
    }

    .footer-link-policy {
        color: #ccc;
        /* Changed from white to match email link */
        text-decoration: none;
        font-size: 14px;
        /* Increased from 12px */
        display: inline-block;
    }

    .footer-link-policy:hover {
        text-decoration: none;
        color: white;
        /* Lighter on hover */
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        font-size: 12px;
        color: #777;
    }

    .footer-bottom a {
        color: #999;
        text-decoration: none;
    }

    .footer-bottom a:hover {
        color: white;
    }

    @media (max-width: 768px) {
        .footer-content {
            flex-direction: column;
            gap: 30px;
        }

        .footer-bottom {
            flex-direction: column;
            text-align: center;
        }

        .footer-btn {
            width: 100%;
        }
    }

    /* Contact Form Section */
    .contact-form-section {
        background-color: #420540;
        padding: 80px 0;
        position: relative;
    }

    .contact-form-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(rgba(119, 20, 105, 0.03) 1px, transparent 1px);
        background-size: 30px 30px;
        pointer-events: none;
    }

    .contact-form-section .section-title {
        color: white;
        text-align: center;
        margin-bottom: 10px;
        /* Match resorts section spacing */
    }

    .contact-form-wrapper {
        max-width: 100%;
        /* Full width of container */
        margin: 0 auto;
        background: white;
        padding: 50px;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
    }

    .contact-form-subtitle {
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 40px;
        font-size: 16px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        /* Full width */
    }

    .contact-form .btn-block {
        width: 240px;
        padding: 18px 28px;
        font-weight: 600;
        font-size: 15px;
        /* Same as input placeholder */
        align-self: flex-start;
        border-radius: 50px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-form .form-group {
        margin-bottom: 0;
    }

    .contact-form input[type='text'],
    .contact-form textarea {
        width: 100%;
        padding: 15px 20px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        font-size: 15px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-form input[type='text']:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(119, 20, 105, 0.1);
    }

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

    .contact-form .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-form .checkbox-group input[type='checkbox'] {
        margin-top: 4px;
        width: 18px;
        height: 18px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .contact-form .checkbox-group label {
        font-size: 13px;
        color: var(--color-text-light);
        line-height: 1.5;
        cursor: pointer;
    }

    .contact-form .checkbox-group a {
        color: var(--color-primary);
        text-decoration: none;
    }

    .contact-form .checkbox-group a:hover {
        text-decoration: none;
    }

    .thank-you-message {
        text-align: center;
        padding: 60px 20px;
    }

    .thank-you-message h3 {
        color: var(--color-primary);
        font-size: 28px;
        margin-bottom: 15px;
    }

    .thank-you-message p {
        color: var(--color-text-main);
        font-size: 16px;
        line-height: 1.6;
    }

    @media (max-width: 768px) {
        .contact-form-wrapper {
            padding: 30px 20px;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .contact-form .btn-block {
            width: 100%;
            /* Full width on mobile */
        }
    }

    /* Discount Banners */
    .discount-banner {
        padding: 60px 0;
        background: linear-gradient(135deg, #3f0067, #850061, #e40030);
        color: var(--color-white);
        text-align: center;
        margin-bottom: 20px;
    }



    .banner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .discount-banner h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0;
    }

    .btn-banner {
        background: transparent;
        border: 1px solid var(--color-white);
        color: var(--color-white);
        padding: 10px 30px;
        font-size: 16px;
        text-decoration: none;
        border-radius: 24px;
        transition: all 0.3s ease;
    }

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

    /* Ensure smooth anchor scroll works for fixed header */
    #contact-form {
        scroll-margin-top: 100px;
    }
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-primary);
    stroke-width: 2;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.4;
}


/* Photo-Based Features Section */
.about-features-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-photo-item {
    text-align: center;
}

.feature-photo-wrapper {
    width: 100%;
    padding-bottom: 100%; /* Квадратные пропорции */
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-photo-title {
    font-size: 16px;
    font-weight: normal;
    color: var(--color-text-main);
    line-height: 1.4;
}


/* Discount Banners */
.discount-banner {
    padding: 60px 0;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    text-align: center;
    margin-bottom: 0px;
}

.discount-banner.banner-bronze {
    background: linear-gradient(to right, var(--color-primary), var(--color-bronze));
}

.discount-banner.banner-amber {
    background: linear-gradient(to right, var(--color-primary), var(--color-amber));
}

.discount-banner.banner-gradient {
    background: linear-gradient(135deg, #3f0067, #850061, #e40030);
}

.banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.discount-banner h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.btn-banner {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 10px 30px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s ease;
}

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


.color-picker {
    padding: 60px 0;
    background-color: var(--color-light-gray);
    text-align: center;
}

.color-picker-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.color-box {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-box:hover {
    transform: scale(1.05);
}

/* Ensure smooth anchor scroll works for fixed header */
#contact-form {
    scroll-margin-top: 100px;
}
