/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-family: "Albert Sans", sans-serif;
  color: black;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
  height: 50px;
  width: 100px;
}

.header .logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #2196f3;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #2196f3;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.header .button {
  border: 2px solid #c5baff;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: transparent;
}

.header .button:hover {
  background-color: #c5baff;
  color: white;
  transform: translateY(-2px);
}

.header .bars {
  display: none;
  font-size: 1.6rem;
}

/* Dropdown Styles */
.nav-menu .dropdown .link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.dropdown-content a {
  color: #333;
  padding: 1rem 1.5rem;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
  color: #2196f3;
  border-left: 3px solid #2196f3;
}

.dropdown i {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: #333;
}

.dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown:hover i {
  transform: rotate(180deg);
  color: #2196f3;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: white;
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  font-family: "Albert Sans", sans-serif;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  z-index: 1002;
  transition: color 0.3s ease;
}

.mobile-menu .close-btn:hover {
  color: #2196f3;
}

.mobile-menu nav {
  width: 100%;
}

.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
  width: 100%;
  gap: 1.5rem;
}

.mobile-menu .nav-menu li {
  width: 100%;
}

.mobile-menu .nav-menu a {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  width: 100%;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu .nav-menu a:hover {
  color: #2196f3;
}

.mobile-menu .dropdown {
  padding: 0;
  width: 100%;
}

.mobile-menu .dropdown .link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 0rem 0;
}

.mobile-menu .dropdown .link span {
  font-weight: 500;
  color: #333;
  font-size: 1.2rem;
  font-family: "Albert Sans", sans-serif;
  margin-right: 0.5rem;
  padding: 0.5rem 0;
}

.mobile-menu .dropdown-content {
  position: static;
  box-shadow: none;
  display: none;
  width: 100%;
  padding-left: 1rem;
  margin-top: 0.5rem;
  background-color: transparent;
}

.mobile-menu .dropdown.active .dropdown-content {
  display: block;
}

.mobile-menu .dropdown-content a {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  color: #555;
  display: block;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.mobile-menu .dropdown-content a:hover {
  color: #2196f3;
  border-left: 2px solid #2196f3;
  padding-left: 0.5rem;
}

.mobile-menu .dropdown i {
  transition: transform 0.3s ease;
  color: #333;
}

.mobile-menu .dropdown.active i {
  transform: rotate(180deg);
  color: #2196f3;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(3px);
}

.overlay.active {
  display: block;
}

/* Hero Section */
.hero-section {
  margin-top: 80px;
  position: relative;
  height: 450px;
  margin: 10rem 5rem 3rem 5rem;
  border-radius: 30px;
  background: url("./public/images/central-america-health-sciences-university-mbbs-in-central-america.webp") no-repeat
    center center/cover;
  display: flex;
  align-items: center;
  color: white;
  border: 10px solid #c5baff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  border-radius: 30px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Overview Section */
.overview-section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-text);
}

.overview-content {
  display: grid;
  gap: 2rem;
}

.overview-text {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--light-text);
  line-height: 1.8;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.overview-card {
  background-color: #e8f9ff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.overview-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.overview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background-color: var(--section-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background-color: #e8f9ff;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

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

/* Admission Process Section */
.admission-process {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #c5baff;
}

.process-step {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

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

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #c5baff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  z-index: 1;
}

.step-content {
  width: calc(50% - 40px);
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-step:nth-child(odd) .step-content {
  margin-right: auto;
}

.process-step:nth-child(even) .step-content {
  margin-left: auto;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.step-content p {
  margin-bottom: 1rem;
  color: #666;
}

.step-content ul {
  list-style: none;
  margin-bottom: 1rem;
}

.step-content ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.step-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c5baff;
}

.fee {
  font-weight: 600;
  color: #333;
}

.note {
  font-style: italic;
  color: #666;
}

/* Banner Section */
.banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Albert Sans", sans-serif;
}

.banner .ban {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .ban .content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 15rem;
}

.banner .ban .content .maincontent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c4d9ff;
  padding: 3rem 0rem;
  border-radius: 20px;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}

.banner .ban .content .maincontent .head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.banner .ban .content .maincontent .head h1 {
  font-size: 2rem;
  padding: 0 12rem;
}

.banner .ban .content .maincontent .head p {
  font-size: 1.05rem;
  padding: 0 15rem;
}

.banner .ban .content .maincontent .btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  background-color: #c4d9ff;
  padding: 5px;
  border-radius: 30px;
}

.banner .ban .content .maincontent .btn input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.banner .ban .content .maincontent .btn input:focus {
  border-color: #2196f3;
}

.banner .ban .content .maincontent .btn span {
  background-color: #c5baff;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.banner .ban .content .maincontent .btn span:hover {
  background-color: #1976d2;
}

/* Modern Footer Styles */
.modern-footer {
  background-color: #c5baff;
  color: #000;
  padding: 4rem 0 2rem;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Company Section */
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-company h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.footer-company p {
  color: #323232;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modern-footer .footer-container .footer-grid .footer-company .img {
  height: 50px;
  width: 90px;
  background-image: url("./public/images/logo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3a3a3a;
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #000;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  color: #000;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #1f1f1f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Floating Action Buttons */
.floating-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.floating-button:hover {
  transform: scale(1.1);
}

.whatsapp-button {
  background-color: #25d366;
  bottom: 20px;
  color: white;
  right: 20px;
}

.call-button {
  bottom: 20px;
  left: 20px;
}

.ph {
  z-index: 2000;
  color: black;
}

.unread-message {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: #fff;
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Eligibility Section */
.eligibility-section {
  background: linear-gradient(
    135deg,
    var(--palette-2) 0%,
    var(--palette-3) 100%
  );
  border-radius: 2rem;
  margin-bottom: 3rem;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.eligibility-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(197, 186, 255, 0.05) 50%,
    transparent 70%
  );
  pointer-events: none;
}

.eligibility-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.eligibility-content {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 700px;
  background: linear-gradient(135deg, #fff 0%, var(--palette-1) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid rgba(197, 186, 255, 0.2);
  box-shadow: 0 8px 32px rgba(197, 186, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eligibility-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--palette-4), var(--palette-3));
}

.eligibility-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(197, 186, 255, 0.25);
}

.eligibility-content h3 {
  color: #2d2d2d;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.eligibility-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--palette-4), var(--palette-3));
  border-radius: 2px;
}

.eligibility-content ul {
  list-style: none;
  margin: 1.5rem 0 0 0;
  padding: 0;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
  width: 100%;
}

.eligibility-content ul li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2.5rem;
  margin-bottom: 0.8rem;
  background: rgba(197, 186, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.eligibility-content ul li::before {
  content: "✓";
  color: var(--palette-4);
  font-size: 1.1em;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.eligibility-content ul li:hover {
  background: rgba(197, 186, 255, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.eligibility-content h4 {
  margin-top: 2rem;
  color: #3a2e5a;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  position: relative;
  padding-bottom: 0.5rem;
}

.eligibility-content h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--palette-4), var(--palette-3));
  border-radius: 1px;
}

/* Why Section */
.why-section {
  background: linear-gradient(
    135deg,
    var(--palette-1) 0%,
    var(--palette-2) 100%
  );
  padding: 4rem 0;
  border-radius: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(197, 186, 255, 0.05) 50%,
    transparent 70%
  );
  pointer-events: none;
}

.why-flex {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.ytvid {
  display: none;
}

.why-video {
  flex: 1.3;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.why-video::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--palette-4), var(--palette-3));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.why-video iframe {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-video iframe:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
}

.why-content {
  flex: 2;
  min-width: 260px;
  padding: 1rem 0;
}

.why-content h3 {
  color: #000;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.3;
}

.why-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--palette-4), var(--palette-3));
  border-radius: 2px;
}

.why-content ul {
  list-style: none;
  margin: 1.5rem 0 0 0;
  padding: 0;
}

.why-content ul li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5568;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.why-content ul li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--palette-4);
  font-weight: bold;
  font-size: 1.1rem;
  background: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.why-content ul li:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* Responsive Design */
@media (max-width: 1280px) {
  .header {
    padding: 1rem 3rem;
  }

  .hero-section {
    margin: 8rem 4rem 1rem 4rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

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

  .overview-cards {
    gap: 1.5rem;
  }

  .overview-card {
    padding: 1.5rem;
  }

  .benefits-grid {
    gap: 1.5rem;
  }

  .benefit-item {
    padding: 1.5rem;
  }

  .banner .ban .content {
    padding: 2rem 8rem;
  }

  .banner .ban .content .maincontent .head h1 {
    font-size: 1.8rem;
    padding: 0 6rem;
  }

  .banner .ban .content .maincontent .head p {
    font-size: 1rem;
    padding: 0 8rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer-company h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 1050px) {
  .header {
    padding: 1rem 2rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .header .button {
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link {
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link i {
    font-size: 0.95rem;
  }

  .hero-section {
    margin: 8rem 3rem 1rem 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .overview-text {
    font-size: 0.9rem;
  }

  .overview-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .banner .ban .content {
    padding: 2rem 4rem;
  }

  .banner .ban .content .maincontent .head h1 {
    font-size: 1.6rem;
    padding: 0 4rem;
  }

  .banner .ban .content .maincontent .head p {
    font-size: 0.9rem;
    padding: 0 5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-company {
    grid-column: 1 / -1;
  }

  .footer-links h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 860px) {
  .header .logo {
    height: 40px;
    width: 80px;
  }

  .header {
    padding: 1rem 0.9rem;
  }

  .nav-menu a {
    font-size: 0.89rem;
  }

  .header .button {
    font-size: 0.8rem;
  }

  .hero-section {
    margin: 8rem 3rem 1rem 3rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-menu .dropdown .link {
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link i {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header .logo {
    height: 50px;
    width: 100px;
  }

  .header {
    padding: 1rem 2rem;
  }

  .nav-menu {
    display: none;
  }

  .header .button {
    display: none;
  }

  .header .bars {
    display: block;
    font-size: 1.5rem;
  }

  .hero-section {
    margin-top: 8rem;
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .overview-cards {
    grid-template-columns: 1fr;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .step-content p {
    font-size: 0.8rem;
  }

  .step-content ul li {
    font-size: 0.9rem;
  }

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

  .banner .ban .content {
    padding: 1.5rem 2rem;
  }

  .banner .ban .content .maincontent {
    padding: 2rem 1rem;
  }

  .banner .ban .content .maincontent .head h1 {
    font-size: 1.4rem;
    padding: 0 2rem;
  }

  .banner .ban .content .maincontent .head p {
    font-size: 0.9rem;
    padding: 0 2rem;
  }

  .banner .ban .content .maincontent .btn {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .ytvid {
    display: block;
  }

  .why-flex {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .why-video {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    flex-direction: column;
    gap: 1rem;
    /* align-items: stretch; */
  }
  .why-video iframe {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 580px) {
  .header {
    padding: 1rem 1.8rem;
  }

  .hero-section {
    margin-top: 7.5rem;
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-section .container p {
    font-size: 0.95rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

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

  .overview-card {
    padding: 1.2rem;
  }

  .benefit-item {
    padding: 1.2rem;
  }

  .process-timeline::before {
    left: 2%;
    transform: translateX(-50%);
  }

  .step-number {
    left: 2%;
  }

  .step-content {
    width: 90%;
    margin: 0;
  }

  .process-step:nth-child(odd) .step-content {
    margin-left: 50px;
  }

  .process-step:nth-child(even) .step-content {
    margin-left: 50px;
  }

  .banner .ban .content {
    padding: 1rem;
  }

  .banner .ban .content .maincontent {
    padding: 1.5rem 1rem;
  }

  .banner .ban .content .maincontent .head h1 {
    font-size: 1.3rem;
    padding: 0 1rem;
  }

  .banner .ban .content .maincontent .head p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-company {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .header {
    padding: 1.3rem 1rem;
  }

  .hero-section {
    margin: auto;
    margin-top: 8rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

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

  .overview-section {
    padding: 4rem 0;
  }

  .overview-card {
    padding: 1rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .step-content {
    width: 100%;
    margin: 0;
  }

  .process-step:nth-child(odd) .step-content {
    margin-left: 20px;
  }

  .process-step:nth-child(even) .step-content {
    margin-left: 20px;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  .banner .ban .content {
    padding: 0.8rem;
  }

  .banner .ban .content .maincontent {
    padding: 1.2rem 0.8rem;
  }

  .banner .ban .content .maincontent .head h1 {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  .banner .ban .content .maincontent .head p {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  .modern-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-company h2 {
    font-size: 1.4rem;
  }

  .footer-links h3 {
    font-size: 1.1rem;
  }

  .footer-links ul li a {
    font-size: 0.9rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .copyright p {
    font-size: 0.9rem;
  }

  .footer-legal a {
    font-size: 0.9rem;
  }
}

/* Keep the admission process section styles unchanged */
.ezy__howitworks11 {
  --bs-body-color: #212529;
  --bs-body-bg: rgb(255, 255, 255);
  --ezy-theme-color: rgb(13, 110, 253);
  --ezy-theme-color-rgb: 13, 110, 253;
  --ezy-border-color: rgba(0, 0, 0, 0.3);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  overflow: hidden;
  position: relative;
  padding: 60px 0;
}
