/* Courses page styles - inherits global styles from style.css */

/* Make degree card images fit edge-to-edge, no border radius, no margin */
.dp-card-image-full {
  width: 100%;
  height: 180px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: none !important;
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
}

.dp-card {
  padding: 0 !important;
  padding-top: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  border-radius: 20px;
  overflow: hidden;
}

.dp-card-content-wrapper {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ===== SECTION 1: HERO ===== */
.courses-hero {
  position: relative;
  height: auto;
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: none;
}

.courses-hero .hero-desktop {
  position: relative;
}

.courses-hero .hero-desktop img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.courses-hero .hero-overlay {
  display: none;
}

.courses-hero .hero-content-centered {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 10;
  width: 45%;
  max-width: 600px;
}

.courses-hero .hero-content-centered h1 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.courses-hero .hero-content-centered p {
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 100%;
}

.courses-hero .hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #E8402A;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.btn-hero-outline {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Hero */
.courses-hero .hero-content-mobile {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  padding: 20px;
}

.courses-hero .hero-content-mobile h1 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.courses-hero .hero-content-mobile p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

.courses-hero .hero-content-mobile .hero-buttons {
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.courses-hero .hero-content-mobile .btn-hero-primary,
.courses-hero .hero-content-mobile .btn-hero-outline {
  padding: 12px 24px;
  font-size: 14px;
  width: 100%;
  max-width: 220px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .courses-hero .hero-content-centered {
    width: 50%;
    max-width: 550px;
  }
  
  .courses-hero .hero-content-centered h1 {
    font-size: 40px;
  }
  
  .courses-hero .hero-content-centered p {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .courses-hero .hero-content-centered {
    width: 55%;
    max-width: 500px;
    left: 4%;
  }
  
  .courses-hero .hero-content-centered h1 {
    font-size: 34px;
  }
  
  .courses-hero .hero-content-centered p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .courses-hero {
    min-height: auto;
    display: block;
  }

  .courses-hero .hero-desktop img {
    height: auto;
  }
}

/* ===== SECTION 2: ACADEMIC TRACKS INTRODUCTION ===== */
.academic-intro-section {
  padding: 80px 0;
  background: #ffffff;
}

.academic-intro-content {
  max-width: 850px;
  margin: 0 auto;
}

.academic-intro-headline {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.academic-intro-body {
  font-size: 18px;
  color: #333333;
  line-height: 2;
  margin-bottom: 50px;
}

.academic-intro-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.intro-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.intro-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FAEBD7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.intro-icon i {
  font-size: 28px;
  color: #E8402A;
}

.intro-icon-item:hover .intro-icon {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(232, 64, 42, 0.2);
}

.intro-icon-item span {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

/* Mobile */
@media (max-width: 768px) {
  .academic-intro-section {
    padding: 60px 20px;
  }

  .academic-intro-headline {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .academic-intro-body {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .academic-intro-body br {
    display: none;
  }

  .academic-intro-icons {
    gap: 30px;
  }

  .intro-icon {
    width: 60px;
    height: 60px;
  }

  .intro-icon i {
    font-size: 24px;
  }

  .intro-icon-item span {
    font-size: 12px;
  }
}

/* ===== SECTION 3: JUNIOR PROGRAMS / TRACK CARDS ===== */
.junior-programs-section {
  padding: 80px 0;
  background: #F7F6EC;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #E8402A;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow i {
  font-size: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: #333333;
  line-height: 1.8;
}

/* Track Card */
.track-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.track-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Track Image */
.track-image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.track-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

/* Track Badge */
.track-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.track-badge i {
  font-size: 22px;
  color: #ffffff;
}

/* Badge Color Variants */
.track-badge.engineering {
  background: #000000;
}

.track-badge.medical {
  background: #A70000;
}

.track-badge.legal {
  background: #A70000;
}

.track-badge.commerce {
  background: #F08C1C;
}

.track-badge.global {
  background: #E8402A;
}

/* Track Content */
.track-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 22px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
}

.track-program {
  font-size: 14px;
  color: #E8402A;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Subjects */
.track-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.track-subjects span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F7F6EC;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #333333;
}

.track-subjects span i {
  font-size: 10px;
  color: #E8402A;
}

/* Description */
.track-description {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

/* Career Destinations */
.track-careers {
  margin-bottom: 20px;
}

.track-careers h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 12px;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-tags span {
  background: #FAEBD7;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #333333;
}

/* CTA */
.track-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #E8402A;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.track-cta:hover {
  color: #A70000;
  gap: 12px;
}

/* Mobile */
@media (max-width: 991px) {
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .junior-programs-section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .section-subtitle br {
    display: none;
  }

  .track-image {
    height: 200px;
  }

  .track-content {
    padding: 22px;
  }

  .track-name {
    font-size: 20px;
  }

  .track-description {
    font-size: 13px;
  }
}

/* ===== SECTION 4: DEGREE PROGRAMS SECTION ===== */
.degree-programs-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Degree Card */
.degree-card {
  background: #F7F6EC;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.degree-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Degree Image */
.degree-image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.degree-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.degree-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.degree-duration i {
  color: #E8402A;
}

/* Degree Content */
.degree-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.degree-tag {
  display: inline-block;
  background: #E8402A;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.degree-name {
  font-size: 24px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 14px;
}

.degree-description {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Degree Combinations */
.degree-combinations {
  margin-bottom: 16px;
}

.degree-combinations h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 10px;
}

.degree-combinations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.degree-combinations ul li {
  font-size: 13px;
  color: #555555;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.degree-combinations ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #E8402A;
}

/* Degree Careers */
.degree-careers {
  margin-bottom: 20px;
}

.degree-careers h6 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 12px;
}

/* Degree CTA */
.degree-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #E8402A;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.degree-cta:hover {
  color: #A70000;
  gap: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .degree-programs-section {
    padding: 60px 20px;
  }

  .degree-image {
    height: 200px;
  }

  .degree-content {
    padding: 22px;
  }

  .degree-name {
    font-size: 20px;
  }

  .degree-description {
    font-size: 13px;
  }
}

/* ===== SECTION 5: CAREER PATHWAYS ===== */
.career-pathways-section {
  padding: 80px 0;
  background: #000000;
}

.career-pathways-content {
  position: relative;
}

.career-headline {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.career-body {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 16px;
}

.career-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.career-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.career-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
  border-color: rgba(232, 64, 42, 0.5);
}

.career-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #E8402A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.career-icon i {
  font-size: 24px;
  color: #ffffff;
}

.career-item span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

/* Mobile */
@media (max-width: 991px) {
  .career-headline {
    font-size: 32px;
  }

  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .career-pathways-section {
    padding: 60px 20px;
  }

  .career-headline {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }

  .career-body {
    font-size: 15px;
    text-align: center;
  }

  .career-intro {
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
  }

  .career-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .career-item {
    padding: 20px 16px;
  }

  .career-icon {
    width: 50px;
    height: 50px;
  }

  .career-icon i {
    font-size: 20px;
  }

  .career-item span {
    font-size: 12px;
  }
}

/* ===== SECTION 6: LEARNING EXPERIENCE ===== */
.learning-experience-section {
  padding: 80px 0;
  background: #F7F6EC;
}

/* Learning Card */
.learning-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 2px solid transparent;
}

.learning-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: #E8402A;
}

.learning-card.horizontal {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 24px;
  padding: 30px 28px;
}

.learning-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #E8402A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.learning-card.horizontal .learning-icon {
  margin: 0;
}

.learning-icon i {
  font-size: 28px;
  color: #ffffff;
}

.learning-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.learning-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

.learning-text {
  flex: 1;
}

.learning-text h4 {
  margin-bottom: 8px;
}

.learning-badge {
  background: #000000;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 991px) {
  .learning-card.horizontal {
    flex-direction: column;
    text-align: center;
  }

  .learning-card.horizontal .learning-icon {
    margin: 0 auto 16px;
  }

  .learning-badge {
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .learning-experience-section {
    padding: 60px 20px;
  }

  .learning-card {
    padding: 28px 22px;
  }

  .learning-icon {
    width: 60px;
    height: 60px;
  }

  .learning-icon i {
    font-size: 24px;
  }

  .learning-card h4 {
    font-size: 18px;
  }

  .learning-card p {
    font-size: 13px;
  }
}

/* ===== SECTION 7: ADMISSIONS CTA ===== */
.admissions-cta-section {
  padding: 100px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.admissions-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(232, 64, 42, 0.05);
  pointer-events: none;
}

.admissions-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.admissions-headline {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admissions-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 40px;
}

.admissions-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-admissions-primary {
  background: #E8402A;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-admissions-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.btn-admissions-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-admissions-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .admissions-cta-section {
    padding: 50px 20px;
  }

  .admissions-headline {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .admissions-body {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .admissions-body br {
    display: none;
  }

  .admissions-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-admissions-primary,
  .btn-admissions-outline {
    padding: 14px 36px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  /* Courses page sections */
  .courses-intro-section,
  .courses-grid-section,
  .courses-features-section {
    padding: 50px 0 30px;
  }
  
  /* Course cards mobile */
  .course-card {
    margin-bottom: 20px;
  }
  
  .course-card img {
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 480px) {
  .admissions-cta-section {
    padding: 40px 15px;
  }
  
  .courses-intro-section,
  .courses-grid-section,
  .courses-features-section {
    padding: 40px 0 25px;
  }
}
