.nav-link.active {
  color: #ffd14a !important;
}

.nav-link.active:after {
  width: 100% !important;
}

/* ====================== BASE & BACKGROUND ====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #aee7fa 0%, #fdf7a4 100%);
}

#bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  transition: background 1.2s ease;
  overflow: hidden;
}

/* SUN */
#sun {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffec70 78%, #ffc700 100%);
  box-shadow: 0 0 90px 24px #ffe053e7;
  transition: top 0.9s cubic-bezier(.6, .1, .62, 1.05),
    left 0.9s cubic-bezier(.6, .1, .62, 1.05),
    box-shadow 1.1s,
    opacity 0.7s,
    transform 0.9s;
  top: 15vh;
  left: 20vw;
}

/* CLOUD */
#cloud {
  position: absolute;
  width: 120px;
  height: 60px;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 10px 40px #ccc;
  opacity: 0.7;
  left: 70vw;
  top: 22vh;
  transition: left 1.2s, top 1.1s, opacity 1s;
}

#cloud:after,
#cloud:before {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

#cloud:before {
  width: 66px;
  height: 66px;
  left: -33px;
  top: -16px;
}

#cloud:after {
  width: 48px;
  height: 48px;
  left: 100px;
  top: 12px;
}

/* STARS */
#stars {
  position: absolute;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  pointer-events: none;
  transition: opacity 1.2s;
  opacity: 0;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0.85;
  box-shadow: 0 0 8px #fff, 0 0 14px #cddcfa;
  animation: twinkle 2.2s infinite;
}

@keyframes twinkle {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* ====================== LAYOUT ====================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.2rem;
  color: #216892;
  margin-bottom: 2rem;
  position: relative;
  text-align: center;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #ffd14a;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ====================== HEADER & NAV ====================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #216892;
  letter-spacing: 1px;
}

.logo span {
  color: #d400ff;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #216892;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .3s;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd14a;
  transition: width .3s;
}

.nav-link:hover {
  color: #ffd14a;
}

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

.nav-link.active {
  color: #ffd14a;
}

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

/* ====================== HERO ====================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-title {
  font-size: 3.2rem;
  color: #216892;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInDown 1s ease-out;
}

.highlight {
  color: #ffd14a;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #3e3e3e;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #216892;
  color: #ffd14a;
  border: 2px solid transparent;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.btn-primary.outline {
  background: transparent;
  border-color: #216892;
  color: #216892;
}

.btn-primary.glow {
  box-shadow: 0 0 20px rgba(255, 209, 74, 0.5);
}

.btn-primary:hover {
  background: #ffd14a;
  color: #216892;
  transform: translateY(-3px);
}

.btn-primary.outline:hover {
  background: #216892;
  color: #ffd14a;
  border-color: #ffd14a;
}

.pulse {
  animation: pulse 2s infinite;
}

/* ====================== FESTIVE BANNER ====================== */
.festive-banner {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 800px;
  border: 3px solid #ff0000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  animation: pulse-red 2s infinite;
}

.festive-banner h2 {
  color: #ff0000;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.festive-banner p {
  font-size: 1.2rem;
  color: #333;
  margin: 0.5rem 0;
  font-weight: 700;
}

.festive-banner .offer-highlight {
  color: #d400ff;
  font-size: 1.4rem;
  display: block;
  margin: 0.5rem 0;
}

.festive-banner .whatsapp-link {
  display: inline-block;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 10px;
  font-weight: bold;
  transition: transform 0.3s;
}

.festive-banner .whatsapp-link:hover {
  transform: scale(1.05);
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* ====================== PORTFOLIO SECTION ====================== */
.portfolio-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.3);
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  padding-bottom: 1rem;
  min-width: 300px;
  flex: 0 0 auto;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.portfolio-item h3 {
  margin: 1rem 0 0.5rem;
  color: #216892;
}

.intro-section {
  padding: 3rem 0;
  background: #ffffff26;
  backdrop-filter: blur(8px);
}

.intro-text {
  font-size: 1.2rem;
  color: #216892;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.services-section {
  padding: 5rem 0;
}

.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 24px;
  width: 350px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all .4s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover {
  transform: translateY(-12px);
  background: #216892;
  color: #ffd14a;
}

.service-card .icon {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: #a200ff;
  margin-bottom: 1rem;
}

.service-card:hover .icon {
  color: #fff;
}

.service-card h3 {
  margin: 0.8rem 0;
  color: inherit;
}

.service-card p {
  font-size: 1.2rem;
  color: inherit;
  opacity: 0.9;
}

.testimonials-section {
  padding: 5rem 0;
  background: rgba(174, 231, 250, 0.2);
}

.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 20px;
  max-width: 320px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #ffd14a;
}

.quote {
  font-style: italic;
  color: #216892;
  margin-bottom: 1rem;
}

.author {
  color: #35984a;
  font-weight: 600;
}

.whatsapp-cta {
  padding: 3rem 0;
  text-align: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all .3s;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.05);
}

.wa-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ====================== CONTACT PAGE ====================== */
.contact-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.8rem;
  color: #216892;
}

.page-subtitle {
  font-size: 1.3rem;
  color: #3e3e3e;
  margin-top: 1rem;
}

.contact-form-embedded {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  padding: 2.5rem;
  text-align: center;
}

.form-header h2 {
  font-size: 2rem;
  color: #216892;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-header p {
  color: #3e3e3e;
  font-size: 1.1rem;
}

.visme_d {
  width: 100% !important;
  min-height: 600px;
  border: none;
}

.contact-info-section {
  padding: 4rem 0;
}

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

.social-contact h3,
.map-contact h3 {
  color: #216892;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn img {
  width: 32px;
  height: 32px;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.address {
  margin-top: 1rem;
  font-size: 1rem;
  color: #216892;
  line-height: 1.7;
}

.address a {
  color: #216892;
  text-decoration: none;
  font-weight: 600;
}

.address a:hover {
  text-decoration: underline;
}

/* ====================== FOOTER ====================== */
.site-footer {
  background: #0f2d40;
  color: #aed7ea;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
  color: #ffd14a;
  margin-bottom: 1rem;
}

.footer-col h3 span {
  color: #aed7ea;
}

.footer-col a {
  color: #aed7ea;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
  transition: color .3s;
}

.footer-col a:hover {
  color: #ffd14a;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 209, 74, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 209, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 209, 74, 0);
  }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .service-card,
  .testimonial-card {
    width: 100%;
    max-width: 340px;
  }

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

  .form-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .form-header h2 {
    font-size: 1.6rem;
  }

  .visme_d {
    min-height: 700px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* ====================== COURSES PAGE ====================== */
.courses-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.8rem;
  color: #216892;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.3rem;
  color: #3e3e3e;
}

.courses-section {
  padding: 4rem 0;
}

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

.course-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 400px;
  /* adjust this for width */
  min-height: 600px;
  /* adjust this for height */
}

.course-card:hover {
  transform: translateY(-10px);
  background: #216892;
  color: #ffd14a;
  box-shadow: 0 15px 35px rgba(33, 104, 146, 0.3);
}

.course-icon {
  font-weight: 900;
  font-size: 2.2rem;
  color: #ffd14a;
  margin-bottom: 0.8rem;
}

.course-card:hover .course-icon {
  color: #fff;
}

.course-card h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0;
  color: inherit;
}

.duration {
  font-size: 1rem;
  color: #216892;
  margin: 0.5rem 0;
}

.course-card:hover .duration {
  color: #aee7fa;
}

.duration i {
  margin-right: 6px;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #d400ff;
  margin: 1rem 0;
}

.course-card:hover .price {
  color: #ffd14a;
}

.features {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #3e3e3e;
}

.course-card:hover .features {
  color: #aed7ea;
}

.features li {
  margin: 0.4rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.features li:before {
  content: "✓";
  color: #25D366;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.course-card:hover .features li:before {
  color: #ffd14a;
}

.course-card .btn-primary {
  margin-top: auto;
  /* ← pushes button to bottom */
  width: 100%;
}

/* ====================== SCROLL-TO-TOP BUTTON ====================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #216892;
  color: #ffd14a;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(33, 104, 146, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #ffd14a;
  color: #216892;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 209, 74, 0.4);
}

/* ====================== BLOG PAGE ====================== */
.blog-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.blog-section {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(33, 104, 146, 0.2);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.4rem;
  color: #216892;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.8rem;
}

.meta i {
  margin-right: 5px;
  color: #d400ff;
}

.blog-content p {
  flex-grow: 1;
  color: #3e3e3e;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.read-more {
  color: #216892;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  align-self: flex-start;
  transition: color 0.3s;
}

.read-more:hover {
  color: #ffd14a;
}

/* ====================== ABOUT PAGE ====================== */
.about-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.about-hero .page-subtitle {
  font-size: 1.2rem;
  color: #216892;
  margin-top: 0.5rem;
}

/* ====================== STORY SECTION ====================== */
.story-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc5e, #eef4f879);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative shapes (optional aesthetic effect) */
.story-section::before,
.story-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(33, 104, 146, 0.08);
  z-index: 0;
}

.story-section::before {
  width: 250px;
  height: 250px;
  top: -50px;
  right: -80px;
}

.story-section::after {
  width: 150px;
  height: 150px;
  bottom: 40px;
  left: -60px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-text h2 {
  font-size: 2.5rem;
  color: #216892;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}

.story-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: #ffd14a;
  border-radius: 2px;
}

.story-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #222;
  margin-bottom: 1.2rem;
  transition: color 0.3s ease;
}

.story-text p:hover {
  color: #216892;
}

.story-image img {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  width: 70%;
  transform: scale(1);
  transition: all 0.4s ease;
}

.story-image img:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Responsive Design */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .story-image {
    order: -1;
  }
}

/* VMV */
.vmv-section {
  padding: 5rem 0;
}

.vmv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vmv-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.vmv-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.glow-vision i {
  color: #d400ff;
}

.glow-mission i {
  color: #25D366;
}

.glow-values i {
  color: #ffd14a;
}

.vmv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(33, 104, 146, 0.3);
}

/* Team */
.team-section {
  padding: 5rem 0;
  background: rgba(174, 231, 250, 0.15);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.3rem;
  color: #216892;
  margin: 1rem 0 0.3rem;
}

.role {
  color: #d400ff;
  font-weight: 600;
  font-size: 0.95rem;
}

.team-card p:last-child {
  font-size: 0.9rem;
  color: #555;
  padding: 0 1rem 1rem;
}

/* CTA */
.about-cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, #216892, #d400ff);
  color: white;
}

.about-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

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

  .story-image {
    order: -1;
  }

  .story-image img {
    border-radius: 16px;
  }

  .about-hero .page-title {
    font-size: 2.2rem;
  }
}

/* ====================== TECHY SEARCH BUTTON ====================== */
.search-trigger {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #216892, #d400ff);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(33, 104, 146, 0.6);
  z-index: 999;
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
}

.search-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(212, 0, 255, 0.7);
}

.search-trigger i {
  font-size: 1.6rem;
  color: #ffd14a;
  margin-bottom: 4px;
}

.search-trigger span {
  font-size: 0.7rem;
  color: #ffd14a;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Radar Pulse */
.radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 209, 74, 0.6);
  border-radius: 50%;
  animation: radar 3s infinite;
}

.radar-circle:nth-child(2) {
  animation-delay: 1.5s;
  border-color: rgba(212, 0, 255, 0.6);
}

@keyframes radar {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

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

@keyframes float {

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

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

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 40, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 209, 74, 0.3);
}

.search-header {
  background: linear-gradient(90deg, #216892, #d400ff);
  padding: 1rem 1.5rem;
  color: #ffd14a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.search-header i {
  font-size: 1.4rem;
}

.close-search {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffd14a;
  cursor: pointer;
}

#searchInput {
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  outline: none;
}

#searchInput::placeholder {
  color: rgba(255, 209, 74, 0.7);
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem;
}

.search-result-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  transition: all 0.3s;
  cursor: pointer;
}

.search-result-item:hover {
  background: rgba(255, 209, 74, 0.2);
  transform: translateX(10px);
}

.search-result-item h4 {
  color: #ffd14a;
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.search-result-item p {
  color: #aed7ea;
  font-size: 0.95rem;
  margin: 0;
}

/* ====================== ENROLLMENT POPUP ====================== */
.enroll-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.enroll-modal.active {
  opacity: 1;
  visibility: visible;
}

.enroll-container {
  background: linear-gradient(135deg, #216892, #d400ff);
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  width: 90%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 40px rgba(212, 0, 255, 0.4);
  animation: popup 0.6s ease-out;
}

@keyframes popup {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

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

.close-enroll {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffd14a;
  cursor: pointer;
}

.enroll-header {
  text-align: center;
  color: white;
  margin-bottom: 1rem;
}

.enroll-header i {
  font-size: 2.2rem;
  color: #ffd14a;
  margin-bottom: 0.4rem;
}

.enroll-header h2 {
  font-size: 1.3rem;
  margin: 0.4rem 0;
}

#selectedCourse {
  font-weight: bold;
  color: #ffd14a;
  font-size: 1rem;
}

/* INPUTS ONLY (transparent style) */
#enrollForm input {
  width: 100%;
  padding: 0.7rem;
  margin: 0.6rem 0;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

#enrollForm input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* ====================== CLEAN PROFESSIONAL DROPDOWN ====================== */
.select-wrapper {
  position: relative;
  margin: 0.6rem 0;
}

#enrollForm select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin: 0;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  background: #000000;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: menulist;
  /* ✅ restores default dropdown arrow */
  -moz-appearance: menulist;
  appearance: menulist;
}

#enrollForm select:focus {
  outline: none;
  background-color: #111111;
  box-shadow: 0 0 0 4px rgba(255, 209, 74, 0.5),
    0 0 20px rgba(255, 209, 74, 0.3);
  transform: translateY(-2px);
}

#enrollForm select option {
  background: #1a1a1a;
  color: white;
  padding: 12px 16px;
  font-size: 0.95rem;
}

#enrollForm select option:hover {
  background: #ffd14a !important;
  color: #000 !important;
}

/* PLACEHOLDER TEXT STYLING */
#professionSelect option:disabled {
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
}

#professionSelect option:not(:disabled) {
  color: white !important;
}

#enrollForm select:focus {
  outline: none;
  background-color: #111111 !important;
  box-shadow: 0 0 0 4px rgba(255, 209, 74, 0.5), 0 0 20px rgba(255, 209, 74, 0.3);
  transform: translateY(-2px);
}

#enrollForm select option {
  background: #1a1a1a;
  color: white;
  padding: 12px 16px;
  font-size: 0.95rem;
}

#enrollForm select option:hover {
  background: #ffd14a !important;
  color: #000 !important;
}

/* PLACEHOLDER TEXT STYLING */
#professionSelect option:disabled {
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
}

#professionSelect option:not(:disabled) {
  color: white !important;
}

/* ====================== REST OF STYLES ====================== */
.price-box {
  background: rgba(255, 209, 74, 0.2);
  padding: 0.8rem;
  border-radius: 10px;
  text-align: center;
  margin: 0.8rem 0;
  color: white;
}

#displayPrice {
  color: #ffd14a;
  font-size: 1.4rem;
}

.pay-btn {
  width: 100%;
  padding: 0.8rem;
  background: #ffd14a;
  color: #216892;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.8rem;
  transition: all 0.3s;
}

.pay-btn:hover {
  background: white;
  transform: scale(1.04);
}

.payment-section {
  text-align: center;
  color: white;
  padding: 1rem 0;
}

.payment-section h3 {
  margin-bottom: 1rem;
  color: #ffd14a;
}

.qr-code {
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.upload-section {
  margin: 1rem 0;
}

.upload-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.upload-section input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.confirm-btn {
  width: 100%;
  padding: 0.8rem;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s;
}

.confirm-btn:hover {
  background: #128C7E;
  transform: scale(1.04);
}

.success-message {
  display: none;
  text-align: center;
  color: white;
  padding: 1.5rem;
}

.success-message i {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 0.8rem;
}

/* ============================================= */
/* PRODUCTS PAGE – CLIENT-FOCUSED (ADD TO END OF styles.css) */
/* ============================================= */

.products-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(33, 105, 146, 0.194), rgba(0, 255, 170, 0.797));
  color: white;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518432031352-d6fcadf21d70?q=80&w=1974&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.15;
  z-index: -1;
}

.products-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 209, 74, 0.8);
  animation: glowText 3s infinite alternate;
}

.products-hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.products-section {
  padding: 5rem 0;
  background: rgba(240, 248, 255, 0.3);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  border: 1px solid rgba(255, 209, 74, 0.25);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #216892, #d400ff, #25D366);
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-20px) scale(1.04);
  box-shadow: 0 30px 80px rgba(212, 0, 255, 0.35);
}

.product-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.2) rotate(2deg);
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  font-size: 1.9rem;
  color: #216892;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.product-price {
  font-size: 1.7rem;
  color: #d400ff;
  font-weight: 900;
  margin: 1rem 0;
  text-shadow: 0 0 10px rgba(212, 0, 255, 0.4);
}

.product-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.product-features li {
  padding: 0.7rem 0;
  color: #333;
  position: relative;
  padding-left: 2.2rem;
  font-size: 1rem;
}

.product-features li:before {
  content: "✦";
  color: #ffd14a;
  position: absolute;
  left: 0;
  font-size: 1.4rem;
  font-weight: bold;
  animation: sparkle 2s infinite;
}

.demo-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.demo-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.demo-btn:hover::after {
  width: 300px;
  height: 300px;
}

.demo-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6);
}

/* Big CTA */
.products-cta {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(135deg, #d400ff, #216892);
  color: white;
  position: relative;
  overflow: hidden;
}

.products-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 209, 74, 0.2), transparent 70%);
  animation: rotate 30s linear infinite;
}

.products-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.products-cta p {
  font-size: 1.35rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
}

.big-demo-btn {
  font-size: 1.5rem;
  padding: 1.5rem 4.5rem;
  background: #ffd14a;
  color: #216892;
  border-radius: 60px;
  font-weight: 900;
  box-shadow: 0 15px 40px rgba(255, 209, 74, 0.5);
  animation: pulseGlow 2s infinite;
}

/* Animations */
@keyframes glowText {
  from {
    text-shadow: 0 0 20px rgba(255, 209, 74, 0.6);
  }

  to {
    text-shadow: 0 0 40px rgba(255, 209, 74, 1);
  }
}

@keyframes sparkle {

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

  50% {
    transform: scale(1.3);
    color: #25D366;
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 15px 40px rgba(255, 209, 74, 0.5);
  }

  50% {
    box-shadow: 0 25px 60px rgba(255, 209, 74, 0.9);
  }
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 2.6rem;
  }

  .products-hero p {
    font-size: 1.2rem;
  }

  .products-cta h2 {
    font-size: 2.4rem;
  }

  .big-demo-btn {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
  }

  .product-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 480px) {
  .products-grid {
    gap: 2rem;
  }

  .product-content {
    padding: 1.5rem;
  }
}

/* ====================== CLIENT ATTRACTION POPUP ====================== */
.client-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
}

.client-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(135deg, #216892, #d400ff);
  padding: 3rem 2.5rem;
  border-radius: 28px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 80px rgba(212, 0, 255, 0.6);
  border: 2px solid #ffd14a;
  animation: popupGlow 3s infinite alternate;
}

.popup-content h2 {
  font-size: 2.4rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px #ffd14a;
}

.popup-content p {
  font-size: 1.2rem;
  color: #ffd14a;
  margin-bottom: 2rem;
}

.popup-btn {
  background: #ffd14a;
  color: #216892;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(255, 209, 74, 0.5);
  transition: all 0.3s;
}

.popup-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 50px rgba(255, 209, 74, 0.8);
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====================== FLOATING ACTION BUTTONS ====================== */
.fab-container {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-container a {
  text-decoration: none !important;
  /* Removes underline */
  line-height: 0;
  /* Prevents extra space inside circle */
}

.fab-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  animation: float 3s infinite ease-in-out;
}

.fab-whatsapp:hover {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.9), 0 0 50px rgba(37, 211, 102, 0.5);
}

.fab-call:hover {
  box-shadow: 0 0 25px rgba(212, 0, 255, 0.9), 0 0 50px rgba(212, 0, 255, 0.5);
}

.fab-demo:hover {
  box-shadow: 0 0 25px rgba(255, 209, 74, 0.9), 0 0 50px rgba(255, 209, 74, 0.5);
}

.fab-whatsapp {
  background: #25D366;
}

.fab-call {
  background: #d400ff;
}

.fab-demo {
  background: linear-gradient(135deg, #ffffff, #ffd14a);
  color: #216892;
}

@keyframes popupGlow {
  from {
    box-shadow: 0 0 80px rgba(212, 0, 255, 0.6);
  }

  to {
    box-shadow: 0 0 120px rgba(212, 0, 255, 0.9);
  }
}

@keyframes float {

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

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

/* Services Icons */
.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}


/* ====================== MIND KRAFT LOADER v3 – FULLY FIXED & UNIVERSAL COMPATIBILITY ====================== */
#mindkraft-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1a0033, #000000);
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', Arial, sans-serif;
  transition: all 1.5s ease-out;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  -webkit-user-select: none;
}

#mindkraft-loader.complete {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

/* ====================== LOADER ELEMENTS ====================== */
.loader-container {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.neural-brain {
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
  position: relative;
}

.brain-glow {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #d400ff 10%, transparent 70%);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulseGlow 2s infinite;
  box-shadow: 0 0 100px #d400ff, inset 0 0 60px #216892;
}

.brain-lines {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, #ffd14a 3px, transparent 3px),
    radial-gradient(circle at 70% 70%, #25D366 3px, transparent 3px),
    radial-gradient(circle at 50% 50%, #d400ff 4px, transparent 4px);
  background-size: 50px 50px;
  border-radius: 50%;
  animation: brainRotate 12s linear infinite;
}

/* ====================== TEXT & GLOW ====================== */
.loader-text h1 {
  font-size: 5.5rem;
  margin: 0;
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1.2;
}

.loader-text h1 span {
  background: linear-gradient(135deg, #ffd14a, #d400ff, #25D366);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* ✅ Correct vendor-prefixed property */
  text-shadow: 0 0 40px rgba(255, 209, 74, 0.8);
  display: inline-block;
}

.loader-text h1 span:first-child {
  animation: glowLeft 3s infinite alternate;
}

.loader-text h1 span:last-child {
  animation: glowRight 3s infinite alternate-reverse;
}

.loader-text h2 {
  font-size: 2.2rem;
  color: #ffd14a;
  margin: 10px 0;
  letter-spacing: 12px;
  font-weight: 300;
}

.loader-text p {
  font-size: 1.1rem;
  color: #cccccc;
  margin: 15px 0 30px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* ====================== PROGRESS BAR ====================== */
.progress-container {
  width: 380px;
  max-width: 90%;
  margin: 0 auto 20px;
}

.progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 209, 74, 0.3);
  box-shadow: 0 0 20px rgba(212, 0, 255, 0.2);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #d400ff, #ffd14a, #25D366);
  border-radius: 6px;
  transition: width 0.3s ease;
  box-shadow: 0 0 30px #d400ff;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px black;
  pointer-events: none;
}

/* ====================== STATUS TEXT ====================== */
.status {
  font-size: 1rem;
  color: #ffd14a;
  margin-top: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  animation: flicker 2s infinite;
  text-shadow: 0 0 15px #ffd14a;
}

/* ====================== PARTICLES ====================== */
.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: floatUp 8s infinite linear;
  box-shadow: 0 0 15px currentColor;
}

/* ====================== ANIMATIONS ====================== */
@keyframes pulseGlow {

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

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

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes glowLeft {
  from {
    text-shadow: 0 0 30px #ffd14a;
  }

  to {
    text-shadow: 0 0 60px #ffd14a;
  }
}

@keyframes glowRight {
  from {
    text-shadow: 0 0 30px #d400ff;
  }

  to {
    text-shadow: 0 0 60px #d400ff;
  }
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes floatUp {
  from {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  to {
    transform: translateY(-100px) rotate(360deg);
    opacity: 1;
  }
}

/* ====================== MOBILE OPTIMIZATION ====================== */
@media (max-width: 768px) {
  .loader-text h1 {
    font-size: 3.2rem;
    letter-spacing: 4px;
  }

  .loader-text h2 {
    font-size: 1.5rem;
    letter-spacing: 6px;
  }

  .neural-brain {
    width: 140px;
    height: 140px;
  }

  .progress-container {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .loader-text h1 {
    font-size: 2.6rem;
  }

  .loader-text h2 {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }
}


/* ====================== NAVBAR LINK MATCHING ====================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.0rem;
}

/* Ensure dropdown blends with nav */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Make the "More" button look like normal nav links */
.dropbtn {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

/* Hover effect same as nav-link */
.dropbtn:hover,
.dropdown:hover .dropbtn {
  color: #ffb400;
  /* match your hover accent color */
}

/* Dropdown box styling */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  top: 100%;
  left: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  z-index: 999;
  overflow: hidden;
}

/* Inside links (dropdown items) */
.dropdown-content a {
  color: #333;
  padding: 0.8rem 1.2rem;
  display: block;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile view fix */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }
}



/* ====================== GALLERY PAGE – FUTURISTIC & INTERACTIVE ====================== */
.gallery-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 254, 190, 0.881), rgba(255, 247, 103, 0.9));
  color: rgb(140, 0, 255);
  position: relative;
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=1974') center/cover;
  opacity: 0.15;
  z-index: -1;
}

.gallery-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 209, 74, 0.8);
}

.gallery-hero p {
  font-size: 1.4rem;
  opacity: 0.95;
}

.gallery-filters {
  padding: 2rem 0;
  background: rgba(240, 248, 255, 0.3);
  text-align: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid #216892;
  color: #216892;
  padding: 0.8rem 1.8rem;
  margin: 0 0.5rem;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #216892;
  color: white;
  box-shadow: 0 0 20px rgba(33, 104, 146, 0.5);
  transform: translateY(-3px);
}

.gallery-grid-section {
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  opacity: 1;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(212, 0, 255, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.overlay h3 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: #ffd14a;
}

.overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 0 80px rgba(212, 0, 255, 0.6);
}

.lightbox-caption {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  text-align: center;
  font-size: 1.1rem;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-lightbox:hover {
  background: #d400ff;
  transform: rotate(90deg);
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2.6rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-caption {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}



/* ====================== MOBILE HEADER ====================== */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  background: rgba(33, 104, 146, 0.98);
  color: #ffd14a;
  padding: 1rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-logo {
  font-size: 1.2rem;
  font-weight: 700;
}

.mobile-logo span {
  color: white;
}

.menu-toggle {
  background: none;
  border: none;
  color: #ffd14a;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hide desktop header on mobile */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-header {
    display: flex;
  }
}

/* ====================== MOBILE SIDEBAR ====================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(33, 104, 146, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 2rem;
  transition: right 0.35s ease;
  z-index: 1090;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #ffd14a;
  font-size: 2rem;
  cursor: pointer;
}

/* Scrollbar */
.mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: #ffd14a;
  border-radius: 3px;
}

/* Menu links */
.mobile-menu a {
  color: #ffd14a;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0.7rem 0;
  padding: 0.6rem 1rem;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s;
}

.mobile-menu a:hover {
  background: #ffd14a;
  color: #216892;
}

/* Dropdown (More) styling */
.mobile-menu details {
  width: 100%;
  text-align: center;
  margin: 0.7rem 0;
}

.mobile-menu details summary {
  color: #ffd14a;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  list-style: none;
  transition: all 0.3s;
}

.mobile-menu details summary:hover,
.mobile-menu details[open] summary {
  background: #ffd14a;
  color: #216892;
}

.mobile-menu details summary::after {
  content: " ▾";
  transition: transform 0.3s ease;
}

.mobile-menu details[open] summary::after {
  transform: rotate(180deg);
}

.mobile-menu details a {
  display: block;
  color: #fff9e6;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.4rem 0;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  transition: color 0.3s;
}

.mobile-menu details a:hover {
  color: #ffd14a;
}

/* Hide mobile sidebar on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* ====================== PORTFOLIO SECTION ====================== */
.portfolio-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.portfolio-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* Space for arrows */
}

.portfolio-slider {
  overflow: hidden;
  width: 100%;
}

.slide-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  width: max-content;
  /* Ensure track is wide enough */
}

.portfolio-item {
  min-width: 300px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.portfolio-item h3 {
  font-size: 1.2rem;
  color: #216892;
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  font-size: 0.9rem;
  color: #555;
}

/* Placeholder Item */
.placeholder-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed #216892;
}

.placeholder-content {
  color: #216892;
}

.placeholder-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #216892;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: #ffd14a;
  color: #216892;
}

.slider-arrow-left {
  left: 0;
}

.slider-arrow-right {
  right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-slider-wrapper {
    padding: 0 30px;
  }

  .portfolio-item {
    min-width: 280px;
  }
}

/* ====================== PROMO BANNER ====================== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, #d400ff, #216892);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 2000;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-btn {
  background: #ffd14a;
  color: #216892;
  padding: 4px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.promo-btn:hover {
  transform: scale(1.05);

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #216892;
}

/* Adjust headers to sit below banner */
.site-header,
.mobile-header {
  top: 40px !important;
}

.mobile-menu {
  top: 40px !important;
  height: calc(100vh - 40px) !important;
}

.mobile-menu details summary::after {
  content: " ▾";
  transition: transform 0.3s ease;
}

.mobile-menu details[open] summary::after {
  transform: rotate(180deg);
}

.mobile-menu details a {
  display: block;
  color: #fff9e6;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.4rem 0;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  transition: color 0.3s;
}

.mobile-menu details a:hover {
  color: #ffd14a;
}

/* Hide mobile sidebar on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* ====================== TESTIMONIALS SECTION ====================== */
.testimonials-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.client-avatar i {
  font-size: 3rem;
  color: #216892;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #444;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.client-info h4 {
  font-size: 1.1rem;
  color: #216892;
  margin-bottom: 0.2rem;
}

.client-info span {
  font-size: 0.9rem;
  color: #666;
}

/* ====================== PORTFOLIO SECTION ====================== */
.portfolio-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.portfolio-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* Space for arrows */
}

.portfolio-slider {
  overflow: hidden;
  width: 100%;
}

.slide-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  width: max-content;
  /* Ensure track is wide enough */
}

.portfolio-item {
  min-width: 300px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.portfolio-item h3 {
  font-size: 1.2rem;
  color: #216892;
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  font-size: 0.9rem;
  color: #555;
}

/* Placeholder Item */
.placeholder-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed #216892;
}

.placeholder-content {
  color: #216892;
}

.placeholder-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #216892;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: #ffd14a;
  color: #216892;
}

.slider-arrow-left {
  left: 0;
}

.slider-arrow-right {
  right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-slider-wrapper {
    padding: 0 30px;
  }

  .portfolio-item {
    min-width: 280px;
  }
}

/* ====================== PROMO BANNER ====================== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, #d400ff, #216892);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 2000;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-btn {
  background: #ffd14a;
  color: #216892;
  padding: 4px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #216892;
}

.site-header,
.mobile-header {
  top: 40px !important;
}

/* Adjust mobile menu */
.mobile-menu {
  top: 40px !important;
  height: calc(100vh - 40px) !important;
}

/* Adjust hero sections to prevent overlap */
.hero,
.intro-section,
.courses-hero,
.blog-hero,
.contact-hero,
.about-hero,
.privacy-section,
.terms-section,
.gallery-hero,
.products-hero {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .promo-banner {
    font-size: 0.75rem;
    padding: 0 10px;
    gap: 10px;
  }

  .promo-banner p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}