:root {
  --primary-dark-blue: #1e3a8a; /* Dark Blue */
  --accent-light-blue: #3b82f6; /* Light Blue accent */
  --accent-light-blue-hover: #2563eb;
  --bg-light: #f0f7ff; /* Very light blue background */
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #475569;
  --glass-bg: rgba(255, 255, 255, 1);
  --shadow-soft: 0 10px 40px rgba(30, 58, 138, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.1);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--primary-dark-blue);
}

.brand-font {
  font-family: "Playfair Display", serif;
}

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

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.mt-4 {
  margin-top: 40px;
}

.mt-2 {
  margin-top: 20px;
}

.w-100 {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5000;
  background: #fff; /* Solid white for better readability over modals */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: var(--transition-base);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-dark-blue);
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  justify-content: center;
}

.logo-main {
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--primary-dark-blue);
  margin-bottom: 2px;
}

.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1px;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  margin-left: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: var(--accent-light-blue);
}

.nav-icons {
  display: flex;
  align-items: center;
  margin-left: 20px;
  border-left: 1px solid #e2e8f0;
  padding-left: 15px;
}

.nav-icons i {
  margin-left: 20px;
  color: var(--primary-dark-blue);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-base);
}

.nav-icons i:hover {
  color: var(--accent-light-blue);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-dark-blue);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--accent-light-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-light-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-dark-blue);
  border: 1px solid var(--primary-dark-blue);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--primary-dark-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section Refined */
.hero {
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920")
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.hero-card {
  position: relative;
  z-index: 1;
  background: white;
  padding: 60px 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  max-width: 650px;
  width: 90%;
  animation: fadeInUp 1.2s ease;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  gap: 10px;
}

.hero-name-main {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-dark-blue);
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-name-sub {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #a83232; /* Consistent red accent */
  text-transform: uppercase;
  letter-spacing: 6px;
  opacity: 0.95;
}

.hero-divider {
  width: 50px;
  height: 2px;
  background-color: var(--accent-light-blue);
  margin: 25px auto;
}

.hero-tagline {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

/* About Section Premium */
.about-premium {
  padding: 120px 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.image-stack {
  position: relative;
  z-index: 1;
}

.main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.15);
  display: block;
}

.about-heading {
  margin-bottom: 35px;
}

.about-heading .sub-title {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #a83232;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-heading .main-title {
  font-size: 42px;
  color: var(--primary-dark-blue);
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

.about-text-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.goal-highlight {
  background: #fdf2f2;
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #a83232;
  margin: 35px 0;
  position: relative;
}

.goal-highlight i {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #a83232;
  opacity: 0.1;
}

.goal-highlight p {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.6;
}

.goal-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a83232;
  font-weight: 700;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-heading .main-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .accent-box {
    right: 10px;
    bottom: -20px;
    padding: 20px;
  }
  .floating-badge {
    left: 10px;
    top: 20px;
  }
  .about-premium {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-section {
    min-height: auto;
    padding: 60px 0;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #aaa;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.scroll-top:hover {
  background: #888;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Courses Section - Deeper Blue Theme */
.courses-dark-section {
  background-color: #1e3a8a; /* Deep Navy Blue */
  padding: 80px 0 100px;
}

.courses-heading {
  color: #fff;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 5px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
}

.courses-divider {
  width: 45px;
  height: 4px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin: 0 auto 60px;
  position: relative;
}

.courses-divider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.courses-minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.course-minimal-card {
  background-color: #f1f1f1;
  padding: 35px 25px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  cursor: pointer;
}

.course-minimal-card:hover {
  transform: translateY(-5px);
  background-color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.course-minimal-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  color: #111;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 768px) {
  .courses-minimal-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .courses-heading {
    font-size: 28px;
  }
}

/* Services Section - Premium Dark Theme */
.services-main-divider {
  width: 45px;
  height: 4px;
  border-top: 1px solid #a83232;
  border-bottom: 1px solid #a83232;
  margin: 15px auto 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-item {
  flex: 0 1 280px;
  background: var(--primary-dark-blue);
  color: white;
  padding: 30px 20px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-base);
  border-bottom: 4px solid #a83232;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.service-content p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-item {
    flex: 0 1 100%;
  }
}

/* Testimonials - Premium Slider Theme */
.bg-dark-blue {
  background-color: #1e3a8a; /* Deep Navy Blue to match Services and theme */
}

.text-white {
  color: white !important;
}

.testimonial-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.testimonial-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 380px; /* Ensures space doesn't collapse */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-base);
  padding: 10px;
}

.slider-btn:hover {
  color: white;
  transform: scale(1.2);
}

.testimonial-focused {
  width: 100%;
  display: none;
  text-align: center;
  color: white;
  padding: 0 20px;
  animation: none; /* Override any global fade-in */
}

.testimonial-focused.active {
  display: block;
  opacity: 1;
  animation: fadeInRight 0.6s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-stars {
  color: #fbbf24; /* Golden Yellow stars */
  font-size: 14px;
  margin-bottom: 30px;
  letter-spacing: 5px;
}

.testimonial-quote-box {
  position: relative;
  margin-bottom: 25px;
}

.quote-icon-left,
.quote-icon-right {
  position: absolute;
  font-size: 16px;
  color: white;
  opacity: 1;
}

.quote-icon-left {
  top: 0;
  left: -25px;
}

.quote-icon-right {
  bottom: 0;
  right: -25px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  margin: 0 auto;
  font-weight: 400;
  text-align: center; /* Center the short testimonials */
}

.testimonial-accent-line {
  width: 40px;
  height: 2px;
  background-color: #a83232;
  margin: 25px 0 15px;
}

.testimonial-author {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-name {
  font-weight: 700;
  color: white;
}

.author-sep {
  color: rgba(255, 255, 255, 0.5);
}

.view-link {
  color: #a83232;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-base);
}

.view-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .testimonial-slider-wrapper {
    padding: 0 20px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
    opacity: 0.8;
  }

  .testimonial-focused {
    padding: 0 10px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .testimonial-stars {
    margin-bottom: 20px;
  }

  .testimonial-author {
    justify-content: center;
  }
}

/* Gallery - Circular Overlays */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.9); /* Dark Blue overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-hover i {
  color: white;
  font-size: 32px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

/* Contact Section - Premium Dark Theme */
.contact-form-wrapper {
  max-width: 900px;
  margin: 0 auto 60px;
}

.contact-form-new .form-row-triple {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form-new .form-row-triple input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 14px;
}

.contact-form-new .form-row-full textarea {
  width: 100%;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 30px;
  resize: vertical;
}

.form-submit-container {
  text-align: center;
}

.btn-red-contact {
  background-color: #a83232;
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-red-contact:hover {
  background-color: #8a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  color: white;
}

.contact-details-left {
  flex: 0 1 400px;
}

.contact-details-left .address-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item-row i {
  color: #a83232;
  font-size: 14px;
  width: 16px;
}

.contact-map-right {
  flex: 1;
  min-width: 400px;
}

@media (max-width: 850px) {
  .contact-form-new .form-row-triple {
    flex-direction: column;
  }

  .contact-footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-item-row {
    justify-content: center;
  }

  .contact-map-right {
    min-width: 100%;
  }
}

/* Footer */
footer {
  background: #0f172a;
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-about h3 span {
  color: var(--accent-light-blue);
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 25px;
  max-width: 350px;
}

.social-links a {
  color: white;
  font-size: 20px;
  margin-right: 20px;
  transition: var(--transition-base);
}

.social-links a:hover {
  color: var(--accent-light-blue);
}

.footer-links h4,
.footer-courses h4 {
  font-size: 20px;
  margin-bottom: 25px;
}

.footer-links ul,
.footer-courses ul {
  list-style: none;
}

.footer-links li,
.footer-courses li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-courses a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-links a:hover,
.footer-courses a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

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

.fade-in {
  opacity: 0;
}

.fade-in.active {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

/* New Animations */
@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal-left.active {
  animation: revealLeft 1s ease forwards;
}

.reveal-right.active {
  animation: revealRight 1s ease forwards;
}

.reveal-up.active {
  animation: fadeInUp 1s ease forwards;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 50px;
  cursor: zoom-out;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive Design System */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-card {
    padding: 50px 40px;
  }

  .hero-name-main {
    font-size: 44px;
  }

  .hero-name-sub {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .about-text {
    text-align: center;
  }

  .about-list li {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .navbar {
    padding: 12px 0;
  }

  .nav-container {
    position: fixed;
    top: 70px; /* Adjust based on navbar height */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 20px 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    visibility: hidden;
    overflow-y: auto;
    display: flex;
    z-index: 4000;
  }

  .nav-container.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .nav-links a {
    margin: 0;
    padding: 18px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    opacity: 0.3;
  }

  .nav-links a.active {
    background: rgba(30, 58, 138, 0.05);
    color: #a83232;
  }

  .hero-name-main {
    font-size: 32px;
  }

  .hero-name-sub {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .nav-icons {
    border-left: none;
    margin-top: auto;
    padding: 30px 40px;
    justify-content: flex-start;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    gap: 25px;
  }

  .nav-icons i {
    margin: 0;
    font-size: 20px;
    color: var(--primary-dark-blue);
  }

  .navbar-content {
    position: relative;
    justify-content: center;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    left: 20px;
    z-index: 5001; /* Above logo if overlapping */
  }

  .logo {
    margin: 0 auto;
  }

  .logo-main {
    font-size: 15px;
  }

  .logo-sub {
    font-size: 9px;
  }

  .logo img {
    height: 40px;
  }

  .hero-name-main {
    font-size: 38px;
    letter-spacing: -0.5px;
  }

  .hero-name-sub {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: 3px !important;
  }

  .about-title {
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .title-main {
    font-size: 32px;
    font-weight: 800;
  }

  .title-sub {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .about-accent-line {
    margin: 0 auto 25px;
  }

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

  .testimonial-card {
    min-width: 280px;
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 25px;
  }

  .hero-card {
    padding: 40px 25px;
  }

  .hero-card h1 {
    font-size: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about p {
    margin: 0 auto 25px;
  }

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

/* Course Details Modal */
.details-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e3a8a; /* Deep Navy Blue */
  overflow-y: auto;
  padding: 100px 20px 80px; /* Top padding for navbar */
  animation: fadeIn 0.4s ease;
}

.details-modal-content {
  max-width: 1200px;
  margin: 0 auto;
}

.close-details-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-details-modal:hover {
  color: var(--accent-light-blue);
}

.details-header {
  text-align: center;
  margin-bottom: 60px;
}

.details-header h2 {
  color: #fff;
  font-size: 38px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: "Outfit", sans-serif;
  margin-bottom: 10px;
}

.details-divider {
  width: 50px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.sub-course-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.sub-course-card:hover {
  transform: translateY(-5px);
}

.sub-course-card h4 {
  color: #a83232; /* Maroon text */
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.know-more {
  color: #a83232;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.know-more:hover {
  opacity: 0.8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Course Curriculum Modal */
.curriculum-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e3a8a; /* Deep Navy Blue */
  overflow-y: auto;
  padding: 120px 20px 60px; /* Top padding for navbar */
  animation: fadeIn 0.4s ease;
  color: #fff;
}

.curriculum-modal-content {
  max-width: 1100px;
  margin: 0 auto;
}

.close-curriculum-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  z-index: 10;
}

.breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 50px;
  text-align: center;
}

.curriculum-header {
  text-align: center;
  margin-bottom: 60px;
}

.curriculum-header h1 {
  color: #fff;
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: "Outfit", sans-serif;
}

.curriculum-body {
  max-width: 850px;
  margin: 0 auto;
}

.curriculum-body h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.curriculum-body p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 16px;
}

.curriculum-list {
  list-style: none;
  margin-bottom: 40px;
}

.curriculum-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.curriculum-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

.curriculum-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
}

.curriculum-social i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s;
}

.curriculum-social i:hover {
  color: #fff;
}

.suggested-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.suggested-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s;
}

.suggested-card h4 {
  color: #333;
  margin: 0;
  font-size: 16px;
  font-family: "Playfair Display", serif;
}

.suggested-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .curriculum-header h1 {
    font-size: 24px;
  }
  .curriculum-body h3 {
    font-size: 20px;
  }
  .suggested-courses {
    grid-template-columns: 1fr;
  }
}
