/* ====== Shared ====== */
.section-title-1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* ====== Chandigarh University Popular Programs ====== */
.cu-modern-programs {
  padding: 80px 0;
  background: linear-gradient(to right, #ffffff, #f9f9f9);
}

.cu-modern-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.cu-modern-image img:hover {
  transform: scale(1.03);
}

.cu-modern-content {
  padding: 20px;
}

.cu-modern-content .section-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 25px;
}

.modern-bullets {
  list-style: none;
  padding: 0;
}

.modern-bullets li {
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 15px;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.modern-bullets li:hover {
  background: #f8f8f8;
}

.modern-bullets i {
  color: #a40000;
  font-size: 18px;
  margin-right: 12px;
}

/* ====== Why Choose CU ====== */
.why-cu-modern {
  padding: 80px 0;
  background: #fdfdfd;
}

.why-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.icon-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #a40000, #ff5959);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.why-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.why-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* classic-service-section-end */

.classic-service-section {
  position: relative;
  padding: 50px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
  z-index: 2;
}

.classic-service-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.text-div {
  background: linear-gradient(135deg, #a40000, #ff5959);
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 35px 0 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 56, 104, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transition: transform 0.6s ease;
  transform: scale(0);
}

.text-div:hover::before {
  transform: scale(1);
}

.text-div::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.text-div:hover::after {
  opacity: 1;
}

.text-div h2 {
  color: #fff;
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.text-div p {
  color: #e0e7ff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.img-div {
  margin-left: -5px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.img-div::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(
    135deg,
    rgba(26, 56, 104, 0.1),
    rgba(45, 90, 160, 0.1)
  );
  border-radius: 20px;
  z-index: -1;
  transition: all 0.6s ease;
}

.img-div img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Floating animation for decorative elements */
.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.cls-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .text-div {
    padding: 0 40px;
  }

  .text-div h2 {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .classic-service-section {
    padding: 60px 0;
  }

  .text-div {
    aspect-ratio: 2 / 1;
    border-radius: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .text-div {
    padding: 0 30px;
    aspect-ratio: 2.5 / 1;
  }

  .text-div h2 {
    font-size: 32px;
  }

  .text-div p {
    font-size: 16px;
  }

  .img-div {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .classic-service-section {
    padding: 40px 0;
  }
  .cls-flex {
    gap: 20px;
  }
  .text-div {
    margin-top: 0;
    border-radius: 15px;
    padding: 25px;
    aspect-ratio: 3 / 3;
  }

  .text-div h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .text-div p {
    font-size: 14px;
    padding-bottom: 10px;
  }

  .floating-element {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .text-div h2 {
    font-size: 20px;
  }

  .text-div p {
    font-size: 13px;
  }

  .text-div {
    padding: 25px 20px;
  }
}

/* Hover effects for the entire section */
.row:hover .text-div {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(26, 56, 104, 0.4);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
.text-div:focus-within {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* classic-service-section-end */
/* odl page */
/* ---------- Section Title ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #ac1f1e; /* CU red */
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ---------- Section Description ---------- */
.section-description {
  font-size: 1rem;
  color: #555;
  max-width: 860px;
  margin: 0 auto 24px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 991px) {
  .section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  .section-description {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}

.odl-intro-section .container,
.odl-advantages .container,
.bachelor-programs .container,
.master-programs .container {
  padding-top: 38px;
  padding-bottom: 38px;
}

/* ---------- Advantages Section Wrapper ---------- */
.odl-advantages {
  background: url("../images/bg-section-01.jpg");
  padding: 50px 20px;
}

.odl-advantages .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Card Layout ---------- */
.adv-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #ac1f1e;
}

/* ---------- Icon Styling ---------- */
.adv-icon {
  width: 70px;
  height: 70px;
  background: rgba(179, 8, 45, 0.08);
  /* Light red background */
  color: #ac1f1e;
  /* CU red */
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.adv-card:hover .adv-icon {
  background: #ac1f1e;
  color: #fff;
  transform: scale(1.1);
}

/* ---------- Text Styling ---------- */
.adv-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
  max-width: 200px;
}

/* ---------- Responsive Grid ---------- */
.advantage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.advantage-list .col-md-4,
.advantage-list .col-lg-2 {
  flex: 1 1 calc(20% - 20px);
  /* 5 cards per row on desktop */
  max-width: calc(20% - 20px);
}

@media (max-width: 991px) {
  .advantage-list .col-md-4,
  .advantage-list .col-lg-2 {
    flex: 1 1 calc(33.333% - 20px);
    /* 3 cards per row on tablet */
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 767px) {
  .advantage-list .col-md-4,
  .advantage-list .col-lg-2 {
    flex: 1 1 calc(50% - 20px);
    /* 2 cards per row on mobile */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .advantage-list .col-md-4,
  .advantage-list .col-lg-2 {
    flex: 1 1 100%;
    /* 1 card per row on very small screens */
    max-width: 100%;
  }

  .adv-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .adv-card p {
    font-size: 0.9rem;
  }
}

/* admission-process-start */
:root {
  --theme-color: #ac1f1e;
  --outer-circle-width: 300px;
  --inner-circle-width: 200px;
}

.step {
  position: absolute;
  bottom: -50px;
  font-size: 33px !important;
  color: #fff;
}

.step-2 {
  position: absolute;
  top: -50px;
  font-size: 33px !important;
  color: #fff;
}

.circle-container {
  display: flex;
  justify-content: center;
}

.circle-container .outer-circle {
  width: var(--outer-circle-width);
  height: var(--outer-circle-width);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.circle-container .outer-circle:not(:first-child) {
  margin-left: calc(
    (var(--outer-circle-width) - var(--inner-circle-width)) / 2 - 100px
  );
}

.circle-container .outer-circle:nth-child(odd) .inner-circle {
  border-top-color: transparent;
  border-left-color: transparent;
}

.circle-container .outer-circle:nth-child(even) {
  margin-top: 1px;
}

.circle-container .outer-circle:nth-child(even) .inner-circle {
  border-bottom-color: transparent;
  border-right-color: transparent;
}

.circle-container .outer-circle:first-child .inner-circle {
  border-left-color: var(--theme-color);
}

.circle-container .outer-circle .inner-circle {
  width: var(--inner-circle-width);
  height: var(--inner-circle-width);
  box-sizing: content-box;
  border: calc((var(--outer-circle-width) - var(--inner-circle-width)) / 2)
    solid var(--theme-color);
  transform: rotate(45deg);
  border-radius: 50%;
}

.circle-container .outer-circle .inner-circle .inner-circle-content {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 5px solid #fff;
  box-sizing: border-box;
  border-radius: 50%;
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.circle-container .outer-circle .inner-circle .inner-circle-content span {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.circle-container .outer-circle .inner-circle .inner-circle-content img {
  height: 60px;
}

.circle-container .outer-circle img {
  stroke: var(--theme-color);
  fill: var(--theme-color);
}

@media (max-width: 769px) {
  .circle-container {
    flex-direction: column;
    align-items: center;
  }

  .circle-container .outer-circle .inner-circle {
    transform: rotate(135deg);
  }

  .circle-container .outer-circle .inner-circle .inner-circle-content {
    transform: rotate(225deg);
  }

  .circle-container .outer-circle:not(:first-child) {
    margin-left: 0;
    margin-top: calc(
      (var(--outer-circle-width) - var(--inner-circle-width)) / 2 - 100px
    );
  }

  .step {
    position: absolute;
    top: -40px;
    font-size: 30px !important;
    color: #fff;
  }
}

/* admission-process-end */

/* Section 1: Education Highlights */
.bba-highlights-wrapper {
  background: linear-gradient(135deg, #ac1f1e 80%, #d63031 20%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.bba-section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.bba-main-title {
  font-family: "Raleway", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bba-features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bba-feature-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  width: 220px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bba-feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  /* left: -100%; */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.bba-feature-item:hover::before {
  left: 100%;
}

.bba-feature-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.bba-feature-symbol {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.bba-feature-item:hover .bba-feature-symbol {
  transform: scale(1.1);
}

.bba-feature-symbol i {
  font-size: 1.4rem;
  color: #ac1f1e;
}

.bba-feature-title {
  font-family: "Raleway", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* .bba-feature-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
} */

/* Section 2: Program Objectives */
.bba-objectives-zone {
  background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  position: relative;
}

.bba-goals-header {
  text-align: center;
  margin-bottom: 45px;
}

.bba-goals-title {
  font-family: "Raleway", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ac1f1e;
  margin-bottom: 10px;
  position: relative;
}

.bba-goals-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ac1f1e;
  border-radius: 2px;
}

/* .bba-objective-text {
  color: #636e72;
  font-size: 0.9rem;
  line-height: 1.6;
} */

/* Section 4: Career Opportunities */
.bba-careers-section {
  background: linear-gradient(135deg, #ac1f1e 0%, #2d3436 100%);
  padding: 60px 0;
  position: relative;
  color: white;
}

.bba-career-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
  z-index: 2;
}

.bba-career-title {
  font-family: "Raleway", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #ffffff, #f8f9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bba-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.bba-role-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.bba-role-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.bba-role-card:hover::before {
  opacity: 1;
}

.bba-role-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.bba-role-symbol {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.bba-role-card:hover .bba-role-symbol {
  transform: rotateY(180deg);
}

.bba-role-symbol i {
  font-size: 1.4rem;
  color: #ac1f1e;
}

.bba-role-name {
  font-family: "Raleway", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.bba-role-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .bba-main-title,
  .bba-goals-title,
  .bba-process-title,
  .bba-career-title {
    font-size: 1.8rem;
  }

  .bba-features-container,
  .bba-objectives-flex {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }

  .bba-feature-item,
  .bba-objective-box {
    width: 100%;
    max-width: 320px;
  }

  .bba-steps-row {
    flex-direction: column;
    gap: 20px;
  }

  .bba-arrow-connector {
    transform: rotate(90deg);
    margin: 15px 0;
  }

  .bba-step-unit {
    width: 280px;
  }

  .bba-roles-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .bba-highlights-wrapper,
  .bba-objectives-zone,
  .bba-careers-section {
    padding: 40px 0;
  }

  .bba-main-title,
  .bba-goals-title,
  .bba-process-title,
  .bba-career-title {
    font-size: 1.6rem;
  }
}
/* faq section */
.faq-sec .container {
  margin: 0 auto;
}

@media (max-width: 450px) {
  .faq-sec .w3_agileits_copy_right_social {
    padding: 1.5em 0;
  }
}

.faq-sec a:hover,
.faq-sec a:focus {
  text-decoration: none;
  outline: none;
}

.faq-sec #accordion .panel {
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0 0 20px 10px;
}

.faq-sec #accordion .panel-heading {
  padding: 0;
  border-radius: 30px;
}

.faq-sec #accordion .panel-title a {
  display: block;
  padding: 12px 20px 12px 50px;
  background: #ac1f1e;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 30px;
  position: relative;
  transition: all 0.3s ease 0s;
}

.faq-sec #accordion .panel:before {
  display: none;
}

.faq-sec #accordion .panel-title a.collapsed:before {
  display: none;
}

.faq-sec #accordion .panel-title a:before,
.faq-sec #accordion .panel-title a.collapsed:before {
  display: none;
}

.faq-sec #accordion .panel-title a.collapsed {
  background: #fff;
  color: #0d345d;
  border: 1px solid #ac1f1e;
}

.faq-sec #accordion .panel-title a:after,
.faq-sec #accordion .panel-title a.collapsed:after {
  content: "\f107";
  font-family: "FontAwesome";
  font-weight: 900;
  width: 55px;
  height: 55px;
  line-height: 55px;
  border-radius: 50%;
  background: #ac1f1e !important;
  font-size: 25px;
  color: #fff !important;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.58);
  position: absolute;
  top: -5px;
  left: -20px;
  transition: all 0.3s ease 0s;
}

.faq-sec #accordion .panel-title a.collapsed:after {
  content: "\f105";
  background: #fff;
  color: #0d345d;
  border: 1px solid #ddd;
  box-shadow: none;
}

.faq-sec #accordion .panel-body {
  padding: 20px 25px 10px 9px;
  background: transparent;
  font-size: 14px;
  color: #8c8c8c;
  line-height: 25px;
  border-top: none;
  position: relative;
}

.faq-sec #accordion .panel-body p {
  padding-left: 25px;
  border-left: 1px dashed #ac1f1e;
}

.faq-sec .d-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-sec .panel-body a {
  color: #ac1f1e;
  text-shadow: 0.5px 0.5px 1px #ac1f1e;
}

.faq-sec .panel-body a:hover {
  text-shadow: none;
}

.faq-sec .panel-body ol {
  margin-top: 10px;

  li::marker {
    font-weight: 600;
    font-size: 14px;
  }
}

.faq-sec .panel-group h2 {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  padding: 20px 0;
}
/* ===== Program Carousel – Combined & Responsive ===== */
:root {
  --pc-gap: 20px;
}

.program-carousel {
  position: relative;
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 0px;
  /* room for arrows */
}

.carousel-viewport {
  padding: 0 25px;
}

.crous-head {
  margin: 0 0 24px;
}

.crous-head h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  color: #a40000;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.crous-head p {
  text-align: center;
  font-size: 1.06rem;
  color: #666;
  line-height: 1.55;
  max-width: 800px;
  margin: 0 auto;
}

/* Viewport & Track */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.4s ease-out;
  padding: 0 10px;
  margin: 0;
  gap: var(--pc-gap);
}

/* Cards */
.w3ls_banner_bottom_grid {
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.w3ls_banner_bottom_grid:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.w3ls_banner_bottom_grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.w3ls_banner_bottom_grid:hover img {
  transform: scale(1.03);
}

/* Overlay title bar */
.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  text-align: center;
  padding: 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.overlay h2 {
  margin: 0;
  font-size: 1.08rem;
  width: 100%;
}

.overlay h2 a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.overlay h2 a:hover {
  color: #ffd700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Nav Buttons */
.carousel-btn {
  position: absolute;
  top: 55%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
  background: #a40000;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(164, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.carousel-btn:focus {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

.btn-prev {
  left: -30px;
}

.btn-next {
  right: -30px;
}

/* Simple glyphs (you can swap to icons if you prefer) */
.glyphicon {
  position: relative;
  top: -2px;
}

.glyphicon-chevron-left:before {
  content: "🡨";
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.glyphicon-chevron-right:before {
  content: "🡪";
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

/* ===== Breakpoints & fine-tuning ===== */

/* ≥ 992px → 4 cards (default sizing handled by JS) */

@media (max-width: 991.98px) {
  /* 3 cards zone */
  .program-carousel {
    padding: 0 30px;
  }

  .w3ls_banner_bottom_grid img {
    height: 190px;
  }

  .crous-head h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 769.98px) {
  /* 2 cards zone */
  :root {
    --pc-gap: 18px;
  }

  .program-carousel {
    padding: 0 26px;
    margin: 10px auto 32px;
  }

  .crous-head h2 {
    font-size: 1.65rem;
  }

  .crous-head p {
    font-size: 1rem;
  }

  .w3ls_banner_bottom_grid img {
    height: 180px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --pc-gap: 16px;
  }

  .program-carousel {
    padding: 0 20px;
  }

  .crous-head h2 {
    font-size: 1.5rem;
  }

  .w3ls_banner_bottom_grid img {
    height: 170px;
  }
}

@media (max-width: 450px) {
  /* 1 card zone */
  :root {
    --pc-gap: 30px;
  }

  .program-carousel {
    padding: 0 20px;
    overflow: hidden;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .btn-prev {
    left: 6px;
  }

  .btn-next {
    right: 6px;
  }

  .overlay {
    padding: 12px 10px;
  }

  .overlay h2 {
    font-size: 1rem;
  }

  .carousel-viewport {
    padding: 0;
  }

  .carousel-track {
    display: flex;
    align-items: center;
    padding: 0 5px;
  }
}
/* breadcrumbs */
.breadcrumbs {
  span {
    color: #fff;
    margin-left: 10px;
    text-shadow: 0.5px 0.5px 1px #fff;

    a {
      padding-right: 10px;
      transition: all 0.3s ease;
    }

    a:hover {
      text-decoration: underline;
    }
  }
}

/* ===== Learning Outcomes – Split Partition ===== */
.learning-outcomes-partition {
  padding: 40px 0;
  background: linear-gradient(180deg, #faf7f7 0%, #f7e3e5 100%);
  position: relative;
}

.lop-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 991.98px) {
  .lop-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* = Media side = */
.lop-media {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.lop-media-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      180px 160px at 20% 25%,
      #f3d6d8 0,
      rgba(243, 214, 216, 0) 70%
    ),
    radial-gradient(
      220px 200px at 80% 70%,
      #f7e3e5 0,
      rgba(247, 227, 229, 0) 70%
    ),
    url("../images/about-1.jpg") center/cover no-repeat;
  /* fallback hero if collage not loaded */
  filter: contrast(1) saturate(1.02);
}

/* Collage photos */
.lop-photo {
  position: absolute;
  margin: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lop-photo-1 {
  left: 6%;
  top: 12%;
  transform: rotate(-3deg);
}

.lop-photo-2 {
  right: 6%;
  bottom: 10%;
  transform: rotate(4deg);
}

.lop-photo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

/* = Content side = */
.lop-content {
  padding-left: 6px;
}

/* Card item */
.lop-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lop-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
  border-color: #f0d9db;
}

/* Icon chip */
.lop-ico {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9b0f15;
  color: #fff;
  box-shadow: 0 10px 22px rgba(155, 15, 21, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  font-size: 18px;
}

.lop-text h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 2px 0 4px;
  color: #1f1f1f;
  font-weight: 800;
}

.lop-text p {
  margin: 0;
  color: #5a5a5a;
  font-size: 14px;
}

/* learning outsoms ends */
/* Sticky navigation only for mobile view (450px and below) */
@media (max-width: 450px) {
  /* Make the header-bottom sticky */
  .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  /* Ensure navbar maintains proper styling */
  .header-bottom .navbar {
    margin-bottom: 0;
  }

  /* Add padding to body to prevent content from hiding under fixed header */
  body {
    padding-top: 80px;
    /* Adjust this value based on your header height */
  }

  .header-bottom .navbar-header {
    background-color: #fff;
  }

  /* Optional: Add smooth animation when scrolling */
  .header-bottom.scrolled {
    padding: 5px 0;
  }

  /* Ensure dropdown menus appear above other content */
  .header-bottom .dropdown-menu {
    z-index: 1001;
  }
}
