 /* ========== Global Styles ========== */
 :root {
     --primary: #4781fe;
     --secondary: #5afd1a;
     --dark: #1a1a2e;
     --light: #f8f9fa;
     --gray: #6c757d;
     --light-gray: #e9ecef;
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
     --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
     --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
     --border-radius: 12px;
     --border-radius-lg: 20px;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Poppins', sans-serif;
     color: var(--dark);
     line-height: 1.6;
     overflow-x: hidden;
     background-color: #f8fafc;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     line-height: 1.3;
 }

 a {
     text-decoration: none;
     color: inherit;
     transition: var(--transition);
 }

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

 html,
 body {
     overflow-x: hidden;
     width: 100%;
 }

 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 section {
     padding: 80px 0;
     position: relative;
 }

 .section-header {
     text-align: center;
     margin-bottom: 50px;
 }

 .section-title {
     font-size: 2.5rem;
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-title:after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: linear-gradient(to right, var(--primary), var(--secondary));
     border-radius: 2px;
 }

 .section-subtitle {
     font-size: 1.1rem;
     color: var(--gray);
     max-width: 700px;
     margin: 0 auto;
 }

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 12px 30px;
     border-radius: 50px;
     font-weight: 600;
     font-size: 1rem;
     transition: var(--transition);
     border: none;
     cursor: pointer;
     white-space: nowrap;
 }

 .btn-primary {
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     box-shadow: var(--shadow-sm);
 }

 .btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: var(--shadow-md);
 }

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

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

 .text-gradient {
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 /* ========== Header Styles ========== */
 header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     transition: var(--transition);
     background-color: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     box-shadow: var(--shadow-sm);
 }

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

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

 .logo img {
     height: 40px;
     margin-right: 10px;
 }

 .logo-text {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     font-size: 1.5rem;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .desktop-nav {
     display: flex;
     align-items: center;
 }

 .nav-list {
     display: flex;
     list-style: none;
     margin-right: 30px;
 }

 .nav-item {
     margin-left: 25px;
     position: relative;
 }

 .nav-link {
     font-weight: 500;
     padding: 10px 0;
     position: relative;
 }

 .nav-link:after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 2px;
     background: linear-gradient(to right, var(--primary), var(--secondary));
     transition: var(--transition);
 }

 .nav-link:hover:after {
     width: 100%;
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     color: var(--dark);
     cursor: pointer;
     z-index: 1001;
 }

 /* Mobile Navigation */
 .mobile-nav {
     position: fixed;
     top: 0;
     right: -100%;
     width: 300px;
     height: 100vh;
     background: white;
     box-shadow: var(--shadow-lg);
     transition: var(--transition);
     z-index: 1000;
     padding: 80px 30px 30px;
 }

 .mobile-nav.active {
     right: 0;
 }

 .mobile-nav-list {
     list-style: none;
 }

 .mobile-nav-item {
     margin-bottom: 15px;
 }

 .mobile-nav-link {
     display: block;
     padding: 10px 0;
     font-weight: 500;
     border-bottom: 1px solid var(--light-gray);
 }

 .overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 999;
     opacity: 0;
     visibility: hidden;
     transition: var(--transition);
 }

 .overlay.active {
     opacity: 1;
     visibility: visible;
 }

 /* Scrolled Header */
 header.scrolled {
     box-shadow: var(--shadow-md);
 }

 /* Hero Section for Hostel Page */
 .hostel-hero-content {
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
 }

 .hostel-hero h1 {
     font-size: 3rem;
     margin-bottom: 20px;
     line-height: 1.2;
 }

 .hostel-hero p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     opacity: 0.9;
 }

 .hostel-hero-btns {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-bottom: 40px;
 }

 .hostel-badge {
     display: inline-block;
     padding: 8px 20px;
     background: white;
     border-radius: 50px;
     font-weight: 600;
     margin-bottom: 20px;
 }

 .boys-badge {
     color: var(--primary);
 }

 /* Facilities Section */
 .facilities {
     background-color: #f8fafc;
     padding: 80px 0;
 }

 .facilities-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 30px;
     max-width: 900px;
     margin: 0 auto;
 }

 .facility-card {
     background: white;
     border-radius: var(--border-radius);
     padding: 25px;
     display: flex;
     align-items: center;
     box-shadow: var(--shadow-sm);
     transition: var(--transition);
 }

 .facility-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-md);
 }

 .facility-icon {
     width: 50px;
     height: 50px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     margin-right: 20px;
     flex-shrink: 0;
 }

 .facility-content h3 {
     margin-bottom: 5px;
 }

 .facility-content p {
     color: var(--gray);
     font-size: 0.9rem;
 }


 /* Location Section */
 .hostel-location {
     background-color: #f8fafc;
     padding: 80px 0;
 }

 .location-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px;
 }

 .location-map {
     height: 500px;
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow-sm);
 }

 .location-map iframe {
     width: 100%;
     height: 100%;
     border: none;
 }

 .location-info {
     background: white;
     border-radius: var(--border-radius);
     padding: 30px;
     box-shadow: var(--shadow-sm);
 }

 .location-info h3 {
     margin-bottom: 20px;
 }

 .distance-item {
     display: flex;
     justify-content: space-between;
     padding: 15px 0;
     border-bottom: 1px solid var(--light-gray);
 }

 .distance-item:last-child {
     border-bottom: none;
 }

 .distance-place {
     font-weight: 500;
 }

 .distance-value {
     color: var(--gray);
 }

 .neighborhood {
     margin-top: 30px;
     padding-top: 20px;
 }

 .neighborhood p {
     color: var(--gray);
     margin-bottom: 15px;
 }

 /* Rules Section */
 .rules {
     background-color: white;
     padding: 80px 0;
 }

 .rules-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 30px;
     max-width: 900px;
     margin: 0 auto;
 }

 .rule-card {
     background: #f8fafc;
     border-radius: var(--border-radius);
     padding: 25px;
     transition: var(--transition);
 }

 .rule-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-sm);
 }

 .rule-card h3 {
     margin-bottom: 15px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .rule-card h3 i {
     color: var(--primary);
 }

 .rule-card ul {
     list-style-position: inside;
     color: var(--gray);
 }

 .rule-card li {
     margin-bottom: 8px;
 }


 /* Booking Section */
 .booking {
     background-color: white;
     padding: 80px 0;
 }

 .booking-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px;
     max-width: 1000px;
     margin: 0 auto;
 }

 .booking-form {
     background: white;
     border-radius: var(--border-radius);
     padding: 40px;
     box-shadow: var(--shadow-sm);
 }

 .booking-form h3 {
     margin-bottom: 25px;
     text-align: center;
 }

 .form-group {
     margin-bottom: 20px;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 500;
 }

 .form-group input,
 .form-group select,
 .form-group textarea {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid var(--light-gray);
     border-radius: var(--border-radius);
     font-family: 'Poppins', sans-serif;
     transition: var(--transition);
 }

 .form-group input:focus,
 .form-group select:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(71, 129, 254, 0.1);
 }

 .booking-info {
     background: #f8fafc;
     border-radius: var(--border-radius);
     padding: 40px;
 }

 .booking-info h3 {
     margin-bottom: 25px;
 }

 .info-item {
     display: flex;
     gap: 15px;
     margin-bottom: 20px;
 }

 .info-icon {
     width: 40px;
     height: 40px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .info-content h4 {
     margin-bottom: 5px;
 }

 .info-content p {
     color: var(--gray);
     font-size: 0.9rem;
 }

 .contact-methods {
     display: flex;
     gap: 15px;
     margin-top: 30px;
 }

 .contact-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 12px 20px;
     border-radius: 50px;
     font-weight: 500;
     transition: var(--transition);
 }

 .whatsapp-btn {
     background: #25D366;
     color: white;
 }

 .whatsapp-btn:hover {
     background: #128C7E;
 }

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

 .call-btn:hover {
     background: #2a5fc7;
 }

 /* Related Hostels */
.related-hostels {
    background-color: #f8fafc;
    padding: 80px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Ensure card acts as positioning context for badges */
.related-card {
    position: relative; /* Fix badge overlay issue */
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Badge inside card, not overlaying other cards */
.related-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin-bottom: 10px;
}

.related-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}


 /* Footer */
 footer {
     background: var(--dark);
     color: white;
     padding: 80px 0 0;
 }

 .footer-grid {
     display: grid;
     /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
     gap: 40px;
     margin-bottom: 60px;
 }

 .footer-col h3 {
     font-size: 1.3rem;
     margin-bottom: 25px;
     position: relative;
 }

 .footer-col h3:after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 50px;
     height: 3px;
     background: linear-gradient(to right, var(--primary), var(--secondary));
 }

 .footer-logo {
     display: flex;
     align-items: center;
     margin-bottom: 20px;
 }

 .footer-logo img {
     height: 40px;
     margin-right: 10px;
 }

 .footer-logo-text {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     font-size: 1.5rem;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .footer-about p {
     margin-bottom: 20px;
     opacity: 0.8;
 }

 .footer-contact p {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
     opacity: 0.8;
 }

 .footer-contact i {
     margin-right: 10px;
     color: var(--secondary);
 }

 .footer-links {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 12px;
 }

 .footer-links a {
     opacity: 0.8;
     transition: var(--transition);
 }

 .footer-links a:hover {
     opacity: 1;
     color: var(--secondary);
 }

 .footer-social {
     display: flex;
     gap: 15px;
 }

 .footer-social a {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: var(--transition);
 }

 .footer-social a:hover {
     background: var(--primary);
     transform: translateY(-3px);
 }

 .footer-bottom {
     padding: 20px 0;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     text-align: center;
     opacity: 0.7;
     font-size: 0.9rem;
 }

 /* Back to Top Button */
 .back-to-top {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 50px;
     height: 50px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: var(--transition);
     z-index: 999;
     box-shadow: var(--shadow-md);
 }

 .back-to-top.show {
     opacity: 1;
     visibility: visible;
 }

 .back-to-top:hover {
     transform: translateY(-5px);
 }

 /* Responsive Styles */
 @media (max-width: 992px) {
     .section-title {
         font-size: 2rem;
     }

     .hostel-hero h1 {
         font-size: 2.5rem;
     }

     .location-container,
     .booking-container {
         grid-template-columns: 1fr;
     }

     .location-info {
         order: -1;
     }

     .desktop-nav {
         display: none;
     }

     .mobile-menu-btn {
         display: block;
     }
 }

 @media (max-width: 768px) {
     section {
         padding: 60px 0;
     }

     .hostel-hero {
         min-height: 60vh;
     }

     .hostel-hero h1 {
         font-size: 2rem;
     }

     .facilities-grid,
     .rules-grid {
         grid-template-columns: 1fr;
     }

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

     .main-image,
     .video-container iframe {
         height: 350px;
     }

     .comparison-image {
         height: 350px;
     }
 }

 @media (max-width: 576px) {
     .section-title {
         font-size: 1.8rem;
     }

     .hostel-hero h1 {
         font-size: 1.8rem;
     }

     .hostel-hero-btns {
         flex-direction: column;
         align-items: center;
     }

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

     .main-image,
     .video-container iframe {
         height: 250px;
     }

     .comparison-image {
         height: 250px;
     }
 }

 /* Lightbox Styles */
 .lightbox {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.9);
     z-index: 1000;
     align-items: center;
     justify-content: center;
 }

 .lightbox-content {
     position: relative;
     max-width: 90%;
     max-height: 90%;
     width: auto;
     height: auto;
 }

 .lightbox-img {
     max-height: 80vh;
     max-width: 100%;
     display: block;
     margin: 0 auto;
     border-radius: 5px;
 }

 .lightbox-caption {
     color: white;
     text-align: center;
     padding: 15px 0;
     font-size: 1.2rem;
 }

 .close-btn {
     position: absolute;
     top: -40px;
     right: 0;
     color: white;
     font-size: 2.5rem;
     font-weight: bold;
     cursor: pointer;
     transition: 0.3s;
 }

 .close-btn:hover {
     color: var(--primary);
 }

 .lightbox-nav {
     position: absolute;
     top: 50%;
     width: 100%;
     display: flex;
     justify-content: space-between;
     transform: translateY(-50%);
 }

 .lightbox-prev,
 .lightbox-next {
     background: rgba(0, 0, 0, 0.5);
     color: white;
     border: none;
     padding: 15px;
     font-size: 1.5rem;
     cursor: pointer;
     border-radius: 50%;
     transition: 0.3s;
 }

 .lightbox-prev {
     margin-left: -60px;
 }

 .lightbox-next {
     margin-right: -60px;
 }

 .lightbox-prev:hover,
 .lightbox-next:hover {
     background: var(--primary);
 }

 @media (max-width: 768px) {
     .lightbox-prev {
         margin-left: -30px;
     }

     .lightbox-next {
         margin-right: -30px;
     }
 }

 .btn i {
     margin-right: 7px;
 }

 /* Rooms Section */
 .rooms {
     background-color: white;
     padding: 80px 0;
     border-radius: var(--border-radius);
     box-shadow: var(--shadow-sm);
 }

 .rooms-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-bottom: 40px;
 }

 .room-card {
     background: white;
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow-sm);
     transition: var(--transition);
     border: 1px solid var(--gray-light);
 }

 .room-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-md);
 }

 /* Image Slider */
 .room-slider {
     position: relative;
     height: 300px;
     overflow: hidden;
 }

 .slider-container {
     display: flex;
     transition: transform 0.5s ease;
     height: 100%;
 }

 .slide {
     min-width: 100%;
     height: 100%;
     position: relative;
 }

 .room-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .slider-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(0, 0, 0, 0.5);
     color: white;
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     cursor: pointer;
     transition: var(--transition);
     z-index: 2;
 }

 .slider-btn:hover {
     background: rgba(0, 0, 0, 0.7);
 }

 .prev-btn {
     left: 10px;
 }

 .next-btn {
     right: 10px;
 }

 .view-full-btn {
     position: absolute;
     top: 10px;
     right: 10px;
     background: rgba(0, 0, 0, 0.5);
     color: white;
     border: none;
     padding: 8px 12px;
     border-radius: var(--border-radius);
     cursor: pointer;
     transition: var(--transition);
     z-index: 2;
 }

 .view-full-btn:hover {
     background: rgba(0, 0, 0, 0.7);
 }

 .room-content {
     padding: 25px;
     display: flex;
     flex-direction: column;
 }

 .room-content h3 {
     margin-bottom: 15px;
     font-size: 1.5rem;
     color: var(--dark);
 }

 .room-features {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     margin-bottom: 20px;
 }

 .room-feature {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 0.9rem;
     color: var(--gray);
 }

 .room-feature i {
     color: var(--primary);
 }

 .room-price {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--primary);
     margin-bottom: 20px;
 }

 .room-price span {
     font-size: 1rem;
     font-weight: 400;
     color: var(--gray);
 }

 .btn-container {
     display: flex;
     justify-content: flex-end;
     margin-top: auto;
 }

 .btn-whatsapp {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 12px 20px;
     background-color: #25D366;
     color: white;
     border-radius: var(--border-radius);
     text-decoration: none;
     font-weight: 600;
     transition: var(--transition);
 }

 .btn-whatsapp:hover {
     background-color: #128C7E;
     transform: translateY(-2px);
 }

 /* Modal Styles */
 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.9);
     z-index: 1000;
 }

 .modal.active {
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .modal-content {
     position: relative;
     max-width: 90%;
     max-height: 90%;
     display: flex;
     flex-direction: column;
     background: white;
     border-radius: var(--border-radius);
     overflow: hidden;
 }

 .modal-header {
     padding: 20px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .modal-close {
     background: none;
     border: none;
     color: white;
     font-size: 1.5rem;
     cursor: pointer;
     padding: 5px;
 }

 .modal-main-image {
     position: relative;
     height: 60vh;
     max-height: 500px;
 }

 .modal-img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     background: #000;
 }

 .modal-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(0, 0, 0, 0.7);
     color: white;
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 1.2rem;
 }

 .modal-prev {
     left: 20px;
 }

 .modal-next {
     right: 20px;
 }

 .modal-thumbnails {
     display: flex;
     gap: 10px;
     padding: 20px;
     overflow-x: auto;
     background: var(--light);
 }

 .thumbnail {
     min-width: 80px;
     height: 60px;
     border-radius: 5px;
     overflow: hidden;
     cursor: pointer;
     border: 2px solid transparent;
     transition: var(--transition);
 }

 .thumbnail:hover,
 .thumbnail.active {
     border-color: var(--primary);
 }

 .thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* Responsive Design */
 @media (max-width: 1200px) {
     .rooms-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

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

     .section-title {
         font-size: 2rem;
     }

     .room-content {
         padding: 20px;
     }

     .modal-content {
         max-width: 95%;
         max-height: 95%;
     }

     .modal-main-image {
         height: 40vh;
     }

     .thumbnail {
         min-width: 60px;
         height: 45px;
     }
 }

 @media (max-width: 480px) {
     .container {
         padding: 0 10px;
     }

     .rooms {
         padding: 40px 0;
     }

     .room-features {
         flex-direction: column;
         gap: 10px;
     }

     .slider-btn {
         width: 35px;
         height: 35px;
     }

     .modal-nav {
         width: 40px;
         height: 40px;
     }

     .btn-whatsapp {
         padding: 10px 15px;
         font-size: 0.9rem;
     }
 }

 .room-location {
     display: flex;
     align-items: center;
     gap: 5px;
     margin-bottom: 10px;
     color: var(--gray);
     font-size: 0.95rem;
 }

 .room-location i {
     color: var(--primary);
 }

 /* WhatsApp Floating Button */
 .whatsapp-chatbot {
     position: fixed;
     bottom: 30px;
     right: 30px;
     z-index: 9999;
 }

 .whatsapp-btn {
     display: flex;
     align-items: center;
     background: linear-gradient(135deg, #25D366, #128C7E);
     color: white;
     text-decoration: none;
     border-radius: 50px;
     padding: 12px 18px 12px 12px;
     box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
     animation: pulse 2s infinite;
     transition: all 0.3s ease;
 }

 .whatsapp-btn:hover {
     transform: translateY(-3px) scale(1.05);
     box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
 }

 .whatsapp-icon {
     background: white;
     width: 42px;
     height: 42px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-right: 12px;
     color: #25D366;
     font-size: 24px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 }

 .whatsapp-text {
     display: flex;
     flex-direction: column;
     line-height: 1.2;
 }

 .whatsapp-text span:last-child {
     font-size: 15px;
     font-weight: 600;
 }

 .live-tag {
     background: linear-gradient(135deg, #ff3333, #ff0000);
     color: white;
     font-size: 11px;
     padding: 3px 6px;
     border-radius: 4px;
     font-weight: bold;
     text-transform: uppercase;
     animation: blink 1.5s infinite;
     align-self: flex-start;
     margin-bottom: 3px;
     box-shadow: 0 2px 5px rgba(255, 0, 0, 0.3);
 }

 @keyframes pulse {
     0% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
     }

     70% {
         box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
     }
 }

 @keyframes blink {
     0% {
         opacity: 1;
         transform: scale(1);
     }

     50% {
         opacity: 0.8;
         transform: scale(0.95);
     }

     100% {
         opacity: 1;
         transform: scale(1);
     }
 }

 @media (max-width: 768px) {
     .whatsapp-chatbot {
         bottom: 20px;
         right: 20px;
     }

     .whatsapp-btn {
         padding: 10px 15px 10px 10px;
     }

     .whatsapp-icon {
         width: 38px;
         height: 38px;
         font-size: 22px;
     }
 }

 @media (max-width: 500px) {
     .distance-item {
         font-size: 14px !important;
         flex-wrap: wrap;
     }

     .distance-item span {
         margin-bottom: 2px;
     }
 }

 section {
     padding: 50px 0 !important;
 }
 /* Contact Section */
		.contact {
			padding: 80px 20px;
			background-color: #f9f9f9;
		}

		.contact .section-header {
			text-align: center;
			margin-bottom: 50px;
		}

		.contact .section-title {
			font-size: 2.5rem;
			color: #333;
			margin-bottom: 10px;
		}

		.contact .section-subtitle {
			font-size: 1.1rem;
			color: #666;
		}

		.contact-grid {
			display: flex;
			justify-content: space-between;
			flex-wrap: wrap;
			gap: 40px;
		}

		.contact-info {
			flex: 1;
			min-width: 280px;
		}

		.contact-card {
			background: #fff;
			padding: 20px;
			margin-bottom: 20px;
			border-radius: 10px;
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
			transition: transform 0.3s ease;
		}

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

		.contact-card i {
			font-size: 1.8rem;
			color: var(--primary);
			margin-bottom: 10px;
		}

		.contact-card h4 {
			font-size: 1.2rem;
			color: #222;
			margin-bottom: 5px;
		}

		.contact-card p {
			font-size: 1rem;
			color: #555;
			line-height: 1.6;
			margin: 0;
		}

		/* Contact Form */
		.contact-form {
			flex: 1;
			min-width: 280px;
			background: #fff;
			padding: 30px;
			border-radius: 10px;
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
		}

		.contact-form form {
			display: flex;
			flex-direction: column;
		}

		.form-group {
			margin-bottom: 20px;
		}

		.form-group input,
		.form-group select,
		.form-group textarea {
			width: 100%;
			padding: 12px 15px;
			border: 1px solid #ccc;
			border-radius: 8px;
			font-size: 1rem;
			background-color: #fefefe;
			transition: border-color 0.3s;
		}

		.form-group input:focus,
		.form-group select:focus,
		.form-group textarea:focus {
			outline: none;
			border-color: #ff5e57;
		}

		/* .btn.btn-primary {
			background-color: #ff5e57;
			color: #fff;
			border: none;
			padding: 12px 25px;
			font-size: 1rem;
			border-radius: 8px;
			cursor: pointer;
			transition: background-color 0.3s ease;
		}

		.btn.btn-primary:hover {
			background-color: #e14e47;
		} */

		/* Responsive Design */
		@media (max-width: 768px) {
			.contact-grid {
				flex-direction: column;
			}
		}
        /* Thankyou pop up */
        /* Thank You Popup */
.thank-you-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.popup-content i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.popup-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #ff5e57;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .popup-content {
        padding: 20px;
    }
    
    .popup-content i {
        font-size: 3rem;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
}
 .room-feature .material-icons {
    color: #4781fe; /* Blue shade */
    vertical-align: middle; /* Keeps icon aligned with text */
    font-size: 20px; /* Adjust size if needed */
    margin-right: 6px; /* Space between icon and text */
  }
  /* Pelagia Paradise Branding Variables */
            :root {
                --primary: #4781fe;
                --secondary: #5afd1a;
                --dark: #1a1a2e;
                --light: #f8f9fa;
                --gray: #6c757d;
                --light-gray: #e9ecef;
                --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
                --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
                --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
                --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
                --border-radius: 12px;
                --border-radius-lg: 20px;
            }

       
            /* Gallery Section Header */
            .gallery-section {
                padding: 60px 0;
            }

            .section-header {
                text-align: center;
                margin-bottom: 50px;
            }

            .section-title {
                font-family: 'Montserrat', sans-serif;
                font-size: 2.5rem;
                font-weight: 700;
                margin-bottom: 15px;
                position: relative;
                display: inline-block;
                color: var(--dark);
            }

            .section-title:after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
                width: 80px;
                height: 4px;
                background: linear-gradient(to right, var(--primary), var(--secondary));
                border-radius: 2px;
            }

            .section-subtitle {
                font-size: 1.1rem;
                color: var(--gray);
                max-width: 700px;
                margin: 0 auto;
            }

            /* Gallery Container */
            .property-gallery-container {
                position: relative;
                margin-bottom: 2rem;
                background: white;
                border-radius: var(--border-radius-lg);
                padding: 30px;
                box-shadow: var(--shadow-md);
            }

            .gallery-main-wrapper {
                position: relative;
                border-radius: var(--border-radius);
                overflow: hidden;
                box-shadow: var(--shadow-sm);
                margin-bottom: 20px;
            }

            .gallery-main-image {
                position: relative;
                width: 100%;
                max-height: 80vh;
                aspect-ratio: 25 / 16;
                background: var(--light);
                border-radius: var(--border-radius);
                overflow: hidden;
            }

            .gallery-main-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: opacity 0.3s ease;
                cursor: zoom-in;
            }

            .gallery-nav-btn {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 45px;
                height: 45px;
                background: rgba(255, 255, 255, 0.95);
                border: none;
                border-radius: 50%;
                color: var(--primary);
                font-size: 1.1rem;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 10;
                transition: var(--transition);
                box-shadow: var(--shadow-sm);
            }

            .gallery-nav-btn:hover {
                background: white;
                transform: translateY(-50%) scale(1.1);
                box-shadow: var(--shadow-md);
                color: var(--secondary);
            }

            .prev-btn {
                left: 20px;
            }

            .next-btn {
                right: 20px;
            }

            .image-counter {
                position: absolute;
                bottom: 20px;
                right: 20px;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                color: white;
                padding: 8px 15px;
                border-radius: 25px;
                font-size: 0.9rem;
                font-weight: 600;
                box-shadow: var(--shadow-sm);
            }

            /* Thumbnails Grid - only 4 visible */
            .gallery-thumbnails {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 15px;
                position: relative;
            }

            .thumbnail-item {
                aspect-ratio: 1;
                cursor: pointer;
                border-radius: var(--border-radius);
                overflow: hidden;
                position: relative;
                border: 3px solid transparent;
                transition: var(--transition);
                box-shadow: var(--shadow-sm);
            }

            /* Hide everything after the 4th thumbnail */
            .gallery-thumbnails .thumbnail-item:nth-child(n+5) {
                display: none;
            }

            .thumbnail-item.active {
                border-color: var(--primary);
                box-shadow: 0 0 0 2px rgba(71, 129, 254, 0.2);
            }

            .thumbnail-item img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: var(--transition);
            }

            .thumbnail-item:hover {
                transform: scale(1.05);
                box-shadow: var(--shadow-md);
            }

            .thumbnail-item:hover img {
                opacity: 0.9;
            }

            /* View More Button */
            .view-more-btn {
                grid-column: 1 / -1;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                color: white;
                border: none;
                border-radius: var(--border-radius);
                padding: 15px 30px;
                cursor: pointer;
                font-weight: 600;
                font-size: 1rem;
                transition: var(--transition);
                margin-top: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
            }

            .view-more-btn:hover {
                transform: translateY(-3px);
                box-shadow: var(--shadow-md);
            }

            /* Lightbox Styles */
            .gallery-lightbox {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.95);
                z-index: 1000;
                align-items: center;
                justify-content: center;
                backdrop-filter: blur(5px);
            }

            .lightbox-content {
                position: relative;
                max-width: 95%;
                max-height: 95%;
                width: auto;
                height: auto;
            }

            .lightbox-image {
                max-height: 85vh;
                max-width: 90vw;
                display: block;
                margin: 0 auto;
                border-radius: var(--border-radius);
                box-shadow: var(--shadow-lg);
            }

            .close-lightbox {
                position: absolute;
                top: -50px;
                right: 0;
                color: white;
                font-size: 2.5rem;
                cursor: pointer;
                transition: var(--transition);
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
            }

            .close-lightbox:hover {
                color: var(--secondary);
                background: rgba(255, 255, 255, 0.2);
                transform: scale(1.1);
            }

            .lightbox-nav-btn {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 55px;
                height: 55px;
                background: rgba(255, 255, 255, 0.1);
                border: none;
                border-radius: 50%;
                color: white;
                font-size: 1.5rem;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 10;
                transition: var(--transition);
                backdrop-filter: blur(10px);
            }

            .lightbox-nav-btn:hover {
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                transform: translateY(-50%) scale(1.1);
            }

            .lightbox-prev {
                left: -80px;
            }

            .lightbox-next {
                right: -80px;
            }

            .lightbox-counter {
                position: absolute;
                bottom: -50px;
                left: 50%;
                transform: translateX(-50%);
                color: white;
                font-size: 1.1rem;
                background: rgba(0, 0, 0, 0.5);
                padding: 8px 15px;
                border-radius: 20px;
                backdrop-filter: blur(10px);
            }

            /* Boys Badge */
            .hostel-badge {
                display: inline-block;
                padding: 8px 20px;
                background: linear-gradient(135deg, var(--primary), var(--secondary));
                color: white;
                border-radius: 25px;
                font-weight: 600;
                margin-bottom: 20px;
                font-size: 0.9rem;
            }

            /* Responsive Styles */
            @media (max-width: 992px) {
                .section-title {
                    font-size: 2rem;
                }

                .gallery-thumbnails {
                    grid-template-columns: repeat(4, 1fr);
                    gap: 12px;
                }
            }

            @media (max-width: 768px) {
                .gallery-thumbnails {
                    grid-template-columns: repeat(2, 1fr);
                    gap: 10px;
                }

                .lightbox-nav-btn {
                    width: 45px;
                    height: 45px;
                    font-size: 1.2rem;
                }

                .lightbox-prev {
                    left: -60px;
                }

                .lightbox-next {
                    right: -60px;
                }

                .property-gallery-container {
                    padding: 20px;
                }
            }

            @media (max-width: 576px) {
                .gallery-thumbnails {
                    grid-template-columns: repeat(2, 1fr);
                }

                .gallery-nav-btn {
                    width: 35px;
                    height: 35px;
                    font-size: 0.9rem;
                }

                .prev-btn {
                    left: 10px;
                }

                .next-btn {
                    right: 10px;
                }

                .lightbox-nav-btn {
                    width: 35px;
                    height: 35px;
                    font-size: 1rem;
                }

                .lightbox-prev {
                    left: 15px;
                }

                .lightbox-next {
                    right: 15px;
                }

                .section-title {
                    font-size: 1.8rem;
                }

                .property-gallery-container {
                    padding: 15px;
                }
            }

            /* Loading Animation */
            .loading-placeholder {
                background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
                background-size: 200% 100%;
                animation: loading 1.5s infinite;
            }

            @keyframes loading {
                0% {
                    background-position: 200% 0;
                }

                100% {
                    background-position: -200% 0;
                }
            }

            /* Focus styles for accessibility */
            .gallery-nav-btn:focus,
            .thumbnail-item:focus,
            .lightbox-nav-btn:focus,
            .close-lightbox:focus {
                outline: 2px solid var(--secondary);
                outline-offset: 2px;
            }
            /* Dropdown container */
		.nav-item.dropdown {
			position: relative;
		}

		/* Hide submenu initially */
		.dropdown-menu {
			display: none;
			position: absolute;
			top: 100%;
			left: 0;
			background: #fff;
			color: #000;
			list-style: none;
			padding: 10px 0;
			min-width: 200px;
			box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
			border-radius: 8px;
			z-index: 1000;
		}

		/* Show on hover */
		.nav-item.dropdown:hover .dropdown-menu {
			display: block;
		}

		/* Links inside dropdown */
		.dropdown-menu li a {
			display: block;
			padding: 8px 16px;
			color: #333;
			text-decoration: none;
			transition: background 0.3s;
		}

		.dropdown-menu li a:hover {
			background: #f5f5f5;
		}

		/* Headings */
		.dropdown-heading {
			padding: 8px 16px;
			font-weight: bold;
			color: #444;
			pointer-events: none;
		}

		/* Mobile Navigation Styles */
		.mobile-nav {
			display: none;
			background: #fff;
			padding: 1rem;
		}

		.mobile-nav-list {
			list-style: none;
			padding: 0;
			margin: 0;
		}

		.mobile-nav-item {
			border-bottom: 1px solid #eee;
		}

		.mobile-nav-link {
			display: block;
			padding: 12px 0;
			text-decoration: none;
			color: #333;
			font-weight: 500;
		}

		.mobile-dropdown-menu {
			display: none;
			padding-left: 15px;
			list-style: none;
		}

		.mobile-dropdown-menu .mobile-nav-link {
			font-weight: normal;
		}

		.mobile-dropdown-heading {
			padding: 8px 0;
			font-weight: bold;
			color: #666;
			margin-top: 10px;
		}

		.mobile-dropdown-toggle.active+.mobile-dropdown-menu {
			display: block;
		}

		.mobile-call-btn {
			display: block;
			text-align: center;
			margin: 15px 0;
		}

		.icon {
			margin-right: 8px;
		}

		/* Show mobile nav on mobile screens */
		@media (max-width: 768px) {
			.mobile-nav {
				display: block;
			}
		}
        /* ========== Footer ========== */
footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}