/* =============================================
   VIRRENDRA VARMA - Main Stylesheet
   Color Palette: Purple + Blue + Bluish-Green Teal
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Purple */
  --purple-dark: #4a1fa8;
  --purple-main: #6b35c9;
  --purple-mid: #8b55e8;
  --purple-light: #b08af0;
  --purple-pale: #d4c0fa;

  /* Blue */
  --blue-dark: #143a8c;
  --blue-main: #1e62d0;
  --blue-mid: #3a8ae8;
  --blue-light: #72b4f5;
  --blue-pale: #c0dcff;

  /* Bluish-Green / Teal */
  --teal-dark: #0e6e62;
  --teal-main: #178a7a;
  --teal-mid: #1eb89e;
  --teal-light: #3dd6be;
  --teal-pale: #a0f0e0;

  /* Neutral */
  --bg-base: #1a2650;
  --bg-dark: #131d40;
  --bg-card: #1e2e60;
  --white: #ffffff;
  --silver: #c4cce0;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.50);

  /* Accent */
  --accent: #1eb89e;
  --accent-light: #3dd6be;
  --accent-alt: #d4a843;
  --accent-alt-lt: #f0d070;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #1a2650 0%, #1e62d0 45%, #6b35c9 100%);
  --gradient-accent: linear-gradient(135deg, #1e62d0, #6b35c9);
  --gradient-teal: linear-gradient(135deg, #0e6e62, #1eb89e, #3dd6be);
  --gradient-hero: linear-gradient(135deg, #0e6e62, #1e62d0, #6b35c9);
  --gradient-gold: linear-gradient(135deg, #d4a843, #f0d070, #d4a843);
  --gradient-card: linear-gradient(145deg, rgba(30, 98, 208, 0.50), rgba(107, 53, 201, 0.35));
  --gradient-card2: linear-gradient(145deg, rgba(30, 98, 208, 0.50), rgba(24, 186, 158, 0.30));

  /* Shadows */
  --shadow-soft: 0 8px 32px rgba(107, 53, 201, 0.22);
  --shadow-hard: 0 16px 48px rgba(20, 58, 140, 0.42);
  --shadow-teal: 0 8px 32px rgba(30, 184, 158, 0.28);
  --shadow-glow: 0 0 32px rgba(107, 53, 201, 0.42);
  --glow-teal: 0 0 28px rgba(30, 184, 158, 0.38);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.20);

  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 3px;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: linear-gradient(90deg, #0e1a3a, #122060, #320e72);
  border-bottom: 1px solid rgba(30, 184, 158, 0.30);
  padding: 8px 0;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.top-bar a {
  color: var(--purple-pale);
  text-decoration: none;
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--teal-light);
}

.top-bar .top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--silver);
}

.top-bar .top-item i {
  color: var(--teal-mid);
  font-size: 0.85rem;
}

.top-bar .social-icons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-left: 6px;
  color: var(--purple-pale);
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar .social-icons a:hover {
  background: var(--gradient-teal);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   NAVBAR
   ============================================= */
/* Logo Styling */
.brand-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}


.navbar-main {
  background: linear-gradient(90deg, rgb(74 102 179 / 97%), rgb(69 113 187 / 90%), rgb(75 28 157 / 88%));
  backdrop-filter: blur(20px);
  padding: 0;
  border-bottom: 1px solid rgba(30, 184, 158, 0.25);
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-main.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.40);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 52px;
  height: 52px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(30, 184, 158, 0.55);
  box-shadow: 0 0 20px rgba(107, 53, 201, 0.45);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: -1px;
}

.brand-text-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.brand-text-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--teal-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gradient-teal);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 10%;
  right: 10%;
}

.navbar-nav .nav-link:hover {
  color: var(--teal-light) !important;
}

.nav-cta-btn {
  background: var(--gradient-teal) !important;
  color: white !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.1em !important;
  margin-left: 8px !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-teal);
  border: none;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 184, 158, 0.55);
  color: white !important;
}

.nav-cta-btn::after {
  display: none !important;
}

.navbar-toggler {
  border: 1px solid rgba(30, 184, 158, 0.35) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
#heroCarousel {
  position: relative;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.carousel-item.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 26, 58, 0.88) 0%, rgba(30, 98, 208, 0.58) 45%, rgba(14, 110, 98, 0.62) 100%);
}

.slide-1-bg {
  background-image: url('../img/banner1.jpg');
}

.slide-2-bg {
  background-image: url('../img/banner2.jpg');
}

.slide-3-bg {
  background-image: url('../img/banner3.jpg');
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(30, 184, 158, 0.18);
  border: 1px solid rgba(30, 184, 158, 0.50);
  color: var(--teal-light);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title .accent {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  max-width: 560px;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-teal);
  margin: 1rem 0 1.8rem 0;
  border-radius: 2px;
}

.hero-btn-primary {
  background: var(--gradient-teal);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(30, 184, 158, 0.42);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 184, 158, 0.62);
  color: white;
}

.hero-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.50);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  background: rgba(30, 184, 158, 0.12);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  margin: 4px;
  transition: var(--transition);
}

.carousel-indicators [data-bs-target].active {
  background: var(--teal-mid);
  width: 28px;
  border-radius: 5px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  margin: 0 20px;
  opacity: 0.85;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--gradient-teal);
  opacity: 1;
  border-color: transparent;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* =============================================
   SECTION COMMON
   ============================================= */
section {
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-mid);
  margin-bottom: 0.7rem;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 8px;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title .gold-text {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-teal);
  border-radius: 2px;
  margin: 1rem auto;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 580px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.7;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.blob-purple {
  background: rgba(107, 53, 201, 0.22);
}

.blob-blue {
  background: rgba(30, 98, 208, 0.18);
}

.blob-teal {
  background: rgba(30, 184, 158, 0.14);
}

.blob-gold {
  background: rgba(30, 184, 158, 0.08);
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  background: linear-gradient(160deg, #142260, #261680, #162850);
  padding: 100px 0;
}

.about-image-wrap {
  position: relative;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}

.about-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(30, 184, 158, 0.38);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38), var(--glow-teal);
}

.about-img-frame img {
  width: 100%;
  display: block;
  filter: saturate(0.88) brightness(1.05);
  transition: var(--transition-slow);
}

.about-img-frame:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(30, 184, 158, 0.55);
  box-shadow: var(--shadow-soft);
  z-index: 2;
  text-align: center;
}

.about-img-badge .badge-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
}

.about-img-badge .badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.about-corner-decor {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--teal-mid);
  border-left: 3px solid var(--teal-mid);
  border-radius: 4px 0 0 0;
}

.about-content {
  padding: 1rem 0;
}

.about-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--purple-pale);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: white;
}

.about-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.about-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem 0;
}

.skill-tag {
  background: rgba(30, 98, 208, 0.28);
  border: 1px solid rgba(61, 214, 190, 0.30);
  color: var(--teal-pale);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(107, 53, 201, 0.30);
  border-color: var(--purple-light);
  color: var(--purple-pale);
  transform: translateY(-2px);
}

.about-contact-card {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.38), rgba(30, 184, 158, 0.22));
  border: 1px solid rgba(30, 184, 158, 0.22);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
  backdrop-filter: blur(10px);
}

.about-contact-card i {
  width: 40px;
  height: 40px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-teal);
}

.about-contact-card .contact-label {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-contact-card .contact-value {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.about-contact-card a {
  color: var(--teal-light);
  text-decoration: none;
  transition: var(--transition);
}

.about-contact-card a:hover {
  color: var(--purple-pale);
}

.service-areas-table {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.35), rgba(30, 184, 158, 0.20));
  border: 1px solid rgba(30, 184, 158, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.service-areas-table table {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.service-areas-table thead th {
  background: var(--gradient-accent);
  color: white;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: none;
}

.service-areas-table tbody td {
  padding: 10px 16px;
  border-color: rgba(255, 255, 255, 0.09) !important;
  font-size: 0.85rem;
}

.service-areas-table tbody tr:hover {
  background: rgba(30, 184, 158, 0.12);
}

.service-areas-table .area-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-mid);
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 6px rgba(30, 184, 158, 0.6);
}

/* =============================================
   SERVICES
   ============================================= */
#services {
  background: linear-gradient(175deg, #162850, #1e2e60, #261680);
  padding: 100px 0;
}

.service-card {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.38), rgba(107, 53, 201, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  backdrop-filter: blur(10px);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 184, 158, 0.12), transparent 70%);
  transition: var(--transition-slow);
}

.service-card:hover::after {
  transform: scale(1.5);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 184, 158, 0.38);
  box-shadow: 0 20px 50px rgba(30, 98, 208, 0.28), var(--glow-teal);
}

.service-icon-wrap {
  width: 65px;
  height: 65px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: var(--gradient-teal);
  box-shadow: var(--glow-teal);
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: white;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-light);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--purple-pale);
  gap: 10px;
}

/* =============================================
   SERVICE CARD — Image Layout (ADD to style.css)
   ============================================= */

/* Override the old padding-only card to a flex column layout */
.service-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Image wrapper — fixed height thumbnail */
.service-card-img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: saturate(0.75) brightness(0.85);
}

.service-card:hover .service-card-img-wrap img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

/* Gradient overlay on image bottom */
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,26,58,0.10) 0%,
    rgba(30,98,208,0.30) 55%,
    rgba(22,40,80,0.85) 100%
  );
  transition: opacity 0.4s ease;
}
.service-card:hover .service-card-img-overlay {
  background: linear-gradient(
    to bottom,
    rgba(14,26,58,0.05) 0%,
    rgba(30,184,158,0.25) 55%,
    rgba(22,40,80,0.80) 100%
  );
}

/* Floating emoji icon — sits on bottom edge of image */
.service-icon-float {
  position: absolute;
  bottom: 2px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e62d0, #6b35c9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(107,53,201,0.40);
  border: 2px solid rgba(30,184,158,0.50);
  z-index: 3;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover .service-icon-float {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, #0e6e62, #1eb89e, #3dd6be);
  box-shadow: 0 8px 28px rgba(30,184,158,0.50);
}

/* Card body — text area below image */
.service-card-body {
  padding: 2.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-card-body h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: white;
  letter-spacing: 0.02em;
}

.service-card-body p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  margin-bottom: 1rem;
  flex: 1;
}

/* Top colour bar on hover (re-applies since card padding changed) */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #0e6e62, #1eb89e, #3dd6be);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}
.service-card:hover::before { transform: scaleX(1); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
#why-us {
  background: linear-gradient(160deg, #162860, #26108a, #162850);
  padding: 100px 0;
  position: relative;
}

.why-us-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  backdrop-filter: blur(10px);
}

.why-us-card:hover {
  transform: translateY(-6px);
  background: rgba(30, 184, 158, 0.11);
  border-color: rgba(30, 184, 158, 0.38);
  box-shadow: var(--glow-teal);
}

.why-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  transition: var(--transition);
}

.why-us-card:hover .why-num {
  color: rgba(30, 184, 158, 0.08);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.why-us-card:hover .why-icon {
  transform: scale(1.1);
  background: var(--gradient-teal);
  box-shadow: var(--glow-teal);
}

.why-us-card h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.why-us-card p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* =============================================
   ACHIEVEMENTS
   ============================================= */
#achievements {
  background: linear-gradient(135deg, #162850 0%, #1e62d0 45%, #6b35c9 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.achievement-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.achievement-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.achievement-item:last-child::after {
  display: none;
}

.achievement-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}

.achievement-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.achievement-sublabel {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--purple-pale);
  font-style: italic;
  margin-top: 0.3rem;
}

/* =============================================
   COURSES
   ============================================= */
#courses {
  background: linear-gradient(160deg, #162850, #1e2e60, #261680);
  padding: 100px 0;
}

.course-card {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.38), rgba(107, 53, 201, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-slow);
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 184, 158, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow-teal);
}

.course-header {
  background: var(--gradient-accent);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.course-header::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
}

.course-header-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.course-header h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin: 0;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

.course-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.course-body p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.84);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-features li::before {
  content: '✦';
  color: var(--teal-mid);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* =============================================
   GALLERY
   ============================================= */
#gallery {
  background: linear-gradient(175deg, #162860, #261680, #162850);
  padding: 100px 0;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gradient-teal);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 1px solid rgba(30, 184, 158, 0.18);
  transition: var(--transition-slow);
}

/* .gallery-item:nth-child(7) {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item:nth-child(11) {
  grid-column: span 2;
  aspect-ratio: 2/1;
} */

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: saturate(0.90) brightness(0.95);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 34, 90, 0.88), rgba(30, 184, 158, 0.45) 50%, transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-overlay-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: scale(0.5);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1);
}

.gallery-item:hover {
  border-color: rgba(30, 184, 158, 0.45);
  box-shadow: var(--glow-teal);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 24, 60, 0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(30, 184, 158, 0.35);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 80, 80, 0.40);
  border-color: rgba(255, 80, 80, 0.50);
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.lightbox-nav-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--gradient-teal);
  border-color: transparent;
}

.lightbox-counter {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 0.1em;
  min-width: 60px;
  text-align: center;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
  background: linear-gradient(160deg, #162850, #261080, #162850);
  padding: 100px 0;
}

.contact-info-card {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.44), rgba(30, 184, 158, 0.28));
  border: 1px solid rgba(30, 184, 158, 0.22);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(10px);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: var(--gradient-teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-teal);
}

.contact-info-text .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-text .value {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-info-text a {
  color: var(--teal-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-text a:hover {
  color: var(--purple-pale);
}

.contact-form-wrap {
  background: linear-gradient(145deg, rgba(30, 98, 208, 0.44), rgba(107, 53, 201, 0.30));
  border: 1px solid rgba(107, 53, 201, 0.28);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-form-wrap h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-control-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.form-control-custom:focus {
  border-color: rgba(30, 184, 158, 0.60);
  background: rgba(30, 184, 158, 0.08);
  box-shadow: 0 0 0 3px rgba(30, 184, 158, 0.14);
}

textarea.form-control-custom {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--gradient-teal);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-teal);
}

.submit-btn:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* =============================================
   MAP
   ============================================= */
#map-section {
  position: relative;
  height: 420px;
  overflow: hidden;
}

#map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-teal);
  z-index: 2;
}

#map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.7) brightness(0.85) hue-rotate(180deg);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: linear-gradient(180deg, #101e48, #162850);
  border-top: 1px solid rgba(30, 184, 158, 0.22);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.footer-brand-tagline {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--teal-light);
  font-style: italic;
  margin-top: 3px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gradient-teal);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--glow-teal);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gradient-teal);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--teal-mid);
  font-size: 1rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.footer-contact-item i {
  color: var(--teal-mid);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0;
}

.footer-bottom {
  padding: 1.2rem 0;
  background: rgba(0, 0, 0, 0.14);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.footer-bottom a {
  color: var(--teal-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--purple-pale);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--teal-light);
}

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.float-btns {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--transition);
  position: relative;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0.7;
  animation: float-glow 2s ease-in-out infinite;
}

.float-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.40);
}

.float-whatsapp::before {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.40), transparent 70%);
}

.float-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.60);
  color: white;
}

.float-call {
  background: var(--gradient-teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

.float-call::before {
  background: radial-gradient(circle, rgba(30, 184, 158, 0.42), transparent 70%);
}

.float-call:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 35px rgba(30, 184, 158, 0.65);
  color: white;
}

@keyframes float-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.float-btn-tooltip {
  position: absolute;
  right: 60px;
  background: rgba(14, 24, 60, 0.95);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(30, 184, 158, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.float-btn:hover .float-btn-tooltip {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 42px;
  height: 42px;
  background: var(--gradient-teal);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-teal);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 184, 158, 0.55);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.sparkle-wrap {
  position: relative;
  display: inline-block;
}

.sparkle-wrap::before,
.sparkle-wrap::after {
  content: '✦';
  position: absolute;
  color: var(--teal-mid);
  font-size: 0.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-wrap::before {
  top: -8px;
  left: -16px;
  animation-delay: 0s;
}

.sparkle-wrap::after {
  bottom: -8px;
  right: -16px;
  animation-delay: 1s;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.97);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: var(--gradient-teal);
  border-radius: 2px;
  animation: preloader-fill 1.8s ease-in-out forwards;
}

@keyframes preloader-fill {
  0% {
    width: 0%;
  }

  70% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
}

.table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991px) {
  .hero-stats {
    gap: 1.2rem;
  }

  .achievement-item::after {
    display: none;
  }

  .navbar-collapse {
    background: rgba(14, 24, 60, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 8px;
  }
}
.bg-overlayy
{background: linear-gradient(#142260c2, #142260c2), url("banner2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    height: 350px;
    padding-top: 150px;
}
.bg-overlayy a{
	Color:#fff;
}

@media (max-width: 767px) {

  #about,
  #services,
  #why-us,
  #achievements,
  #courses,
  #gallery,
  #contact {
    padding: 70px 0;
  }

  .hero-slide {
    max-height: 100vh;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(7),
  .gallery-item:nth-child(11) {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .float-btns {
    right: 14px;
    bottom: 75px;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 8px;
  }
  footer {
	  width:95%;
  }
}

@media(max-width:374px)
{
	.brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}
}