/* ==================== CSS VARIABLES ==================== */
:root {
  --primary: #541720;
  --secondary: #D4AC0D;
  --accent: #E63946;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #541720 0%, #7a2430 100%);
  --gradient-secondary: linear-gradient(135deg, #D4AC0D 0%, #F4C430 100%);
  --gradient-accent: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
  --gradient-hero: linear-gradient(135deg, rgba(84, 23, 32, 0.95) 0%, rgba(122, 36, 48, 0.9) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.24);

  --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 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== PRELOADER ==================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.logo-animate {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.edu-text {
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.vidya-text {
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--secondary);
  border-radius: 10px;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.logo-text .vidya {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-btn {
  padding: 0.75rem 1.75rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 10px;
  transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #fef9f3 0%, #fff5eb 100%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

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

  66% {
    transform: translate(-30px, 30px);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 172, 13, 0.1);
  border: 2px solid var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.badge i {
  color: var(--secondary);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.gradient-text {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Righteous', cursive;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
}

.visual-card {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

.visual-card:hover {
  transform: scale(1.05) rotate(2deg);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}

.visual-card:hover .card-overlay {
  transform: translateY(0);
}

.card-1 {
  top: 0;
  left: 0;
  width: 350px;
  height: 400px;
  animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
  bottom: 0;
  right: 0;
  width: 300px;
  height: 350px;
  animation: floatCard 6s ease-in-out infinite 3s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  animation: rotate 10s linear infinite;
}

.element-1 {
  top: 50px;
  right: 50px;
}

.element-2 {
  bottom: 50px;
  left: 50px;
  animation-delay: 5s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 10px;
  background: var(--primary);
  border-radius: 10px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

/* ==================== ABOUT SECTION ==================== */
.about {
  padding: 8rem 0;
  background: linear-gradient(135deg, #cceac9 0%, #f0c6c6 100%);
  color: var(--white);
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.image-shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  animation: pulse 2s ease-in-out infinite;
}

.badge-content {
  text-align: center;
  color: var(--white);
}

.years {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Righteous', cursive;
}

.years-label {
  font-size: 0.9rem;
  line-height: 1.3;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.05);
  }
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212, 172, 13, 0.1);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-features {
  margin: 2.5rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 16px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(212, 172, 13, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-text p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==================== SERVICES SECTION ==================== */
.services {
  padding: 8rem 0;
  background: linear-gradient(135deg, #8f5b52 0%, #581b07 100%);
  color: var(--white);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-header .section-title {
  color: var(--white);
}

.section-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  position: relative;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  gap: 1rem;
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-family: 'Righteous', cursive;
}

/* Pricing Design Update */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
  padding: 2rem 0;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card-body {
  flex-grow: 1;
  margin-bottom: 2.5rem;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--gray);
  font-weight: 500;
}

.pricing-features li i {
  color: var(--secondary);
  font-size: 1.25rem;
}

.pricing-card-footer {
  text-align: center;
  margin-top: auto;
}

.pricing-card.popular {
  background: var(--gradient-hero);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--secondary);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--primary);
  padding: 0.4rem 1.5rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.pricing-card.popular .pricing-card-header h3 {
  color: var(--white);
}

.pricing-card.popular .pricing-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card.popular .pricing-amount,
.pricing-card.popular .period,
.pricing-card.popular .currency {
  color: var(--white);
}

.pricing-special-banner {
  background: linear-gradient(135deg, rgba(212, 172, 13, 0.1) 0%, rgba(212, 172, 13, 0.2) 100%);
  border: 2px dashed var(--secondary);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.pricing-special-banner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), inset 0 0 30px rgba(212, 172, 13, 0.2);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.banner-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: var(--gradient-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.banner-text h3 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.8);
}

.banner-pricing {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.banner-pricing .pricing-amount {
  justify-content: center;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  color: var(--primary);
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Righteous', cursive;
}

.period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== PRODUCT SECTION ==================== */
.products {
  padding: 8rem 0;
  background: linear-gradient(135deg, #581b07 0%, #cabd32 100%);
  color: var(--white);
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.product-card {
  padding: 3rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.product-card h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-features {
  margin-top: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--gray);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* ==================== COUNSELORS SECTION ==================== */
.counselors {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(84, 23, 32, 0.05) 0%, rgba(212, 172, 13, 0.05) 100%);
  color: var(--dark);
  overflow: hidden;
}

.counselors-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.counselors-header {
  text-align: center;
  margin-bottom: 4rem;
}

.counselors-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  /* Prevents shadow clipping */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.slider-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll-infinite 40s linear infinite;
  padding: 1rem;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.counselor-card {
  width: 320px;
  flex-shrink: 0;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  border-top: 4px solid transparent;
}

.counselor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--primary);
}

.counselor-image {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.counselor-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
  transition: var(--transition);
}

.counselor-card:hover .counselor-image img {
  border-color: var(--primary);
  transform: scale(1.05);
}

.counselor-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 4px solid var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.counselor-card:hover .counselor-badge {
  background: var(--gradient-primary);
  color: var(--white);
  transform: rotate(360deg);
}

.counselor-card h4 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.counselor-card>p {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.counselor-specialties {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.counselor-specialties span {
  padding: 0.4rem 1rem;
  background: rgba(212, 172, 13, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  border: 1px solid rgba(212, 172, 13, 0.3);
  transition: var(--transition);
}

.counselor-card:hover .counselor-specialties span {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ==================== TEAM SECTION ==================== */
.team {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(84, 23, 32, 0.08) 0%, rgba(212, 172, 13, 0.08) 100%);
  position: relative;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
  z-index: 0;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-slow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.team-image-wrapper {
  position: relative;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(180deg, var(--gradient-primary) 0%, rgba(255, 255, 255, 1) 100%);
  z-index: 1;
}

.team-image {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  position: relative;
}

.team-card:hover .team-image {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-social {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateX(-50%) translateY(-15px);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.team-info {
  padding: 1.5rem 2.5rem 2.5rem;
  background: var(--white);
  flex-grow: 1;
}

.team-info h4 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}

.team-role {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.team-info p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f5e0e0 100%);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.info-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.info-text p {
  color: var(--gray);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  margin-left: 12rem;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.whatsapp {
  background: #25d366;
}

.social-link.linkedin {
  background: #0077b5;
}

.contact-form-wrapper {
  padding: 3rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
}

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

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list i {
  color: var(--secondary);
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* ==================== QA CHATBOT ==================== */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-toggle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(84, 23, 32, 0.4);
}

.chatbot-container {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 350px;
  height: 500px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.chatbot-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.chatbot-title i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-close:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

.chatbot-messages {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fdfbfb;
}

.message {
  max-width: 80%;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-out;
}

.bot-message {
  background: #f0f2f5;
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quick-reply {
  background: rgba(212, 172, 13, 0.1);
  border: 1px solid var(--secondary);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quick-reply:hover {
  background: var(--secondary);
  color: var(--white);
}

.chatbot-input {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  gap: 0.5rem;
}

.chatbot-input input {
  flex: 1;
  border: none;
  background: #f0f2f5;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.chatbot-input input:focus {
  box-shadow: inset 0 0 0 2px rgba(212, 172, 13, 0.5);
}

.chatbot-input button {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-input button:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--white);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .chatbot-container {
    width: calc(100% - 2rem);
    right: 1rem;
    left: 1rem;
    height: 60vh;
    bottom: 5rem;
  }

  .chatbot-toggle {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  opacity: 0;
  transition: var(--transition-slow);
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="flip-left"] {
  transform: perspective(1000px) rotateY(-30deg);
}

[data-aos="flip-left"].aos-animate {
  transform: perspective(1000px) rotateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    height: 400px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pricing-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .visual-card {
    width: 100% !important;
  }

  .card-1 {
    height: 300px;
  }

  .card-2 {
    height: 250px;
  }
}