/* ============================================
   DEM.CSS - Diploma in Event Management Page
   Fully Responsive for All Devices
   ============================================ */

/* 1️⃣ HERO BANNER SECTION - FIXED FOR NAVBAR ON ALL DEVICES */
.dem-hero {
  height: auto;
  min-height: 100vh;
  background: linear-gradient(105deg, rgba(13, 47, 91, 0.92) 0%, rgba(28, 63, 115, 0.88) 100%), url('../img/gallery/1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 100px;
  padding-bottom: 60px;
}

.dem-hero .container {
  position: relative;
  z-index: 2;
}

.dem-hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #ffffff;
}

.dem-hero .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

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

/* Hero Section Button */
.dem-hero .btn-gold {
  background: linear-gradient(135deg, #c9a03d, #e0b45c, #c9a03d);
  border: none;
  color: #0D2F5B;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
}

.dem-hero .btn-gold:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #e0b45c, #f3cd7a, #e0b45c);
  color: #0D2F5B;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.dem-hero .btn-gold:active {
  transform: translateY(1px);
}

/* 2️⃣ PROGRAM CURRICULUM SECTION */
.curriculum-section {
  background: var(--white);
}

.semester-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.semester-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.semester-header {
  background: linear-gradient(135deg, #0D2F5B, #1C3F73);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.semester-header i {
  font-size: 2rem;
  color: var(--gold-light);
}

.semester-header h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
}

.curriculum-list {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
}

.curriculum-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #2c3e50;
}

.curriculum-list li:last-child {
  border-bottom: none;
}

.curriculum-list li i {
  color: #0D2F5B;
  font-size: 1rem;
  width: 20px;
}

/* 3️⃣ PROGRAM DETAILS SECTION */
.details-section {
  background: #f8f5f0;
}

.detail-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.detail-card i {
  font-size: 2.5rem;
  color: var(--gold-mid);
  margin-bottom: 1rem;
}

.detail-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0D2F5B;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.detail-card p {
  color: #2c3e50;
  margin: 0;
  font-size: 0.95rem;
}

.detail-card p span {
  display: block;
  font-size: 0.85rem;
  color: #6c757d;
}

.program-description {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--gold-mid);
}

.program-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2c3e50;
}

/* 4️⃣ WHY CHOOSE IAEM'S DEM PROGRAM */
.why-choose-section {
    background: var(--white);
    padding: 80px 0;
}

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

.why-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 12px;
}

.why-feature-item:hover {
    background: #f8f5f0;
}

.why-feature-item i {
    font-size: 1.2rem;
    color: #0D2F5B;
    margin-top: 0.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-feature-item:hover i {
    transform: scale(1.1);
}

.why-feature-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
    flex: 1;
}

/* Right Side Image */
.why-choose-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
}

.why-choose-image:hover img {
    transform: scale(1.03);
}

.image-overlay-content {
    position: absolute;
    bottom: 30px;
    right: 30px;
    left: auto;
    z-index: 2;
}

.experience-badge {
    background: linear-gradient(135deg, #c89b3c, #e0b45c);
    padding: 1rem 1.8rem;
    border-radius: 60px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0D2F5B;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    display: block;
    font-size: 0.75rem;
    color: #0D2F5B;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
}

/* 5️⃣ WHAT YOU WILL LEARN SECTION */
.learn-section {
  background: #f8f5f0;
  padding: 80px 0;
}

.learn-tag {
  background: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D2F5B;
  border: 1px solid rgba(13, 47, 91, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.learn-tag:hover {
  background: #0D2F5B;
  color: var(--white);
  transform: translateY(-3px);
  border-color: #0D2F5B;
  box-shadow: 0 8px 20px rgba(13, 47, 91, 0.15);
}

/* 6️⃣ CAREER OPPORTUNITIES SECTION */
.career-section {
  background: var(--white);
  padding: 80px 0;
}

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

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

.career-card i {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.career-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* 7️⃣ ADMISSIONS OPEN SECTION */
.admissions-section {
  background: linear-gradient(135deg, #0D2F5B, #1C3F73);
  position: relative;
  padding: 80px 0;
}

.admissions-card {
  background: transparent;
  padding: 3rem;
  border-radius: 30px;
  text-align: center;
}

.admissions-card h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.admissions-card h2 .text-gold {
  color: var(--gold-light) !important;
}

.admissions-card .lead {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Admissions Section Buttons */
.admissions-section .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;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

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

.admissions-section .btn-outline-gold {
  border: 2px solid var(--gold-light);
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  border-radius: 40px;
  padding: 10px 28px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.admissions-section .btn-outline-gold:hover {
  background: var(--gold-light);
  color: #0D2F5B;
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

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

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

/* Global fix for all sections to prevent navbar overlap */
section {
  scroll-margin-top: 100px;
}

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

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .dem-hero {
    padding-top: 100px;
    min-height: 85vh;
  }
  
  .dem-hero h1 {
    font-size: 3.5rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .dem-hero {
    padding-top: 90px;
    min-height: 80vh;
  }
  
  .dem-hero h1 {
    font-size: 3rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .dem-hero {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: auto;
  }
  
  .dem-hero h1 {
    font-size: 2.5rem;
  }
  
  .dem-hero .lead {
    font-size: 1rem;
  }
  
  .dem-hero .btn-gold {
    padding: 12px 28px;
    font-size: 1rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .semester-header h3 {
    font-size: 1.3rem;
  }
  
  .curriculum-list li {
    font-size: 0.85rem;
  }
  
  .detail-card {
    padding: 1.5rem;
  }
  
  .why-choose-section {
    padding: 60px 0;
  }
  
  .why-features-list {
    gap: 1rem;
  }
  
  .why-feature-item {
    padding: 0.6rem;
  }
  
  .why-feature-item i {
    font-size: 1.1rem;
  }
  
  .why-feature-item p {
    font-size: 0.9rem;
  }
  
  .experience-badge {
    padding: 0.8rem 1.5rem;
  }
  
  .experience-badge .years {
    font-size: 1.6rem;
  }
  
  .image-overlay-content {
    bottom: 20px;
    right: 20px;
  }
  
  .learn-section {
    padding: 60px 0;
  }
  
  .learn-tag {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
  
  .career-section {
    padding: 60px 0;
  }
  
  .career-card {
    padding: 1.2rem 0.8rem;
  }
  
  .career-card i {
    font-size: 1.8rem;
  }
  
  .career-card h4 {
    font-size: 0.85rem;
  }
  
  .admissions-section {
    padding: 60px 0;
  }
  
  .admissions-card {
    padding: 2rem;
  }
  
  .admissions-card h2 {
    font-size: 2rem;
  }
  
  .admissions-card .lead {
    font-size: 1rem;
  }
  
  .admissions-section .btn-gold,
  .admissions-section .btn-outline-gold {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  
  section {
    scroll-margin-top: 90px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .dem-hero {
    padding-top: 120px;
    padding-bottom: 50px;
    min-height: auto;
  }
  
  .dem-hero h1 {
    font-size: 2rem;
  }
  
  .dem-hero .lead {
    font-size: 0.95rem;
  }
  
  .dem-hero .btn-gold {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .section-eyebrow {
    font-size: 0.6rem;
  }
  
  .semester-header {
    padding: 1rem;
  }
  
  .semester-header i {
    font-size: 1.5rem;
  }
  
  .semester-header h3 {
    font-size: 1.1rem;
  }
  
  .curriculum-list {
    padding: 1rem;
  }
  
  .curriculum-list li {
    font-size: 0.8rem;
    padding: 8px 0;
  }
  
  .detail-card {
    padding: 1.2rem;
  }
  
  .detail-card i {
    font-size: 2rem;
  }
  
  .detail-card h4 {
    font-size: 1rem;
  }
  
  .detail-card p {
    font-size: 0.85rem;
  }
  
  .program-description {
    padding: 1.5rem;
  }
  
  .program-description p {
    font-size: 0.9rem;
  }
  
  .why-choose-section {
    padding: 50px 0;
  }
  
  .section-eyebrow.text-start {
    text-align: center !important;
  }
  
  .display-5 {
    text-align: center;
  }
  
  .gold-line-left {
    margin: 0 auto 1.5rem auto;
  }
  
  .why-feature-item {
    padding: 0.5rem;
  }
  
  .why-feature-item i {
    font-size: 1rem;
    margin-top: 0.1rem;
  }
  
  .why-feature-item p {
    font-size: 0.85rem;
  }
  
  .why-choose-image {
    margin-top: 2rem;
  }
  
  .experience-badge {
    padding: 0.6rem 1.2rem;
  }
  
  .experience-badge .years {
    font-size: 1.4rem;
  }
  
  .experience-badge .text {
    font-size: 0.65rem;
  }
  
  .image-overlay-content {
    bottom: 15px;
    right: 15px;
  }
  
  .learn-section {
    padding: 50px 0;
  }
  
  .learn-tag {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .career-section {
    padding: 50px 0;
  }
  
  .career-card {
    padding: 1rem 0.5rem;
  }
  
  .career-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .career-card h4 {
    font-size: 0.75rem;
  }
  
  .admissions-section {
    padding: 50px 0;
  }
  
  .admissions-card {
    padding: 1.5rem;
  }
  
  .admissions-card h2 {
    font-size: 1.5rem;
  }
  
  .admissions-card .lead {
    font-size: 0.9rem;
  }
  
  .admissions-section .btn-gold,
  .admissions-section .btn-outline-gold {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  section {
    scroll-margin-top: 80px;
  }
}

/* Mobile Medium (480px - 575px) */
@media (max-width: 575px) {
  .dem-hero {
    padding-top: 130px;
    padding-bottom: 40px;
  }
  
  .dem-hero h1 {
    font-size: 1.8rem;
  }
  
  .dem-hero .lead {
    font-size: 0.9rem;
  }
  
  .dem-hero .btn-gold {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
  
  .display-5 {
    font-size: 1.3rem;
  }
  
  .curriculum-list li {
    font-size: 0.75rem;
    gap: 8px;
  }
  
  .curriculum-list li i {
    font-size: 0.8rem;
  }
  
  .detail-card i {
    font-size: 1.8rem;
  }
  
  .why-feature-item {
    gap: 0.8rem;
  }
  
  .why-feature-item i {
    font-size: 0.9rem;
  }
  
  .why-feature-item p {
    font-size: 0.8rem;
  }
  
  .experience-badge {
    padding: 0.5rem 1rem;
  }
  
  .experience-badge .years {
    font-size: 1.2rem;
  }
  
  .experience-badge .text {
    font-size: 0.6rem;
  }
  
  .learn-tag {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .career-card {
    padding: 0.8rem 0.3rem;
  }
  
  .career-card i {
    font-size: 1.2rem;
  }
  
  .career-card h4 {
    font-size: 0.65rem;
  }
  
  .admissions-card h2 {
    font-size: 1.3rem;
  }
  
  .admissions-section .btn-gold,
  .admissions-section .btn-outline-gold {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
  
  section {
    scroll-margin-top: 70px;
  }
}

/* Mobile Small (up to 479px) */
@media (max-width: 479px) {
  .dem-hero {
    padding-top: 140px;
    padding-bottom: 40px;
  }
  
  .dem-hero h1 {
    font-size: 1.5rem;
  }
  
  .dem-hero .lead {
    font-size: 0.85rem;
  }
  
  .dem-hero .btn-gold {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

/* Extra Small Devices (up to 360px) */
@media (max-width: 360px) {
  .dem-hero {
    padding-top: 150px;
    padding-bottom: 30px;
  }
  
  .dem-hero h1 {
    font-size: 1.3rem;
  }
  
  .dem-hero .lead {
    font-size: 0.8rem;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}