/* ============================================
   DEHRADUN.CSS - IEM Dehradun Campus Page
   Fully Responsive for All Devices
   ============================================ */

/* 1️⃣ HERO BANNER SECTION - NO TEXT, ONLY IMAGE */
.dehradun-hero {
  height: 80vh;
  min-height: 500px;
  background: linear-gradient(105deg, rgba(13, 47, 91, 0.3) 0%, rgba(28, 63, 115, 0.2) 100%), url('../img/dd.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* 2️⃣ CAMPUS INTRODUCTION SECTION */
.campus-intro-section {
  background: var(--white);
  padding: 80px 0;
}

.campus-intro-section h1 {
  font-size: 3rem;
  line-height: 1.3;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #2c3e50;
}

/* 3️⃣ PROGRAMS SECTION */
.programs-section {
  background: #f8f5f0;
  padding: 80px 0;
}

.program-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid transparent;
}

.program-card:hover {
  transform: translateY(-8px);
  border-bottom-color: #c9a03d;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0D2F5B;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.program-card p {
  color: #2c3e50;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.btn-know-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9a03d;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-know-more i {
  transition: transform 0.3s ease;
}

.btn-know-more:hover {
  color: #0D2F5B;
}

.btn-know-more:hover i {
  transform: translateX(5px);
}

/* 4️⃣ EXPLORE SECTION - DEHRADUN HIGHLIGHTS */
.explore-section {
  background: var(--white);
  padding: 80px 0;
}

.highlight-card {
  background: linear-gradient(135deg, #0D2F5B, #1C3F73);
  padding: 1.8rem 1rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.highlight-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(13, 47, 91, 0.3);
}

.highlight-card i {
  font-size: 2rem;
  color: #e0b45c;
  margin-bottom: 0.8rem;
}

.highlight-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

/* 5️⃣ LOCATION SECTION - IFRAME LEFT, IMAGE RIGHT (NO TEXT) */
.location-section {
  background: #f8f5f0;
  padding: 80px 0;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
}

.campus-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.campus-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.campus-image-container:hover img {
  transform: scale(1.03);
}

/* Global Styles */
.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #c89b3c;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c89b3c, #e0b45c, #c89b3c);
  border-radius: 2px;
  margin: 0 auto 1.2rem;
}

.gold-line-left {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c89b3c, #e0b45c, #c89b3c);
  border-radius: 2px;
  margin: 0 0 1.5rem 0;
}

.text-gold {
  color: #e0b45c !important;
}

.text-navy {
  color: #0D2F5B !important;
}

section {
  scroll-margin-top: 100px;
}

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

.btn-gold {
  background: linear-gradient(135deg, #c9a03d, #e0b45c, #c9a03d);
  border: none;
  color: #0D2F5B;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #e0b45c, #f3cd7a, #e0b45c);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .dehradun-hero {
    height: 70vh;
    min-height: 450px;
  }
  .campus-intro-section h1 {
    font-size: 2.5rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .dehradun-hero {
    height: 60vh;
    min-height: 400px;
  }
  .campus-intro-section {
    padding: 60px 0;
  }
  .campus-intro-section h1 {
    font-size: 2rem;
  }
  .programs-section,
  .explore-section,
  .location-section {
    padding: 60px 0;
  }
  .display-5 {
    font-size: 2rem;
  }
  .program-card {
    padding: 1.5rem;
  }
  .program-card h4 {
    font-size: 1rem;
  }
  .highlight-card {
    padding: 1.5rem 0.8rem;
  }
  .highlight-card i {
    font-size: 1.8rem;
  }
  .highlight-card h4 {
    font-size: 0.85rem;
  }
  .map-container iframe {
    height: 350px;
  }
  .campus-image-container img {
    height: 350px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .dehradun-hero {
    height: 50vh;
    min-height: 350px;
  }
  .campus-intro-section {
    padding: 50px 0;
  }
  .campus-intro-section h1 {
    font-size: 1.8rem;
  }
  .intro-text {
    font-size: 0.95rem;
    text-align: center;
  }
  .programs-section,
  .explore-section,
  .location-section {
    padding: 50px 0;
  }
  .display-5 {
    font-size: 1.5rem;
  }
  .section-eyebrow {
    font-size: 0.6rem;
  }
  .program-card {
    padding: 1.2rem;
  }
  .program-card h4 {
    font-size: 0.95rem;
  }
  .program-card p {
    font-size: 0.85rem;
  }
  .highlight-card {
    padding: 1.2rem 0.5rem;
  }
  .highlight-card i {
    font-size: 1.5rem;
  }
  .highlight-card h4 {
    font-size: 0.75rem;
  }
  .gold-line {
    width: 50px;
  }
  .map-container iframe {
    height: 300px;
  }
  .campus-image-container img {
    height: 300px;
  }
}

/* Mobile Medium (480px - 575px) */
@media (max-width: 575px) {
  .dehradun-hero {
    height: 40vh;
    min-height: 300px;
  }
  .campus-intro-section h1 {
    font-size: 1.5rem;
  }
  .display-5 {
    font-size: 1.3rem;
  }
  .map-container iframe {
    height: 250px;
  }
  .campus-image-container img {
    height: 250px;
  }
}

/* Mobile Small (up to 479px) */
@media (max-width: 479px) {
  .dehradun-hero {
    height: 35vh;
    min-height: 250px;
  }
  .campus-intro-section h1 {
    font-size: 1.3rem;
  }
}

/* Extra Small Devices (up to 360px) */
@media (max-width: 360px) {
  .dehradun-hero {
    height: 35vh;
    min-height: 250px;
  }
  .campus-intro-section h1 {
    font-size: 1.3rem;
  }
  .map-container iframe {
    height: 220px;
  }
  .campus-image-container img {
    height: 220px;
  }
}