/* CSS Variables for Consistent Styling - Education Theme */
:root {
    --teal-primary: #008080;
    --teal-dark: #004d4d;
    --teal-light: #00cccc;
    --orange-primary: #ff7f50;
    --orange-dark: #e65c35;
    --orange-light: #ff9a75;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-medium: #e2e8f0;
    --gray-dark: #2c3e50;
    --cream-bg: #fff8dc;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-color: #bdc3c7;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s ease;
    --border-radius: 15px;
    --container-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff8dc;
    color: var(--gray-dark);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--teal-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Education Theme */
.page-header {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 80, 80, 0.85), rgba(230, 92, 53, 0.85));
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
    color: var(--white);
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1.2s ease;
}

.header-content p {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation - Education Theme */
.accommodation-nav {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accommodation-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.accommodation-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.8rem;
    max-width: 1200px;
}

.accommodation-nav li {
    margin: 0;
}

.accommodation-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.accommodation-nav a:hover,
.accommodation-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.accommodation-nav a.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
.section {
    padding: 20px;
    position: relative;
    background: #fff8dc;
    scroll-margin-top: 30px;
}

.section.alt {
    background: #fff8dc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    animation: bounce 2s infinite;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}
/* Overview Cards - Ultra Compact Side by Side Layout */
.accommodation-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.overview-card {
    background: var(--white);
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--gray-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

/* Card differentiation */
.overview-card:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdfd 100%);
    border-bottom: 3px solid var(--teal-primary);
}

.overview-card:last-child {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    border-bottom: 3px solid var(--orange-primary);
}

.overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--teal-light);
}

/* Compact overview icon */
.overview-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    margin-bottom: 0.8rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.overview-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--teal-dark);
    line-height: 1.2;
}

.overview-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Compact overview stats */
.overview-stats {
    margin: 0.5rem 0;
    padding: 0.3rem 0.8rem;
    background: var(--gray-light);
    border-radius: 15px;
    font-weight: 600;
    color: var(--teal-primary);
    font-size: 0.8rem;
}

/* Compact explore button */
.overview-card .explore-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    width: auto;
    margin-top: auto;
    border-radius: 20px;
}

.overview-card .explore-btn i {
    font-size: 0.7rem;
}

/* Responsive adjustments for ultra compact cards */
@media (max-width: 768px) {
    .accommodation-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overview-card {
        padding: 1.2rem 1rem;
        min-height: 200px;
    }
    
    .overview-card:first-child {
        border-bottom: 2px solid var(--teal-primary);
        border-left: none;
    }
    
    .overview-card:last-child {
        border-bottom: 2px solid var(--orange-primary);
        border-right: none;
    }
}

@media (max-width: 480px) {
    .overview-card {
        padding: 1rem 0.8rem;
        min-height: 180px;
    }
    
    .overview-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .overview-card h3 {
        font-size: 1rem;
    }
    
    .overview-card p {
        font-size: 0.75rem;
    }
    
    .overview-stats {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .overview-card .explore-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
/* Buttons - Education Theme */
.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 32px;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.explore-btn:hover {
    background: linear-gradient(to right, var(--teal-dark), var(--orange-dark));
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.explore-btn:hover::before {
    left: 100%;
}

.explore-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.small-btn {
    padding: 10px 20px;
    background: var(--teal-primary);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 128, 128, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.small-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 128, 128, 0.3);
}

/* Preview Sections */
.hotels-preview,
.stays-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.preview-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.preview-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.preview-card:hover .preview-image {
    transform: scale(1.1);
}

.preview-content {
    padding: 1.5rem;
}

.preview-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--orange-primary);
}

.preview-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preview-features span {
    padding: 0.25rem 0.5rem;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

/* View All Section */
.view-all-section {
    text-align: center;
    margin-top: 2rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tip-card i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

/* Hotel & Stay Categories */
.hotel-category,
.stay-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}



.hotel-card:hover,
.stay-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 128, 128, 0.2);
}

.hotel-card:hover .hotel-image,
.stay-card:hover .stay-image {
    transform: scale(1.1);
}

.hotel-badge,
.stay-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: var(--orange-primary);
}

.midrange-badge {
    background: var(--teal-primary);
}

.heritage-badge {
    background: var(--teal-dark);
}

.budget-badge {
    background: #7f8c8d;
}

.luxury-badge {
    background: #f39c12;
}

.pg-badge {
    background: #9b59b6;
}

.apartment-badge {
    background: #3498db;
}

/* Features in Cards */
.features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

.feature i {
    color: var(--teal-primary);
    font-size: 1.1rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Explore Button Wrapper */
.explore-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
    width: 100%;
    clear: both;
}

/* Subpage Header */
.subpage-header {
    text-align: center;
    padding: 70px 0;
    min-height: 45vh;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
}

.subpage-header h1 {
    color: #fff;
    text-align: center;
}



/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        height: 50vh;
        min-height: 300px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .accommodation-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .accommodation-nav li {
        width: 100%;
        text-align: center;
    }
    
    .accommodation-nav a {
        width: 85%;
        text-align: center;
        padding: 0.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hotels-grid,
    .stays-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hotel-card,
    .stay-card {
        min-height: 400px;
        max-width: 100%;
    }
    
    .hotel-image,
    .stay-image {
        height: 180px;
    }
    
    .language-toggle-container {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .small-btn {
        width: 100%;
        justify-content: center;
    }
    
    .subpage-header {
        min-height: 30vh;
        padding: 50px 0;
    }
    
    .subpage-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content h1 {
        font-size: 1.75rem;
    }
    
    .accommodation-overview {
        grid-template-columns: 1fr;
    }
    
    .hotels-preview,
    .stays-preview {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-card,
    .tip-card {
        padding: 1.5rem;
    }
    
    .hotel-content,
    .stay-content {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
    outline: 2px solid var(--teal-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --teal-primary: #000;
        --teal-dark: #000;
        --orange-primary: #0056b3;
        --text-color: #000;
        --border-color: #000;
    }
}

/* Print Styles */
@media print {
    .language-toggle-container,
    .accommodation-nav,
    .back-to-top {
        display: none;
    }
    
    .page-header {
        height: auto;
        color: black;
    }
    
    .header-overlay {
        background: none;
    }
    
    .header-content h1 {
        color: black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
}

/* Smooth scroll bar */
::-webkit-scrollbar { 
    width: 10px; 
}

::-webkit-scrollbar-thumb { 
    background: linear-gradient(to bottom, var(--teal-primary), var(--orange-primary)); 
    border-radius: 6px; 
}

::-webkit-scrollbar-track { 
    background: #ddd;
}
/* MAIN FIX: Ultra Compact Grid Layout */
.hotels-grid,
.stays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: start;
}

.hotel-card,
.stay-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 128, 128, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    min-height: 320px; /* Reduced from 450px */
}

/* Remove pricing section */
.hotel-price,
.stay-price {
    display: none;
}

/* Ultra compact content layout */
.hotel-content,
.stay-content {
    padding: 1rem; /* Reduced from 1.5rem */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 0.5rem; /* Reduced from 0.8rem */
}

/* Compact text elements */
.hotel-card h3,
.stay-card h3 {
    font-size: 1.1rem; /* Slightly smaller */
    line-height: 1.2;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem; /* Reduced from 3rem */
}

.hotel-card p,
.stay-card p {
    font-size: 0.85rem; /* Slightly smaller */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    min-height: 2.2rem; /* Reduced from 2.8rem */
}

/* Compact features */
.hotel-features,
.stay-features {
    margin: 0.3rem 0; /* Reduced from 0.5rem */
    flex-grow: 1;
}

.hotel-features p,
.stay-features p {
    display: flex;
    align-items: center;
    font-size: 0.85rem; /* Slightly smaller */
    margin-bottom: 0.3rem; /* Reduced from 0.5rem */
    line-height: 1.2;
}

.hotel-features i,
.stay-features i {
    margin-right: 0.4rem; /* Reduced from 0.5rem */
    width: 14px; /* Slightly smaller */
    text-align: center;
    color: var(--teal-primary);
    font-size: 0.9rem; /* Slightly smaller */
}

/* Compact image */
.hotel-image,
.stay-image {
    width: 100%;
    height: 150px; /* Reduced from 200px */
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* Compact badges */
.hotel-badge,
.stay-badge {
    position: absolute;
    top: 0.6rem; /* Reduced from 1rem */
    right: 0.6rem; /* Reduced from 1rem */
    padding: 0.3rem 0.8rem; /* Reduced from 0.5rem 1rem */
    border-radius: 12px;
    font-size: 0.75rem; /* Slightly smaller */
    font-weight: 600;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ensure consistent card heights */
.hotel-card .hotel-content,
.stay-card .stay-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-card .hotel-features,
.stay-card .stay-features {
    flex: 1;
}

/* Responsive grid adjustments */
@media (min-width: 1200px) {
    .hotels-grid,
    .stays-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem; /* Reduced from 1.5rem */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hotels-grid,
    .stays-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hotels-grid,
    .stays-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hotels-grid,
    .stays-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem; /* Reduced from 1rem */
    }
    
    .hotel-card,
    .stay-card {
        max-width: 100%;
        min-height: 300px; /* Reduced from 400px */
    }
    
    .hotel-image,
    .stay-image {
        height: 140px; /* Reduced for mobile */
    }
}

@media (max-width: 480px) {
    .hotel-card,
    .stay-card {
        min-height: 280px; /* Most compact on small screens */
    }
    
    .hotel-image,
    .stay-image {
        height: 130px;
    }
    
    .hotel-content,
    .stay-content {
        padding: 0.8rem; /* More compact on mobile */
    }
}
/* Pricing Styles */
.stay-price {
    margin: 10px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.stay-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Responsive pricing */
@media (max-width: 768px) {
    .stay-price {
        font-size: 1em;
        padding: 6px 10px;
    }
}
/* Show pricing section */
.hotel-price,
.stay-price {
    display: block;
}
/* Pricing Styles - Subtle Text Appearance */
.stay-price,
.hotel-price {
    margin: 8px 0;
    padding: 0;
    background: none;
    color: var(--teal-dark);
    border-radius: 0;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    transition: none;
    display: block;
}

.stay-price:hover,
.hotel-price:hover {
    transform: none;
    box-shadow: none;
}

/* Price amount styling */
.stay-price span,
.hotel-price span {
    color: var(--teal-primary);
    font-weight: 700;
}

/* Responsive pricing */
@media (max-width: 768px) {
    .stay-price,
    .hotel-price {
        font-size: 0.95rem;
        margin: 6px 0;
    }
}
/* ===================== IN-PAGE SECTION NAVIGATION ===================== */
.section-nav {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
  padding: 1rem 0;
  position: relative;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.section-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 1200px;
}

.section-nav li { margin: 0; }

.section-nav a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  border: 2px solid transparent;
}

.section-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-nav a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Section IDs for navigation */
#luxury-hotels, #midrange-hotels, #budget-hotels,
#homestays-guesthouses, #hostels-pg, #service-apartments {
  scroll-margin-top: 100px;
}
/* Language Toggle Button Styles */
.language-toggle-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.language-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.9rem;
}

.language-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.language-toggle-btn i {
    font-size: 1rem;
}

/* Responsive language toggle */
@media (max-width: 768px) {
    .language-toggle-container {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 20px;
    }
    
    .language-toggle-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}
/* ===================== EDUCATION NAVIGATION ===================== */
.education-nav {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
  padding: 1rem 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.education-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: center; /* This ensures centering */
}

.education-nav ul {
  display: flex;
  justify-content: center; /* Center the navigation items */
  align-items: center; /* Vertically center */
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* Allow wrapping if needed */
  gap: 0.8rem;
}

.education-nav li { 
  margin: 0; 
}

.education-nav a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.education-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.education-nav a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Styles - Only apply horizontal scroll on mobile */
@media (max-width: 768px) {
  .education-nav {
    padding: 0.8rem 0;
    overflow-x: auto; /* Enable horizontal scroll only on mobile */
    white-space: nowrap;
  }
  
  .nav-container {
    justify-content: flex-start; /* Left align on mobile */
    padding: 0 10px;
  }
  
  .education-nav ul {
    justify-content: flex-start; /* Left align on mobile */
    flex-wrap: nowrap; /* Prevent wrapping on mobile */
    min-width: max-content; /* Ensure container is wide enough */
  }
  
  .education-nav li {
    flex-shrink: 0; /* Prevent shrinking on mobile */
  }
  
  .education-nav a {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  /* Custom scrollbar styling for mobile */
  .education-nav::-webkit-scrollbar {
    height: 6px;
    display: block;
  }
  
  .education-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
  }
  
  .education-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }
}

/* Hide scrollbar on desktop */
@media (min-width: 769px) {
  .education-nav {
    overflow-x: visible; /* No horizontal scroll on desktop */
  }
  
  .education-nav ul {
    flex-wrap: wrap; /* Allow natural wrapping on desktop */
  }
}
  .education-nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }