/* =========================
   css/style.css - updated for Hostel96 look
   Matches violet-blue gradient hero, dark search card,
   white headings, rounded UI, reduced gap in "Why Choose" area
   ========================= */

/* ---------- variables ---------- */

/* =========================
   Hostel96 - Final Clean Styles
   ========================= */

/* ---------- CSS Variables ---------- */


       :root {
            --primary-blue: #5B7CFF;
            --secondary-blue: #4361EE;
            --dark-blue: #3A0CA3;
            --light-blue: #7B9FFF;
            --gradient-start: #5B7CFF;
            --gradient-end: #7B9FFF;
            --dark-bg: #2B2D42;
            --card-bg: #1E1E2E;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
            min-height: 100vh;
        }

/* ===== NAVBAR ENHANCEMENTS ===== */

.navbar {
  transition: all 0.4s ease;
}

/* Brand animation */
.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Custom nav links */
.nav-link-custom {
  position: relative;
  font-size: 1.1rem;      /* Bigger text */
  font-weight: 600;       /* Bold */
  letter-spacing: 0.3px;  /* Clean spacing */
  color: #1f2937 !important;
  padding: 8px 14px;
  transition: color 0.3s ease;
}

/* Hover color */
.nav-link-custom:hover {
  color: #2563eb !important;
  font-weight: 700;
}

/* Underline animation */
.nav-link-custom::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  bottom: 0;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-custom:hover::after {
  width: 70%;
}

/* Active link */
.nav-link-custom.active {
  color: #2563eb !important;
  font-size: 1.15rem;
  font-weight: 700;
}

.nav-link-custom.active::after {
  width: 70%;
}

/* Mobile menu animation */
.navbar-collapse {
  animation: fadeSlide 0.5s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glass effect stronger on scroll */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.navbar-toggler {
  transition: transform 0.3s ease;
}

.navbar-toggler:hover {
  transform: rotate(90deg);
}

.navbar-nav .nav-item {
  margin-left: 6px;
}




.hover-prop:hover {
  color: #1e40af !important; 
  text-decoration: underline;
}

.btn-gradient {
  background-color: #e63946; /* simple red */
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
}

.btn-gradient:hover {
  background-color: #d62828; /* slightly darker red on hover */
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.6);
  color: #fff;
}

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border: none;
            border-radius: 25px;
            padding: 10px 30px;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(91, 124, 255, 0.4);
        }

        .btn-outline-primary {
            color: white;
            border: 2px solid white;
            border-radius: 25px;
            padding: 10px 30px;
            font-weight: 600;
        }

        .btn-outline-primary:hover {
            background: white;
            color: var(--primary-blue);
        }

        /* Hero Section */
      
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}




        .hero-section {
            background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
            padding: 80px 0;
            color: white;
            position: relative;
            overflow: hidden;
}
        



        .stats-row h3 {
            color: white !important;
            font-size: 2.5rem;
        }

        .stats-row p {
            color: rgba(255,255,255,0.8) !important;
        }

        /* Search Section */
        .search-section {
            background: linear-gradient(135deg, #667EFF 0%, #8BA3FF 100%);
            margin-top: -30px;
            padding: 60px 0 !important;
        }

        .search-section .card {
            border-radius: 20px;
            border: none;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }

        .search-section h3 {
            color: var(--secondary-blue);
            font-weight: 700;
        }

        .form-label {
            font-weight: 600;
            color: #333;
        }

        .form-select {
            border-radius: 12px;
            border: 2px solid #e0e0e0;
            padding: 12px;
        }

        .form-select:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 0.2rem rgba(91, 124, 255, 0.25);
        }

        /* Features Section */
        .features-section {
            background: white;
            padding: 80px 0 !important;
        }

        .features-section h2 {
            color: var(--dark-blue);
        }

        .feature-card {
            background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
            border-radius: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
            border: 2px solid rgba(91, 124, 255, 0.1);
            height: 100%;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(91, 124, 255, 0.2);
        }

        .feature-card .icon-box {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            width: 80px;
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }

        .feature-card .icon-box i {
            color: white !important;
        }

        .feature-card h4 {
            color: var(--dark-blue);
            font-weight: 700;
            margin-top: 20px;
        }

        /* Locations Section */
        .locations-section {
            background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
            padding: 80px 0 !important;
        }

        .locations-section h2 {
            color: var(--dark-blue);
        }

        .location-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .location-card:hover {
            transform: scale(1.05);
        }

        .location-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .location-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(91, 124, 255, 0.9), transparent);
            padding: 20px;
        }

        /* Testimonials */
        .testimonials-section {
            background: white;
            padding: 80px 0 !important;
        }

        .testimonials-section h2 {
            color: var(--dark-blue);
        }

        .testimonial-card {
            background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
            border-radius: 20px;
            border: 2px solid rgba(91, 124, 255, 0.1);
            height: 100%;
            transition: box-shadow 0.3s;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(91, 124, 255, 0.2);
        }

       .terms-header {
            background: linear-gradient(135deg, #4f46e5, #3b82f6);
            color: white;
            padding: 80px 0 60px;
            margin-bottom: 50px;
        }
        .terms-content {
            max-width: 900px;
            margin: 0 auto;
            padding-bottom: 60px;
        }
        .terms-content h2 {
            color: #2563eb;
            font-weight: 700;
            margin-top: 40px;
            margin-bottom: 20px;
            font-size: 1.8rem;
        }
        .terms-content h3 {
            color: #1e40af;
            font-weight: 600;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        .terms-content p {
            line-height: 1.8;
            color: black;
            margin-bottom: 15px;
        }
        .terms-content ul, .terms-content ol {
            line-height: 1.8;
            color: black;
            margin-bottom: 20px;
        }
        .terms-content li {
            margin-bottom: 10px;
            color: black;
        }
        
      .default-link {
    color: grey !important; 
    text-decoration: none !important; 
}


/* Optional: Reset the hover/focus state as well */
.default-link:hover, 
.default-link:focus {
    color: #551A8B !important;
}

.card-color {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 24px;

    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

    transition: all 0.35s ease;
}

.card-color:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* .last-updated {
            background-color: #f3f4f6;
            padding: 15px 20px;
            border-left: 4px solid #2563eb;
            margin-bottom: 30px;
            border-radius: 5px;
        } */
        .important-note {
            background-color: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 15px 20px;
            margin: 20px 0;
            border-radius: 5px;
        }



        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%) !important;
            padding: 80px 0 !important;
        }

        .cta-section .btn-light {
            background: white;
            color: var(--primary-blue);
            border-radius: 25px;
            font-weight: 600;
        }

        .cta-section .btn-light:hover {
            background: #f0f0f0;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #2B2D42 0%, #1E1E2E 100%) !important;
        }

        .footer h5, .footer h6 {
            color: var(--light-blue);
        }

        .footer a:hover {
            color: var(--light-blue) !important;
        }

        /* WhatsApp Float */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            transition: transform 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            color: white;
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
        }
/* ---------- utility / polish ---------- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: inherit; }
.lead { font-size: 1.05rem; color: rgba(255,255,255,0.92); }

/* keep some of your original helpers but adapted */
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.06); }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.12); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.rounded { border-radius: var(--radius); }

/* form / focus styles tuned for dark search card */
.form-control:focus, .form-select:focus {
  outline: none;
  box-shadow: 0 8px 26px rgba(76,94,255,0.12);
  border-color: rgba(76,94,255,0.7);
}

/* small screens */
@media (max-width: 991px) {
  .hero-section { padding-top: 2rem; padding-bottom: 2rem; border-radius: 0 0 18px 18px; }
  .img-hero { max-width: 320px; margin: 0 auto; display: block; }
  .search-card { margin-top: -28px; padding: 1rem; }
  .navbar-collapse { background: rgba(255,255,255,0.02); padding: 14px; border-radius: 10px; }
}

/* mobile tweaks */
@media (max-width: 767px) {
  .hero-section h1 { font-size: 1.8rem; }
  .stats-row h3 { font-size: 1.6rem; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 20px; }
}

/* keep your existing helpers (text-primary / bg-primary mapping) but mapped to new colors */
.text-primary { color: var(--accent) !important; }
.bg-primary { background: linear-gradient(90deg,var(--accent),var(--primary-2)) !important; }

/* small accessibility contrast adjustments for dark surfaces */
a { text-decoration: none; }
