/*
background image from : https://www.svgbackgrounds.com/set/free-svg-backgrounds-and-patterns/
animation from : AOS animation https://michalsnik.github.io/aos/
*/

/* CSS Custom Properties */
:root {
  --primary-red: #CC3333;
  --dark-grey: #2d2d2d;
  --light-pink: #f8f5f5;
  --white: #ffffff;
  --text-dark: #2d2d2d;
  --text-light: #ffffff;
}

/* Navbar */
.navbar {
    height: 56px;
    min-height: 56px;
}


.custom-navbar {
  background-color: rgba(45, 45, 45, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
}

.custom-navbar.transparent {
  background-color: transparent !important;
  backdrop-filter: none;
}

.custom-navbar.scrolled {
  background-color: rgba(45, 45, 45, 0.95) !important;
  backdrop-filter: blur(10px);
}

.custom-navbar .navbar-brand {
  padding: 0;
}

.custom-navbar .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--primary-red) !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.custom-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-navbar .container {
  position: relative;
}

.custom-navbar .navbar-collapse {
    position: static; 
    transform: none;
    left: auto;
    width: 100%;
    text-align: center;
}


@media (min-width: 992px) {
    .custom-navbar .navbar-collapse {
        position: absolute;
        left: 52%;
        transform: translateX(-50%);
    }
}



 .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    display: none;
  }

/* Close button */
.close-navbar {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
}


/* Body */
body {
  background-color: var(--white);
  margin: 0;
  padding: 0;
	overflow-x: hidden;
	scrollbar-width: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::-webkit-scrollbar {
  display: none;
}

.page-wrapper {
  flex: 1 0 auto;
  padding-top: 56px; 
}

/* Dropdown menu styling */
.custom-navbar .dropdown-menu {
  background-color: rgba(45, 45, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.custom-navbar .dropdown-item {
  color: var(--white);
  padding: 0.5rem 1.5rem;
  transition: background-color 0.2s, color 0.2s;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
  background-color: rgba(204, 26, 22, 0.2);
  color: var(--primary-red);
}

.custom-navbar .dropdown-item.active {
  background-color: var(--primary-red);
  color: var(--white);
}

/* Dropdown hover functionality */
@media (min-width: 992px) {
  .custom-navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .custom-navbar .dropdown-menu {
    margin-top: 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scaleX(-1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(37, 37, 37, 0.85) 0%,
    rgba(37, 37, 37, 0.6) 35%,
    rgba(45, 45, 45, 0.4) 65%,
    rgba(45, 45, 45, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem 0;
}

.hero-text {
  max-width: 700px;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.accent-red {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 4rem;
  color: var(--white);
  opacity: 0.95;
  font-weight: 300;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn.btn-primary-custom {
  background-color: var(--primary-red) !important;
  color: var(--white) !important;
  padding: 0.75rem 2rem !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  display: inline-block !important;
  opacity: 1 !important;
}

.btn.btn-primary-custom:hover {
  background-color: #a01411 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn.btn-secondary-custom {
  background-color: transparent !important;
  color: var(--white) !important;
  padding: 0.75rem 2rem !important;
  border: 2px solid var(--white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  display: inline-block !important;
  opacity: 1 !important;
}

.btn.btn-secondary-custom:hover {
  background-color: var(--white) !important;
  color: var(--dark-grey) !important;
}

/* Section Styles */
.section-white {
  background-color: var(--white);
  padding: 4rem 0;
}

.section-light-pink {
  background-color: var(--light-pink);
  padding: 4rem 0;
}

/* Section Spacing - for consistent spacing between sections */
.section-spacing {
  padding: 5rem 0;
}

#about.section-spacing {
  padding-bottom: 0rem;
}

.section-badge {
  display: inline-block;
  background-color: rgba(204, 26, 22, 0.1);
  color: var(--primary-red);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-dark);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Statistics Cards */
.stat-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--primary-red);
  box-shadow: none;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(204, 26, 22, 0.2);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-red);
  margin: 1rem 0;
  line-height: 1;
}

.stat-label {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Program Features - 2x2 Grid */
.program-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  height: 100%;
}

.program-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.program-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.program-content {
  flex: 1;
}

.program-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.program-description {
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin: 0;
}

/* Legacy program feature styles */
.program-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.program-image {
  border-radius: 8px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: auto;
  filter: brightness(0.95);
}

/* Saudi Arabia Map */
.saudi-map-container {
  text-align: center;
   width: 100%;
}

.saudi-map-container svg {
  width: 100%;
  height: 700px;
  display: block;
}

path {
  fill: #edebeb;        
  stroke: #ffffff;
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.25s ease;
}

path:hover {
  fill: #d32f2f;       
}

.low {
  fill: #d2d1d190;  
}

.medium {
  fill: #c1c0c0a8;  
}

.high {
  fill: #9d9c9ca0; 
}

#tooltip {
  position: absolute;
  background: #fff8f8;    
  border: 1.5px solid #f44336;
  padding: 8px 12px; 
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
  pointer-events: none;
  display: none;
  z-index: 1000;
  text-align: center;
  transition: all 0.2s ease;
}

#tooltip.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

#tooltip .title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 4px;
}

#tooltip .count {
  display: block;  
  font-size: 14px;
  color: #555;
}

#tooltip .percentage {
  display: block;
  font-size: 20px;
  color: #b71c1c;
  margin-top: 2px;
}

/* Universities Row */
.universities-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  width: 100%;
  padding-top: 10px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.universities-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.universities-carousel:active {
  cursor: grabbing;
}

.universities-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  padding: 10px 0;
}

.university-logo {
  flex-shrink: 0;
}

.university-logo img {
  height: 100px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
  user-select: none;
  pointer-events: none;
}

.university-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.university-logo:hover {
  transform: translateY(-2px);
}



/* Alumni Cards */
.alumni-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.alumni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.alumni-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.alumni-degree {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.alumni-description {
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.alumni-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.alumni-profile-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
}

.alumni-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
}

.alumni-year {
  font-size: 0.75rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s;
}

.btn-view-all:hover {
  gap: 1rem;
  color: #a01411;
}

/* Application Cards */
.application-card {
  border-radius: 24px;
  padding: 5rem;
  color: var(--white);
  position: relative;
  margin-left: 2rem;
  margin-right: 2rem;
}

.application-card-red {
  background-color: #8b1a16;
}

.application-card-grey {
  background-color: #3d3d3d;
}

.application-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.application-description {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.application-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.application-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

#Mentor-application{
  margin-top: 6rem;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ff6b6b 0%, #cc1a16 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-apply-now {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.75rem 2.5rem;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
   cursor: not-allowed;
}

.btn-apply-now.btn-apply-active {
  cursor: pointer;
  background-color: var(--white);
  color: var(--primary-red);
}

.btn-apply-now.btn-apply-active:hover {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}


.faq-inline-link {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.faq-inline-link:hover {
  opacity: 0.8;
}

/* .btn-apply-now:hover {
  background-color: var(--white);
  color: var(--dark-grey);
} */

/* New Cohort Card Styling */
.cohort-card-new {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  height: 330px; 
  margin-left: 3rem;
  margin-right: 3rem;
  width: 270px;
}

.cohort-icon-new {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: block;
}

.cohort-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0.5rem 0;
}

.cohort-date-new {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.9;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.countdown-number-new {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.8;
  margin: 0.5rem 0 0 0;
  line-height: 1;
}



.countdown-label-new {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.8;
  margin: 0;
}

.coming-soon-text {
  font-size: 1.75rem;
  font-weight: 600;
}

.btn-application-outline {
  background-color: transparent;
  color: var(--white);
  padding: 0.75rem 2.5rem;
  border: 2px solid var(--white);
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-application-outline:hover {
  background-color: var(--white);
  color: var(--dark-grey);
}

/* Legacy cohort card styles */
.cohort-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cohort-icon {
  font-size: 2rem;
  color: var(--primary-red);
}

.cohort-content {
  flex: 1;
}

.cohort-label {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 600;
}

.cohort-date {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin: 0.25rem 0 0 0;
  opacity: 0.8;
}

.cohort-countdown {
  text-align: center;
  min-width: 80px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-application {
  background-color: var(--white);
  color: var(--dark-grey);
  padding: 0.75rem 2rem;
  border: 2px solid var(--white);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-application:hover {
  background-color: transparent;
  color: var(--white);
}

/* FAQ Accordion */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-custom .accordion-item {
  background-color: var(--light-pink);
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.accordion-custom .accordion-button {
  background-color: var(--light-pink);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
}

.accordion-custom .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d2d2d'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
  transform: none;
  transition: transform 0.2s ease-in-out;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cc1a16'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
  transform: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: var(--light-pink);
  color: var(--primary-red);
}

.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-custom .accordion-body {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 1.5rem;
  line-height: 1.7;
}

.accordion-custom .accordion-collapse {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  display: none !important;
}

.accordion-custom .accordion-collapse.show {
  display: block !important;
}

/* View All Questions Box Button */
.btn-view-all-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--text-dark);
  border-radius: 4px;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-view-all-box:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: #25262A;  
}

.footer-link {
  color: #ddd;
  text-decoration: none;
  font-weight: 400;
  line-height: 30px;
}

.footer-link:hover {
  color: #eb5454;
}

.footer-logo {
  width: 170px;
}


.social-icon img {
  width:30px;
  height: 30px;
   object-fit: contain;
}


/* Legacy styles (keeping for compatibility) */
.homeImg {
	width: 25rem;
	margin: 2rem;
}

.greetContainer {
	margin-top: 5rem;
	overflow: hidden;
}

.seperator {
	display: flex;
	flex-direction: column;
	justify-content: center;
  background-color: var(--primary-red);
	height: 5rem;
}

.socialLink {
  color: var(--primary-red);
}

.social-container {
	width: 20rem;
	height: 20rem;
}

.greet-text {
	font-size: 12rem;
  color: var(--primary-red);
}

::selection {
	color: white;
  background-color: var(--primary-red);
}

.percentage {
  color: var(--primary-red);
	font-size: 10rem;
	font-weight: bold;
}

.mentor-img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border: 3px solid #ddd;
}

.circle-padding {
  padding: 0.7rem;
  padding-bottom: 0rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.student-mentor {
  color: var(--primary-red);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.student-mentor small {
  font-size: 0.875rem;
  font-weight: 500;
}

.banner-img {
	max-height: 70vh;
	object-fit: cover;
	filter: brightness(65%);
}

.banner-text {
	font-size: 2.5rem;
}

.mentor-profile-link {
	text-decoration: none;
}
	
.mentor-profile-link:hover {
  color: var(--primary-red);
}

.custom-logos{
	margin-right: 7rem;
	margin-left: 7rem;
}

.Inst-Img{
	width: 140px;
	height: 140px;
	object-fit: contain;
	transition: transform 0.3s ease-in-out; 
  	transform-origin: center;
}

.Inst-Img:hover {
  transform: scale(1.1); 
}


/* Cohort tabs styling */
.cohort-tabs {
    border-bottom: 0;
    gap: 0.5rem;
}

.cohort-tabs .nav-link {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    background-color: transparent;
}

.cohort-tabs .nav-link:hover {
    background-color: rgba(204, 26, 22, 0.08);
  color: var(--primary-red);
}

.cohort-tabs .nav-link.active {
  background-color: var(--primary-red);
  color: var(--white);
}

.cohort-content {
  background-color: var(--white);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 1rem;
}
.cohort-tabs {
  border-bottom: none !important;
  --bs-nav-tabs-border-width: 0;
}

.cohort-tabs .nav-link.active {
  border: 1px solid rgb(210, 192, 192) !important;
}

/* Responsive Design */
@media (max-width: 992px) {

  .application-card{
    margin-right: auto;
    margin-left: auto;
  }
  .application-card .row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .application-card li {
    justify-content: center;
  }

  .application-card .col-lg-5,
  .application-card .col-lg-7 {
    order: unset !important;
  }

    .cohort-card-new {
      margin-top: 1.5rem;
      margin-right: auto;
      margin-left: auto;
      height: auto;
    }

  .custom-navbar .navbar-collapse {
    background-color: rgb(45, 45, 45);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
  }
  .saudi-map-container svg {
  height: 400px;
}

.universities-track {
  gap: 2.5rem;
}

  /* Slide-in from right menu styles */
  .custom-navbar .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background-color: rgba(45, 45, 45, 0.98);
    backdrop-filter: blur(10px);
    padding-top: 5.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    text-align: left;
    z-index: 1050;
  }

  .custom-navbar .navbar-collapse.show {
    transform: translateX(0);
  }

  .custom-navbar .navbar-nav {
    flex-direction: column;
    padding-left: 1.5rem;
  }

  .custom-navbar .nav-link {
    margin: 0.75rem 0;
    font-size: 1.1rem;
  }

   .navbar-collapse.show .close-navbar {
    display: block;
  }
/* Navbar links in mobile view */
  .custom-navbar .nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
  }

  .custom-navbar .nav-link:hover,
  .custom-navbar .nav-link.active {
    color: var(--primary-red) !important;
    text-decoration: none; 
  }
 .dropdown-menu {
    display: none;
  }

  .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .universities-row {
    gap: 2rem;
  }

  .university-logo img {
    height: 60px;
    max-width: 100px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    text-align: center;
  }

  .cohort-card {
    flex-direction: column;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .application-card {
    padding: 1.5rem;
  }

  .countdown-number-new {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .program-feature {
    flex-direction: column;
    text-align: center;
  }

  .program-icon {
    margin: 0 auto;
  }

  .university-logo img {
    height: 50px;
    max-width: 80px;
  }

  .universities-row {
    gap: 1.5rem;
  }

  
}
