:root {
  --purple: #A30000;
  --purple-dark: #800000;
  --muted: #6b7280;
  --bg: #f7f7fb;
  --card: #ffffff;
  --radius: 14px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: #111;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #c1121f;
  height: 30px;
}

.top-navbar .nav-social-icons ul {
  display: flex;
  list-style: none;
  gap: 5px;
  margin-bottom: 0;
}

.top-navbar .nav-social-icons ul li {
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #800000;
  border-radius: 50%;
  transition: all 0.5s;
}

.top-navbar .nav-social-icons ul li:hover {
  box-shadow: 0 0 10px #800000;
}

.top-navbar .nav-social-icons ul li a {
  text-decoration: none;
  color: white;
  font-size: 10px;
}

.top-navbar .nav-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-navbar .nav-text span, .top-navbar .nav-text a {
  color: white;
  font-size: 15px;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  filter: brightness(0) saturate(100%) invert(12%) sepia(97%) saturate(3000%) hue-rotate(0deg) brightness(90%) contrast(105%);
}

.logo img {
  height: 50px;
  width: 150px;
  object-fit: cover;
  overflow: visible;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #e63946;
}

.nav-links .has-dropdown .menu-link {
  border: none;
}

/* Button */
.btn {
  background: #e63946;
  color: #fff;
  padding: 5px 18px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 200;
  transition: 0.3s;
}

.btn:hover {
  background: #c1121f;
}

.contact-call-bt {
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  flex-direction: column;
  gap: 10px;
}

.contact-call-bt a {
  display: block;
  width: 100%;
  text-align: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* .dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  left: 0;
  top: calc(100%);
  min-width: 260px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 8px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.has-dropdown:where(:hover, :focus-within)>.dropdown {
  display: block;
}

.dropdown ul {
  list-style: none;
  margin: -10px 0 0 0;
  padding: 0;

}

.dropdown a,
.dropdown button.sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}


/* Sub-dropdown (flyout) */
.has-sub {
  position: relative;
}

.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 8px;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 8px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-left: 8px;
}

.has-sub:where(:hover, :focus-within)>.sub-dropdown {
  display: block;
}

/* ---------------- */

.basic-dropdown {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* padding: 0 15px; */
  border: 1px solid red;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.basic-dropdown h3 {
  margin: 10px 0;
  color: #222;
  font-size: 16px;
}

.basic-dropdown ul {
  margin: 0;
  /* padding: 0 0 10px 20px; */
  list-style: disc;
  border: 1px solid red
}

.basic-dropdown ul li {
  display: flex;
  align-items: center;
}

.basic-dropdown ul li img {
  height: 40px;
  width: 40px;
}

.basic-dropdown.show {
  max-height: 300px;
  /* enough height for content */
  padding: 15px;
}

/* ------------------ */

/* .banner {
  background: linear-gradient(rgba(128,0,0,0.9), rgba(128,0,0,0.9)),
              url(images/Scholarships.jpg) center/cover no-repeat;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: auto;
} */

.banner {
  position: relative;
  background: url(../images/Scholarships.jpg) center/cover no-repeat;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: auto;
  overflow: hidden;
  /* Prevent overlay overflow */
}

/* Dark + Blur Overlay */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* Make sure content stays above overlay */
.banner>* {
  position: relative;
  z-index: 2;
}


.banner-container {
  /* display: flex; */
  /* gap: 20px; */
  width: 100%;
  /* justify-content: space-between; */
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.banner-container .banner-img img {
  height: 355px;
  width: 100%;
  border-radius: 100px 20px 100px 20px;
  /* border:1px solid #e63946; */
  box-shadow: 4px 4px 8px #797979;
  ;
}

.banner-text {
  text-align: start;
  /* border: 1px solid red; */
  /* width: 600px; */
}

.banner-text h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
}

.banner-text p {
  font-size: 17px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.features {
  margin: 15px 0;
  /* display: flex; */
  display: ruby;
}

.features p {
  font-size: 16px;
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background: #c1121f;
  color: white;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #A30000;
}

/* whatsapp */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  right: 20px;
  /* background: ; */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

/* Popup background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  padding: 10px;
}

/* Popup heading */
.contact-popup-heading {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.contact-popup-heading img {
  height: 100px;
  object-fit: cover;
  overflow: visible;
}

/* Popup box */
.popup-box {
  background: #fff;
  width: 100%;
  max-width: 350px;
  /* smaller max width */
  border-radius: 12px;
  padding: 18px 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
  text-align: start;
}

.popup-box textarea {
  width: 100%;
  border-radius: 5px;
  padding: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button */
.popup-overlay .popup-box .close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 30px;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Headings & Text */
.popup-box h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.popup-box p {
  margin: 0 0 15px;
  font-size: 13px;
  color: #555;
}

/* Input Fields */
.popup-box form .input-box {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  color: gray;
}

/* Checkbox */
.checkbox-wrapper {
  /* display: flex; */
  font-size: 12px;
  margin-bottom: 12px;
  padding: 5px;
}

.checkbox-wrapper input {
  margin-right: 6px;
}

.checkbox-wrapper a {
  color: #007bff;
  text-decoration: none;
}

.select-courses {
  /* border: 1px solid red; */
  width: 100%;
  padding: 10px 5px;
  margin-bottom: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  color: gray;
}


/* Submit Button */
.popup-box button.submit-btn {
  background: #800000;
  color: white;
  border: none;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-box button.submit-btn:hover {
  background: #a00000;
}

/* Remind Text */
.popup-box .remind {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  cursor: pointer;
  color: #555;
}

.popup-contact {
  text-align: center;
  margin-top: 80px;
}

/* ==== LOADING OVERLAY ==== */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 20000;
  color: #fff;
  font-size: 18px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #c1121f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==== ALERT POPUPS (SUCCESS & ERROR) ==== */
.alert-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 20000;
  display: none;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.alert-popup.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.alert-popup.success {
  border-left: 5px solid #28a745;
}

.alert-popup.error {
  border-left: 5px solid #dc3545;
}

.alert-popup h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.alert-popup p {
  font-size: 16px;
}

.alert-btn {
  background: #c1121f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
}

.alert-btn:hover {
  background: #a00d19;
}

@media (max-width: 480px) {
  .popup-box {
    width: 95%;
    padding: 15px;
  }

  .submit-btn {
    font-size: 14px;
  }
}

/* -----Popup-End---- */



/* start */
.about-section {
  /* max-width: 1200px; */
  margin: auto;
  padding: 50px 20px;
}

.about-section h2 {
  text-align: center;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.2);
}

.about-card p {
  margin-bottom: 15px;
  font-size: 15px;
}

.highlight {
  color: #800000;
  font-weight: 600;
}

.course-heading {
  padding: 50px 20px;
  text-align: center;
}

.course-heading .sum-head .vit {
  color: #800000;
}

/* -------highlights----- */
.highlights {
  padding: 50px 20px;
  text-align: center;
}

.highlights p {
  margin-bottom: 30px;
}

.highlights h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 30px;
}


.highlights .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  /* max-width: 1300px; */
  margin: auto;
}

.highlights .grid .card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  transition: 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlights .grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.highlights .grid .card i {
  font-size: 35px;
  color: #800000;
  margin-bottom: 10px;
  display: inline-block;
}

.highlights .grid .card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.highlights .grid .card p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}


/* About page */
.container1 {
  width: 95%;
  margin: auto;
  padding: 40px 0;
}

.container1 h1 {
  font-size: 2.2rem;
}

.container1 p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.about-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.mission,
.why-choose {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.why-choose ul {
  list-style: none;
  padding: 0;
}

.why-choose li {
  margin: 12px 0;
  padding: 12px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.why-choose li span {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
  /* border: 1px solid red; */
  position: relative;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* .courses */
.card .seo-images {
  display: flex;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 20px;
}

.card .seo-images img {
  height: 55px;
  width: 55px;
  padding: 10px;
  background-color: #e9d4d6;
  border-radius: 50%;
  object-fit: contain;
  overflow: visible;
}

.card p {
  margin-bottom: 50px;
}

.card h3 {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.card .read-btn a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #800000;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

.card .read-btn a:hover {
  background: #a00000;
  box-shadow: 0 6px 18px rgba(128, 0, 0, 0.45);
  transform: translateY(-3px);
}

.card .read-btn a i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 20px;
  color: white;
  margin-bottom: 0;
}

.card .read-btn a:hover i {
  transform: translateX(4px);
}

/* ----choose-section---- */

.choose-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  gap: 40px;
  flex-wrap: wrap;
  /* border: 1px solid red; */
}

.choose-content {
  flex: 1;
  min-width: 300px;
}

.choose-content h5 {
  color: #800000;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.choose-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.choose-content h2 span {
  color: #800000;
  font-style: italic;
}

.choose-content p {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.choose-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.choose-icon {
  background: #800000;
  font-size: 22px;
  color: white;
  width: 50px;
  height: 50px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-right: 15px;
}

.choose-text h4 {
  font-size: 18px;
  margin: 0;
}

.choose-text p {
  font-size: 14px;
  margin: 5px 0 0;
  color: #666;
}

.choose-image {
  flex: 1;
  min-width: 300px;
}

.choose-image img {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Portfolio showcase */
.showcase {
  /* background: linear-gradient(180deg, rgb(231, 231, 231) 0%, #bebebe 100%); */
  background: radial-gradient(1000px 500px at 10% -10%, #d98c8c 0%, transparent 60%),
            radial-gradient(1000px 600px at 110% 10%, #d98c8c 0%, transparent 50%),
            linear-gradient(180deg, #e6e6e6 0%, #e6e6e6 50%, #cc9999 100%);

  color: #000000;
  padding: 48px;
  border-radius: 18px;
  margin: 0 20px;
  margin-bottom: 50px;
  /* border: 1px solid red; */
}

.showcase h2 {
  font-weight: 800;
  font-size: 38px;
  text-align: center;
  margin: 0 0 12px;
  color: #800000;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.showcase-item {
  background: rgb(121, 121, 121);
  padding: 18px;
  border-radius: 12px;
}

.showcase-item p {
  color: #161616;
}

/* FAQ Showcase Styles */
.faq-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-showcase-item {
  /* background: rgba(121, 121, 121, 0.233); */
  box-shadow: 0 10px 15px rgba(121, 121, 121, 0.233);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.faq-showcase-item:hover {
  background: rgba(177, 176, 176, 0.322);
}

.faq-showcase-item h4 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
}

.faq-showcase-item p {
  margin: 0;
  color: #000000;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-showcase-item ul {
  margin: 12px 0 0 0;
  padding-left: 0;
  list-style: none;
}

.faq-showcase-item ul li {
  color: #1a1a1a;
  line-height: 1.6;
  padding: 4px 0;
  font-size: 0.95rem;
}

.faq-showcase-item ul li strong {
  color: #000000;
}

.view-more-container {
  border-top: 1px solid rgba(255, 255, 255, 0.247);
  padding-top: 24px;
}

.view-more-link {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 0, 0, 0.342);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-more-link:hover {
  background: rgba(255, 0, 0, 0.61);
  transform: translateY(-2px);
}

/* ----blog-page----- */
.blog-section {
  padding: 60px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.blog-section h2 span {
  color: #800000;
}

.blog-section p {
  font-size: 17px;
  color: #111111;
  /* max-width: 600px; */
  margin: 0 auto 50px auto;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 33rem;
  position: relative;
  width: 100%;
  /* border: 1px solid red; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.blog-meta i {
  color: #800000;
  margin-right: 5px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.blog-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.blog-content .read-btn a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #800000;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-content .read-btn a:hover {
  background: #a00000;
  box-shadow: 0 4px 10px rgba(128, 0, 0, 0.3);
  transform: translateY(-3px);
}

.blog-content .read-btn i {
  transition: all 0.5s;
  font-size: 17px;
  margin-left: 5px;
}

.blog-content .read-btn a:hover i {
  transform: translateX(4px);
}

.read-btn {

  display: block;
  position: absolute;
  bottom: 0;
  margin: 15px 0;
}

/* -----------student-review--------- */
.testimonial-section {
  margin: 40px 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-section h2 {
  color: #800000;
  margin-bottom: 10px;
}

.testimonial-section p {
  color: #444;
  margin-bottom: 25px;
}

.testimonial-section .slider-container {
  position: relative;
  overflow: hidden;
}

.testimonial-section .slider-container .slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial-section .slider-container .slider .slide {
  flex: 0 0 33.33%;
  padding: 10px;
  box-sizing: border-box;
}

.testimonial-section .slider-container .slider .slide .testimonial-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  height: 100%;
  display: flex;         
  flex-direction: column; 
}

.testimonial-section .slider-container .slider .slide .testimonial-box .stars {
  color: gold;
  font-size: 18px;
  margin-bottom: 8px;
}

.testimonial-section .slider-container .slider .slide .testimonial-box .client-info {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.testimonial-section .slider-container .slider .slide .testimonial-box .client-info img {
  border-radius: 50%;
  margin-right: 10px;
  height: 50px;
}

.testimonial-section .slider-container .slider .slide .testimonial-box .client-details h4 {
  margin: 0;
  color: #800000;
}

.testimonial-section .slider-container .slider .slide .testimonial-box .client-details p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Arrows */
.testimonial-section .slider-container .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #800000;
  color: #fff;
  border: none;
  height: 30px;
  width: 30px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
}

.testimonial-section .slider-container .arrow.left {
  left: 10px;
}

.testimonial-section .slider-container .arrow.right {
  right: 10px;
}

/* Dots */
.testimonial-section .dots {
  margin-top: 20px;
}

.testimonial-section .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.testimonial-section .dot.active {
  background-color: #800000;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonial-section .slider-container .slider .slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 767px) {
  .testimonial-section .slider-container .slider .slide {
    flex: 0 0 100%;
  }
}






/* footer */
/* General Footer Styling */
.footer {
  background: linear-gradient(to right, #800000, #4d0000);
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Call to Action */
.footer-cta {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  color: #800000;
}

.footer-cta h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-btn {
  background: #800000;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #a00000;
}

/* Main Footer Layout */
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  text-align: left;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -5px;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo {
  width: 160px;
  height: 50px;
  object-fit: cover;
  overflow: visible;
}

/* Contact */
.contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
/* .contact i {
  margin-top: 4px;
} */

/* Social Icons */
.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  background: #fff;
  color: #800000;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #800000;
  color: #fff;
  border: 1px solid #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
  text-align: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .banner-container .banner-img img {
    display: none;
  }

  .banner-text {
    width: 100%;
  }

  .navbar {
    padding: 12px 2%;
  }
  .banner-container {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 360px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 70px;
    /* Navbar ke neeche se start */
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    /* Sahi height (viewport - navbar) */
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
    /* Ab andar scroll hoga */
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-btn {
    display: none;
  }

  .con-form-btn {
    display: inline-block;
    margin: 0 0 10px 0;
  }

  body.menu-open {
    overflow: hidden;
    /* scroll disable */
  }
}

@media (max-width: 900px) {

  /* Turn dropdowns into accordions */
  .dropdown,
  .sub-dropdown {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .dropdown.open,
  .sub-dropdown.open {
    max-height: 1000px;
  }

  /* large enough */

  /* Hide desktop hover behavior on mobile */
  .has-dropdown:hover>.dropdown,
  .has-sub:hover>.sub-dropdown {
    display: block;
  }

  /* this is okay since we control via max-height */

  /* Space/visuals */
  .dropdown a,
  .dropdown button.sub-toggle {
    padding-left: 18px;
  }

  .sub-dropdown a {
    padding-left: 30px;
  }
}

@media (max-width: 884px) {
  .container {
    padding: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .hero-left p {
    font-size: 15px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .container img.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .about-content,
  .mission,
  .why-choose {
    padding: 20px;
  }

  .Review-box p {
    font-size: 14px;
  }

  .blog-section h2 {
    font-size: 26px;
  }

  .choose-section {
    flex-direction: column;
    text-align: center;
  }

  .choose-box {
    justify-content: center;
    text-align: left;
  }

  .choose-image img {
    display: none;
  }

  .highlights h2 {
    font-size: 1.6rem;
  }

  .card h3 {
    font-size: 16px;
  }

  .footer-main {
    text-align: start;
  }

  /* .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  } */
  .contact p {
    justify-content: start;
  }

  .social-icons {
    justify-content: start;
  }

  .about-section {
    padding: 30px 15px;
  }

  .about-card {
    padding: 20px;
  }

  .about-section h2 {
    font-size: 24px;
  }

  .top-navbar .nav-text span {
    display: none;
  }

  .faq-showcase-item {
    padding: 20px;
  }

  .faq-showcase-item h4 {
    font-size: 1.1rem;
  }

  .faq-showcase-item p,
  .faq-showcase-item ul li {
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .showcase {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .features {
    flex-direction: column;
  }
}


@media (max-width: 480px) {
  .course-heading {
    flex-direction: column;
  }

  .course-heading h2 {
    align-items: start;
  }

  .popup-box {
    max-width: 90%;
    padding: 15px 12px;
  }

  /* .contact-popup-heading img {
    height: 50px;
  } */

  .popup-box h2 {
    font-size: 18px;
  }

  .popup-box p {
    font-size: 12px;
  }

  .popup-box .input-box,
  .popup-box textarea {
    font-size: 13px;
  }

  .popup-box button.submit-btn {
    font-size: 14px;
    padding: 9px;
  }

  .highlights .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .faq-showcase-item {
    padding: 16px;
  }

  .faq-showcase-item h4 {
    font-size: 1rem;
  }

  .faq-showcase-item p,
  .faq-showcase-item ul li {
    font-size: 0.85rem;
  }
}
@media (max-width: 425px) {
  .banner-text h1 {
    font-size: 20px; 
  }
}

@media (max-width: 396px) {
  .btn-ghost {
    display: none;
  }

  .btn-primary {
    padding: 5px 10px;
  }
}

@media (max-width: 350px) {
  .blog-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 380px) {
  .top-navbar .nav-text span {
    color: white;
    font-size: 13px;
  }
}

@media (max-width: 333px) {
  .top-navbar .nav-text span {
    color: white;
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .top-navbar {
    height: 40px;
  }
}