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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  /* font-family: 'Poppins', sans-serif; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #4e54c8, #8f94fb);
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #0072ff, transparent);
  margin: 3rem auto;
  width: 80%;
  opacity: 0.4;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   Premises Section (Elegant Minimal – Refined)
   -------------------------------------- */
.premises-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(180deg, #f9fafb 0%, #eef2ff 100%);
  overflow: hidden;
}

.premises-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 123, 255, 0.15),
    transparent 60%
  );
  z-index: 0;
}

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

/* Ensure text under "The Premise" is visible on white background */
#premises .section-header > .info-list li {
  color: #334155; /* slate tone */
}

#premises .section-header > .info-list b {
  color: #1e3a8a; /* bold text in deep blue */
}

.premises-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  background-clip: text;       /* <-- standard, no prefix */
  color: transparent;
  text-align: left;
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.program-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.program-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* === Headings and Text === */
.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(90deg, #0056d2, #0072ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-date {
  font-size: 1.2rem;
  color: #374151;
  margin-top: 1rem;
  margin-top: 1rem;
  text-align: left;
}

/* === Enhanced Info Boxes Styling === */
.info-boxes {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* --- Info Cards: refined for professional minimalism --- */
.info-card {
  padding: 2rem;
  border-radius: 1.25rem;
  color: #f9fafb; /* slightly softer white for smoother contrast */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* --- Blue (first) card --- */
.info-card.minimal-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(37, 99, 235, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
}

/* --- Orange (second) card --- */
.info-card.minimal-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(251, 146, 60, 0.92));
  box-shadow: 0 10px 25px rgba(154, 52, 18, 0.25);
}

/* --- Subtle hover depth --- */
.info-card.minimal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
}

/* --- Info list readability --- */
.info-list {
  list-style-type: disc;
  margin-left: 1.4rem;
  line-height: 1.75;
  font-size: 1.05rem;
  text-align: justify;
  color: rgba(255, 255, 255, 0.95);
}

.info-list li {
  margin-bottom: 0.6rem;
}

.info-list b {
  color: #ffffff;
}

/* --- Section title refinement --- */
.section-title.elegant-title {
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #e8f2ff;
  text-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  margin-bottom: 0.6rem;
  position: relative;
}

/* === Section Title Modern Redesign === */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* === Animated Underline === */
.section-underline {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0077ff, #00d4ff);
  margin: 0.4rem auto 1rem auto;
  border-radius: 3px;
  animation: underlineGrow 1.2s ease forwards;
}

@keyframes underlineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 130px;
    opacity: 1;
  }
}

/* === Adjust spacing for smoother flow === */
.section-description {
  text-align: justify;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 100%;
  margin: 0 auto 1rem auto;
}

@media (min-width: 768px) {
  .section-description {
    padding: 0 2rem;
  }

  .info-boxes {
    grid-template-columns: 1fr 1fr;
  }
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* === Colored Themes (Elegant) === */
.blue-card {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.orange-card {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.green-card {
  background: linear-gradient(135deg, #059669, #047857);
}

.purple-card {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

/* === Fade In Animation === */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.9s ease forwards;
}

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

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

.visible {
  opacity: 1 !important;
  transform: none !important;
}

.elegant-title {
  position: relative;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;

  /* Bright readable fallback */
  color: #1b3ca6;

  /* Brighter gradient for text */
  background: linear-gradient(90deg, #4facfe, #00f2fe, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Add a gentle outer glow */
  text-shadow: 0 0 8px rgba(79, 172, 254, 0.6), 0 0 15px rgba(0, 242, 254, 0.4);

  /* Smooth shimmering effect */
  animation: textFade 5s ease-in-out infinite alternate;
}

@keyframes textFade {
  from {
    text-shadow: 0 0 6px rgba(79, 172, 254, 0.4), 0 0 12px rgba(0, 242, 254, 0.3);
  }
  to {
    text-shadow: 0 0 12px rgba(79, 172, 254, 0.9), 0 0 25px rgba(0, 242, 254, 0.6);
  }
}
/* ----------------------------------------
    Classes Section - Above
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
.brochure-card {
  position: sticky;
  top: 6rem;
}

.brochure-content {
  background: linear-gradient(135deg, #1E3A8A, #1e40af);
  border-radius: 1rem;
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.brochure-text {
  color: #bfdbfe;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.brochure-features {
  list-style: none;
  margin-bottom: 2rem;
}

.brochure-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #bfdbfe;
}

.brochure-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, #fb923c, #f97316);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.brochure-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #f97316, #ea580c);
}


/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, 10px);
  }
  60% {
    transform: translate(-50%, 5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .trainer-image-container {
    width: 16rem;
    height: 16rem;
  }
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .classes-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.classes-tracks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.track-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.track-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 0.75rem;
  color: #ffffff;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.track-card:hover .track-icon {
  transform: scale(1.1);
}

.track-icon.blue {
  background: linear-gradient(to right, #3b82f6, #2563eb);
}

.track-icon.teal {
  background: linear-gradient(to right, #14b8a6, #0d9488);
}

.track-icon.orange {
  background: linear-gradient(to right, #fb923c, #f97316);
}

.track-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 0.75rem;
}

.track-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
}

.bullet {
  width: 8px;
  height: 8px;
  background: #fb923c;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Trainers Section */
.trainers-section {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}
.trainer-image-container {
  position: relative;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  border: 8px solid #ffffff;
}

.trainer-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(2rem);
  animation: pulseglow 3s infinite;
}

.trainer-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulseglow {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

.trainer-info {
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .trainer-info {
    text-align: left;
    max-width: 24rem;
  }
}

/* 🧡 Trainer name, role, experience */
.trainer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.trainer-role {
    background: var(--some-color);
    color: white;
    padding: 8px 8px;
    border-radius: 12px;
    display: block;          /* 👈 makes it full width */
    width: 135%;             /* 👈 stretches across parent */
    text-align: center;      /* 👈 centers text nicely */
    box-sizing: border-box;  /* 👈 keeps padding consistent */
    word-wrap: break-word;   /* 👈 handles long text cleanly */
    margin-top: 10px;
}

.trainer-experience {
    font-size: 0.95rem;
    color: #475569;
}

/* 🌈 Give each trainer different background automatically */
.trainer-card:nth-child(1) {
    --trainer-bg: linear-gradient(135deg, #eff6ff, #dbeafe);
    --trainer-role-bg: #2563eb;
}

.trainer-card:nth-child(2) {
    --trainer-bg: linear-gradient(135deg, #fdf2f8, #fce7f3);
    --trainer-role-bg: #db2777;
}

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

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

.brochure-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 30px 0;  /* reduced top/bottom spacing */
}

.brochure-image {
    max-width: 100%;
    width: 400px;            /* you can adjust to fit the layout */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brochure-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

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

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

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: none;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, #2563eb, #1e40af);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeIn 0.5s ease-out;
}

.success-message svg {
  color: #10b981;
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #4b5563;
}

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

.contact-info-card {
  background: linear-gradient(135deg, #1E3A8A, #1e40af);
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.contact-icon svg {
  color: #fb923c;
}

.contact-detail h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail a {
  color: #bfdbfe;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: #ffffff;
}




.phone-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.phone-number {
  color: #0078d7;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-number:hover {
  color: #005fa3;
}

.phone-label {
  margin-left: 6px;
  font-size: 0.85rem;
  color: #e99157;
  font-weight: 400;
}

.phone-separator {
  color: #ccc;
  font-weight: 300;
}






.discount-card {
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

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

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

.discount-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem;
}

.discount-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.discount-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.discount-info {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

/* === Footer Section === */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

/* Soft glowing edge at top of footer */
footer::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: radial-gradient(circle at top center, rgba(59,130,246,0.4), transparent 70%);
  filter: blur(10px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  gap: 2rem;
}

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

.logo-icon {
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  align-items: center;
}

.footer-tagline {
  color: #bfdbfe;
  text-align: center;
  max-width: 28rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 22px;
  color: #e2e8f0;
  transition: all 0.35s ease, box-shadow 0.4s ease;
}

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

/* Hover Brand Colors */
.social-link.facebook:hover { background-color: #1877F2; color: white; }
.social-link.linkedin:hover { background-color: #0077B5; color: white; }
.social-link.youtube:hover { background-color: #FF0000; color: white; }
.social-link.whatsapp:hover { background-color: #25D366; color: white; }
.social-link.line:hover { background-color: #00C300; color: white; }
.social-link.x:hover { background-color: #000000; color: white; }

/* Soft Glow Effects for Social Icons */
.social-link.facebook:hover {
  background-color: #1877F2;
  color: white;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
}

.social-link.linkedin:hover {
  background-color: #0077B5;
  color: white;
  box-shadow: 0 0 15px rgba(0, 119, 181, 0.6);
}

.social-link.youtube:hover {
  background-color: #FF0000;
  color: white;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.social-link.whatsapp:hover {
  background-color: #25D366;
  color: white;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.social-link.line:hover {
  background-color: #00C300;
  color: white;
  box-shadow: 0 0 15px rgba(0, 195, 0, 0.6);
}

.social-link.x:hover {
  background-color: #000000;
  color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem auto;
  width: 80%;
}

.copyright {
  color: #bfdbfe;
  font-size: 0.875rem;
  text-align: center;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* @keyframes spin {
  to {
    transform: rotate(360deg);
  }
} */

/* ====== Navigation Bar ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255,0.6); /* semi-transparent black */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly; /* makes equal spacing between left, menu, and right */
  padding: 0.75rem 2rem;
  max-width: 1400px; /* slightly wider for breathing space */
  margin: 0 auto;
  gap: 1.5rem; /* adds equal gaps between sections */
  background: rgba(255, 255, 255, 0.3);
}

.nav-logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.partner-logo {
  height: 72px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding-right: 18px;
}

.partner-logo:hover {
  transform: scale(1.3);
  opacity: 0.9;
}

.main-logo {
  height: 42px;
  margin-left: 0; /* remove negative margin */
}

.main-logo:hover {
  transform: scale(1.3);
    opacity: 0.9;
}

@media (max-width: 768px) {
  .nav-logo-group {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .partner-logo, .main-logo {
    height: 36px;
  }
}

.nav-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1e293b;
}

.nav-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2563eb;
}

/* Hamburger icon (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e293b;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 2rem;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;              /* full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  font-family: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Blackboard effect for extra space */
  background-color: #000; /* fallback black */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Video fully covers viewport */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills area, may crop */
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.65);
}

/* Optional overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Hero text pushed below navigation */
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  margin-top: 70px; /* nav height */
}

@media (max-height: 500px) {
  .hero-video {
    height: 500px;
  }
}
/* ===============================
   TEXT STYLES
   =============================== */

/* Main Title */
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 5rem);  /* responsive scaling */
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  font-family: "Montserrat", "Poppins", sans-serif;
  color: #ffffff;
  white-space: nowrap;      /* stays on one line */
  overflow: visible;
  text-overflow: unset;
  line-height: 1.1;

  /* ✨ Elegant glow for readability */
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.5),    /* soft dark base shadow */
    0 0 12px rgba(0, 180, 255, 0.4), /* cool blue glow */
    0 0 30px rgba(0, 180, 255, 0.2); /* gentle outer halo */
}

/* Subheadings */
.hero-text h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 0.3rem;
}

.hero-text h3 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #c0c0c0;
  margin-bottom: 2rem;
}

/* ===============================
   BUTTON
   =============================== */
.hero-btn {
  position: relative;
  z-index: 3;
  padding: 14px 36px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3); /* 💫 subtle outer glow */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0099e6, #005fcc);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.6); /* brighter on hover */
}

/* ===============================
   SCROLL INDICATOR (Animated Arrow)
   -------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
  opacity: 0; /* start hidden */
  animation: arrowBounce 2s infinite ease-in-out;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 1.8s ease;
  animation-delay: 2s; /* delay bounce until fade-in begins */
}

.scroll-indicator svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.5;
  stroke: url(#arrowGradient);
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.5));
  transition: transform 0.3s ease, filter 0.4s ease;
}

/* Fade in + bounce effect */
.hero-loaded .scroll-indicator {
  opacity: 1;
  animation: arrowBounce 2s infinite ease-in-out;
}

/* Hover glow */
.scroll-indicator:hover svg {
  transform: translateY(3px) scale(1.1);
  filter: drop-shadow(0 0 20px rgba(0, 180, 255, 0.9));
}

/* Arrow bounce animation */
@keyframes arrowBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
/* --------------------------------
   SCROLL INDICATOR (Animated Arrow)
   =============================== */

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   The code below is just for the Tagline animation 
   ----------------------------------------------------- */
.hero-tagline {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-weight: 600;
  color: #d0eaff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 1.2px;
  white-space: nowrap;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;

  display: inline-block;
  text-align: center;
}

.hero-tagline .word {
  display: inline-block;
  vertical-align: bottom;
}

/* GO — slides in from the left */
.hero-tagline .word.go {
  color: #00c6ff;
  opacity: 0;
  transform: translateX(-120%);
  text-shadow: 0 0 8px rgba(0,180,255,0.6), 0 0 20px rgba(0,114,255,0.4);
  display: inline-block;
  transform-origin: left center;
}

/* Smooth cinematic slide-in */
@keyframes goSlideClean {
  0% {
    opacity: 0;
    transform: translateX(-360%);
    filter: blur(3px);
  }  
  20% {
    opacity: 0;
    transform: translateX(-180%);
    filter: blur(3px);
  }
  40% {
    opacity: 1;
    transform: translateX(-25%);
    filter: blur(1.5px);
  }
  80% {
    transform: translateX(0%);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* GROW typing */
.hero-tagline .word.grow {
  color: #00d1ff;
  opacity: 1;
  transform: scale(1);
  transform-origin: left bottom;
  margin-right: 9rem; /* space before GLOW */
}

/* Enlargement animation — expands to the right but stays baseline-aligned */
.hero-tagline .word.grow.active-grow {
  animation: growToRight 1.5s ease-out forwards;
}

@keyframes growToRight {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.7) translate(10%, 12%);
  }
}

/* GLOW typing base style */
.hero-tagline .word.glow {
  color: #00eaff;
  opacity: 1;
  transform: scale(1.7) translateY(10%); /* matches GROW's baseline */
  transform-origin: left bottom;
  margin-left: 9rem; /* 🔹 same space as between GO and GROW */
  text-shadow: 0 0 8px rgba(0, 220, 255, 0.6);
  transition: text-shadow 1.5s ease-in-out, color 1.5s ease-in-out;
}

/* When glowing effect activates */
.hero-tagline .word.glow.active-glow {
  color: #7fe9ff;
  text-shadow: 
    0 0 15px rgba(0, 220, 255, 0.9),
    0 0 30px rgba(0, 180, 255, 0.7),
    0 0 60px rgba(0, 150, 255, 0.4);
}

/* TOGETHER word styling */
.hero-tagline .word.together {
  color: #a2f4ff;
  opacity: 1;
  transform-origin: left bottom;
  margin-left: 6rem; /* 🔹 same spacing as between GROW and GLOW */
  transform: scale(1) translateY(10%); /* aligns with GLOW baseline */
  transition: transform 0.3s ease;
}

/* Optional glow/animation for TOGETHER */
.hero-tagline .word.together.active-together {
  color: #7fe9ff;
  text-shadow: 
    0 0 15px rgba(0, 220, 255, 0.9),
    0 0 30px rgba(0, 180, 255, 0.7),
    0 0 60px rgba(0, 150, 255, 0.4);
}

/* Progressive glow for TOGETHER */
.hero-tagline .word.together span {
  color: #a2f4ff;
  text-shadow: none;
  transition: text-shadow 0.3s ease-in-out;
}

/* As glow increases */
.hero-tagline .word.together.glow-step-1 span {
  text-shadow: 0 0 6px rgba(0, 220, 255, 0.3);
}

.hero-tagline .word.together.glow-step-3 span {
  text-shadow: 0 0 12px rgba(0, 220, 255, 0.5);
}

.hero-tagline .word.together.glow-step-5 span {
  text-shadow: 0 0 18px rgba(0, 220, 255, 0.7), 0 0 24px rgba(0, 180, 255, 0.4);
}

.hero-tagline .word.together.glow-step-7 span {
  text-shadow: 0 0 24px rgba(0, 220, 255, 0.9), 0 0 40px rgba(0, 180, 255, 0.6), 0 0 60px rgba(0, 150, 255, 0.4);
}

.hero-tagline .word.grow {
  margin-left: 1.5rem;
  margin-right: 3.5rem; /* slightly reduced */
}

.hero-tagline .word.glow {
  margin-left: 3.5rem; /* balanced left space */
}
/* -----------------------------------------------------
      The code above is just for the Tagline animation 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

/* ====== Price Display Styling ====== */
.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  /* adjust for background */
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.price-amount {
  font-size: 38px;
  /* ≈1cm on screen */
  font-weight: 800;
  line-height: 1;
}

.price-unit {
  font-size: 28px;
  /* 3/4 of the size of the main number */
  font-weight: 500;
  opacity: 0.9;
}





/* =====================================================
      Careers Section CSS - Beginning
   ----------------------------------------------------- */
/* === Refined AIT EC CAREERs+ Section === */
.career-flow {
  font-family: "Poppins", sans-serif;
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: #1e293b;
  text-align: center;
}

.career-flow .section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
  margin-bottom: 0.3rem;
}

.brochure-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2rem;
  position: relative;
}

.brochure-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* Phase Cards */
.phase {
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 1.8rem;
  text-align: left;
  transition: all 0.3s ease;
}

.phase:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Phase 1 */
.phase-one {
  border-top: 5px solid #3b82f6;
  flex: 1 1 320px;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

.phase-one h3 {
  color: #1e3a8a;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.phase-one ul {
  list-style-type: disc;
  margin-left: 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #334155;
}

/* ===== Elegant Gradient Arrow Between Phases ===== */
/* Arrow */
.arrow {
  font-size: 2rem;
  font-weight: 800;
  align-self: center;
  color: #0f172a; /* deep navy for strong contrast */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7), 0 0 12px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
  animation: arrowPulse 1.8s ease-in-out infinite;
}

/* Arrow Pulse Animation */
@keyframes arrowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

/* ===== Mobile View Adjustments ===== */
@media (max-width: 900px) {
  .arrow {
    font-size: 0; /* hide the HTML arrow text */
    margin: 1rem 0;
    animation: arrowPulseDown 2.5s infinite ease-in-out;
  }

  /* Gradient ↓ arrow generated via pseudo-element */
  .arrow::before {
    content: "↓";
    font-size: 2.8rem;
    background: linear-gradient(180deg, #3b82f6, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(30, 64, 175, 0.4);
    display: inline-block;
  }

  @keyframes arrowPulseDown {
    0%, 100% {
      opacity: 0.8;
      transform: translateY(0);
      text-shadow: 0 0 10px rgba(37, 99, 235, 0.35);
    }
    50% {
      opacity: 1;
      transform: translateY(8px);
      text-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
    }
  }
}

/* ===== Subtle Glow Sync with Arrow ===== */
.phase-one,
.phase-two {
  animation: phaseGlow 4s infinite ease-in-out;
  transition: box-shadow 0.3s ease;
}

/* Blue glow for Phase 1, Yellow glow for Phase 2 */
.phase-one {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.phase-two {
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

/* Pulse animation */
@keyframes phaseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4),
                0 0 20px rgba(250, 204, 21, 0.2);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.55),
                0 0 28px rgba(250, 204, 21, 0.45);
    transform: translateY(-3px);
  }
}

/* Phase 2 */
.phase-two {
  border-top: 5px solid #facc15;
  flex: 1.2 1 500px;
  background: linear-gradient(180deg, #fefce8, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phase-two h3 {
  color: #92400e;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Sub-Phases */
.sub-phases {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.sub-phase {
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1;
  transition: all 0.3s ease;
}

.sub-phase:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sub-phase h4 {
  color: #1e40af;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
}

.sub-phase p {
  color: #374151;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: justify;
}

/* Layout */
.career-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Connecting Flow Line (Desktop) ===== */
.career-row {
  position: relative;
}

.career-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(320px + 2rem); /* right edge of Phase 1 + gap */
  height: 4px;
  width: 200px;
  background: linear-gradient(90deg, rgba(59,130,246,0.6), rgba(250,204,21,0.6));
  border-radius: 2px;
  transform: translateY(-50%);
  animation: flowLine 4s infinite ease-in-out;
  z-index: 0;
}

/* Glow animation for the line */
@keyframes flowLine {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(59,130,246,0.5),
                0 0 12px rgba(250,204,21,0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(59,130,246,0.7),
                0 0 20px rgba(250,204,21,0.7);
  }
}

/* Hide flow line on mobile */
@media (max-width: 900px) {
  .career-row::before {
    display: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .career-row {
    flex-direction: column;
  }

  .phase {
    width: 90%;
    margin: 0 auto;
  }
}
/* -----------------------------------------------------
      Careers Section CSS - Beginning
   ===================================================== */


/* ===== Founders Section ===== */
.founders-section {
  background-color: #f9fafb;
  padding: 3rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid #e2e8f0;
}

.founders-container {
  max-width: 900px;
  margin: 0 auto;
  color: #1e293b;
  font-family: "Poppins", "Segoe UI", sans-serif;
  line-height: 1.7;
}

.founders-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: none;
  margin-bottom: 0.75rem;
}

.founders-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.founders-text {
  font-size: 0.98rem;
  text-align: justify;
  color: #334155;
}

.founders-list {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
  color: #334155;
  font-size: 0.97rem;
  text-align: justify;
}

.founders-emphasis {
  font-size: 0.95rem;
  color: #0f172a;
  font-style: italic;
  margin-top: 1rem;
  text-align: justify;
}


/* ===== Trainer Modal Styles ===== */
.trainer-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.trainer-modal-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: slideUp 0.4s ease;
    position: relative;
}

.trainer-modal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 10px 0 5px 0;
}

.trainer-modal-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

.trainer-modal-content p {
    text-align: justify;
    color: #333;
    line-height: 1.7;
    font-size: 0.98rem;
}

.trainer-popup-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59,130,246,0.3);
}

.trainer-close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.trainer-close:hover {
    color: #000;
}

.trainer-readmore {
    margin-top: 15px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.trainer-readmore:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(25px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.menu, .dropdown, .sub-dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown, .sub-dropdown {
  display: none;
  position: absolute;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.menu > li:hover > .dropdown,
.dropdown > li:hover > .sub-dropdown {
  display: block;
}

.dropdown a, .sub-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown a:hover, .sub-dropdown a:hover {
  background: #eef3ff;
  color: #004aad;
}

/* ====== Main Menu Styling ====== */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu > li > a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* ====== Dropdown ====== */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  display: none;
  min-width: 200px;
  z-index: 999;
  animation: fadeIn 0.2s ease-out;
}

.menu > li:hover > .dropdown {
  display: block;
}

/* Dropdown Links */
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  text-decoration: none;
  color: #1e293b;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.dropdown a:hover {
  background: linear-gradient(to right, #eef2ff, #e0e7ff);
  color: #1e3a8a;
}

/* ====== Sub Dropdown ====== */
.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  display: none;
  min-width: 180px;
  z-index: 999;
}

.dropdown li:hover > .sub-dropdown {
  display: block;
}

/* Sub-dropdown link styles */
.sub-dropdown a {
  padding: 10px 16px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.9rem;
}

.sub-dropdown a:hover {
  background: #f3f4f6;
  color: #2563eb;
}

/* ====== Arrow Indicators ====== */
.menu a img.arrow-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.menu li:hover > a img.arrow-icon {
  transform: rotate(180deg);
}

.dropdown li > a img.arrow-right {
  width: 12px;
  height: 12px;
  transform: rotate(0deg);
}

/* ====== Mobile-friendly adjustments ====== */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dropdown,
  .sub-dropdown {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    border-left: 3px solid #e0e7ff;
  }

  .menu > li:hover > .dropdown,
  .dropdown li:hover > .sub-dropdown {
    display: block;
  }
}

.trainers-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem; /* space between cards */
    flex-wrap: wrap; /* makes it responsive on small screens */
    margin-top: 2rem;
}

.trainer-card {
    flex: 1 1 45%; /* each takes about half the width */
    background: var(--trainer-bg, #f9fafb); /* fallback background */
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.trainer-info h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.3rem;
}

.trainer-info p {
  font-size: 0.95rem;
  color: #000;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .trainer-card {
    width: 100%;
  }
}

/* === Two Trainers Side by Side Layout === */
.trainers-grid.two-trainers {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Trainer card sizing */
.trainers-grid.two-trainers .trainer-card {
    flex: 1 1 45%;
    max-width: 45%;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.trainers-grid.two-trainers .trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Background colors for visual separation */
#trainer1 {
    background: #f0f8ff; /* Light blue */
}

#trainer2 {
    background: #fff8e7; /* Light cream */
}

/* Make responsive for mobile */
@media (max-width: 768px) {
    .trainers-grid.two-trainers {
        flex-direction: column;
        align-items: center;
    }

    .trainers-grid.two-trainers .trainer-card {
        max-width: 90%;
    }
}

/* === Tentative Program Section === */
.program-section {
  background: #faf7f4;
  padding: 60px 10%;
  border-top: 4px solid #b45309;
}

.program-note {
  font-size: 0.95rem;
  color: #374151;
  background: #fff;
  border-left: 4px solid #b45309;
  padding: 12px 16px;
  margin-bottom: 40px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.program-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.program-month {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-top: 5px solid #8b5e3b;
}

.program-month h3 {
  font-size: 1.3rem;
  color: #8b5e3b;
  margin-bottom: 20px;
  text-align: center;
}

.main-list {
  list-style-type: disc;
  padding-left: 20px;
}

.main-list > li {
  margin-bottom: 14px;
  color: #1e293b;
  line-height: 1.6;
}

.sub-list {
  list-style-type: circle;
  padding-left: 25px;
  margin-top: 6px;
}

.sub-list li {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.bonus {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.bonus h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #78350f;
}

.bonus p {
  margin: 5px 0;
  color: #3f3f46;
}

.addons {
  background: #f9fafb;
  border: 2px solid #e0e7ff;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.addons h3 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.addons ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.addons ul li {
  margin-bottom: 8px;
  color: #1e293b;
  line-height: 1.5;
}

.addon-list {
  list-style-type: "• ";
  padding-left: 1.5rem;
  color: #334155;
  line-height: 1.7;
  font-size: 1rem;
}

.addon-list ul {
  list-style-type: "○ ";
  margin-left: 1.5rem;
  color: #475569;
}

.addon-list ul ul {
  list-style-type: "▪ ";
  margin-left: 1.5rem;
  color: #64748b;
}

.addon-list ul ul ul {
  list-style-type: "↪ ";
  margin-left: 1.5rem;
  color: #64748b;
  font-style: italic;
}

.addons strong {
  color: #1e3a8a;
}

.award-box {
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.award-box h4 {
  color: #075985;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.award-box ul {
  list-style-type: "🏅 ";
  padding-left: 1.5rem;
  color: #1e3a8a;
  line-height: 1.8;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .program-columns {
    grid-template-columns: 1fr;
  }
}

#scrollToTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  background-color: #2563eb;
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

#scrollToTopBtn:hover {
  background-color: #1e40af;
  transform: translateY(-3px);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
   QUOTE POPUP STYLES - START, Below 
   ----------------------------------- */
/* THEME VARIABLES (default) */
:root {
  /* popup gradients */
  --popup-bg-1: #f12711;
  --popup-bg-2: #f5af19;

  /* border glow */
  --popup-border-1: rgba(0,255,255,0.28);
  --popup-border-2: rgba(0,160,255,0.18);

  /* text / heading */
  --popup-heading-text: #061826;
  --popup-heading-bg: rgba(255,255,255,0.9);
  --popup-quote-text: #ffffff;
  --popup-author-text: rgba(200,246,255,0.9);

  /* close button */
  --popup-close-bg: rgba(0,255,255,0.12);
  --popup-close-bg-hover: rgba(0,255,255,0.22);
  --popup-close-border: rgba(0,255,255,0.35);
  --popup-close-text: #ffffff;

  /* logo glow colors (changed by theme JS) */
  --logo-glow-color-1: rgba(0,200,255,0.9);
  --logo-glow-color-2: rgba(120,0,255,0.7);
  --logo-glow-strength: 0.9;

  /* theme UI (arrow color) */
  --theme-arrow-color: #ffffff;

  /* subtle transition for theme variable changes */
  --transition-fast: 0.32s ease;
  
  /* Detect *light themes* — background is bright */
  --popup-bg-brightness: 1; /* Default (Sunrise etc.) */
}

/* POPUP BACKDROP + CARD */
#quotePopup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 9999;
  pointer-events: none;
}

#quotePopup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#quotePopup .popup-content {
  position: relative;
  width: min(92%, 920px);
  max-width: 920px;
  min-height: 320px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: visible; /* default */

  background: linear-gradient(135deg, var(--popup-bg-1), var(--popup-bg-2));
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);

  transform: translateY(12px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease, background .45s ease;
  z-index: 10000;
}

/* animated border band (outer ring) */
#quotePopup .popup-content::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--popup-border-1), var(--popup-border-2), var(--popup-border-1));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: popupBorderFlow 7s linear infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes popupBorderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* show state */
#quotePopup.show .popup-content {
  transform: translateY(0);
  opacity: 1;
}

#quotePopup.show .theme-label {
  animation: slideInLabel 0.6s ease forwards;
}
@keyframes slideInLabel {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* LOGO + GLOW (CAREERs Plus+) */
.popup-logo-wrapper {
  position: relative;
  display: inline-flex;
  z-index: 20;
}

.popup-logo-main {
  width: 150px;
  position: relative;
  transition: transform var(--transition-fast), filter .28s ease;
  will-change: transform, filter;
  z-index: 20;
}

#quotePopup.show .popup-logo-main {
  transform: translateY(-4px) scale(1.02);
  animation: logoEntrancePulse 1.6s ease;
}
@keyframes logoEntrancePulse {
  0% { transform: translateY(0) scale(0.98); opacity: 0.92; }
  50% { transform: translateY(-6px) scale(1.03); opacity: 1; }
  100% { transform: translateY(-4px) scale(1.02); opacity: 1; }
}

/* glow pseudo elements (driven by variables changed by JS) */
.popup-logo-main::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, var(--logo-glow-color-1), transparent 20%),
              radial-gradient(circle at 70% 80%, var(--logo-glow-color-2), transparent 18%);
  filter: blur(28px);
  opacity: calc(var(--logo-glow-strength, 0.9) * 0.85);
  z-index: -1;
  pointer-events: none;
  transition: opacity .24s ease, filter .24s ease, transform .24s ease;
}

.popup-logo-main::before {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--logo-glow-color-1), var(--logo-glow-color-2), transparent);
  filter: blur(36px);
  opacity: calc(var(--logo-glow-strength, 0.9) * 0.55);
  z-index: -2;
  pointer-events: none;
  animation: logoTrail 3.6s linear infinite;
}
@keyframes logoTrail {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.55; }
  50% { transform: translateY(-6px) rotate(45deg) scale(1.05); opacity: 0.8; }
  100% { transform: translateY(0) rotate(90deg) scale(1); opacity: 0.55; }
}

/* mobile reduce intensity */
@media (max-width: 520px) {
  :root { --logo-glow-strength: 0.45; }
  .popup-logo-main::after { filter: blur(18px); }
  .popup-logo-main::before { filter: blur(24px); animation-duration: 4.2s; }
  .popup-logo-main { width: 110px; }
}

/* HEADING, QUOTE, AUTHOR, BUTTON */
.popup-heading {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  padding: 6px 14px;
  border-radius: 12px;
  color: var(--popup-heading-text);
  background: var(--popup-heading-bg);
  z-index: 20;
}

.popup-quote-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  color: var(--popup-quote-text);
  line-height: 1.56;
  margin: 8px auto;
  max-width: 64%;
  text-align: center;
  z-index: 20;

  /* Prevent words from splitting across lines */
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.quote-word { display:inline-block; white-space:nowrap; }

.popup-author-close-group {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top:8px;
  z-index:20;
}

.popup-quote-author {
  font-size:1.03rem;
  font-style:italic;
  color:var(--popup-author-text);
  margin:0;
}

/* IMPROVED CLOSE BUTTON STYLE */
.popup-close-btn {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
  border: 2px solid rgba(0,0,0,0.65);
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  border-radius: 50px; /* pill shape */
  cursor: pointer;
  
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;

  backdrop-filter: blur(4px);
  transition: 
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;

  box-shadow:
    0 3px 10px rgba(0,0,0,0.25),
    0 0 0px transparent;
}

.popup-close-btn:hover,
.popup-close-btn:focus {
  transform: translateY(-3px);

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.15)
  );

  box-shadow:
    0 6px 18px rgba(0,0,0,0.30),
    0 0 12px var(--logo-glow-color-1),
    0 0 20px var(--logo-glow-color-2);
}

.popup-close-btn:active {
  transform: scale(0.96);
}

/* AUTO-ADAPTIVE CLOSE BUTTON BORDER
   (light popup → dark border, dark popup → light border) */

/* Darker themes override brightness */
body[data-popup-theme="midnight"],
body[data-popup-theme="emerald"],
body[data-popup-theme="ait-blue"] {
  --popup-bg-brightness: 0; /* Dark */
}

/* Auto border color */
.popup-close-btn {
  border: 2px solid
    color-mix(in srgb,
      #000 calc((1 - var(--popup-bg-brightness)) * 100%),
      #fff calc(var(--popup-bg-brightness) * 100%)
    );
}

.popup-close-btn {
  border-width: 1px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* Slight hover improvement */
.popup-close-btn:hover {
  border-color:
    color-mix(in srgb,
      #000 calc((1 - var(--popup-bg-brightness)) * 100%),
      #fff calc(var(--popup-bg-brightness) * 100%)
    );
}

/* Universal logo visibility enhancer */
.popup-side-logo {
    position: relative;
    z-index: 5; /* above glows */
    filter:
        drop-shadow(0 0 2px #000)
        drop-shadow(0 0 4px #000)
        drop-shadow(0 0 6px #000);
    transition: filter .3s ease;
    width:100px;
    display:block;
    mix-blend-mode: normal;
}

/* For light themes, auto-switch to dark outline */
#quotePopup[data-theme-tone="light"] .popup-side-logo {
    filter:
        drop-shadow(0 0 2px #000)
        drop-shadow(0 0 5px #000);
}

/* For dark themes → switch to white glow */
#quotePopup[data-theme-tone="dark"] .popup-side-logo {
    filter:
        drop-shadow(0 0 2px #fff)
        drop-shadow(0 0 6px #fff);
}

/* UNIVERSAL LOGO VISIBILITY BOOST */
.popup-logo-main,
.popup-side-logo {
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.75))
    drop-shadow(0 0 3px rgba(0,0,0,0.6));
  mix-blend-mode: normal;
  transition: filter .25s ease-in-out;
}

.popup-side-logo::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 14px;
  background: radial-gradient(
    circle,
    var(--logo-glow-color-1) 0%,
    transparent 70%
  );
  opacity: 0.28;
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

/* UNIVERSAL LOGO VISIBILITY ENHANCER (Premium Option B) */

/* shared wrapper for all logos */
.logo-visibility-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* blurred adaptive halo behind logos */
.logo-visibility-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 16px;

  /* BACKDROP BLUR (main effect) */
  backdrop-filter: blur(10px) brightness(1.3) saturate(1.15);

  /* light/dark adaptation via mix-blend-mode */
  background: rgba(255,255,255,0.18);
  mix-blend-mode: soft-light;

  pointer-events: none;
  z-index: -1;
}

/* logo-specific subtle glow */
.logo-visibility-wrap::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 18px;

  background: radial-gradient(
      circle,
      rgba(255,255,255,0.32) 0%,
      rgba(255,255,255,0) 70%
  );

  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;

  transition: opacity .25s ease;
}

/* stronger glow when theme arrows are clicked */
.theme-arrow:active ~ .popup-content .logo-visibility-wrap::after,
.theme-arrow.active ~ .popup-content .logo-visibility-wrap::after {
  opacity: 0.6;
}

/* UNIVERSAL LOGO VISIBILITY SYSTEM
   For DN69, AITEC, and main popup logo */

/* Shared back plate (semi-transparent) */
.popup-side-logo-wrapper {
  position: relative;
  display: inline-block;
}

.popup-side-logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28); /* dark plate */
  backdrop-filter: blur(6px);
  z-index: -2;
}

/* Theme-adaptive glow */
.popup-side-logo-wrapper::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 20px;
  background: radial-gradient(
    circle,
    var(--logo-glow-color-1) 0%,
    transparent 70%
  );
  opacity: 0.65;
  filter: blur(22px);
  z-index: -3;
  transition: opacity .35s ease, filter .35s ease;
}

/* Add adaptive halo to main popup logo */
.popup-logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 20px;
  background: radial-gradient(
    circle,
    var(--logo-glow-color-1),
    transparent 70%
  );
  opacity: 0.55;
  filter: blur(30px);
  z-index: -2;
  transition: opacity .35s ease, filter .35s ease;
}

/* Subtle plate behind main logo */
.popup-logo-wrapper::after {
  content: "";
  position: absolute;
  inset: -14px;               /* size of the white plate */
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92); /* bright white */
  box-shadow:
     0 2px 12px rgba(0,0,0,0.25),        /* subtle depth */
     0 0 22px rgba(255,255,255,0.85);    /* halo glow */
  backdrop-filter: blur(6px);
  z-index: -1;
}

/* SIDE LOGOS (DN69 / AITEC) */
.popup-side-block {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  z-index: 18;
  pointer-events: none;
}
.popup-side-left { left: 5%; }
.popup-side-right { right: 5%; }

.popup-side-caption { margin-top:8px; font-family:"Poppins",sans-serif; font-weight:700; font-size:1rem; color:rgba(255,255,255,0.92); text-align:center; white-space:nowrap; }

/* THEME SWITCHER (top-right) */
.theme-switcher {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20000 !important;   /* ← FORCE above popup-content */
  pointer-events: auto;
}

/* circular arrow buttons */
.theme-arrow {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--theme-arrow-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  position: relative;
  z-index: 20001 !important;  /* ensure the arrow glyph is visible */
}

/* Provide visible glyph fallback via pseudo element */
.theme-arrow.prev::after {
  content: "<";
  font-weight:700;
  transform: translateX(-1px);
}

.theme-arrow.next::after {
  content: ">";
  font-weight:700;
  transform: translateX(1px);
}

/* neon visual state applied by JS */
.theme-arrow.neon {
  box-shadow:
    0 6px 18px rgba(0,0,0,0.28),
    0 0 20px rgba(255,255,255,0.06),
    0 0 26px var(--logo-glow-color-1);
  transform: translateY(-2px) scale(1.02);
  background: rgba(255,255,255,0.06);
}

/* press state */
.theme-arrow.active { transform: translateY(-1px) scale(0.98); }

/* small separator if needed */
.theme-separator { width:1px; height:22px; background: rgba(255,255,255,0.45); }

/* theme label bottom-right */
.theme-label {
  position: absolute;
  bottom: 12px;
  right: 16px;

  font-family: "Poppins", sans-serif;  /* Change here to any font option */
  font-size: 0.84rem;
  letter-spacing: 0.5px;

  color: rgba(255, 255, 255, 0.92);
  background: rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 8px;

  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);

  pointer-events: none;
  z-index: 11000;

  transition: opacity .35s ease, transform .3s ease;
    text-shadow: 0 0 4px var(--logo-glow-color-1);
}

/* theme fade helper */
#quotePopup .popup-content.theme-fade {
  transition: opacity .35s ease, transform .35s ease, background .35s ease;
  opacity: 0.96;
  filter: saturate(.98) blur(.1px);
}

/* Small screen adjustments */
@media (max-width: 900px) {
  #quotePopup .popup-content { width: min(96%, 700px); padding: 16px; }
  .popup-logo-main { width: 120px; }
  .popup-heading { font-size: 1.45rem; }
  .popup-quote-text { font-size: 1.3rem; max-width: 92%; }
  .popup-side-logo { width: 70px; top:72%; }
}
@media (max-width: 520px) {
  .popup-quote-text { font-size: 1.06rem; max-width:92%; line-height:1.45; }
  .theme-arrow { width: 32px; height: 32px; font-size: 0.95rem; }
  .popup-logo-main { width: 110px; }
}

/* FIX ARROWS HIDDEN ISSUE */
.theme-arrow {
  overflow: visible !important;
}
/* --------------------------------- 
   QUOTE POPUP STYLES - END, Above 
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top-color: #facc15;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* @keyframes spin {
  to {
    transform: rotate(360deg);
  }
} */

.loader-logo {
  width: 120px;
  animation: pulse 1.6s infinite ease-in-out;
}

/* @keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
} */

/* === 🌟 Full Page Preloader === */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a, #1e293b); /* dark soothing background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000; /* above everything */
  transition: opacity 1s ease, visibility 1s ease;
}

.page-preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Spinner or Logo container */
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Minimal spinner animation */
.preloader-spinner {
  width: 70px;
  height: 70px;
  border: 6px solid rgba(255, 255, 255, 0.25);
  border-top-color: #facc15;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Optional logo if used */
.preloader-logo {
  width: 120px;
  opacity: 0.9;
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
