/*
  EDUCARE - Premium Medical Education Website Stylesheet
  Colors:
    Primary (Royal Blue): #0A2D62
    Secondary (Gold): #D4AF37
    Dark: #0D1B2A
    Background: #F7F9FC
    White: #FFFFFF
  Fonts: Poppins, Playfair Display
*/

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

/* --- Design Tokens / Variables --- */
:root {
  --primary: #0a2d62;
  --primary-rgb: 10, 45, 98;
  --primary-light: #1a4685;
  --secondary: #d4af37;
  --secondary-rgb: 212, 175, 55;
  --secondary-light: #e5c358;
  --dark: #0d1b2a;
  --dark-rgb: 13, 27, 42;
  --bg-light: #f7f9fc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;

  /* Glassmorphism Styles */
  --glass-bg: rgb(255, 255, 255);
  --glass-bg-dark: rgba(13, 27, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 15px 35px 0 rgba(10, 45, 98, 0.08);
  --glass-shadow-dark: 0 15px 35px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-headings: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Smooth Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Font */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
}
/* --- Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.text-primary {
  color: #0a2d62 !important;
}
html,
body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 0.975rem;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* --- Utility Classes --- */
.section-padding {
  padding: 100px 0;
}

.text-gold {
  color: var(--secondary) !important;
}

.bg-royal {
  background-color: var(--primary) !important;
}

.bg-dark-navy {
  background-color: var(--dark) !important;
}

.font-playfair {
  font-family: var(--font-headings);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

/* --- Section Headers --- */
.section-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: var(--primary);
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  position: absolute;
  left: 0% !important;
  transform: translateX(-50%);
  bottom: -10px;
  display: none !important;
}
/* .section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
} */
/* .section-title{
  width:100%;
} */

.text-center .section-title::after {
  left: 0%;
  transform: translateX(-50%);
}

.section-title-white {
  color: var(--white) !important;
}

/* --- Premium Buttons --- */
.btn-premium {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium-gold {
  background: linear-gradient(135deg, var(--secondary), #e8c860);
  color: var(--dark) !important;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-premium-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: var(--dark);
}

.btn-premium-royal {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white) !important;
  border: none;
  box-shadow: 0 4px 15px rgba(10, 45, 98, 0.25);
}

.btn-premium-royal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 45, 98, 0.45);
  color: var(--white);
}

.btn-premium-outline-gold {
  background: transparent;
  color: var(--secondary) !important;
  border: 2px solid var(--secondary);
}

.btn-premium-outline-gold:hover {
  background: linear-gradient(135deg, var(--secondary), #e8c860);
  color: var(--dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-premium-outline-white {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
}

.btn-premium-outline-white:hover {
  background: var(--white);
  color: var(--primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}
/* --- Sticky Navbar --- */
.navbar-educare {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.96) !important;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Navbar Links */
.navbar-educare .nav-link {
  color: #222 !important;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.navbar-educare .nav-link:hover {
  color: var(--secondary) !important;
}

.navbar-educare .nav-link.active {
  color: var(--secondary) !important;
}

/* Brand / Logo Text */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #111 !important;
  transition: var(--transition-smooth);
}

/* --- Scrolled Navbar --- */
.navbar-educare.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-educare.scrolled .nav-link {
  color: #222 !important;
}

.navbar-educare.scrolled .nav-link.active {
  color: var(--secondary) !important;
}

.navbar-educare.scrolled .navbar-brand {
  color: #111 !important;
}

/* --- Dropdown --- */
.navbar .dropdown-menu,
.navbar .dropdown-menu li {
  list-style: none !important;
  padding-left: 0 !important;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
}

.navbar .dropdown-item {
  color: #222;
}

.navbar .dropdown-item:hover {
  color: var(--secondary);
  background: rgba(0, 0, 0, 0.03);
}

/* --- Desktop Dropdown Hover --- */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    margin-top: 0.25rem;
  }

  .navbar .nav-item.dropdown > .dropdown-menu {
    display: none;
    transition: opacity 0.15s ease;
  }
}
.brand-logo-svg {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 3px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition-smooth);
}
/* 
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-smooth);
} */

.nav-link:hover::after,
.nav-link.active::after {
  width: 25px;
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.nav-link.active {
  color: var(--secondary) !important;
  font-weight: 600;
}

/* --- Hero Swiper Slider --- */
.hero-slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-slide-title {
  color: #d4af37;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 2;
}
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;

  top: 160px;

  /* Premium background */
  background: rgba(0, 0, 0, 0.589);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: solid 2px #fff;

  padding: 35px 40px;
  border-radius: 18px;

  /* Soft border */
  border: 1px solid rgba(255, 255, 255, 0.12);

  /* Premium shadow */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-slide-actions {
  animation: fadeInUp 1s ease backwards 0.6s;
}

/* Swiper navigation and pagination styling */
.swiper-button-next,
.swiper-button-prev {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--dark) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  width: 30px;
  background-color: var(--secondary) !important;
  border-radius: 5px;
}

/* --- Glassmorphism Cards --- */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: var(--transition-smooth);
  overflow: hidden;
  padding: 35px;
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(10, 45, 98, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.card-glass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark);
  border-radius: 20px;
  transition: var(--transition-smooth);
  overflow: hidden;
  padding: 35px;
}

.card-glass-dark:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
}

/* --- About Section Badges --- */
.badge-exam {
  font-family: var(--font-body);
  background: rgba(10, 45, 98, 0.05);
  border: 1px solid rgba(10, 45, 98, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  margin: 6px;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.badge-exam:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 45, 98, 0.15);
}

.badge-exam-gold {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #c0971b;
}

.badge-exam-gold:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* Luxury Image Frame with Gold Offset Border */
.luxury-image-frame {
  position: relative;
  z-index: 1;
  padding: 10px;
}

/* .luxury-image-frame::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  bottom: -10px;
  left: 30px;
  border: 3px solid var(--secondary);
  border-radius: 15px;
  z-index: -1;
  transition: var(--transition-smooth);
}

.luxury-image-frame:hover::after {
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
} */

.luxury-image-frame img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.luxury-image-frame:hover img {
  transform: scale(1.02);
}

/* --- Statistics Counter Panel --- */
.stats-floating-panel {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-number {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 5px;
}

.stats-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.1em;
}

.stats-divider {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

/* --- Why Choose Educare Section --- */
.card-why {
  text-align: left;
  height: 100%;
}

.icon-box-premium {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgb(252, 253, 255) 0%,
    rgb(250, 250, 250) 100%
  );
  border: 1px solid rgba(10, 45, 98, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.card-why:hover .icon-box-premium {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: rotateY(360deg);
  box-shadow: 0 8px 20px rgba(10, 45, 98, 0.2);
}

.why-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* --- Course Cards Section --- */
.filter-tabs-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(10, 45, 98, 0.15);
  background: var(--white);
  color: var(--primary);
  transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10, 45, 98, 0.15);
}

.course-card-premium {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(10, 45, 98, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(10, 45, 98, 0.12);
  border-color: rgba(212, 175, 55, 0.25);
}

.course-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
}

.course-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.course-card-premium:hover .course-image-wrapper img {
  transform: scale(1.08);
}

.course-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.course-card-premium:hover .course-category-badge {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

.course-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: var(--transition-smooth);
}

.course-card-premium:hover .course-title {
  color: var(--primary-light);
}

.course-meta-info {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(10, 45, 98, 0.06);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meta-item i {
  color: var(--secondary);
}

.course-card-footer {
  margin-top: auto;
}

/* --- Student Journey Timeline --- */
.timeline-journey {
  position: relative;
  padding: 50px 0;
}

/* The horizontal track line */
.timeline-journey::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(10, 45, 98, 0.1) 0%,
    var(--primary) 50%,
    rgba(212, 175, 55, 0.4) 100%
  );
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
}

.timeline-circle {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(10, 45, 98, 0.1);
  transition: var(--transition-smooth);
  color: var(--primary);
  font-size: 1.6rem;
  position: relative;
}

.timeline-circle::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  transition: var(--transition-smooth);
  animation: spin 20s linear infinite;
}

.timeline-node:hover .timeline-circle {
  background: var(--primary);
  color: var(--white);
  border-color: var(--secondary);
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(10, 45, 98, 0.2);
}

.timeline-node:hover .timeline-circle::after {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.timeline-step-number {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-desc {
  font-size: 0.85rem;
  max-width: 200px;
  margin: 0 auto;
}

/* --- Testimonials Section (Swiper) --- */
.testimonials-slider-container {
  padding: 20px 0 65px;
}

.testimonial-card {
  padding: 40px;
  text-align: left;
  border-radius: 20px;
  height: 100%;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.8;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-family: var(--font-headings);
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: -30px;
  left: -20px;
  line-height: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-country {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(10, 45, 98, 0.05);
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
}

/* --- FAQ Custom Accordion --- */
.educare-accordion .accordion-item {
  background: var(--white);
  border: 1px solid rgba(10, 45, 98, 0.08);
  border-radius: 15px !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(10, 45, 98, 0.02);
  transition: var(--transition-smooth);
}

.educare-accordion .accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 25px rgba(10, 45, 98, 0.05);
}

.educare-accordion .accordion-header {
  border: none;
}

.educare-accordion .accordion-button {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--white);
  padding: 20px 25px;
  border: none;
  box-shadow: none !important;
  transition: var(--transition-smooth);
}

.educare-accordion .accordion-button:not(.collapsed) {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.educare-accordion .accordion-button::after {
  background-size: 1rem;
  transition: var(--transition-smooth);
}

.educare-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.educare-accordion .accordion-body {
  padding: 25px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  background-color: var(--bg-light);
}

/* --- Contact Section & Form --- */
.contact-info-card {
  padding: 45px;
  height: 100%;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  font-weight: 600;
}

.contact-info-text {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.5;
}

.contact-info-text a:hover {
  color: var(--secondary);
}

/* Glassmorphic Form Fields */
.form-glass-group {
  margin-bottom: 25px;
}

.form-glass-control {
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid rgba(10, 45, 98, 0.15);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--primary);
  width: 100%;
  transition: var(--transition-smooth);
}

.form-glass-control:focus {
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  outline: none;
}

textarea.form-glass-control {
  min-height: 140px;
  resize: vertical;
}

.form-glass-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.map-container-premium {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 4px solid var(--white);
  position: relative;
}

.map-container-premium iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* --- Call To Action Large Banner --- */
.cta-banner-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  border-radius: 30px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 20px 45px rgba(10, 45, 98, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 80% 20%,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 55%
  );
  z-index: -1;
}
/* --- Light Footer --- */
.footer-educare {
  background-color: #f8f9fa;
  color: #555;
  padding: 80px 0 30px;
  border-top: 3px solid var(--secondary);
  font-size: 0.9rem;
}

/* Footer Widget Title */
.footer-widget-title {
  color: #111;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary);
}

/* Footer Description */
.footer-brand-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #555;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 8px;
}

/* Social Icons */
.social-icons-footer {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;

  background: #fff;
  border: 1px solid #e2e2e2;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #333;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Newsletter */
.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-input {
  width: 100%;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;

  padding: 14px 130px 14px 22px;

  font-size: 0.85rem;
  color: #222;

  transition: var(--transition-smooth);
}

.newsletter-input::placeholder {
  color: #999;
}

.newsletter-input:focus {
  border-color: var(--secondary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Newsletter Button */
.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;

  border-radius: 50px;
  padding: 0 22px;
  font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom-bar {
  margin-top: 60px;
  padding-top: 30px;

  border-top: 1px solid #ddd;

  color: #777;
  font-size: 0.8rem;
}
.footer-bottom-bar .text-white-50 {
  color: #000 !important;
}
.footer-educare .text-white-50 {
  color: #000 !important;
}

.footer-bottom-bar a {
  color: #555;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  color: var(--secondary);
}
.page-banner-premium {
  padding: 160px 0 100px;
  position: relative;
  z-index: 1;
  border-bottom: 3px solid var(--secondary);

  background:
    linear-gradient(rgba(10, 45, 98, 0.75), rgba(13, 27, 42, 0.75)),
    url("../images/1.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional */
}
/* --- Internal Pages Header Banner --- */
.page-banner-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 90% 20%,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 60%
  );
  z-index: -1;
}

.page-banner-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb-premium {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumb-item-premium {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item-premium a:hover {
  color: var(--secondary);
}

.breadcrumb-item-premium.active {
  color: var(--secondary);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* --- Features Badges Grid --- */
.features-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-pill-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 30px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(10, 45, 98, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.feature-pill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 30px rgba(10, 45, 98, 0.08);
}

.feature-pill-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 45, 98, 0.04);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.feature-pill-card:hover .feature-pill-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-pill-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

/* --- Custom CSS Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Floating animation helper */
.floating-element-premium {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.badge-gold {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--secondary-light);
  border: 1px solid var(--secondary);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px 0 rgba(10, 45, 98, 0.12);
}

/* Contact Info Cards */
.info-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(10, 45, 98, 0.15);
}

/* Form Inputs */
.form-floating > .form-control,
.form-floating > .form-control:focus {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 45, 98, 0.15);
  border-radius: 12px;
  color: var(--text-dark);
  box-shadow: none;
}
.form-floating {
  overflow: hidden;
}

.form-floating > .form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.form-floating > label {
  color: var(--text-muted);
}

/* Premium Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--dark);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

/* FAQ Accordion */
.accordion-item {
  background: var(--white);
  border: 1px solid rgba(10, 45, 98, 0.08);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(10, 45, 98, 0.03);
  color: var(--primary);
}

.accordion-button::after {
  background-size: 1.25rem;
}

/* Social Links */
.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-4px);
  border-color: var(--secondary);
}

/* Newsletter Card */
.newsletter-box {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  border-radius: 24px;
  padding: 60px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  pointer-events: none;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}
.navbar-brand img {
  width: 70px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  background: #25d366;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  text-decoration: none;

  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);

  animation: whatsappPulse 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Chat Text */
.whatsapp-float span {
  position: absolute;
  left: 70px;
  white-space: nowrap;
  display: none;
  background: #fff;
  color: #222;

  padding: 8px 14px;
  border-radius: 20px;

  font-size: 13px;
  font-weight: 600;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);

  transition: all 0.3s ease;
}

.whatsapp-float:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile */
@media (max-width: 576px) {
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    font-size: 27px;
  }

  .whatsapp-float span {
    display: none;
  }
}

.why-students-slider {
  padding: 10px 45px 55px;
}

.why-students-slider .swiper-slide {
  height: auto;
  display: flex;
}

.why-students-slider .card-glass-dark {
  width: 100%;
}

/* Navigation */
.why-students-slider .swiper-button-next,
.why-students-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  color: var(--dark);
}

.why-students-slider .swiper-button-next::after,
.why-students-slider .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 700;
}

.why-students-slider .swiper-pagination {
  bottom: 5px;
}

.why-students-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.why-students-slider .swiper-pagination-bullet-active {
  background: var(--secondary);
  width: 25px;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 767px) {
  .why-students-slider {
    padding-left: 35px;
    padding-right: 35px;
  }

  .why-students-slider .swiper-button-next,
  .why-students-slider .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

  .why-students-slider .swiper-button-next::after,
  .why-students-slider .swiper-button-prev::after {
    font-size: 12px;
  }
}



.student-modal {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* Header */

.student-modal-header {
    background: linear-gradient(
        135deg,
        #0a2d62,
        #124a91
    );

    color: #fff;
    padding: 28px 32px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.student-modal-header h3 {
    margin: 6px 0 5px;
    font-size: 28px;
    font-weight: 700;
}

.student-modal-header p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.student-form-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffd34e;
}

/* Labels */

.student-modal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #172033;
    margin-bottom: 8px;
}

.student-modal .form-label span {
    color: #dc3545;
}

/* Inputs */

.custom-input {
    height: 52px;
    border: 1px solid #dce2ea;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #172033;
    background: #f9fafc;
    transition: all 0.25s ease;
}

.custom-input::placeholder {
    color: #9ba5b5;
}

.custom-input:focus {
    border-color: #0a2d62;
    box-shadow: 0 0 0 3px rgba(10, 45, 98, 0.10);
    background: #fff;
}

/* Submit */

.student-submit-btn {
    border: 0;
    border-radius: 10px;
    padding: 13px 28px;

    background: #0a2d62;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.student-submit-btn i {
    margin-left: 8px;
}

.student-submit-btn:hover {
    background: #071f45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 45, 98, 0.2);
}

/* Modal Animation */

.student-modal {
    animation: studentPopup 0.35s ease;
}

@keyframes studentPopup {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

/* Mobile */

@media (max-width: 575px) {

    .student-modal-header {
        padding: 22px 20px;
    }

    .student-modal-header h3 {
        font-size: 22px;
        padding-right: 10px;
    }

    .student-modal-header p {
        font-size: 12px;
        line-height: 1.5;
    }

    .modal-body {
        padding: 25px 20px !important;
    }

    .custom-input {
        height: 48px;
    }

    .student-submit-btn {
        width: 100%;
    }

}