/* ============================================= */
/* INDEX.CSS - CONSOLIDATED STYLESHEET */
/* ============================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================= */
/* RESET & BASE STYLES */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ============================================= */
/* TYPOGRAPHY */
/* ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: left; /* Changed from center to left */
    margin-bottom: 0.5rem; /* Reduced margin */
    position: relative;
    display: block; /* Changed from inline-block to block */
    white-space: normal; /* Changed from nowrap to normal */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0; /* Changed from 50% to 0 */
    transform: none; /* Remove the transform */
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f8d56b, #0d9488);
    border-radius: 2px;
}

.section-description {
    color: #4b5563;
    margin-bottom: 0;
    max-width: 100%; /* Changed from 32rem to 100% */
    text-align: left; /* Changed from center to left */
    margin: 0; /* Remove auto margins */
    font-size: 1.1rem;
    white-space: normal; /* Changed from nowrap to normal */
    overflow: visible; /* Changed from hidden to visible */
    text-overflow: clip; /* Changed from ellipsis to clip */
    line-height: 1.6;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        white-space: normal;
        flex-shrink: 0;
    }
    
    .section-description {
        font-size: 1rem;
        white-space: normal;
        flex-shrink: 0;
        max-width: none;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
}


/* ============================================= */
/* LAYOUT & CONTAINERS */
/* ============================================= */
.section-container {
    padding: 2rem 1rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: flex-start; /* Changed from space-between to flex-start */
    align-items: flex-start; /* Changed from flex-end to flex-start */
    margin-bottom: 1.5rem;
    flex-wrap: wrap; /* Changed from nowrap to wrap */
}

.section-text {
    max-width: 100%;
    margin-bottom: 0;
    display: block; /* Changed from flex to block */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column; /* Changed from row to column */
        align-items: flex-start;
        flex-wrap: wrap;
        overflow-x: visible; /* Changed from auto to visible */
        gap: 0; /* Remove gap */
        margin-bottom: 2rem;
    }
    
    .section-text {
        text-align: left;
    }

    .section-container {
        padding: 1.5rem 1rem; /* Reduced for mobile */
    }
    
    .section-header {
        margin-bottom: 1rem; /* Reduced for mobile */
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .section-header {
        gap: 0;
    }
}

/* FORCE 4 COLUMN LAYOUT */
.tour-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.tour-card {
    min-width: 0 !important;
    width: 100% !important;
}

.card-content {
    padding: 0.75rem !important;
    min-width: 0 !important;
}

.card-title,
.card-description {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}


/* ============================================= */
/* HERO SECTION - FIXED FOR MOBILE */
/* ============================================= */
.hero-section {
    height: 60vh;
    min-height: 500px;
    background-size: cover; /* Changed from 'center' to 'cover' */
    background-position: center center; /* More specific positioning */
    background-repeat: no-repeat; /* Prevent repeating */
    background-attachment: scroll; /* Better for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    color: white;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-section,
.hero-section *:not(.mobile-menu-toggle) {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Mobile Styles - IMPROVED */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 400px;
        background-size: cover; /* Ensure it covers on mobile */
        background-position: center center; /* Center the image */
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        text-align: center;
        line-height: 1.3; /* Better line spacing */
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        padding: 0 1rem; /* Reduced padding on very small screens */
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .hero-content {
        text-align: center; /* Center everything on mobile */
    }
}

/* Extra Large Screens */
@media (min-width: 1440px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
}

/* ============================================= */
/* IMPROVED FOOTER - SIDE BY SIDE LAYOUT */
/* ============================================= */
.footer {
    background-color: #111827;
    color: white;
    padding: 2.5rem 0 1rem;
    position: relative;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8d56b;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-about p {
    color: #d1d5db;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #f8d56b, transparent);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.15rem 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #f8d56b;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #f8d56b;
    transform: translateX(3px);
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.footer-social a {
    color: #111827;
    background-color: #f8d56b;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-social a:hover {
    background-color: white;
    color: #111827;
    transform: translateY(-2px) scale(1.05);
}

/* SINGLE LINE FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9ca3af;
    font-size: 0.8rem;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    display: inline;
}

.footer-credits {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f8d56b, #0d9488, #f8d56b);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #f8d56b;
}

.separator {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Instagram section - hidden by default */
.footer-instagram {
    display: none;
}

/* Compact Instagram Card */
.instagram-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 280px;
    transition: transform 0.3s ease;
}

.instagram-card:hover {
    transform: translateY(-3px);
}

.instagram-header {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.instagram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #f8d56b;
}

.instagram-info {
    display: flex;
    flex-direction: column;
}

.instagram-username {
    font-weight: 600;
    font-size: 12px;
    color: #262626;
}

.instagram-name {
    font-size: 10px;
    color: #8e8e8e;
}

.instagram-embed {
    height: 250px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.instagram-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #8e8e8e;
}

.instagram-stats i {
    margin-right: 4px;
    color: #0d9488;
}

.instagram-follow-btn {
    display: block;
    text-align: center;
    padding: 8px;
    background: #405DE6;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: background 0.3s ease;
}

.instagram-follow-btn:hover {
    background: #3a4bc1;
}

.instagram-follow-btn i {
    margin-right: 6px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .footer-instagram {
        display: none;
    }
}

/* Tablet: Quick Links and Popular Tours side by side */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-about {
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Quick Links and Popular Tours side by side on mobile */
    .footer-links-container-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-links-container {
        text-align: center;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links-container-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-about p {
        max-width: 500px;
        margin: 0 auto 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Quick Links and Popular Tours side by side on tablet */
    .footer-links-container-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        grid-column: 1 / -1;
    }
}

/* Show Instagram section only on larger screens */
@media (min-width: 1200px) {
    .footer-instagram {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================= */
/* NAVIGATION */
/* ============================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    z-index: 10;
}

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

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-links a:hover {
    color: #f8d56b;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8d56b;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.mobile-menu-close {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
}

/* Mobile Styles */
@media (max-width: 768px) {
    
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        padding: 2rem;
        transition: all 0.4s ease;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links li:nth-child(7) { transition-delay: 0.7s; }
    
    .nav-links a {
        color: white;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        position: relative;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #f8d56b;
        transition: width 0.3s ease;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
    
    .nav-links a.active {
        color: #f8d56b;
    }
}


/* ============================================= */
/* BUTTONS & CTAs */
/* ============================================= */
.cta-button {
    background-color: #f8d56b;
    color: #333 !important;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.view-more-button {
    background-color: #f8d56b;
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    color: #333 !important;
    transition: all 0.3s;
    margin-top: 2.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.view-more-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.view-more-button svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

.filter-button {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background-color: white;
    color: #1f2937;
}

.filter-button.active {
    background-color: #0d9488;
    color: white;
    border-color: #0d9488;
}

.filter-button.inactive {
    background-color: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.filter-button:hover {
    background-color: #f3f4f6;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================= */
/* CARD COMPONENTS - IMPROVED LAYOUT */
/* ============================================= */
.tour-cards-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.tour-cards-grid::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-image {
    background-color: #d1d5db;
    height: 200px; /* Fixed height for all card images */
    border-radius: 0.75rem 0.75rem 0 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.tour-card:hover .card-image {
    transform: scale(1.03);
}

.card-content {
    padding: 1rem;
    flex-grow: 1; /* Allow content area to expand equally */
    display: flex;
    flex-direction: column;
}

/* IMPROVED CARD HEADER LAYOUT */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.card-rating svg {
    width: 1rem;
    height: 1rem;
    color: #f8d56b;
    margin-right: 0.25rem;
}

.card-description {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    flex-grow: 1; /* Make descriptions take equal space */
    line-height: 1.5;
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

.tour-card-link:hover .tour-card {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.trip-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
    width: 100%;
    order: 1;
}

.trip-duration i {
    color: #ff6b35;
}

.feature-tag {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px; /* Adjust as needed */
    display: inline-block;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .tour-cards-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: unset;
    }
    
    .tour-card-link {
        flex: 0 0 280px;
        scroll-snap-align: start;
        height: auto;
    }
    
    .tour-cards-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .tour-cards-grid::-webkit-scrollbar-thumb {
        background: #f8d56b;
        border-radius: 2px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .card-rating {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .card-title {
        -webkit-line-clamp: 2;
        min-height: auto;
    }
    
    .card-image {
        height: 180px; 
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {

    
    .tour-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {
    
    .tour-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}


/* ============================================= */
/* TESTIMONIALS SECTION - IMPROVED STYLING */
/* ============================================= */
.reviews-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.reviews-slider-container {
    position: relative;
    margin: 2rem 0;
    padding: 0 3rem;
}

.reviews-slider {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.review-card {
    flex: 0 0 calc(100% - 1rem);
    min-width: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #0d9488;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid #f8d56b;
    flex-shrink: 0;
}

.review-author {
    flex: 1;
    min-width: 0;
}

.review-author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-stars {
    color: #f8d56b;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.review-content {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    max-height: 4.8em;
    overflow: hidden;
    flex-grow: 1;
    font-size: 0.95rem;
    transition: max-height 0.3s ease;
}

.review-content.expanded {
    max-height: none;
}

.review-read-more {
    color: #0d9488;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s ease;
}

.review-read-more:hover {
    color: #065f46;
}

.review-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.review-card.expanded .review-read-more i {
    transform: rotate(180deg);
}

/* Improved Slider Buttons */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #0d9488;
    font-size: 1.2rem;
}

.slider-button:hover {
    background: #f8d56b;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #111827;
}

.slider-button.prev {
    left: 0;
}

.slider-button.next {
    right: 0;
}

.slider-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    transform: translateY(-50%);
}

.slider-button:disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: #f3f4f6;
    color: #0d9488;
}

/* Google Reviews Button Styling */
.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #4285f4;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    margin-top: 1rem;
}

.google-reviews-link:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    color: white !important;
}


/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: #0d9488;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-slider-container {
        padding: 0 2.5rem;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 1rem);
        padding: 1.25rem;
        min-height: 220px;
    }
    
    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-button.prev {
        left: 5px;
    }
    
    .slider-button.next {
        right: 5px;
    }
    
    .google-reviews-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1025px) {
    .review-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    
    /* Section Header */
    .section-header {
        flex-direction: column;
        align-items: center;
    }
    
    .section-text {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

}


/* Extra Large Screens */
@media (min-width: 1440px) {
    .section-container {
        max-width: 1200px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    
    .section-title {
        font-size: 1.4rem;
    }
    
}

/* ============================================= */
/* LANGUAGE TOGGLE STYLES */
/* ============================================= */

.language-toggle {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.language-switcher {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem;
    display: flex;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: rgba(248, 213, 107, 0.9);
    color: #111827;
    box-shadow: 0 2px 8px rgba(248, 213, 107, 0.3);
}

.lang-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8d56b;
}

/* Mobile language toggle */
@media (max-width: 768px) {
    .language-toggle {
        margin: 1rem 0;
        justify-content: center;
    }
    
    .language-switcher {
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(248, 213, 107, 0.3);
    }
    
    .nav-links.active .language-toggle {
        display: flex;
    }
}

/* Translation loading state */
body.translating::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f8d56b, #0d9488);
    z-index: 10000;
    animation: translating 1.5s ease-in-out infinite;
}

@keyframes translating {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* RTL support for Russian */
body[dir="rtl"] {
    text-align: right;
}

body[dir="rtl"] .section-title::after {
    left: auto;
    right: 0;
}

body[dir="rtl"] .section-header {
    text-align: right;
}

body[dir="rtl"] .section-text {
    text-align: right;
}

/* Translation loading improvements */
body.translating * {
    cursor: wait !important;
}

body.translating {
    pointer-events: none;
}

body.translating::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f8d56b, #0d9488);
    z-index: 10000;
    animation: translating 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes translating {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Prevent layout shifts during translation */
[data-translate] {
    min-height: 1em;
}

/* Russian language specific adjustments */
.lang-ru .card-title,
.lang-ru .post-title {
    font-size: 0.95em;
}

.lang-ru .card-description,
.lang-ru .post-excerpt {
    font-size: 0.85em;
    line-height: 1.4;
}

/* Mobile adjustments for Russian */
@media (max-width: 768px) {
    .lang-ru .tour-card-link {
        flex: 0 0 90vw; /* Slightly wider for Russian text */
    }
    
    .lang-ru .blog-post-card {
        flex: 0 0 90vw;
    }
    
    .lang-ru .card-title {
        -webkit-line-clamp: 3; /* Allow more lines for longer text */
    }
}