@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   Haitch Technologies - Custom Styles (Premium)
   ============================================ */

:root {
  --primary: #041224;
  /* Dark Navy from Logo */
  --primary-dark: #020812;
  --secondary: #0056D2;
  /* Bright Blue from Logo */
  --secondary-dark: #0042A6;
  --accent: #0099FF;
  /* Light Blue from Logo */
  --dark: #000B18;
  /* Rich Black */
  --light-bg: #F4F7FB;
  /* Slight blue tint */
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --gradient-hero: linear-gradient(135deg, #041224 0%, #0056D2 100%);
  --gradient-accent: linear-gradient(135deg, #0056D2 0%, #0099FF 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* ---- Navbar ---- */
.navbar-haitch {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar-haitch.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary) !important;
  letter-spacing: 0.5px;
}

.navbar-brand span {
  color: var(--secondary);
}

.navbar-haitch .nav-link {
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

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

.navbar-haitch .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--secondary);
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  filter: none;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider .carousel-item {
  height: 90vh;
  min-height: 550px;
  position: relative;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}

.carousel-item.active .slider-bg {
  animation: sliderZoom 8s ease forwards;
}

@keyframes sliderZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.slider-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 1;
}

.slider-content-modern {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem 0;
  background: transparent;
  transform: translateY(30px);
  opacity: 0;
  max-width: 800px;
  animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

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

.badge-modern {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.slider-title-modern {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.slider-subtitle-modern {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 95%;
}

.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.4s;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
  text-decoration: none;
}

.btn-modern-primary i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.btn-modern-primary:hover {
  background: #fff;
  color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 15px 25px rgba(5, 150, 105, 0.4);
}

.btn-modern-primary:hover i {
  transform: translateX(5px);
}

.btn-modern-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s;
  margin-left: 1rem;
  text-decoration: none;
}

.btn-modern-outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
  transform: translateY(-4px);
}

/* Custom Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
}

.control-arrow {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  backdrop-filter: blur(5px);
  transition: all 0.4s;
}

.control-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.1);
  color: #fff;
}

/* Custom Indicators */
.custom-indicators {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.custom-indicators button {
  width: 35px !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border: none !important;
  border-radius: 2px !important;
  opacity: 1 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-indicators button span {
  display: none;
}

.custom-indicators button.active {
  width: 70px !important;
  background: var(--secondary) !important;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.5);
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  text-align: left;
  max-width: 800px;
  width: 90%;
  padding-top: 40px;
}

.carousel-item.active .slider-content {
  animation: slideContentIn 1s ease 0.3s both;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.slider-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.slider-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.slider-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

/* Slider Arrows */
.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  z-index: 5;
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

/* Slider Indicators */
.hero-slider .carousel-indicators {
  z-index: 5;
  margin-bottom: 30px;
}

.hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  opacity: 1;
  margin: 0 5px;
  transition: var(--transition);
}

.hero-slider .carousel-indicators button.active {
  background: var(--secondary);
  border-color: var(--secondary);
  width: 36px;
  border-radius: 6px;
}

/* Stats Bar */
.stats-bar {
  background: var(--dark);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(25, 135, 84, 0.3);
  border: 1px solid rgba(25, 135, 84, 0.5);
  color: #7dffb0;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn-primary-haitch {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary-haitch:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

.btn-outline-light-haitch {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.btn-outline-light-haitch:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0;
}

.hero-stat-item p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

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

.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-icon-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-icon-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.hero-icon-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-icon-card h5 {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 600;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  background: var(--gradient-hero);
  padding: 120px 0 60px;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  justify-content: center;
  margin: 0;
  background: transparent;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.page-header .breadcrumb-item.active {
  color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Section Styles ---- */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light-section {
  background: var(--light-bg);
}

/* ---- Service Cards ---- */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 75px;
  height: 75px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
  border: 1px solid rgba(5, 150, 105, 0.1);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.service-card ul li {
  padding: 0.3rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ---- Product Cards ---- */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-image-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--light-bg);
  position: relative;
}

.product-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
  z-index: 1;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.15);
}

.product-body {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-body h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-benefits {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.product-benefits h6 {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin: 0.2rem;
  border: 1px solid #e0e0e0;
}

/* ---- Why Choose Cards ---- */
.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(56, 189, 248, 0.5);
  /* Accent color */
}

.why-icon {
  width: 85px;
  height: 85px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  border: 2px dashed rgba(5, 150, 105, 0.3);
  color: var(--secondary);
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.1);
}

.why-card:hover .why-icon {
  border-style: solid;
  border-color: var(--secondary);
  background: var(--light-bg);
  transform: rotateY(180deg);
}

.why-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.25rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- About Section ---- */
.about-image-box {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: #fff;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-image-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGRlZnM+PHBhdHRlcm4gaWQ9InBhdHRlcm4iIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgNDBoNDBWMEgweiIgZmlsbD0ibm9uZSIvPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
  opacity: 0.5;
}

.about-image-box>* {
  position: relative;
  z-index: 2;
}

.about-image-box .big-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

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

.about-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-feature h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.about-feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient-hero);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---- Contact ---- */
.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid #eee;
}

.contact-info-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.map-placeholder {
  background: var(--light-bg);
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--secondary);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.footer-tagline {
  font-style: italic;
  color: var(--secondary);
  margin-top: 0.5rem;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

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

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

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-slider .carousel-item {
    height: 75vh;
    min-height: 450px;
  }

  .slider-content {
    width: 90%;
    padding-top: 30px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

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

@media (max-width: 576px) {
  .hero-slider .carousel-item {
    height: 65vh;
    min-height: 400px;
  }

  .slider-title {
    font-size: 1.6rem;
  }

  .slider-subtitle {
    font-size: 0.95rem;
  }

  .slider-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .stats-bar {
    padding: 20px 0;
  }

  .hero-slider .carousel-indicators {
    margin-bottom: 15px;
  }
}

/* Premium & Attractive Theme Colors (Moved from index.html) */
:root {
  --theme-primary: #0f172a;
  --theme-secondary: #2563eb;
  --theme-accent: #38bdf8;
  --theme-bg: #f8fafc;
  --theme-white: #ffffff;
  --theme-text: #334155;
  --theme-text-light: #64748b;
}

body {
  color: var(--theme-text);
  background-color: var(--theme-bg);
}

.hero-slider .carousel-item {
  height: 92vh;
  min-height: 600px;
}

.slider-overlay-modern {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.3) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.badge-modern {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.bg-ser{
  background-image: url(../bbnr.png) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position:center;
}

.slider-title-modern {
  font-size: clamp(2.5rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  color: #ffffff;
}
@media(max-width: 768px){
  .slider-title-modern {
  font-size: 30px !important;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.mob{
  font-size: 27px !important;
}
.custom-section-title {
    font-size: 27px !important;
}
.badge-modern {
  font-size: 11px !important;
}
}

.slider-subtitle-modern {
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.8;
  font-weight: 400;
  max-width: 850px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slider-buttons .btn-modern-primary {
  background: var(--theme-secondary) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
  border: none !important;
  color: white !important;
}

.slider-buttons .btn-modern-primary:hover {
  background: var(--theme-accent) !important;
  color: var(--theme-primary) !important;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.6) !important;
}

.custom-section {
  padding: 100px 0;
  background: var(--theme-bg);
}

.custom-section.bg-white {
  background: var(--theme-white);
}

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

.custom-divider {
  width: 70px;
  height: 4px;
  background: var(--theme-secondary);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.custom-service-card,
.custom-product-card,
.custom-why-card {
  background: var(--theme-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.custom-product-card {
  padding: 0;
}

.custom-service-card:hover,
.custom-product-card:hover,
.custom-why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

.custom-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--theme-secondary), var(--theme-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: -1;
}

.custom-service-card:hover::before {
  transform: scaleX(1);
}

.custom-service-icon {
  width: 70px;
  height: 70px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--theme-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.8rem;
  transition: all 0.4s;
}

.custom-service-card:hover .custom-service-icon {
  background: var(--theme-secondary);
  color: white;
  transform: rotate(8deg) scale(1.05);
}

.custom-product-img {
  height: 240px;
  overflow: hidden;
}

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

.custom-product-card:hover .custom-product-img img {
  transform: scale(1.08);
}

.custom-product-content {
  padding: 1rem;
}

.custom-product-content h4{
  font-size: 21px;
}

h4 {
  color: var(--theme-primary);
  font-weight: 700;
}

p.text-muted {
  color: var(--theme-text-light) !important;
  font-weight: 400;
  line-height: 1.7;
}

ul.custom-check-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

ul.custom-check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--theme-text-light);
  font-size: 0.95rem;
}

ul.custom-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--theme-secondary);
  font-weight: bold;
}

.custom-support-section {
  background: linear-gradient(135deg, var(--theme-primary), #020617);
  color: white;
  position: relative;
}

.custom-support-item {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.custom-support-item:hover {
  background: var(--theme-secondary);
  border-color: var(--theme-secondary);
  transform: translateX(8px);
  color: white;
}

.custom-support-item i {
  margin-right: 15px;
  font-size: 1.4rem;
}

.custom-why-card {
  text-align: center;
  padding: 3rem 2rem;
}

.custom-why-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--theme-secondary);
  transition: transform 0.4s;
}

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

/* ---- Testimonial Slider ---- */
.testimonial-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 86, 210, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
  margin: 0 auto;
}

.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.testimonial-quote-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 86, 210, 0.25);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-style: italic;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.8rem;
}

.testimonial-stars i {
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(4, 18, 36, 0.2);
}

.testimonial-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 500;
}

/* Testimonial Nav Arrows */
.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}

.testimonial-arrow {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.testimonial-nav-btn:hover .testimonial-arrow {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 86, 210, 0.3);
}

.carousel-control-prev.testimonial-nav-btn {
  left: -10px;
}

.carousel-control-next.testimonial-nav-btn {
  right: -10px;
}

/* Testimonial Indicators */
.testimonial-indicators {
  position: relative;
  bottom: -20px;
  margin-top: 2rem;
}

.testimonial-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: rgba(0, 86, 210, 0.2) !important;
  border: none !important;
  opacity: 1 !important;
  margin: 0 5px !important;
  transition: var(--transition) !important;
}

.testimonial-indicators button.active {
  background: var(--secondary) !important;
  width: 32px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 86, 210, 0.3);
}

/* Testimonial Slide Animation */
#testimonialSlider .carousel-item {
  transition: transform 0.6s ease-in-out, opacity 0.4s ease-in-out;
}

/* ---- Testimonial Responsive ---- */
@media (max-width: 1200px) {
  .carousel-control-prev.testimonial-nav-btn {
    left: 0;
  }
  .carousel-control-next.testimonial-nav-btn {
    right: 0;
  }
}

@media (max-width: 991px) {
  .testimonial-card {
    padding: 2.5rem 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .carousel-control-prev.testimonial-nav-btn,
  .carousel-control-next.testimonial-nav-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .testimonial-quote-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
  }

  .testimonial-stars {
    margin-bottom: 1.2rem;
  }

  .testimonial-stars i {
    font-size: 0.9rem;
  }

  .testimonial-avatar {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .testimonial-name {
    font-size: 0.95rem;
  }

  .testimonial-role {
    font-size: 0.8rem;
  }

  .testimonial-indicators {
    bottom: -10px;
    margin-top: 1.5rem;
  }

  .testimonial-indicators button {
    width: 10px !important;
    height: 10px !important;
  }

  .testimonial-indicators button.active {
    width: 26px !important;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.5rem 1.2rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .testimonial-author {
    flex-direction: column;
    gap: 0.5rem;
  }

  .testimonial-author > div:last-child {
    text-align: center;
  }
}