 :root {
   --brand-dark: #0F172A;
   --brand-accent: #FF9635;
 }

 * {
   padding: 0;
   margin: 0;
   box-sizing: border-box;
 }

 body {
   background-color: #0F172A;
   color: #fff;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   margin-top: 0;
   overflow-x: hidden;
 }

 /* navbar */
 .top-bar {
   background: #303D4B;
   color: #fff;
   display: flex;
   justify-content: space-around;
   align-items: center;
   padding-left: 1rem;
   padding-right: 1rem;
   font-size: 15px;
   font-family: inherit;
 }

 .top-bar .latest-news {
   color: #FF9635;
   font-weight: 500;
   margin-right: 10px;
 }

 .top-bar .edusolutions {
   border-bottom: 2px solid #fff;
   margin-left: 15px;
 }

 .logo-img {
   height: 15vh;
   width: auto;
   border-radius: 6px;
   transition: height 0.3s ease;
 }

 .brand-title {
   font-size: 1.3em;
   font-weight: 700;
   color: #0F172A;
 }

 .tagline {
   font-style: italic;
   font-size: .92em;
   color: #333;
   margin-left: 2px;
 }

 .nav-links .nav-link {
   color: #FEFEFE;
   font-weight: 500;
   font-size: 1em;
   margin-left: 20px;
   transition: color 0.2s;
 }

 .nav-links .nav-link:hover,
 .nav-links .nav-link.active {
   color: #FF9635;
 }

 .nav-right {
   display: flex;
   align-items: center;
   gap: 18px;
 }

 .call-us {
   color: #D92020;
   font-weight: 600;
   margin-right: 2px;
 }

 .call-number {
   color: #FF9635;
   font-weight: 500;
   font-size: 1.08em;
 }

 .social-icons {
   display: flex;
   gap: 10px;
 }

 .social-icons a {
   color: #303D4B;
   font-size: 1.12em;
   transition: color 0.2s;
 }

 .social-icons a:hover {
   color: #FF9635;
 }

 /* Sticky Navbar */
 .top-bar,
 .custom-navbar {
   position: sticky;
   top: 0;
   z-index: 1050;
   margin: 0;
   padding-left: 40px;
   padding-right: 40px;
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
 }

 /* Optional shadow on sticky */
 .top-bar.sticky,
 .custom-navbar.sticky {
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
   background-color: #303D4B;
   color: #fff;
 }

 .custom-navbar.sticky {
   background-color: #0F1729;
 }

 /* Smooth collapse menu animation */
 .collapse {
   transition: height 0.35s ease;
 }

 /* Toggler positioned neatly */
.custom-toggler {
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  border: none;
  background: transparent;
  margin-left: auto; /* push it to the right */
  padding: 0.4rem 0.6rem;
}

/* Ensure icon transitions nicely */
.custom-toggler i {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Rotate + fade effect */
.rotate-in {
  transform: rotate(180deg);
  opacity: 1;
}

.rotate-out {
  transform: rotate(-180deg);
  opacity: 0;
}


/* Hero Section */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-section h1 {
  font-size: 2.6rem;
  line-height: 1.3;
}

.hero-section .highlight {
  color: #FF9635;
}

.hero-section p {
  font-size: 1.15rem;
  color: #e5e7eb;
  max-width: 600px;
}

.btn-hero {
  background-color: #FF9635;
  color: #0F172A;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: #e67f1d;
  color: #fff;
  transform: translateY(-2px);
}

.hero-img {
  max-width: 90%;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

 /* About styles */
 .about-section {
   background: #f8f6f3;
   color: #0F172A;
   padding: 2.5rem 1.3rem;
   box-shadow: 0 4px 20px rgba(30, 40, 60, 0.05);
 }

 .about-img {
   max-width: 350px;
   width: 100%;
   box-shadow: 0 2px 10px rgba(20, 30, 50, 0.10);
   border-radius: 12px;
   object-fit: cover;
   display: block;
 }


 /* Courses section styling */
 .courses-section {
   background-color: #fefefe;
 }

 .course-img {
   aspect-ratio: 4 / 3;
   object-fit: cover;
   border-radius: 0.375rem 0.375rem 0 0;
 }

 .course-price span:first-child {
   font-weight: 700;
   color: #FF9635;
   margin-right: 0.75rem;
 }

 .course-price span:last-child {
   color: #6c757d;
   font-weight: 600;
 }

 /* Container holds buttons side-by-side with gap and wrap */
 .course-card-buttons {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   margin-top: 1rem;
   justify-content: flex-start;
 }

 .course-card-buttons .btn {
   flex: 1 1 calc(33.33% - 0.5rem);
   min-width: 120px;
   font-size: 0.85rem;
   padding: 0.375rem 0.75rem;
   white-space: nowrap;
   text-align: center;
   box-sizing: border-box;
   font-weight: 600;
 }

 .btn-outline-primary {
   color: #FF9635;
   border-color: #0F1729;
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .btn-outline-primary:hover,
 .btn-outline-primary:focus {
   background-color: #FF9635;
   color: #0F172A;
   border-color: #0F1729;
 }

 .btn-outline-success {
   color: #FF9635;
   border-color: #0F1729;
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .btn-outline-success:hover,
 .btn-outline-success:focus {
   background-color: #FF9635;
   color: #0F172A;
   border-color: #0F1729;
 }

 .btn-outline-warning {
   color: #FFC107;
   border-color: #0F1729;
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .btn-outline-warning:hover,
 .btn-outline-warning:focus {
   background-color: #FF9635;
   color: #0F172A;
   border-color: #FFC107;
 }

 /* Copy button styling */
 .btn-copy {
   cursor: pointer;
   margin-left: 0.5rem;
 }

 .modal-header i {
   margin-right: 0.5rem;
   font-size: 1.3rem;
   color: #FF9635;
 }

 /* core-values, mission and vission section */
 .vmc-section {
   background-color: #fff8f0;
   color: #253554;
 }

 .vmc-card {
   background-color: #ffffff;
   border: 1px solid #f0ded1;
   transition: box-shadow 0.3s ease;
   display: flex;
   flex-direction: column;
   justify-content: center;
 }

 .vmc-card:hover {
   box-shadow: 0 8px 20px rgba(255, 150, 53, 0.25);
 }

 .vmc-title {
   color: #FF9635;
   font-weight: 700;
   font-size: 1.5rem;
 }

 .vmc-text {
   font-size: 1rem;
   line-height: 1.5;
   color: #4a4a4a;
 }

 .vmc-list li {
   font-size: 1rem;
   line-height: 1.6;
   margin-bottom: 0.4rem;
   color: #4a4a4a;
 }

 .vmc-section-title {
   font-weight: 700;
   font-size: 2rem;
   color: #0B1B2B;
 }

 .vmc-icon {
   font-size: 2.5rem;
   color: #FF9635;
   user-select: none;
 }

 /* Testimonial section styles */
 .testimonial-section {
   background-color: #fef9f3;
 }

 .testimonial-carousel-wrapper {
   max-width: 100%;
 }

 .testimonial-carousel {
   gap: 1.5rem;
   width: calc(300px * 6 + 1.5rem * 5);
   animation: slow-slide 40s linear infinite;
 }

 .testimonial-item {
   width: 300px;
   flex-shrink: 0;
   background: white;
   border-radius: 12px;
   transition: transform 0.3s ease;
 }

 .testimonial-item:hover {
   transform: scale(1.05);
 }

 .testimonial-img {
   width: 56px;
   height: 56px;
   object-fit: cover;
   border: 3px solid #FF9635;
 }

 .testimonial-name {
   color: #253554;
   font-weight: 600;
 }

 .testimonial-text {
   font-size: 0.9rem;
   color: #555;
 }

 /* Keyframe animation for slow left scroll */
 @keyframes slow-slide {
   0% {
     transform: translateX(0);
   }

   100% {
     transform: translateX(calc(-50%));
   }
 }

 /* Investment Section */
 .investment-section {
   padding-top: 3rem !important;
   padding-bottom: 6rem !important;
 }

 .investment-img {
   object-fit: cover;
   width: 100%;
   height: 100%;
 }

 .investment-section h1 {
   font-size: 2.8rem;
   line-height: 1.3;
   padding: 0;
   margin: 0;
 }

 .investment-section p {
   font-size: 1.1rem;
 }


 /* Footer Styles */
 .footer-section {
   background-color: #0F172A;
   color: #f1f1f1;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .footer-logo-img {
   max-width: 160px;
   width: 100%;
   height: auto;
 }

 .footer-desc {
   font-size: 0.95rem;
   color: #c2c2c2;
   max-width: 320px;
   margin: auto;
 }

 .social-icons {
   margin-top: 0.5rem;
   color: #c2c2c2;
 }

 .social-icons a {
   color: #c2c2c2;
 }

 .footer-social-link {
   color: #f1f1f1;
   font-size: 1.25rem;
   margin-right: 1rem;
   text-decoration: none;
   transition: color 0.3s ease;
 }

 .footer-social-link:hover {
   color: #FF9635;
 }

 .footer-heading {
   font-size: 1.25rem;
   font-weight: 700;
   color: #FF9635;
   margin-bottom: 1rem;
 }

 .footer-links {
   padding-left: 0;
 }

 .footer-link {
   color: #c2c2c2;
   text-decoration: none;
   display: block;
   margin-bottom: 0.6rem;
   transition: color 0.3s ease;
 }

 .footer-link:hover {
   color: #FF9635;
   text-decoration: underline;
 }

 .footer-divider {
   border-color: #FF9635;
 }

 /* Responsive text center on small devices */
 @media (max-width: 575.98px) {
   .tagline {
     display: block;
     margin-left: 0;
     font-size: .9em;
   }

   .logo-img {
     height: 28vh;
     max-height: 80px;
   }

   .nav-right .call-us {
     display: block;
     color: #c2c2c2;
   }

   .testimonial-carousel {
     animation-duration: 30s;
     width: calc(200px * 6 + 1.5rem * 5);
   }

   .testimonial-item {
     width: 200px;
   }

   .testimonial-img {
     width: 40px;
     height: 40px;
   }

   .course-price {
     font-size: 0.9rem;
   }

   .course-card-buttons .btn {
     flex: 1 1 100%;
   }
 }

 @media (max-width: 767px) {
   .hero-title {
     font-size: 1.8rem;
   }

   .navbar-nav {
     text-align: center;
   }

   .footer-desc {
     max-width: 100%;
   }

   .footer-section .social-icons {
     justify-content: center;
   }

   .footer-section .text-center.text-md-start {
     text-align: center !important;
   }
 }

 /* Optional: Center text for small screens */
 @media (max-width: 991.98px) {

   .top-bar,
   .custom-navbar {
     padding: 7px 15px;
   }

   .brand-title {
     font-size: 1.07em;
   }

   .logo-img {
     height: 25vh;
     max-height: 80px;
   }

   .navbar-nav {
    background: #0F172A; /* match your brand */
    padding: 1rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }

  .navbar-nav .nav-link {
    color: #fff !important;
    margin: 0.5rem 0;
    text-align: center;
  }

  .navbar-nav .nav-link.active {
    color: #FF9635 !important;
    font-weight: 600;
  }
   .about-section .row {
     text-align: center;
   }

   .about-section .col-lg-6 {
     margin-bottom: 2rem;
   }

   .vmc-section .row {
     text-align: center;
   }

   .testimonial-carousel {
     animation-duration: 35s;
     width: calc(250px * 6 + 1.5rem * 5);
   }

   .testimonial-item {
     width: 250px;
   }

   .testimonial-img {
     width: 48px;
     height: 48px;
   }

   .brand-title {
     font-size: 1.06em;
   }
 }

 /* Spacing for extra-large screens */
 @media (min-width: 1200px) {
   .about-section .container {
     max-width: 900px;
   }
 }