/* ====== Section Wrapper ====== */
.custom-circulum-boxes-scope-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

/* ====== Section Header ====== */
.custom-circulum-boxes-section-head {
  text-align: center;
  margin-bottom: 60px;
}

.custom-circulum-boxes-section-badge {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #005ba1, #3b6ff5);

  color: white;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 91, 161, 0.12);
}

.custom-circulum-boxes-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-circulum-boxes-section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #005ba1, #3b6ff5);

  margin: 0 auto;
  border-radius: 2px;
}

/* ====== Grid Layout (4 columns) ====== */
.custom-circulum-boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* ====== Individual Cards ====== */
.custom-circulum-boxes-card {
  background: white;
  border-radius: 20px;
  padding: 35px 25px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 5px solid transparent;
  position: relative;
  overflow: hidden;
}

.custom-circulum-boxes-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-top-color: #005ba1;
}

.custom-circulum-boxes-card:nth-child(odd) {
  border-top-color: #005ba1;
}

.custom-circulum-boxes-card:nth-child(even) {
  border-top-color: #005ba1;
}

/* ====== Icon Wrapper ====== */
.custom-circulum-boxes-icon-wrapper {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6efff 100%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 91, 161, 0.12);
}

.custom-circulum-boxes-card:hover .custom-circulum-boxes-icon-wrapper {
  background: linear-gradient(45deg, #005ba1, #3b6ff5);

  transform: rotateY(180deg) scale(1.1);
}

/* ====== Icons ====== */
.custom-circulum-boxes-icon {
  font-size: 36px;
  transition: all 0.3s ease;
}

.custom-circulum-boxes-card:hover .custom-circulum-boxes-icon {
  filter: brightness(0) invert(1);
}

/* ====== Text Content ====== */
.custom-circulum-boxes-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.3;
}

.custom-circulum-boxes-desc {
  font-size: 15px;
  color: #3e3d3d;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.custom-circulum-boxes-card:hover .custom-circulum-boxes-title {
  color: #005ba1;
}

.custom-circulum-boxes-card:hover .custom-circulum-boxes-desc {
  color: #222;
}

.custom-circulum-boxes-card {
  animation: custom-circulum-boxes-fadeInUp 0.6s ease-out forwards;
}

.custom-circulum-boxes-card:nth-child(1) {
  animation-delay: 0.1s;
}
.custom-circulum-boxes-card:nth-child(2) {
  animation-delay: 0.2s;
}
.custom-circulum-boxes-card:nth-child(3) {
  animation-delay: 0.3s;
}
.custom-circulum-boxes-card:nth-child(4) {
  animation-delay: 0.4s;
}
.custom-circulum-boxes-card:nth-child(5) {
  animation-delay: 0.5s;
}
.custom-circulum-boxes-card:nth-child(6) {
  animation-delay: 0.6s;
}
.custom-circulum-boxes-card:nth-child(7) {
  animation-delay: 0.7s;
}
.custom-circulum-boxes-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Method 1: Using ::before pseudo-element (Recommended) */
.overlay-primary-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.overlay-primary-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* 60% transparent black */
  z-index: 1;
}

.overlay-primary-dark > * {
  position: relative;
  z-index: 2; /* Content appears above overlay */
}

/* ====== Our Custom Programmes Styles ====== */

/* Base Section Styles */
.our-custom-programes-about-section,
.our-custom-programes-placement-section,
.our-custom-programes-collaboration-section,
.our-custom-programes-opportunities-section {
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.our-custom-programes-about-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.our-custom-programes-placement-section {
  background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
}

.our-custom-programes-collaboration-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.our-custom-programes-opportunities-section {
  background: linear-gradient(135deg, #fef7e6 0%, #fed7aa 100%);
}

.our-custom-programes-scope-section {
  padding: 20px 0;
  background: linear-gradient(135deg, #005ba1 0%, #003d7a 100%);

  text-align: center;
}

/* Container and Grid */
.our-custom-programes-project-bx {
  margin-bottom: 60px;
}

.our-custom-programes-mb30 {
  margin-bottom: 30px;
}

/* Image Wrapper */
.our-custom-programes-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.our-custom-programes-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.our-custom-programes-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.our-custom-programes-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.our-custom-programes-image-wrapper:hover .our-custom-programes-img {
  transform: scale(1.05);
}

.our-custom-programes-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 91, 161, 0.8),
    rgba(0, 123, 191, 0.8)
  );

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.our-custom-programes-image-wrapper:hover .our-custom-programes-overlay {
  opacity: 1;
}

.our-custom-programes-icon {
  font-size: 60px;
  color: white;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Content Styles */
.our-custom-programes-content {
  padding: 20px 0;
}

.our-custom-programes-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(45deg, #005ba1, #003d7a);

  color: white;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 91, 161, 0.3);
}

.our-custom-programes-badge-secondary {
  background: linear-gradient(45deg, #005ba1 0%, #1976d2 100%);
}

.our-custom-programes-badge-success {
  background: linear-gradient(45deg, #10b981, #34d399);
}

.our-custom-programes-badge-info {
  background: linear-gradient(45deg, #3b82f6, #005ba1);
}

.our-custom-programes-badge-warning {
  background: linear-gradient(45deg, #f59e0b, #d97706);
}

.our-custom-programes-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 25px;
  line-height: 1.2;
  position: relative;
}

.our-custom-programes-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #005ba1, #003d7a);

  border-radius: 2px;
}

.our-custom-programes-text {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 20px;
  text-align: justify !important;
}

.our-custom-programes-highlight {
  color: #e53e3e;
  font-weight: 600;
}

/* Lists */
.our-custom-programes-admission-modes h4 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.our-custom-programes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #222;
  font-size: 17px;
}

.our-custom-programes-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.our-custom-programes-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.our-custom-programes-list-icon {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Stats */
.our-custom-programes-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.our-custom-programes-stat-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.our-custom-programes-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.our-custom-programes-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #005ba1;
  margin-bottom: 5px;
}

.our-custom-programes-stat-label {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}

/* Section Header */
.our-custom-programes-section-head {
  text-align: center;
  position: relative;
}

.our-custom-programes-section-badge {
  display: inline-block;
  padding: 8px 25px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.our-custom-programes-section-title {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.our-custom-programes-section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  margin: 0 auto;
  border-radius: 2px;
}

/* Companies */
.our-custom-programes-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.our-custom-programes-company-item {
  padding: 8px 16px;
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Partnership */
.our-custom-programes-partnership {
  margin-top: 25px;
}

.our-custom-programes-partner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  max-width: 200px;
}

.our-custom-programes-partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.our-custom-programes-partner-logo {
  font-size: 30px;
}

.our-custom-programes-partner-name {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
}

/* Career Paths */
.our-custom-programes-career-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.our-custom-programes-career-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.our-custom-programes-career-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.our-custom-programes-career-icon {
  font-size: 24px;
}

.our-custom-programes-career-item span {
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
}
/* Large tablets (3 columns) */
@media (max-width: 1024px) {
  .custom-circulum-boxes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .custom-circulum-boxes-card {
    padding: 30px 20px 25px;
  }

  .custom-circulum-boxes-section-title {
    font-size: 36px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-circulum-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .custom-circulum-boxes-card {
    padding: 25px 18px 20px;
  }

  .custom-circulum-boxes-icon-wrapper {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
  }

  .custom-circulum-boxes-icon {
    font-size: 28px;
  }

  .custom-circulum-boxes-title {
    font-size: 16px;
  }

  .custom-circulum-boxes-section-title {
    font-size: 32px;
  }

  .our-custom-programes-about-section,
  .our-custom-programes-placement-section,
  .our-custom-programes-collaboration-section,
  .our-custom-programes-opportunities-section {
    padding: 60px 0;
  }

  .our-custom-programes-title {
    font-size: 28px;
  }

  .our-custom-programes-section-title {
    font-size: 32px;
  }

  .our-custom-programes-img {
    height: 300px;
  }

  .our-custom-programes-stats {
    justify-content: center;
  }

  .our-custom-programes-career-paths {
    grid-template-columns: 1fr;
  }

  .our-custom-programes-order-mobile {
    order: 2;
  }

  .our-custom-programes-companies {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .our-custom-programes-section-title {
    font-size: 28px;
  }
  .our-custom-programes-scope-section {
    padding: 20px 0;
  }
  .our-custom-programes-partner {
    padding: 10px;
  }
  .our-custom-programes-stat-number {
    font-size: 21px;
  }
  .custom-circulum-boxes-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .custom-circulum-boxes-scope-section {
    padding: 60px 0;
  }

  .custom-circulum-boxes-section-head {
    margin-bottom: 40px;
  }

  .custom-circulum-boxes-card {
    padding: 20px 15px 18px;
  }

  .custom-circulum-boxes-icon-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
  }

  .custom-circulum-boxes-icon {
    font-size: 24px;
  }

  .custom-circulum-boxes-title {
    font-size: 16px;
  }

  .custom-circulum-boxes-desc {
    font-size: 14px;
  }

  .custom-circulum-boxes-section-title {
    font-size: 28px;
  }

  .our-custom-programes-about-section,
  .our-custom-programes-placement-section,
  .our-custom-programes-collaboration-section,
  .our-custom-programes-opportunities-section {
    padding: 24px 0 !important;
  }
  .our-custom-programes-project-bx {
    margin-bottom: 0px;
  }
  .our-custom-programes-text {
    font-size: 15px;
    color: #222 !important;
  }
  .our-custom-programes-title {
    font-size: 28px !important;
  }
  .our-custom-programes-list span {
    font-size: 15px !important;
  }

  .our-custom-programes-img {
    height: 250px;
  }

  .our-custom-programes-icon {
    font-size: 40px;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.our-custom-programes-content {
  animation: fadeInUp 0.8s ease-out;
}

.our-custom-programes-media {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
/* ====== Animation Effects ====== */
@keyframes custom-circulum-boxes-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
