:root {
  /* Colors */
  --deep-blue: #0A2A66;
  --bright-red: #E53935;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-bg: #051535;
  --text-dark: #333333;
  --text-light: #EEEEEE;
  
  /* Gradients */
  --blue-gradient: linear-gradient(135deg, #0A2A66 0%, #051535 100%);
  --red-gradient: linear-gradient(135deg, #E53935 0%, #C62828 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --glow-shadow: 0 0 20px rgba(229, 57, 53, 0.4);

  /* Borders / Radii */
  --border-radius: 12px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-gray);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

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

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

/* Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

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

.text-white {
  color: var(--white) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--red-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
}

.btn-outline:hover {
  background: var(--deep-blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--bright-red);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  transition: var(--transition-normal);
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
  padding: 15px 0;
}

.navbar.scrolled {
  padding: 10px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 85px;
  object-fit: contain;
}

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

.nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--deep-blue);
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--bright-red);
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--deep-blue);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

/* ============================================================
   HERO SECTION — Full-Background Carousel Layout
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
}

/* Background carousel layer */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark-bg);          /* fallback while images load */
}

.hero-bg-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-bg-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Premium gradient overlay — improves readability, preserves image */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      135deg,
      rgba(5, 21, 53, 0.78) 0%,
      rgba(5, 21, 53, 0.55) 50%,
      rgba(5, 21, 53, 0.70) 100%
    );
}

/* Ambient glow — brand warmth on top of overlay */
.hero-bg-glow {
  position: absolute;
  top: 15%;
  left: -5%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(229,57,53,0.18) 0%, rgba(10,42,102,0) 68%);
  border-radius: 50%;
  z-index: 4;
  animation: pulse 8s infinite alternate;
  pointer-events: none;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1;   }
}

/* Content wrapper — sits above overlay */
.hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 160px;     /* navbar (~115px) + generous breathing room */
  padding-bottom: 100px;
}

/* Hero content — left-center aligned, max-width for readability */
.hero-content {
  max-width: 720px;
  text-align: left;
}

/* Carousel navigation buttons — full-hero positioning */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.carousel-btn:hover {
  background: rgba(229, 57, 53, 0.35);
  border-color: rgba(229, 57, 53, 0.5);
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

/* Indicator dots — bottom-center of hero */
.carousel-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-indicators .dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-indicators .dot.active {
  background: var(--bright-red);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.6);
}

/* ── Hero text elements ── */
.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title span {
  color: var(--bright-red);
  text-shadow: 0 0 20px rgba(229, 57, 53, 0.5);
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-hooks {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hero-hooks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.check-icon {
  width: 22px;
  height: 22px;
  color: var(--bright-red);
  flex-shrink: 0;
}

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

/* White outline button variant inside hero */
.hero-btn-outline {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.5) !important;
  background: transparent !important;
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px);
}

/* Badge (unused currently but kept for future use) */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

/* Visual badge / pulse dot (retained) */
.visual-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--white);
  color: var(--deep-blue);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--bright-red);
  border-radius: 50%;
  animation: dot-pulse 1.5s infinite;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-mission, .about-approach {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: flex-start;
}

.mission-icon {
  font-size: 2.5rem;
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-mission h3, .about-approach h3 {
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-highlight-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--bright-red);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.about-highlight-card:hover {
  transform: translateX(10px);
  background: var(--blue-gradient);
  color: var(--white);
}

.about-highlight-card:hover h4,
.about-highlight-card:hover p {
  color: var(--white);
}

.icon-box {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-highlight-card h4 {
  color: var(--deep-blue);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Services */
.services {
  background: var(--white);
}

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

.service-card {
  overflow: hidden;
  text-align: left;
  border: 1px solid #eee;
}

.service-img-wrapper {
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--deep-blue);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-content ul {
  list-style: none;
}

.service-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.service-content ul li svg {
  width: 18px;
  height: 18px;
  color: var(--bright-red);
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.partner-logo img {
  max-width: 120px;
  max-height: 60px;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition-normal);
}

.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Industries */
.industries {
  background: var(--blue-gradient);
  position: relative;
}

.industries::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=') repeat;
  opacity: 0.5;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 1rem;
  border-radius: var(--border-radius);
  color: var(--white);
  transition: var(--transition-normal);
}

.industry-card:hover {
  background: var(--bright-red);
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(229, 57, 53, 0.3);
}

.ind-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid #eee;
}

.why-icon {
  font-size: 2.5rem;
}

.why-card h4 {
  color: var(--deep-blue);
  font-size: 1.1rem;
}

/* Projects */
.projects {
  background: var(--white);
}

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

.project-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.project-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,42,102,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay h4 {
  color: var(--white);
  font-size: 1.5rem;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.project-item:hover .project-overlay h4 {
  transform: translateY(0);
}

/* Testimonials */
.testimonials {
  background: var(--blue-gradient);
}

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  padding: 2rem;
  color: var(--white);
  text-align: left;
}

.stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.author {
  font-weight: 600;
  color: var(--bright-red);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid #eee;
  overflow: hidden;
}

.contact-info {
  background: var(--light-gray);
  padding: 4rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.contact-form-container {
  padding: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--deep-blue);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-red);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.form-group textarea {
  resize: vertical;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: var(--red-gradient);
  color: var(--white);
}

.cta-headline {
  font-size: 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

/* Footer */
.footer {
  background: #020a1c;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  max-height: 105px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  display: block;
  margin-right: auto;
  color: var(--white);
  font-weight: 700;
}

.footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  transition: var(--transition-fast);
}

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

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

/* WhatsApp Float */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-normal);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 35px;
  height: 35px;
}

.pulse-glow {
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1023px) {
  .nav-container {
    justify-content: space-between;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    text-align: left;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 995;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: block;
  }
  
  .mobile-toggle {
    display: block;
    order: 3;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    z-index: 1001;
  }
  
  .logo {
    order: 1;
  }
  
  .d-none-mobile {
    display: inline-flex;
    order: 3;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .hero-content-wrap {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    justify-content: center;
    align-items: center;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-hooks {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

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

  /* old side-carousel responsive rules removed; kept for any service pages */
  .visual-wrapper {
    margin-top: 2rem;
  }

  /* Layout grids collapse to single column */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 767px) {
  .hero {
    min-height: 85vh;
  }

  .hero-content-wrap {
    padding-top: 120px;
    padding-bottom: 70px;
    min-height: 85vh;
    justify-content: center;
    align-items: center;
  }

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

  .hero-hooks li {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .nav-menu {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-hooks {
    margin-bottom: 1.8rem;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-btn.prev { left: 12px; }
  .carousel-btn.next { right: 12px; }

  .carousel-btn svg {
    width: 17px;
    height: 17px;
  }

  .carousel-indicators {
    bottom: 18px;
    gap: 7px;
  }

  .carousel-indicators .dot {
    width: 7px;
    height: 7px;
  }

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

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

  .contact-info, .contact-form-container {
    padding: 2rem;
  }
}

/* Service Detail Pages */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(5,21,53,0.85), rgba(5,21,53,0.6));
  z-index: 1;
}

.page-hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
}

.page-hero-subtitle {
  font-size: 1.35rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.breadcrumb {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--white);
  transition: var(--transition-fast);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--bright-red);
}

.breadcrumb span.current {
  color: var(--bright-red);
}

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

.feature-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  border-top: 4px solid var(--bright-red);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.2rem;
  color: var(--deep-blue);
  margin-bottom: 0.8rem;
}

.feature-box p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.feature-box ul {
  list-style: none;
  margin-top: 0.5rem;
  color: #555;
  text-align: left;
}

.feature-box ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}

.feature-box ul li::before {
  content: '•';
  color: var(--bright-red);
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 767px) {
  .page-hero-title {
    font-size: 2.5rem;
  }
  .page-hero {
    padding-top: 130px;
    min-height: 50vh;
  }
}

/* Feature Showcase (New Layout) */
.bg-light {
  background-color: #f8f9fa;
}

.feature-showcase {
  padding: 3rem;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--soft-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
}

@media (min-width: 768px) {
  .feature-showcase {
    grid-template-columns: 80px 1fr;
    gap: 3rem;
  }
}

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

.feature-icon-large {
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(229, 57, 53, 0.05));
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(229, 57, 53, 0.2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--deep-blue);
}

.highlight-intro {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
  opacity: 0.8;
}

.feature-bullets {
  background: rgba(0,0,0,0.02);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .feature-showcase {
    grid-template-columns: 1fr 1fr;
  }
  .feature-header {
    padding-right: 2rem;
  }
}

.feature-bullets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-dark);
}

.feature-bullets li:last-child {
  margin-bottom: 0;
}

.feature-bullets li svg {
  color: var(--bright-red);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CAROUSEL — background-hero mode
   (Old .carousel-container / .carousel-track styles are now
    replaced by .hero-bg-carousel on the hero. These classes
    below are retained for any service pages that still use
    the old side-carousel layout.)
   ============================================================ */
.carousel-wrapper {
  padding: 0;
}

.carousel-container {
  position: relative;
  width: 100%;
  border-radius: calc(var(--border-radius) - 5px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9;
  background: #000;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Shared slide styles (used by both background-hero and legacy inline carousel) */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(229, 57, 53, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(229, 57, 53, 0);   }
}
