    @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Primary Colors */
  --primary: #7563aa;
  --primary-dark: #6c5b7b;
  --primary-light: #8b6db8;

  /* Accent Colors */
  --accent: #7c5ba6;
  --accent-dark: #6b4a95;

  /* Text Colors */
  --text-dark: #2d2d2d;
  --text-medium: #666;
  --text-light: #fff;

  /* Background Colors */
  --bg-white: #fff;
  --bg-light: #f8f9fa;
  --bg-lighter: #f7efff;

  /* Borders */
  --border-light: #dee2e6;
  --border-medium: #adb5bd;
  --border-dark: #7c5ba6;

  /* Hero / Highlights */
  --hero-subtitle: #7563aa;
  --quote-icon: #667eea;
  --testimonial-position: #6b4a95;
  --testimonial-stars: #ffc107;
  
  /* Buttons */
  --btn-primary: #7563aa;
  --btn-primary-hover: #6c5b7b;
  --btn-learn-bg: #fff;
  --btn-learn-border: #7563aa;
  --btn-learn-hover-bg: #f8f9fa;
  --btn-learn-color: #6c5b7b;
}

/* Base Styles */
body {
  font-family: Urbanist, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  scroll-behavior: smooth !important;
}

/* Navigation */
.top-nav {
  background-color: var(--primary);
  position: sticky !important;
  top: 75px !important; /* sits right under the main navbar */
  z-index: 1040;
}

.navbar.sticky-top {
  z-index: 1100 !important;
}



.top-nav .nav-link {
  color: var(--text-light) !important;
  font-size: 0.9rem;
  padding: 8px 20px;
}

.top-nav .nav-link:last-child {
  border-right: none;
}

.navbar {
  background-color: var(--primary);
  position: sticky !important;
  top: 0 !important; /* REQUIRED for sticky to work */
  z-index: 1040;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: var(--primary-dark) !important;
  margin: 0 10px;
}

/* Hero Section */
.hero-gradient,
.hero-section {
   background-image: url('../images/empire_institute/hero.png');
   background-size: cover;          /* no utility for this in BS5 */
   background-position: center;     /* but bg-center helps slightly */
   background-repeat: no-repeat;
}

.hero-content {
  z-index: 10;
}

.subtitle {
  color: var(--hero-subtitle);
}

.hero-title {
  font-size: 2.7rem;
  color: var(--text-dark);
  line-height: 1.2;
}

/* Buttons */
.btn-contact {
  background-color: var(--btn-primary);
  color: var(--text-light);
}

.btn-contact:hover {
  background-color: var(--btn-primary-hover);
  color: var(--text-light);
}

.btn-learn {
  background-color: var(--btn-learn-bg);
  color: var(--btn-learn-color);
  border: 1px solid var(--btn-learn-border);
}

.btn-learn:hover {
  background-color: var(--accent-dark);
  color: white;
}

.btn-start {
  background-color: var(--btn-primary);
  color: var(--text-light);
}

.btn-start:hover {
  background-color: var(--accent-dark);
  color: white;
}

/* Animations */
@keyframes float {
  0%, 100% { 
   transform: translate(0, 0) scale(1); 
  }

  33% { 
   transform: translate(30px, -30px) scale(1.1); 
  }

  66% { 
   transform: translate(-20px, 20px) scale(0.9); 
  }
}

/* Borders */
.border-thick {
  border-bottom-width: 6px !important;
}

/* Tabs */
.nav-tabs {
  border-bottom: 2px solid var(--border-light);
  width: 235%;
}

.nav-tabs .nav-link {
  color: #666;
  border: none;
  padding: 10px 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-tabs .nav-link:hover {
  color: var(--accent);
  border: none;
}

.nav-tabs .nav-link.active {
  color: var(--accent);
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--accent);
  font-weight: 600;
}

/* Scrollbar */
.scroller-style {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroller-style::-webkit-scrollbar {
  display: none;
}

/* Course Cards */
.course-card {
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border-radius: 20px !important;
}

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

.course-card-image {
  width: 100%;
  height: 180px;
}

.course-card-body {
  flex-grow: 1;
}

.course-card-title {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.course-card-description {
  color: var(--text-medium);
  flex-grow: 1;
}

.course-price {
  color: var(--text-dark);
}

.get-involved-btn {
  background: var(--accent);
  color: var(--text-light);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.get-involved-btn:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: translateY(-2px);
}

.show-more-btn {
  transition: all 0.3s ease;
  font-size: 13px;
}

.show-more-btn:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-light);
}


/* Sections */
.section-subtitle {
  color: var(--text-medium);
}

/* Testimonials */

.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.animate {
  animation: fade-in-up 0.6s ease forwards;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border: 4px solid var(--accent-dark);
}

.testimonial-info h5 {
  margin: 0;
  color: var(--text-dark);
}

.testimonial-info .position {
  color: var(--testimonial-position);
  font-size: 12px;
  margin-top: 5px;
}

.testimonial-stars {
  color: var(--testimonial-stars);
  margin-bottom: 5px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
}

.quote-icon {
  color: var(--quote-icon);
  opacity: 0.3;
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Equal Height Cards */

.testimonial-col {
  flex: 1;
}

/* Hero Section Buttons */
.call-to-action{
  min-height: 50vh;
  background-image: url('../images/empire_institute/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.call-to-action .btn {
  min-width: 150px;
  margin: 10px;
}

/* FAQ Section */
.faq-section {
  margin: 80px auto;
}

.faq-title {
  margin-bottom: 50px;
}

.accordion-button {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.accordion-button:focus,
.accordion-button:active {
  box-shadow: none;
  background-color: transparent;
}

.accordion-item {
  border-radius: 0.5rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.info-text {
  color: var(--primary) !important;
}

.list-style {
  background-color: var(--bg-lighter);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to top, var(--primary), white);
  padding: 60px 0;
}

.contact-info i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
}

.contact-form .form-control {
  border-radius: 12px;
  padding: 12px;
}

.contact-form button {
  background-color: var(--red-light);
  color: var(--white);
  border-radius: 12px;
  padding: 12px;
  border: none;
  width: 100%;
}

/* Footer */
.footer-links { 
  margin-top: 50px; 
}

.footer-links h6 { 
  font-weight: 600; 
  margin-bottom: 15px; 
}

.social-icons a { 
  font-size: 1.2rem;
  margin-right: 10px; 
  color: var(--red-light); 
}

.footer-logo { 
  width: 200px; 
}

.button { 
  font-size: 12px; 
  background-color: var(--red-light); 
}

.button:hover { 
  background-color: var(--red-dark); 
}

@media (width <= 576px) {
  .hero-title{
    font-size: 1.7rem;
  }

  .top-nav .nav-link {
    font-size: 0.6rem;
    padding: 5px 2px;
    margin-top: 8px;
  }

  .text-xxs{
  font-size: 0.6rem !important;
  padding: 6px 2px;
}

  .hero-description{
    font-size: 0.8rem;
  }

  .navbar{
    top: 20px;
  }

}

.home-new{
  color: var(--primary-dark);
}

.modal-text{
  color: var(--primary-dark);
}

.modal-button{
  background-color: var(--primary);
  color: var(--text-light);
}

.modal-button:hover{
  background-color: purple !important;
  color: var(--text-light);
}

