/* =========================
   RESET & GENERAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.3;
}

section {
  padding: 4rem 5%;
  text-align: center;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 5%;
  }
}

@media (max-width: 576px) {
  section {
    padding: 2rem 3%;
  }
}

@media (max-width: 350px) {
  section {
    padding: 1.5rem 3%;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #0095e8;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 50px;
  
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffd700;
}

.whatsapp {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
   height: 60px;
  }

 .logo img {
  height: 50px;
  margin-right: 10px;
  margin-top: -10px;
  margin-left: -20px;
}

.logo-text {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

  nav ul {
    margin-top: 15px;
     display: none;
    flex-direction: column;
    width: 60%; /* instead of full width */
    background-color: #0095e8;
    position: absolute;
    top: 70px;
    right: 20px; /* shift it slightly */
    padding: 20px;
    border-radius: 12px; /* rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* floating effect */
    transition: all 0.3s ease-in-out;
    
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
    margin-top: -10px;
    margin-right: -20px;
  }

  .whatsapp {
    
    position: absolute;
    margin-right: 30px;
    right: 20px;
    top: 15px;
    margin-top: 3px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    
  }


  .branch-list {
    flex-direction: column;
    align-items: center;
  }
}
/* =========================
   PAGE HEADER
========================= */
.hostel-header {
  color: #07496d;
  text-align: center;
  padding: 6rem 5% 3rem;
  margin: 4rem auto 0 auto;
  width: 90%;
  box-sizing: border-box;
  animation: fadeSlide 1.5s ease-out;
}

.hostel-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

/* --- Header Mobile Adjustments --- */
@media (max-width: 768px) {
  .hostel-header {
    padding: 4rem 5% 2rem;
  }
}

@media (max-width: 576px) {
  .hostel-header {
    padding: 3rem 3% 1.5rem;
  }
}
.hero {
  margin-top: 3.9%;
  position: relative;
  width: 100%;
  height: 80vh;           /* default desktop height */
  overflow: hidden;
}

/* Video / Image inside hero */
.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills container */
  object-position: center;
}

/* HERO BUTTON */
.hero-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0095e8;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.hero-btn:hover {
  background-color: #0e5073;
}

/* MEDIA QUERIES */

/* Tablets & small screens */
@media (max-width: 768px) {
  .hero {
    margin-top: 7%;
    height: auto;                /* flexible height */
    padding-top: 56.25%;         /* 16:9 aspect ratio */
  }

  .hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;          /* show full video without cropping */
    object-position: center;
  }

  .hero-btn {
    bottom: 15px;
    padding: 10px 22px;
    font-size: 16px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero {
    padding-top: 56.25%;         /* same aspect ratio */
  }

  .hero-btn {
    padding: 9px 18px;
    font-size: 15px;
  }
}

/* =========================
   EXTERIOR VIDEO (Responsive)
========================= */
.exterior-video {
  width: 90%;
  height: 650px;
  margin: 90px auto 20px auto;
  display: block;

  /* Best for consistent look */
  object-fit: cover;
  border-radius: 10px;
  max-height: 600px;
}

/* --- Mobile Video Adjustments --- */
@media (max-width: 768px) {
  .exterior-video {
    height: 220px;        /* smaller for mobile */
    margin-top: 70px;
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .exterior-video {
    height: 180px;        /* even smaller for small phones */
    width: 95%;           /* looks better on small screens */
    margin-top: 50px;
    border-radius: 6px;
  }
}

/* =========================
   FADE ANIMATION
========================= */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* =========================
   Facilities Section
========================= */

/* Facilities Section */
.facilities {
  margin-top: -50px;
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0095e8;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tablet */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {

  .facilities {
    margin-top: 30px;
    padding: 50px 20px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-top: -70px;
  }

  .facility h3 {
    font-size: 0.6rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Facility Card */
/* Facilities Section Styling */
.facilities {
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0095e8;
}

/* Grid Layout (Desktop/Default) */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Facility Card Structure */
.facility {
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column; /* Stacks image and title vertically */
  align-items: center;
  height: 280px; /* Consistent height for desktop cards */
  box-sizing: border-box;
}

/* Image that fills the card width and is square (1:1 aspect ratio) */
.facility img {
  width: 100%;                  /* ✔ Image fills the card's width */
  aspect-ratio: 1 / 1;          /* ✔ Perfect square image area */
  max-height: 230px;            /* Leaves space for the title */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;           /* Spacing between image and title */
}

/* Card Title */
.facility h3 {
  font-size: 0.9rem;
  text-align: center;
  margin: auto 0 0 0; /* Pushes the title to the bottom of the card */
  padding: 0 5px;
}

/* Hover Animation */
.facility:hover {
  transform: translateY(-5px);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* --- Media Queries for Responsiveness --- */

/* 💻 Tablet View (max-width: 992px) */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    gap: 15px;
  }
  .facility {
    height: 240px;
  }
}

/* 📱 Mobile View (max-width: 786px) */
@media (max-width: 786px) {
  
  /* Section Adjustments */
  .facilities {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 1.8rem;
    /* Removed negative margin-top */
  }

  /* Grid Adjustments */
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
  }
  
  /* Facility Card Adjustments for Mobile */
  .facility {
    height: 160px;                    /* Smaller card height */
    padding: 8px;
  }
  
  .facility img {
    max-height: 120px;              /* Adjusted max height for smaller card */
    margin-bottom: 4px;
    border-radius: 6px;
  }
  
  .facility h3 {
    font-size: 0.75rem;              /* Smaller title text */
    margin-top: 2px;
  }
}

/* =========================
   BRANCHES
========================= */
.branches h2 {
  color: #0095e8;
  margin-top: -50px;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.branch-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.branch {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  width: clamp(200px, 90%, 280px);
  max-width: 100%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s;
}

.branch:hover {
  transform: translateY(-10px);
}

.branch i {
  font-size: 2rem;
  color: #0095e8;
  margin-bottom: 0.75rem;
}

/* Default branch styles remain same */

/* Tablet */
@media (max-width: 768px) {
  .branch {
    width: clamp(160px, 90%, 220px); /* smaller */
    padding: 1rem;                  /* reduce padding */
  }

  .branch i {
    font-size: 1.5rem; /* smaller icons */
  }

  .branch h3 {
    font-size: 1rem;  /* reduce heading size */
  }

  .branch p {
    font-size: 0.8rem; /* smaller text */
  }

  .branches h2 {
    margin-top: -30px;
    font-size: 1.3rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .branch {
    width: 95%;
    padding: 0.8rem; /* compact padding */
  }

  .branch i {
    font-size: 1.2rem;
  }

  .branch h3 {
    font-size: 0.9rem;
  }

  .branch p {
    font-size: 0.75rem;
  }

  .branches h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: -20px;
  }
}


/* =========================
   ROOMS
========================= */
.rooms h2 {
  color: #0095e8;
  margin-top: -50px;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.room-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.room-card img {
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
}


.icons {
  margin: 0.75rem 0;
}

.icons i {
  font-size: 1.2rem;
  margin: 0 0.5rem;
  color: #0095e8;
}

.book-btn {
  background: #0095e8;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  
}

.book-btn:hover {
  background: #0077b6;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .room-card img {
    height: 150px;
  }
  .rooms h2 {
  color: #0095e8;
  margin-top: -20px;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.rooms h3{
  font-size: 0.8rem;
}
a {
  text-decoration: none; /* remove underline from links */
}

.book-btn {
  background: #0095e8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;       /* smaller width */
  height: 30px;       /* smaller height */
  border-radius: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.75rem; /* smaller font size */
  border: none;
  margin-left: 20px;
}
  
}


@media (max-width: 576px) {
  .room-grid {
     grid-template-columns: repeat(2, 1fr);
  }
  .room-card img {
    height: 120px;
  }
}

/* =========================
   PACKAGE SECTION + MODAL
========================= */
.package-section {
  background: linear-gradient(135deg, #0095e8, #00bfff);
  padding: 4rem 5%;
  text-align: center;
  border-radius: 1.25rem;
  margin: 2rem auto;
  max-width: 100%;
  width: 900px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  animation: fadeInUp 1.2s ease-in-out;
}

.package-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.package-btn {
  background: #fff;
  color: #0095e8;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 3rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.package-btn:hover {
  background: #007dc6;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  animation: fadeIn 0.4s;
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 1.25rem;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: center;
  animation: slideUp 0.5s;
}

.close {
  color: #888;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #000;
}

.modal-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  color: #0095e8;
  margin-bottom: 1rem;
  font-weight: bold;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.8;
}

.package-list li {
  background: #f7faff;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 0.625rem;
  border-left: 5px solid #0095e8;
}

.register-btn {
  display: inline-block;
  background: #0095e8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.register-btn:hover {
  background: #007dc6;
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    padding: 1rem;
  }
  .modal-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }
  .package-list {
    font-size: clamp(0.8rem, 2vw, 1rem);
  }
}

/* =========================
   MAP SECTION
========================= */
.map-section {
  padding: 4rem 5%;
  background: #f8f9fa;
  text-align: center;
}

.map-section h2 {
  margin-top: -70px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  color: #0095e8;
}

.map-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.map-card:hover {
  transform: translateY(-5px);
}

.map-card h3 {
  margin-bottom: 0.75rem;
  color: #333;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.map-card iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
  }
  .map-card iframe {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .map-card {
    padding: 0.75rem;
  }
  .map-card iframe {
    height: 200px;
  }
}

/* =========================
   FOOTER
========================= */
/* Footer */
footer {
  background: linear-gradient(135deg, #0095e8, #2a5298);
  color: #fff;
  padding: 1.2rem 4%;    /* smaller padding */
  text-align: center;
  margin-top: 1.5rem;
  
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;             /* reduced gap */
  padding: 0;
  margin: 0 0 0.6rem 0;  /* reduced margin */
}

.footer-links ul li a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 500;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #00c6ff;
}

.footer-bottom {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  opacity: 0.85;
  margin-top: 0.3rem;    /* small spacing only */
}

/* Reduce space in mobile screens */
@media (max-width: 576px) {
  footer {
    padding: 1rem 3%;
  }

  .footer-links ul {
    gap: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .footer-bottom {
    margin-top: 0.2rem;
  }
}
.follow-us {
  margin-top: 1rem;
}

.follow-text {
  font-size: 1.2rem;         /* Bigger text */
  font-weight: 700;          /* Bold */
  letter-spacing: 1px;       /* Stylish spacing */
  margin-bottom: 0.5rem;
}

/* Icon container */
.social-icon {
  margin: 0 10px;
  font-size: 2.3rem;          /* LARGE icons */
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Instagram original color */
.instagram {
  color: #E1306C;             /* Instagram pink */
}

/* Facebook original color */
.facebook {
  color: #1877F2;             /* Facebook blue */
}

/* Hover effect */
.social-icon:hover {
  transform: scale(1.2);      /* Slight zoom */
}

/* =========================
   ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Responsive Video Container */
.video-container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Responsive Video Element */
.responsive-video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .video-container {
        width: 95%;
        margin: 20px auto;
    }
}
/* Pricing Section */
.pricing-container {
    width: 90%;
    max-width: 1000px;
    margin: 10px auto;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.responsive-pricing {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-container {
        width: 95%;
        margin: 10px auto;
    }
}
/* Menu Heading */
.menu-heading {
  color: #0095e8;
  text-align: center;
  margin-top: -10px;
  margin-bottom: -10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .menu-heading {
    color: #0095e8;
  text-align: center;
  margin-top: -10px;
  margin-bottom: -10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  }
}

@media (max-width: 480px) {
  .menu-heading {
    font-size: 1.1rem;   /* smaller on small phones */
    margin-top: 0;
    margin-bottom: 5px;
  }
}

