/* ==========================================================================
   HAPPYNET NETWORK LIMITED - Premium Corporate Stylesheet
   ========================================================================== */

:root {
  --primary: #0A4DA3;
  --primary-hover: #073877;
  --primary-light: #EFF6FF;
  --primary-rgb: 10, 77, 163;
  --gradient-blue: #1E40AF;

  --secondary: #FF8C00;
  --secondary-hover: #E07B00;
  --secondary-rgb: 255, 140, 0;

  --dark-bg-1: #070E1C;
  --dark-bg-2: #111A2E;
  --dark-ui: #0E1524;

  --dark-slate: #0F172A;
  --navy-blue: #0E1524;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --gray-200: #E2E8F0;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;

  /* Motion */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius scale */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  /* Elevation scale */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-premium: 0 20px 40px -15px rgba(var(--primary-rgb), 0.18);
}

/* Cross-document View Transitions -- smooths full page navigations between
   these static pages (Chrome/Edge today; other browsers silently keep the
   default instant swap, so this is a safe progressive enhancement). */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-old(root) {
  animation-name: happynet-page-out;
}

::view-transition-new(root) {
  animation-name: happynet-page-in;
}

@keyframes happynet-page-out {
  to {
    transform: translateX(-24px);
    opacity: 0;
  }
}

@keyframes happynet-page-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}

/* Global Foundations */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--slate-600);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-slate);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  margin-bottom: 1.25rem;
}

/* Accessible focus states -- visible on keyboard nav, silent on mouse click */
a:focus-visible,
button:focus-visible,
.btn-premium:focus-visible,
.btn-orange:focus-visible,
.btn-outline-premium:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Bootstrap ships its own blue .text-primary utility -- override it so any
   inline icon using Bootstrap's utility classes matches our brand red instead
   of falling back to Bootstrap's default blue. */
.text-primary {
  color: var(--primary) !important;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Preloader Screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-slate);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sticky Header */
.navbar {
  transition: var(--transition-smooth);
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.navbar.sticky-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: var(--shadow-lg);
}

.navbar-brand img {
  height: 85px !important;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-blue) !important;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2.5px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition-smooth);
  border-radius: var(--radius-pill);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Buttons */
.btn-premium,
.btn-orange,
.btn-outline-premium {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 12px 30px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white) !important;
  border: none;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
}

.btn-orange {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
  color: var(--white) !important;
  border: none;
  box-shadow: 0 4px 14px rgba(var(--secondary-rgb), 0.25);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.4);
}

.btn-outline-premium {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
  padding: 10px 28px;
}

.btn-outline-premium:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.15);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px 0;
  color: var(--white);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroSlideFade 20s infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 5s; }
.hero-bg-slide:nth-child(3) { animation-delay: 10s; }
.hero-bg-slide:nth-child(4) { animation-delay: 15s; }

@keyframes heroSlideFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  22% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    animation: none;
    opacity: 0;
  }
  .hero-bg-slide:first-child {
    opacity: 1;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, 0.93) 0%, rgba(8, 8, 8, 0.8) 40%, rgba(8, 8, 8, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

/* Section Framework */
.section-padding {
  padding: 100px 0;
}

.section-badge {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: 1.1rem;
  max-width: 700px;
}

/* Elevated Cards (services, values, etc.) */
.glass-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUpSafe 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -8px rgba(var(--primary-rgb), 0.2), var(--shadow-premium);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.glass-card .card-icon {
  width: 64px;
  height: 64px;
  background: rgba(var(--primary-rgb), 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.glass-card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
  animation: floatIcon 2s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

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

/* Stats Band */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
  padding: 80px 0;
}

.counter-box h2 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
}

.counter-box p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Partner Logo Grid */
.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.partner-logo-container:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo-container img {
  max-width: 140px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.partner-logo-container:hover img {
  filter: grayscale(0%);
}

/* Inner Page Hero */
.internal-hero {
  position: relative;
  padding: 160px 0 90px 0;
  background: url('https://res.cloudinary.com/gcl5njxq/image/upload/f_auto,q_auto,w_1600/ihlxdofjsepgywqmxgki.jpg') center 40%/cover no-repeat, linear-gradient(135deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.internal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  z-index: 0;
}

.internal-hero .container {
  position: relative;
  z-index: 1;
}

.internal-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumb-item a {
  color: rgba(248, 250, 252, 0.8);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 500;
}

/* Project Case Studies (editorial alternating feed) */
.project-feature {
  padding: 60px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.project-feature:first-child {
  padding-top: 0;
}

.project-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-feature h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.project-feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--light-bg);
}

.project-feature-media img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.project-feature-media-placeholder {
  height: 380px;
}

.project-feature-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Project photo gallery (Bootstrap carousel, multi-image projects only) */
.project-gallery .carousel-control-prev,
.project-gallery .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: rgba(16, 16, 18, 0.55);
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.project-gallery .carousel-control-prev {
  left: 16px;
}

.project-gallery .carousel-control-next {
  right: 16px;
}

.project-gallery .carousel-control-prev:hover,
.project-gallery .carousel-control-next:hover {
  background-color: var(--primary);
  opacity: 1;
}

.project-gallery .carousel-control-prev-icon,
.project-gallery .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.project-gallery .carousel-indicators {
  margin-bottom: 0.6rem;
}

.project-gallery .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.project-gallery .carousel-indicators .active {
  background-color: var(--white);
}

/* Photo lightbox -- click any project photo to zoom, arrow through every
   photo on the page (not just the current project's own gallery). */
.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.project-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.project-lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-lightbox-close,
.project-lightbox-nav {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.project-lightbox-close:hover,
.project-lightbox-nav:hover {
  background: var(--primary);
}

.project-lightbox-close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.project-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
}

.project-lightbox-prev {
  left: 20px;
}

.project-lightbox-next {
  right: 20px;
}

.project-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (max-width: 575.98px) {
  .project-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .project-lightbox-close {
    width: 38px;
    height: 38px;
    top: 12px;
    right: 12px;
  }

  .project-lightbox-prev {
    left: 8px;
  }

  .project-lightbox-next {
    right: 8px;
  }
}

/* Photo Gallery page (gallery.html) */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--light-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s ease;
  display: block;
}

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

.gallery-item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

.project-tags span {
  font-size: 0.75rem;
  background: var(--light-bg);
  padding: 4px 12px;
  border-radius: 6px;
  margin-right: 6px;
  color: var(--slate-600);
  font-weight: 500;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

/* Homepage "Recent Work" preview cards (compact, links through to projects.html) */
.home-project-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
}

.home-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(var(--primary-rgb), 0.15), var(--shadow-premium);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.home-project-card-media {
  height: 180px;
  background: var(--light-bg);
  overflow: hidden;
}

.home-project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.home-project-card:hover .home-project-card-media img {
  transform: scale(1.06);
}

.home-project-card-body {
  padding: 18px;
}

.home-project-card-body h6 {
  margin-bottom: 8px;
  color: var(--dark-slate);
}

.home-project-card-tags span {
  font-size: 0.7rem;
  background: var(--light-bg);
  padding: 3px 10px;
  border-radius: 6px;
  margin-right: 4px;
  margin-bottom: 4px;
  display: inline-block;
  color: var(--slate-600);
  font-weight: 500;
}

/* Services overview cards (image-led: photo, title, excerpt, Read More) */
.service-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(var(--primary-rgb), 0.15), var(--shadow-premium);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.service-card-media {
  height: 190px;
  overflow: hidden;
  background: var(--light-bg);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-media.icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  font-size: 2.75rem;
  color: var(--white);
}

.service-card-body {
  padding: 22px 24px 24px;
}

.service-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.service-card-readmore {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-readmore i {
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-readmore i {
  transform: translateX(4px);
}

/* Service detail page */
.service-equipment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-equipment-list li {
  background: var(--light-bg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
}

.service-photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: var(--transition-smooth);
}

.service-photo-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.service-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
}

.service-nav-strip a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark-slate);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.service-nav-strip a:hover {
  color: var(--primary);
}

.service-nav-strip .service-nav-all {
  color: var(--primary);
}

.service-nav-strip .service-nav-end {
  text-align: right;
}

/* Forms & Inputs */
.contact-info-box {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUpSafe 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-info-box:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}

.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  background-color: var(--white);
  color: var(--dark-slate);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
  outline: none;
}

/* Floating Utilities */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-4px);
}

.whatsapp-float {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: translateY(-4px);
  color: var(--white);
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--dark-slate);
  padding: 20px 24px;
  font-size: 1.05rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: var(--dark-bg-1);
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.95rem;
  border-top: 4px solid var(--primary);
  position: relative;
}

footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.7);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
  font-size: 0.85rem;
}
