/* GLOBAL RESETS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #444;
  line-height: 1.7;
  background-color: #fff;
}

/* UTILITY CLASSES */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

.section {
  padding: 80px 0;
  text-align: center;
}

/* TEXT ALIGNMENT FIX */
/* Applies justified text to paragraphs in sections for neatness */
.section p {
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Specific fix for sub-text to keep it centered */
.section .sub-text {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.section-title {
  color: #6a1b9a;
  margin-bottom: 10px;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  z-index: 2;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ff4081;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* HEADER & NAV */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.logo span {
  color: #ff4081;
}

.desktop-nav a {
  text-decoration: none;
  color: #555;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.desktop-nav a:hover {
  color: #6a1b9a;
}

.desktop-nav .nav-btn {
  background: #6a1b9a;
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
}

.desktop-nav .nav-btn:hover {
  background: #500e7d;
  color: #fff;
}

/* FLOATING BUTTONS */
.call-btn, .whatsapp-btn {
  position: fixed;
  right: 20px;
  padding: 12px 25px;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.call-btn { bottom: 90px; background: #e53935; }
.whatsapp-btn { bottom: 25px; background: #25d366; }

.call-btn:hover, .whatsapp-btn:hover {
  transform: scale(1.05);
}

/* HERO SECTION */
.hero {
  height: 90vh;
  /* Make sure image path is correct */
  background: url("images/garima-girls-hostel-gorakhpur.png") center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Override justify for hero */
.hero-overlay p { text-align: center; }

.hero h1 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero h1 span { color: #ffd54f; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; font-weight: 300; }
.hero h2 { font-size: 2rem; margin: 20px 0; color: #fff; background: rgba(0,0,0,0.3); padding: 10px 30px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.3); }
.hero .small-text { font-size: 1rem; font-weight: 400; opacity: 0.9; }

.highlight-badge {
  background: #fff;
  color: #6a1b9a;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 10px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin: 10px;
}

.btn-primary {
  background: #ff4081;
  color: #fff;
}

.btn-primary:hover {
  background: #e91e63;
  transform: translateY(-3px);
}

.phone-number {
  white-space: nowrap;
}


.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #333;
}

/* TRUST BAR */
.trust {
  background: #f9f9f9;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}
.trust-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 200px;
  text-align: left;
}
.trust-item .icon { font-size: 2rem; }
.trust-item div { font-size: 0.95rem; line-height: 1.4; }


/* =========================================
   UPDATED SECTIONS WITH AWESOME BACKGROUNDS
   ========================================= */

/* 1. ABOUT SECTION BACKGROUND */
.about-section {
  /* Soft vertical gradient: White to Light Purple */
  background: linear-gradient(180deg, #ffffff 0%, #f3e5f5 100%);
}
.price-note {
  background: #fff3cd;
  color: #856404;
  padding: 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center !important; /* Force center for the alert box */
  margin-top: 20px;
}

/* 2. FEES SECTION BACKGROUND */
.fees-section {
  /* Subtle diagonal gradient: Very pale pink to white */
  background: linear-gradient(135deg, #fce4ec 0%, #ffffff 100%);
}
.price-card {
  background: #fff;
  border: 2px solid #f8bbd0; /* Pinkish Border */
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(to right, #6a1b9a, #ff4081);
}
.price-header { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; color: #777; margin-bottom: 10px; }
.price-amount { font-size: 3rem; color: #2e7d32; font-weight: 800; }
.price-amount small { font-size: 1.2rem; color: #555; }
.price-details { font-size: 1.1rem; color: #444; margin-bottom: 20px; }

/* 3. FACILITIES SECTION BACKGROUND */
.facilities-section {
  /* Light Gray-Purple Background for the whole section */
  background: #f8f0fc; 
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* CARDS WITH "AWESOME" BACKGROUND */
.card {
  /* Subtle Gradient INSIDE the cards */
  background: linear-gradient(145deg, #ffffff, #fff0f5);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid #6a1b9a; /* Bottom purple accent */
  text-align: left;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(106, 27, 154, 0.2);
  /* Make gradient slightly stronger on hover */
  background: linear-gradient(145deg, #ffffff, #fae6ff);
}
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h3 { font-size: 1.1rem; color: #333; margin-bottom: 5px; }
/* Ensure card text is left aligned, not justified */
.card p { font-size: 0.9rem; color: #666; text-align: left; } 

/* 4. NEARBY LOCATION SECTION BACKGROUND */
.location-section {
  /* Stronger diagonal gradient */
  background: linear-gradient(135deg, #e1bee7 0%, #f3e5f5 50%, #ffffff 100%);
  padding-bottom: 120px;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
}
.location-card {
  background: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
  height: 100%;
}
.location-card:hover { transform: scale(1.05); background: #fff; }
.location-card span { font-size: 1.8rem; }
.location-card strong { color: #6a1b9a; display: block; }

/* CONTACT SECTION */
.contact-section {
  background: #6a1b9a; /* Solid purple block to finish */
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}
.contact-box {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.white-text { color: #fff; }
.section-title.white-text::after { background: #ffd54f; }
.phone-number { font-size: 2rem; font-weight: bold; margin-bottom: 20px; color: #ffd54f; }
address { font-style: normal; margin-bottom: 30px; font-size: 1.1rem; }
.btn-white {
  background: #fff;
  color: #6a1b9a;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}
.btn-white:hover { background: #ffd54f; color: #333; }

/* FOOTER */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
}
footer p { margin-bottom: 5px; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .trust-grid { flex-direction: column; }
  .nav-container { flex-direction: column; gap: 10px; }
  .desktop-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
  .desktop-nav a { margin: 0; font-size: 0.9rem; }
  .call-btn, .whatsapp-btn { padding: 10px 18px; font-size: 0.9rem; right: 10px; }
  .call-btn { bottom: 70px; }
  
  /* Reset Justify for mobile if it looks weird on small screens */
  .section p { text-align: left; }
  .section .sub-text { text-align: center; }
  .price-note { text-align: center; }

}
