:root {
  /* Dynamic Color Palette - Professional & Educational */
  --primary: #0f172a;
  /* Deep Navy */
  --primary-light: #1e293b;
  --accent: #f59e0b;
  /* Golden Yellow */
  --accent-hover: #d97706;
  --text-main: #334155;
  --text-light: #64748b;
  --text-white: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --header-bg: rgba(15, 23, 42, 0.95);

  /* Constant colors */
  --white: #ffffff;
  --dark-navy: #0f172a;
  --dark-section-bg: #0f172a;
  --dark-section-text: #f8fafc;

  /* Font Family */
  --font-main: 'Outfit', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --top-bar-height: 35px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary: #f8fafc;
  --primary-light: #e2e8f0;
  --accent: #fbbf24;
  --accent-hover: #f59e0b;
  --text-main: #e2e8f0;
  --text-light: #94a3b8;
  --text-white: #f8fafc;
  --bg-light: #0f172a;
  --bg-white: #020617;
  --border-color: #1e293b;
  --card-bg: #1e293b;
  --header-bg: rgba(2, 6, 23, 0.95);
  --dark-section-bg: #020617;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--dark-navy);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

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

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

/* Top Header Bar */
.top-header {
  background-color: var(--primary-light);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact a {
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: var(--transition);
}

.top-contact a:hover {
  opacity: 1;
  color: var(--accent);
}

.top-utilities {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Header Adjustments for Top Bar */
header {
  height: var(--header-height);
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 35px;
  /* Height of top bar approx */
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-item-highlight {
  color: var(--accent) !important;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--dark-navy);
  border-color: var(--accent);
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-selector span {
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
}

.lang-selector span:hover {
  opacity: 1;
}

.lang-selector span.active {
  opacity: 1;
  color: var(--accent);
}

.lang-divider {
  opacity: 0.3 !important;
  cursor: default !important;
}

/* Hide Google Translate Bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-menu-value {
  display: none !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1543269865-cbf427effbad?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: var(--text-white);
  padding-top: calc(var(--header-height) + var(--top-bar-height));
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #cad1d9;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
  display: flex;
  gap: 15px;
}

/* Shapes for background visual interest */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -50px;
  right: -50px;
  opacity: 0.2;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  bottom: -100px;
  left: -100px;
  opacity: 0.15;
}

/* Features */
.features {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  background: var(--bg-white);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
}

/* Placement Test Section */
.placement-test {
  padding: 100px 0;
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.placement-test h2 {
  color: white;
}

.placement-test-card {
  max-width: 800px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Team Section */
.team {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.team-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.team-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 20px;
}

.team-card h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.team-card span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.testimonial-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 30px;
  right: 30px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.testimonial-user img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--primary);
}

/* Blog Section */
.blog {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-content h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: var(--primary);
}

/* WhatsApp Floating styles removed in favor of Unified Support Widget */

/* Courses Section */
.courses {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
  height: 220px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  position: relative;
}

.level-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--dark-navy);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.course-content {
  padding: 30px;
}

.course-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.course-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: block;
}

.course-features {
  list-style: none;
  margin-bottom: 25px;
}

.course-features li {
  margin-bottom: 10px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.form-box {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.btn-form {
  width: 100%;
  background-color: var(--accent);
  color: var(--dark-navy);
  border: none;
}

.btn-form:hover {
  background-color: var(--accent-hover);
  color: var(--dark-navy);
}

.success-message {
  display: none;
  margin-top: 20px;
  color: #2ecc71;
  /* Vibrant green */
  text-align: center;
  font-weight: 700;
  animation: fadeUp 0.4s ease forwards;
}

/* Footer */
footer {
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}




/* Unified Support Floating Button */
.support-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.support-main-btn {
  width: 65px;
  height: 65px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.support-main-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.support-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.support-widget.active .support-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-opt {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  border: none;
  cursor: pointer;
}

.support-opt span {
  position: absolute;
  right: 70px;
  background: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.support-opt:hover span {
  opacity: 1;
  visibility: visible;
  right: 60px;
}

.support-opt.whatsapp {
  background: #25d366;
}

.support-opt.faq {
  background: #3b82f6;
}

.support-opt.pqrs {
  background: #f59e0b;
  /* Accent color for PQRS */
}

.support-opt:hover {
  transform: scale(1.1);
}

.support-main-btn .fa-times {
  display: none;
}

.support-widget.active .support-main-btn .fa-headset {
  display: none;
}

.support-widget.active .support-main-btn .fa-times {
  display: inline-block;
}

/* FAQ Modal */
.faq-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-modal.active {
  display: flex;
  opacity: 1;
}

.faq-modal-content {
  background: var(--bg-white);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s ease;
}

.faq-header {
  padding: 30px;
  background: var(--dark-navy);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.faq-close {
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-close:hover {
  transform: rotate(90deg);
}

.faq-body {
  padding: 30px;
  overflow-y: auto;
}

.pqrs-intro {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* PQRS Form Styles */
.pqrs-form .form-group {
  margin-bottom: 20px;
}

.pqrs-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
}

.pqrs-form input,
.pqrs-form select,
.pqrs-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.pqrs-form input:focus,
.pqrs-form select:focus,
.pqrs-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .pqrs-form label {
  color: var(--text-white);
}

[data-theme="dark"] .pqrs-form input,
[data-theme="dark"] .pqrs-form select,
[data-theme="dark"] .pqrs-form textarea {
  background: #1e293b;
  border-color: #334155;
  color: white;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-toggle {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Pre-registration Section */
.pre-registration {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.pre-reg-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pre-reg-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #cbd5e1;
}

/* Map */
.map-container {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Footer */
footer {
  padding: 50px 0 30px;
  background-color: var(--dark-section-bg);
  /* Use consistent dark background */
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-socials a {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  /* Remove underline */
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.footer-legal-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.2);
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Media Queries */
@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-height) + var(--top-bar-height));
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    transform: translateY(-150%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    text-align: center;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Delay each link appearance */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .nav-links li:last-child {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }

  .nav-links.active {
    transform: translateY(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid,
  .courses-grid,
  .team-grid,
  .testimonials-grid,
  .blog-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 15px 0 25px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .services-grid::-webkit-scrollbar,
  .courses-grid::-webkit-scrollbar,
  .team-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card,
  .course-card,
  .team-card,
  .testimonial-card,
  .blog-card {
    min-width: 280px;
    width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin-bottom: 0 !important;
  }

  .testimonial-card,
  .team-card {
    width: 80%;
    /* Slightly smaller for these cards */
    min-width: 260px;
  }

  /* Mobile Adjustments for Support Widget */
  .support-widget {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .support-main-btn {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .support-opt {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .support-opt span {
    display: none !important;
  }
}

/* Logos Slider Section */
.logos-slider {
  padding: 50px 0;
  background-color: var(--bg-white);
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.logos-slider-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
  align-items: center;
}

.logo-item {
  width: auto;
  min-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  flex-shrink: 0;
}

.logo-item span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
  opacity: 0.6;
}

.logo-item:hover span {
  color: var(--accent);
  opacity: 1;
  transform: translateY(-3px);
}

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

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

  /* Must match item width * unique logos */
}

/* Dark mode adjustment - make them pop correctly */
[data-theme="dark"] .logo-item span {
  color: #94a3b8;
  opacity: 0.7;
}

[data-theme="dark"] .logo-item:hover span {
  color: var(--accent);
  opacity: 1;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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