/* Starter Page Styles */

/* Certification Section */
.certifications-section {
  padding: 60px 20px;
  text-align: center;
}

.certifications-section h2 {
  font-size: 32px;
  color: #000;
  margin-bottom: 40px;
  font-weight: 600;
}

.certifications-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.certifications-container::-webkit-scrollbar {
  height: 8px;
}

.certifications-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.certifications-container::-webkit-scrollbar-thumb {
  background: #8b1c2d;
  border-radius: 10px;
}

.cert-card {
  background-color: #fff;
  padding: 20px;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-weight: 600;
  border-bottom: 4px solid #8b1c2d;
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
}

/* Program Objectives */
.objectives-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.objective-col {
  flex: 1;
  min-width: 300px;
}

.objective-col ul {
  padding-left: 20px;
}

.objective-col ul li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.highlights-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 40px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.highlight-box {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.highlight-icon {
  font-size: 40px;
  color: #8b1c2d;
  margin-bottom: 15px;
}

.highlight-title {
  font-size: 24px;
  font-weight: bold;
  color: #8b1c2d;
  margin-bottom: 5px;
}

.highlight-subtext {
  font-size: 14px;
  color: #333;
}

/* Course Curriculum */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.tab {
  padding: 10px 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab:hover {
  color: #800000;
  transform: scale(1.05);
}

.tab.active {
  color: #800000;
  border-color: #800000;
}

.content {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.semester {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}

.semester:last-child {
  border-bottom: none;
}

.sem-title {
  font-size: 24px;
  font-weight: 700;
  color: #800000;
  min-width: 150px;
}

.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  flex: 1;
}

.subjects p {
  margin: 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
  transition: 0.3s ease;
  color: #003b49;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.subjects p:hover {
  background: #fff6f6;
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Programme Section */
.programme-section {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.programme-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.tab-button {
  background: white;
  border: none;
  border-radius: 15px;
  padding: 20px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  width: 100%;
}

.tab-button i {
  color: #800000;
  font-size: 2rem;
}

.tab-button.active {
  background: linear-gradient(135deg, #800000 0%, #a00000 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tab-button.active i {
  color: white;
}

.tab-text {
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

/* Specialization Course */
.specializations-section {
  background-color: #800d0d;
  padding: 60px 20px;
  text-align: center;
}

.specializations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.specialization-card {
  background: transparent;
  color: #e7e5e5;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.specialization-card:hover {
  transform: translateY(-5px);
}

.circle {
  width: 50px;
  height: 50px;
  margin: auto;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #800000;
  font-size: 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(240, 238, 238, 0.2);
}

.specialization-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 8px;
}

.specialization-description {
  font-size: 14px;
  color: #f5eaea;
  line-height: 1.6;
}

/* Facilities Section */
.facilities-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.facility-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.facility-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #800000 0%, #a00000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: white;
}

.facility-title {
  color: #800000;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.facility-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Tab Panes */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.peo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.content-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.objective-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #800000;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease;
  cursor: pointer;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(128, 0, 0, 0.15);
  border-left: 4px solid #a00000;
}

.programme-title {
  color: #800000;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.peo-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.peo-cards-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.peo-icon-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.peo-icon {
  background: #800000;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.peo-title {
  margin: 0;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.peo-description {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  flex-grow: 1;
}

/* Header Logo */
.header-logo {
  width: 150px;
  height: 100px;
}

/* Page Title */

.page-title-courses {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  /* padding: 220px 0 120px 0; */
  text-align: center;
  position: relative;
}

.page-title-bg-international {
  background-image: url(../img/education/som-international.webp);
}

.page-title-bg-general {
  background-image: url(../img/education/mba-general-banner.webp);
}

.page-title-bg-mba-agri {
  background-image: url(../img/education/mba-agri-banner.webp);
}

.page-title-bg-mba-pharma {
  background-image: url(../img/education/mba-pharma-banner.webp);
}

.page-title-bg-mba-ba-ai {
  background-image: url(../img/education/mba-ba-ai-banner.webp);
}

.page-title-bg-bba {
  background-image: url(../img/education/bba-banner.webp);
}

.page-title-bg-about {
  background-image: url(../img/education/mba-som-banner.webp);
}


/* Program Highlights Section */
.route-pcu-how-to-reach-grid {
  max-width: 1200px;
  margin: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .programme-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tab-button {
    padding: 18px 12px;
    font-size: 13px;
  }

  .tab-button i {
    font-size: 1.8rem;
  }

  .peo-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cert-card {
    width: 90%;
  }

  .objectives-container {
    flex-direction: column;
    gap: 30px;
  }

  .highlights-section {
    flex-direction: column;
    align-items: center;
  }

  .semester {
    flex-direction: column;
  }

  .sem-title {
    text-align: center;
  }

  .specialization-title {
    font-size: 16px;
  }

  .specialization-description {
    font-size: 13px;
  }

  .programme-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tab-button {
    padding: 15px 10px;
    font-size: 12px;
  }

  .tab-button i {
    font-size: 1.5rem;
  }

  .peo-grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .content-card {
    padding: 20px;
  }

  .objective-card {
    padding: 15px;
  }

  .peo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    font-size: 13px;
    padding: 10px 15px;
  }

  .programme-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tab-button {
    padding: 12px;
    font-size: 11px;
  }

  .tab-button i {
    font-size: 1.3rem;
  }

  .content-card {
    padding: 15px;
  }

  .objective-card {
    padding: 12px;
  }

  .peo-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .peo-title {
    font-size: 14px;
  }

  .peo-description {
    font-size: 13px;
  }
}

/* Program Highlights */

.route-pcu-responsive-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.route-pcu-section {
  background: #ffffff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.route-pcu-section h2 {
  color: #a12c2f;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 15px;
  font-size: 2rem;
  font-weight: 600;
}

.route-pcu-how-to-reach-grid,
.route-pcu-grid-container {
  display: grid;
  gap: 20px;
}

/* Default to 1 column for mobile */
.route-pcu-how-to-reach-grid {
  grid-template-columns: 1fr;
}

.route-pcu-grid-container {
  grid-template-columns: 1fr;
}


.route-pcu-grid-item {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #a12c2f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-pcu-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.route-pcu-grid-item h3 {
  margin-top: 0;
  color: #a12c2f;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .route-pcu-how-to-reach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-pcu-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .route-pcu-how-to-reach-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .route-pcu-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}