

/* Admissions Overview - Enhanced */
.admissions-overview {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.admissions-overview::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.05) 0%, rgba(0, 90, 135, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.admissions-overview::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.05) 0%, rgba(0, 90, 135, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: var(--font-secondary);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
  background-size: 200% auto;
 
  /* ✅ Cross-browser support */
  background-clip: text; /* Standard property */
  -webkit-background-clip: text; /* Chrome, Safari */
  -webkit-text-fill-color: transparent; /* Makes the text transparent to show the gradient */
  
  animation: gradient-shift 5s ease infinite;
  display: inline-block;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.overview-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
}

.overview-text p:first-of-type {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-light);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-color);
}

.overview-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 30px 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  flex: 1;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
 
  /* ✅ Cross-browser support */
  background-clip: text; /* Standard property */
  -webkit-background-clip: text; /* Chrome, Safari */
  -webkit-text-fill-color: transparent; /* Makes the text transparent to show the gradient */
  
  display: inline-block;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.overview-image {
  position: relative;
}

.overview-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--primary-light);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.overview-image::after,
.financial-aid-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
  z-index: 1;
  transition: all 0.75s ease;
}

.overview-image:hover::after,
.financial-aid-image:hover::after {
  left: 125%;
}

.overview-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.overview-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Admissions Programs - Enhanced */
.admissions-programs {
  background-color: var(--bg-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.admissions-programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.programs-tabs {
  position: relative;
  z-index: 1;
}

/* Enhanced Tabs Styling */
.tabs-nav {
  display: flex;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  padding-bottom: 5px;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tabs-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.tab-btn {
  padding: 15px 30px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 15px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  outline: none;
  z-index: 1;
  border-radius: 8px 8px 0 0;
}

.tab-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
  border-radius: 3px;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: width 0.3s ease;
  z-index: 1;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn:hover::before {
  transform: scaleX(0.8);
}

.tab-btn:hover::after {
  width: 30px;
}

.tab-btn.active {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.tab-btn.active::before {
  transform: scaleX(1);
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(0, 90, 135, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.tab-btn.active .tab-icon {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 90, 135, 0.3);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-info {
  background-color: white;
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.program-info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.05) 0%, rgba(0, 90, 135, 0) 70%);
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.program-info h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.program-info h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.program-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.program-info h4 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 20px;
  margin-top: 40px;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--primary-light);
}

.requirements-list {
  list-style: none;
  padding-left: 10px;
  margin-bottom: 40px;
}

.requirements-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-color);
  position: relative;
  padding-left: 30px;
}

.requirements-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
}

.important-dates {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.important-dates::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 5rem;
  color: rgba(0, 90, 135, 0.05);
  z-index: 0;
}

.important-dates h4 {
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--primary-color);
  border: none;
  padding-left: 0;
}

.date-item {
  display: flex;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.date-item:last-child {
  margin-bottom: 0;
}

.date {
  font-weight: 600;
  color: var(--primary-color);
  width: 120px;
  position: relative;
}

.date::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-light);
  border-radius: 50%;
  transform: translateY(-50%);
}

.date-description {
  flex: 1;
  padding-left: 15px;
}

.program-info .btn {
  margin-top: 10px;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-info .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 90, 135, 0.3);
}

/* Financial Aid - Enhanced */
.financial-aid {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.financial-aid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23005a87' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.financial-aid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.financial-aid-image {
  position: relative;
}

.financial-aid-image::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--primary-light);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.financial-aid-image::after,
.overview-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
  z-index: 1;
  transition: all 0.75s ease;
}

.financial-aid-image:hover::after,
.overview-image:hover::after {
  left: 125%;
}

.financial-aid-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.financial-aid-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.financial-aid-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
}

.financial-aid-text h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.financial-aid-text h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.aid-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.aid-type {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.aid-type::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.aid-type:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.aid-type:hover::before {
  transform: scaleX(1);
}

.aid-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
}

.aid-type:hover .aid-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 90, 135, 0.3);
}

.aid-type h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.aid-type p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.financial-aid-text .btn {
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
}

.financial-aid-text .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 90, 135, 0.3);
}

/* Application Process - Enhanced */
.application-process {
  background-color: var(--bg-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.application-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 90, 135, 0.3);
}

.step-content {
  flex: 1;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.process-step:hover .step-content::before {
  opacity: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.step-content p {
  margin-bottom: 0;
  color: var(--text-color);
  line-height: 1.6;
}

.process-cta {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.process-cta .btn {
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.process-cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.process-cta .btn-primary {
  box-shadow: 0 8px 25px rgba(0, 90, 135, 0.2);
}

.process-cta .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(0, 90, 135, 0.3);
}

/* FAQ Section - Enhanced */
.faq-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.05) 0%, rgba(0, 90, 135, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.05) 0%, rgba(0, 90, 135, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: white;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
  opacity: 1;
}

.faq-question h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--text-color);
  transition: color 0.3s ease;
  padding-right: 20px;
}

.faq-item.active .faq-question h3,
.faq-question:hover h3 {
  color: var(--primary-color);
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 90, 135, 0.1);
  flex-shrink: 0;
}

.faq-item.active .toggle-btn {
  transform: rotate(45deg);
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 90, 135, 0.2);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: white;
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-light);
}

.faq-more {
  text-align: center;
  margin-top: 50px;
}

.faq-more p {
  font-size: 1.1rem;
  color: var(--text-color);
}

.faq-more a {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  transition: all 0.3s ease;
}

.faq-more a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.faq-more a:hover {
  color: var(--primary-dark);
}

.faq-more a:hover::after {
  width: 100%;
}

/* Contact Admissions - Enhanced */
.contact-admissions {
  background-color: var(--bg-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact-admissions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23005a87' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

.contact-info > p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text-color);
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-item:hover i {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 90, 135, 0.2);
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.social-connect h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 90, 135, 0.2);
}

.social-icons a:hover {
  transform: translateY(-8px) rotate(360deg);
  box-shadow: 0 12px 30px rgba(0, 90, 135, 0.3);
}

.contact-form-container {
  background-color: white;
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.contact-form-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 90, 135, 0.1);
  background-color: white;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.05);
}

.contact-form-container .btn {
  width: 100%;
  padding: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
}

.contact-form-container .btn:hover {
  box-shadow: 0 15px 40px rgba(0, 90, 135, 0.3);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .aid-types {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .overview-content,
  .financial-aid-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .overview-image,
  .financial-aid-image {
    order: -1;
  }

  .page-banner h1 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .program-info {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 0;
  }

  .page-banner h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .overview-stats {
    flex-direction: column;
    gap: 20px;
  }

  .program-info {
    padding: 30px;
  }

  .date-item {
    flex-direction: column;
    gap: 5px;
  }

  .date {
    width: auto;
  }

  .date::after {
    display: none;
  }

  .process-cta {
    flex-direction: column;
    gap: 15px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .contact-form-container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .page-banner {
    padding: 50px 0;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .step-content {
    padding: 20px;
  }

  .contact-form-container {
    padding: 25px;
  }

  .process-step {
    gap: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .process-steps::before {
    left: 19px;
  }
}

/* Program Search Section */
/* Program Search Section - Enhanced */
.program-search-section {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(240, 245, 250, 0.9));
}

.program-search-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.program-search-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23ffffff' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff' opacity='.75'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center top;
  z-index: 0;
  transform: rotate(180deg);
}

.program-search-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.program-search-section .section-header {
  margin-bottom: 70px;
  position: relative;
}

.program-search-section .section-header h2 {
  position: relative;
  display: inline-block;
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
  background-size: 200% auto;
 
  /* ✅ Cross-browser support */
  background-clip: text; /* Standard property */
  -webkit-background-clip: text; /* Chrome, Safari */
  -webkit-text-fill-color: transparent; /* Makes the text transparent to show the gradient */
  
  animation: gradient-shift 5s ease infinite;
}

.program-search-section .section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Search Box */
.search-box {
  position: relative;
  margin-bottom: 40px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  overflow: hidden;
  transform: translateY(0);
}

.search-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 90, 135, 0.05), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-box:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 20px 45px rgba(0, 90, 135, 0.15), 0 10px 20px rgba(0, 90, 135, 0.1);
  transform: translateY(-5px);
}

.search-box:focus-within::before {
  opacity: 1;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 0;
  font-size: 1.2rem;
  color: var(--text-color);
  width: 100%;
  font-weight: 500;
}

.search-box input:focus {
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-lighter);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.search-box:focus-within input::placeholder {
  opacity: 0.5;
  transform: translateX(5px);
}

.search-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(0, 90, 135, 0.3);
  margin-left: 10px;
  position: relative;
  overflow: hidden;
}

.search-btn::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: all 0.4s ease;
}

.search-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(0, 90, 135, 0.4);
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.search-btn:hover i {
  transform: scale(1.2);
}

/* Enhanced Program Filters */
.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.program-filters:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.program-filters::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  border-radius: 20px 0 0 20px;
}

.program-filters::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 90, 135, 0.03) 0%, transparent 70%);
  border-radius: 0 0 0 100%;
}

.filter-group {
  flex: 1;
  min-width: 220px;
  position: relative;
  transition: all 0.3s ease;
}

.filter-group:hover {
  transform: translateY(-3px);
}

.filter-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 25px;
}

.filter-group label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.filter-group:hover label {
  color: var(--primary-color);
}

.filter-group:hover label::before {
  opacity: 0.7;
  transform: translateY(-50%) scale(1.2);
}

.filter-group select {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: white;
  font-size: 1.05rem;
  color: var(--text-color);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23005a87' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  background-size: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.filter-group select:hover {
  border-color: var(--primary-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 90, 135, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: rgba(0, 90, 135, 0.02);
}

/* Active Filters Indicator */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  min-height: 40px;
  transition: all 0.3s ease;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: rgba(0, 90, 135, 0.08);
  border-radius: 30px;
  font-size: 0.95rem;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 90, 135, 0.1);
  transform: translateY(0);
}

.filter-tag:hover {
  background-color: rgba(0, 90, 135, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-tag .remove-filter {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: rgba(0, 90, 135, 0.1);
}

.filter-tag .remove-filter:hover {
  background-color: rgba(0, 90, 135, 0.2);
  transform: rotate(90deg);
}

/* Search Results */
.search-results {
  margin-bottom: 30px;
  padding: 18px 25px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.search-results::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-results:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.search-results:hover::before {
  opacity: 1;
}

.results-count {
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.05rem;
}

.results-count span {
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.results-count span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.search-results:hover .results-count span::after {
  transform: scaleX(1);
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-options label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.sort-options select {
  padding: 10px 30px 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23005a87' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  font-weight: 500;
  background-color: rgba(0, 90, 135, 0.03);
}

.sort-options select:hover {
  border-color: var(--primary-light);
  background-color: rgba(0, 90, 135, 0.05);
}

.sort-options select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 90, 135, 0.1);
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.program-card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(0) scale(1);
  z-index: 1;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 90, 135, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.program-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.program-card:hover::before {
  opacity: 1;
}

.program-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.program-card:hover::after {
  transform: scaleX(1);
}

.program-card-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 25px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.program-card:hover .program-card-header {
  background-color: rgba(0, 90, 135, 0.05);
}

.program-level {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 90, 135, 0.2);
  transition: all 0.3s ease;
}

.program-card:hover .program-level {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 90, 135, 0.3);
}

.program-duration {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.program-card:hover .program-duration {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.program-title {
  padding: 25px 25px 15px;
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.4;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.program-title::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 25px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.program-card:hover .program-title {
  color: var(--primary-color);
}

.program-card:hover .program-title::after {
  transform: scaleX(1);
}

.program-faculty {
  padding: 0 25px 15px;
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  transition: all 0.3s ease;
}

.program-card:hover .program-faculty {
  color: var(--primary-light);
}

.campus-badge {
  padding: 0 25px 15px;
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  transition: all 0.3s ease;
  color: #003366;
  border:1px solid #003366;
  margin:5%;
  border-radius:10px;
}

.program-card:hover .campus-badge {
  color: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.program-description {
  padding: 0 25px 25px;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  flex-grow: 1;
}

.program-details {
  padding: 20px 25px;
  background-color: var(--bg-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.program-card:hover .program-details {
  background-color: rgba(0, 90, 135, 0.05);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.program-card:hover .detail-item {
  color: var(--text-color);
}

.detail-item i {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.program-card:hover .detail-item i {
  transform: scale(1.2);
}

.program-card .btn {
  margin: 25px;
  align-self: center;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.program-card .btn::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: all 0.4s ease;
  z-index: -1;
}

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

.program-card .btn:hover::before {
  left: 100%;
}

.load-more-container {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.load-more-btn {
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 90, 135, 0.2);
  position: relative;
  overflow: hidden;
}

.load-more-btn::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: all 0.4s ease;
}

.load-more-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 90, 135, 0.3);
}

.load-more-btn:hover::before {
  left: 100%;
}

.no-results {
  text-align: center;
  padding: 60px 30px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.no-results::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  opacity: 0.5;
}

.no-results i {
  font-size: 4rem;
  color: var(--text-lighter);
  margin-bottom: 25px;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.no-results h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.no-results p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .search-box {
    padding: 6px 6px 6px 20px;
  }

  .search-box input {
    padding: 12px 0;
    font-size: 1.1rem;
  }

  .search-btn {
    width: 50px;
    height: 50px;
  }

  .program-filters {
    flex-direction: column;
    gap: 25px;
    padding: 25px;
  }

  .filter-group {
    width: 100%;
  }

  .program-search-section .section-header h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .search-results {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .sort-options {
    width: 100%;
  }

  .sort-options select {
    flex: 1;
  }

  .programs-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }

  .program-card .btn {
    margin: 20px;
    padding: 10px 20px;
  }

  .program-search-section .section-header h2 {
    font-size: 2.2rem;
  }

  .program-search-section .section-header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .search-box {
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
  }

  .search-box input {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px 0;
  }

  .search-btn {
    width: 100%;
    border-radius: 12px;
    height: 50px;
    margin-left: 0;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .program-search-section .section-header h2 {
    font-size: 2rem;
  }

  .program-search-section .section-header p {
    font-size: 1rem;
  }

  .filter-tag {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

/* Animation for program cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Custom scrollbar for the program search section */
.program-search-section ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.program-search-section ::-webkit-scrollbar-track {
  background: rgba(0, 90, 135, 0.05);
  border-radius: 10px;
}

.program-search-section ::-webkit-scrollbar-thumb {
  background: rgba(0, 90, 135, 0.2);
  border-radius: 10px;
}

.program-search-section ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 90, 135, 0.3);
}

/* Additional animations for program search section */
@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 90, 135, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 90, 135, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 90, 135, 0);
  }
}

.pulse-animation {
  animation: pulse-animation 1.5s ease-out;
}

.focus-animation {
  transform: scale(1.02);
}

.search-btn.clicked {
  animation: rotate-pulse 0.5s ease-out;
}

@keyframes rotate-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.filter-group.filter-changed {
  animation: highlight-filter 0.5s ease;
}

@keyframes highlight-filter {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(0, 90, 135, 0.1);
  }
  100% {
    background-color: transparent;
  }
}

.sort-options.sorting {
  animation: highlight-sort 0.5s ease;
}

@keyframes highlight-sort {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.search-box.searching {
  animation: search-pulse 0.5s ease;
}

@keyframes search-pulse {
  0% {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
  100% {
    border-color: transparent;
  }
}

.filter-tag.removing {
  animation: tag-remove 0.3s ease forwards;
}

@keyframes tag-remove {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }
}

.filter-tag.tag-clicked {
  animation: tag-click 0.3s ease;
}

@keyframes tag-click {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fade-in 0.5s ease forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out {
  animation: fade-out 0.3s ease forwards;
}

@keyframes fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.title-change {
  animation: title-change 0.3s ease;
}

@keyframes title-change {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bounce {
  animation: bounce 1s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section-visible .program-card {
  opacity: 0;
  animation: stagger-fade-in 0.8s ease forwards;
}

.section-visible .program-card:nth-child(1) {
  animation-delay: 0.1s;
}
.section-visible .program-card:nth-child(2) {
  animation-delay: 0.2s;
}
.section-visible .program-card:nth-child(3) {
  animation-delay: 0.3s;
}
.section-visible .program-card:nth-child(4) {
  animation-delay: 0.4s;
}
.section-visible .program-card:nth-child(5) {
  animation-delay: 0.5s;
}
.section-visible .program-card:nth-child(6) {
  animation-delay: 0.6s;
}
.section-visible .program-card:nth-child(7) {
  animation-delay: 0.7s;
}
.section-visible .program-card:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes stagger-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
}


/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pagination-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  align-items: center;
}

.pagination-item {
  margin: 0;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-link:hover:not(:disabled) {
  background-color: #e9ecef;
  border-color: #ced4da;
  color: #212529;
}

.pagination-current {
  background-color: var(--primary-color, #0d6efd);
  border-color: var(--primary-color, #0d6efd);
  color: white;
}

.pagination-current:hover {
  background-color: var(--primary-color, #0d6efd) !important;
  border-color: var(--primary-color, #0d6efd) !important;
  color: white !important;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  color: #6c757d;
}

.pagination-previous,
.pagination-next {
  font-size: 0.875rem;
}

.pagination-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}