/* ===== BASE STYLES ===== */
body {
  background-color: #121212;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}



@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  .hero-section {
    text-align: center;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===== NAVBAR ===== */
.navbar-brand img {
  max-height: 50px;
  width: auto;
}
.overlay-navbar .navbar-nav .nav-link {
  color: white !important;
  transition: color 0.3s ease;
}
/* Optional: Add gold on hover */
.overlay-navbar .navbar-nav .nav-link:hover,
.overlay-navbar .navbar-nav .nav-link:focus {
  color: #facc15 !important;
}
.overlay-navbar .navbar-nav .nav-link.active {
  color: #facc15 !important;
  font-weight: 600;
}
.overlay-navbar {
  background-color: rgba(0, 0, 0, 0.4); /* transparent black */
  transition: background-color 0.3s ease;
  backdrop-filter: blur(10px); /* blur effect */
  animation-duration: 1s;
  animation-fill-mode: both;
}
.overlay-navbar.scrolled {
  background-color: #111111 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ===== FORMS ===== */
.form-control {
  background-color: #222;
  border: 1px solid #444;
  color: #fff;
}
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none;
}

/* ===== ICONS ===== */
.bi {
  transition: transform 0.3s ease;
}
.bi:hover {
  transform: scale(1.2);
  color: #0d6efd;
}

 /* ==== FULLSCREEN SWIPER SECTION ==== */
 #services {
  overflow: hidden;
  height: 100vh;
  padding: 0; /* overrides .section class padding */
}

.swiper {
  height: 80vh;
}

@media (max-width: 767px) {
  .swiper {
    height: 90vh;
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-slide-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background-color: white;
  color: black;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.05s ease;
}

.swiper-slide:hover {
  cursor: none;
}
.swiper-slide .card {
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  z-index: 2;
  height: 100%;
  transition: background 0.3s ease;
}

.card:hover .card-img-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Remove arrows */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.swiper-pagination {
  text-align: center;
}
.form-control {
  background-color: #222;
  border: 1px solid #444;
  color: #fff;
}
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none;
}
.section {
  padding: 80px 0;
}

/* No need to apply this to full-height sections. If necessary, reset: */
#about, #services, #contact {
  padding: 0 !important;
}
#contact {
  background-color: #f8f9fa;
  color: #111;
}

#contact .form-control {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #000;
}
#contact .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}
#about h2,
#services h2,
#contact h2 {
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
/* Dark Glass Contact Card */
.glass-card-dark {
  background: rgba(40, 40, 40, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2; /* ensure form is above shapes */
}

.glass-card-dark:hover {
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.1);
}

/* Dark Inputs */
.modern-input-dark {
  background-color: #1c1c1c;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modern-input-dark:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}

/* WhatsApp Button (same as before) */
.btn-success {
  background-color: #25D366;
  border: none;
}
.btn-success:hover {
  background-color: #1ebe5b;
}
/* Optional background shape */
#about::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1), transparent 70%);
  z-index: 0;
  filter: blur(100px);
}

/* Section z-index fix */
#about .container {
  position: relative;
  z-index: 1;
}
#about .text-muted {
  color: #ccc !important;
}
/* Fun subtext for contact section */
.fun-subtext {
  font-size: 1.1rem;
  color: #dddddd;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Animate WhatsApp icon on hover */
.btn-success i {
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

/* Fun glowing border on input focus */
.modern-input-dark:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: floatAnim 10s ease-in-out infinite alternate;
  z-index: 0;
}

/* Updated colors and sizes for visibility */
.shape1 {
  width: 180px;
  height: 180px;
  top: 8%;
  left: -60px;
  background: radial-gradient(circle at 30% 30%, #0d6efd, #001133);
}

.shape2 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  right: -40px;
  background: radial-gradient(circle at 50% 50%, #25D366, #003f29);
  animation-delay: 2s;
}

.shape3 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 45%;
  background: radial-gradient(circle at 50% 50%, #ffc107, #4d3a00);
  animation-delay: 4s;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(180deg);
  }
}
.footer-dark {
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-dark .footer-tagline {
  font-size: 0.95rem;
  color: #ccc;
  font-style: italic;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
}

.footer-dark .social-icons a {
  color: #aaa;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-dark .social-icons a:hover {
  color: #0d6efd;
  transform: scale(1.2);
}

/* Glowing Logo */
.footer-logo {
  filter: drop-shadow(0 0 10px rgba(233, 188, 35, 0.4)); /* gold glow */
  transition: filter 0.4s ease, transform 0.4s ease;
  will-change: transform, filter;
}

.footer-logo:hover {
  filter: drop-shadow(0 0 20px rgba(233, 188, 35, 0.8));
  transform: scale(1.05) rotate(1deg);
}

/* Back to Top Button */
.back-to-top {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  background-color: #0d6efd;
  color: white;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 999;
}
.back-to-top:hover {
  background-color: #0b5ed7;
  transform: scale(1.1);
}
.footer-logo-wrapper {
  display: inline-block;
  padding: 12px;
  border-radius: 12px;
  position: relative;
  background: linear-gradient(145deg, #000000, #0d0d0d);
  box-shadow: 
    0 0 10px rgba(233, 188, 35, 0.3),
    0 0 20px rgba(233, 188, 35, 0.4),
    0 0 30px rgba(233, 188, 35, 0.5),
    0 0 40px rgba(233, 188, 35, 0.6);
  animation: neonPulse 4s infinite alternate;
}

.footer-logo-wrapper:hover {
  box-shadow: 
    0 0 15px rgba(233, 188, 35, 0.5),
    0 0 30px rgba(233, 188, 35, 0.7),
    0 0 45px rgba(233, 188, 35, 0.9),
    0 0 60px rgba(233, 188, 35, 1);
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.footer-logo {
  position: relative;
  z-index: 2;
}

@keyframes neonPulse {
  0% {
    box-shadow: 
      0 0 8px rgba(233, 188, 35, 0.2),
      0 0 15px rgba(233, 188, 35, 0.3),
      0 0 25px rgba(233, 188, 35, 0.4);
  }
  100% {
    box-shadow: 
      0 0 15px rgba(233, 188, 35, 0.4),
      0 0 30px rgba(233, 188, 35, 0.6),
      0 0 45px rgba(233, 188, 35, 0.8);
  }
}
/* === SERVICES PAGE STYLES === */
.service-tile {
  background: #1e1e1e;
  border: 1px solid #333;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.service-tile:hover {
  transform: scale(1.03);
  background-color: #0d6efd;
  color: #fff;
}

.service-details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  transition: transform 0.5s ease;
  position: relative;
}

.bento-tile {
  background-size: cover;
  background-position: center;
  height: 160px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.tile-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Description Slide-In */
#service-details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#service-details.show {
  opacity: 1;
  transform: translateY(0);
}
.sleek-quiz-section {

  background-color: #121212;
}

.quiz-wrapper {
  align-items: flex-start;
}

.quiz-box {
  background-color: #1e1e1e;
  border: 1px solid #333;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.quiz-btn {
  display: block;
  width: 100%;
  background: #242424;
  color: #fff;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.quiz-btn:hover {
  background: #0d6efd;
  transform: translateY(-2px);
}

/* Quiz Section Background */
.quiz-bg {
  background-color: #101010;
}

.quiz-panel {
  background-color: #1a1a1a;
  width: 100%;
  max-width: 480px;
  border: 1px solid #333;
}

.quiz-btn {
  width: 100%;
  background: #242424;
  color: #fff;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.quiz-btn:hover {
  background: #0d6efd;
  transform: translateY(-2px);
}

/* Clean Modern Progress Bar */
.modern-progress {
  background-color: #2b2b2b;
  height: 8px;
  border-radius: 20px;
  overflow: hidden;
}
.progress-inner {
  height: 100%;
  background-color: #0d6efd;
  width: 0%;
  transition: width 0.4s ease;
}

/* Responsive Full-Image Left Panel */
.object-fit-cover {
  object-fit: cover;
}

.btn-gold {
  background-color: #E9BC23;
  border: none;
  color: #ffffff;
  font-weight: 600;
}
.btn-gold:hover {
  background-color: #d4a91f;
  color: #ffffff;
}
.accordion-button:hover {
  color: #E9BC23;
  background-color: #1c1c1c;
}
.faq-section {
  background-color: #242424;
}

.faq-card {
  perspective: 1000px;
  cursor: pointer;
}

.faq-card-inner {
  position: relative;
  width: 100%;
  min-height: 220px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.faq-card.flipped .faq-card-inner {
  transform: rotateY(180deg);
}

.faq-card-front,
.faq-card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.faq-card-front {
  z-index: 2;
}

.faq-card-back {
  transform: rotateY(180deg);
  color: #333;
}

.faq-card-front p,
.faq-card-back p {
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  margin: 0;
  color: #333;
  line-height: 1.5;
}
.why-heptech {
  background-color: #ffffff;
}

.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  border: 1px solid #eee;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.modern-input-dark {
  background-color: #1c1c1c;
  border: 1px solid #333;
  color: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.modern-input-dark:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}
.exito-hero-dark {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a, #121212);
  color: #fff;
  padding-top: 100px;
  overflow: hidden;
}

.text-light-gray {
  color: #ccc;
}

.hero-3d {
  background-color: #0d0d0d;
  min-height: 100vh;
  padding-top: 100px;
  overflow: hidden;
}

#blob-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}