* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.logo-text .blue {
    color: #2E5C8A;
}

.logo-text .orange {
    color: #F7931E;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #2E5C8A;
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #2E5C8A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #F7931E;
}

.cta-btn {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 52px;
    line-height: 1.2;
    color: #2E5C8A;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-title .highlight {
    color: #2E5C8A;
    font-weight: 900;
}

.hero-title .orange {
    color: #F7931E;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-search {
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 8px 8px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    gap: 15px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px;
}

.search-btn {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.search-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 5px 20px rgba(247, 147, 30, 0.4);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #F7931E;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    animation: float 6s ease-in-out infinite;
}

.hero-illustration img {
    position:relative;
    right:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    transition: opacity 0.5s ease-in-out;
}

.hero-illustration img.fade-out {
    opacity: 0;
}

.hero-illustration img.fade-in {
    opacity: 1;
}
.hero-right {
    display: flex;
    align-items: center;
    height:100%;
    justify-content: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Trust Section */
.trust-section {
    background: white;
    padding: 30px 0;
    border-bottom: 2px solid #f0f0f0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 32px;
}

.trust-number {
    font-size: 18px;
    font-weight: 700;
    color: #2E5C8A;
}

.trust-label {
    font-size: 14px;
    color: #666;
}

/* Localities Section */
.localities-section {
    padding: 80px 0;
    background: #FAFAFA;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 42px;
    color: #2E5C8A;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title i {
    font-size: 40px;
    color: #F7931E;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.city-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.filter-btn.active {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    color: white;
    border-color: #F7931E;
}

.filter-btn:hover {
    border-color: #F7931E;
    color: #F7931E;
}

.localities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.city-localities-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.city-localities-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
}

.city-header h3 {
    color: #2E5C8A;
    font-size: 26px;
    font-weight: 700;
}

.hostel-count {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.localities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.locality-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s;
}

.locality-item:hover {
    background: #FFF8E1;
    transform: translateX(5px);
}

.locality-item i {
    color: #F7931E;
    font-size: 16px;
}

.locality-item span {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.view-btn {
    background: #F7931E;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn:hover {
    background: #FF6B35;
}

.explore-city-btn {
    width: 100%;
    background: linear-gradient(135deg, #2E5C8A, #1E3A5F);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.explore-city-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 92, 138, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: #2E5C8A;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #E3F2FD, #E8F5E9);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}

.step-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.step-card h3 {
    color: #2E5C8A;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E5C8A, #1E3A5F);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.stat-card.highlighted {
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    border-color: #F7931E;
    transform: scale(1.05);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.stat-big-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.stat-big-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F7931E, #FF6B35);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-large, .btn-outline {
    border: none;
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-large {
    background: white;
    color: #F7931E;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #F7931E;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
    flex-wrap: wrap;
}

.cta-features span {
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1A1A1A;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #F7931E;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: #999;
    line-height: 1.7;
    margin-top: 15px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #F7931E;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    background: #F7931E;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #F7931E;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large, .btn-outline {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
        flex-direction: column;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* Terms and Conditions Page */
.terms-section {
    padding: 80px 0;
    background: white;
}

.terms-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
    border-radius: 15px;
}

.terms-header h1 {
    font-size: 48px;
    color: #2E5C8A;
    margin-bottom: 15px;
    font-weight: 800;
}

.terms-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.terms-last-updated {
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-toc {
    background: #F8F9FA;
    border-left: 4px solid #F7931E;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.terms-toc h2 {
    color: #2E5C8A;
    margin-bottom: 20px;
    font-size: 24px;
}

.terms-toc ul {
    list-style: none;
}

.terms-toc li {
    margin-bottom: 12px;
}

.terms-toc a {
    color: #F7931E;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.terms-toc a:hover {
    color: #FF6B35;
    text-decoration: underline;
}

.terms-article {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #E0E0E0;
}

.terms-article:last-child {
    border-bottom: none;
}

.terms-article h2 {
    color: #2E5C8A;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.terms-article h3 {
    color: #F7931E;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-article p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.terms-article ul, .terms-article ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.terms-article li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.terms-highlight {
    background: #FFF8E1;
    border-left: 4px solid #F7931E;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.terms-highlight strong {
    color: #2E5C8A;
}

.terms-contact {
    background: linear-gradient(135deg, #2E5C8A, #1E3A5F);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
}

.terms-contact h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.terms-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.terms-contact a {
    color: #F7931E;
    text-decoration: none;
    font-weight: 600;
}

.terms-contact a:hover {
    text-decoration: underline;
}
/* featured hostel styles */
.featured-hostels-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.featured-hostel-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom:20px;
    max-width:300px;
}
.featured-hostel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.hostel-image-container {
    position: relative;
}
.hostel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.hostel-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}
.hostel-badge.boys {
    background-color: #3498db;
}
.hostel-badge.girls {
    background-color: #e91e63;
}
.hostel-badge.coed {
    background-color: #9b59b6;
}
.vacancy-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}
.vacancy-badge.available {
    background-color: #27ae60;
}
.vacancy-badge.full {
    background-color: #c0392b;
}
.hostel-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.hostel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.hostel-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2E5C8A;
    flex: 1;
}
.hostel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    white-space: nowrap;
}
.rating-count {
    font-size: 12px;
    color: #999;
}
.hostel-location {
    margin: 5px 0 10px 0;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hostel-description {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}
.hostel-details {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.detail-item .label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}
.detail-item .value {
    font-size: 14px;
    color: #2E5C8A;
    font-weight: 600;
}
.hostel-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.btn-details,
.btn-book {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.btn-details {
    background-color: #f0f0f0;
    color: #2E5C8A;
}
.btn-details:hover {
    background-color: #e0e0e0;
}
.btn-book {
    background-color: #F7931E;
    color: #fff;
}
.btn-book:hover {
    background-color: #e67e0e;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.logo-icon img {
    width: 40px;
    height: 40px;
}

.logo .blue { color: #2E5C8A; }
.logo .orange { color: #F7931E; }


/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navbar */
    .navbar {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .search-box {
        flex-direction: row-reverse;
        padding: 10px;
    }

    .search-box input {
        padding: 12px;
        font-size: 14px;
    }

    .search-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .hero-stats {
        justify-content: space-around;
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-illustration {
        height: 300px;
        margin-top: 20px;
    }

    .hero-right {
        min-height: 300px;
    }

    /* Trust Section */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Localities Section */
    .localities-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
        gap: 10px;
        flex-direction: column;
    }

    .section-title i {
        font-size: 32px;
    }

    .city-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    /* How It Works */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stats Section */
    .stats-grid-large {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card.highlighted {
        transform: scale(1);
    }

    .stat-big-number {
        font-size: 36px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-large, .btn-outline {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    .cta-features {
        gap: 15px;
        font-size: 14px;
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    /* Featured Hostels */
    .featured-hostels-grid {
        grid-template-columns: 1fr;
    }

    .featured-hostel-card {
        max-width: 100%;
    }

    /* Terms Page */
    .terms-header h1 {
        font-size: 32px;
    }

    .terms-header p {
        font-size: 16px;
    }

    .terms-article h2 {
        font-size: 22px;
    }

    .terms-article h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    body{
        padding:10px 0;
    }
    .container {
        padding: 0 12px;
    }

    .navbar {
        padding: 8px 0;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero {
        padding: 80px 0 30px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .live-badge {
        padding: 8px 20px;
        font-size: 12px;
        margin-bottom: 15px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .city-localities-card {
        padding: 20px;
    }

    .city-header h3 {
        font-size: 20px;
    }

    .locality-item {
        padding: 8px;
        font-size: 13px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-card i {
        font-size: 32px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .step-card {
        padding: 25px 15px;
    }

    .step-icon {
        font-size: 48px;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .btn-large, .btn-outline {
        padding: 12px 25px;
        font-size: 14px;
    }

    .hostel-name {
        font-size: 16px;
    }

    .hostel-details {
        gap: 10px;
    }

    .btn-details, .btn-book {
        font-size: 12px;
        padding: 8px;
    }

    .terms-header h1 {
        font-size: 26px;
    }

    .terms-article h2 {
        font-size: 20px;
    }

    .terms-article p {
        font-size: 14px;
    }
}
