@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #f8f9fa;
  position: relative;
}

/* Lead text styling */
.lead {
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lead {
    font-size: 0.95rem !important;
  }
}

/* Medical Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(23, 162, 184, 0.03) 0%, transparent 50%),
    repeating-linear-gradient(45deg,
      transparent,
      transparent 2px,
      rgba(0, 123, 255, 0.01) 2px,
      rgba(0, 123, 255, 0.01) 4px);
  z-index: -1;
  pointer-events: none;
}

/* Medical Icons Background */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 20 L60 30 L70 20 L70 30 L80 30 L80 40 L70 40 L70 50 L60 50 L50 40 L40 50 L30 50 L30 40 L20 40 L20 30 L30 30 L30 20 Z' fill='%23007bff' fill-opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

#header-placeholder {
  margin: 0;
  padding: 0;
}

#header-placeholder .navbar {
  margin: 0;
}

/* Loading Spinner */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner-container {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.navbar {
  min-height: 75px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 0.75rem 1rem;
  top: 0;
  left: 0;
  right: 0;
  position: sticky;
  z-index: 1030;
  margin: 0;
}

.navbar .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 60px;
    padding: 0.5rem 1rem;
  }
}

.brand-title {
  font-family: 'Playfair Display', serif;
  /* Custom Roman Serif look */
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-family: 'Inter', sans-serif;
  letter-spacing: 2px !important;
  /* Spaced out clean sans-serif */
  font-size: 0.75rem;
  /* Smaller size as requested */
}

.navbar-brand {
  transition: transform 0.3s ease;
  padding: 0;
  margin: 0;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(5deg);
}

.navbar-brand img {
  height: 60px !important;
  width: 60px !important;
  object-fit: cover;
}

.brand-title {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 0.1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  color: #6c757d;
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 50px !important;
    width: 50px !important;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    flex-direction: column;
    text-align: center;
  }

  .navbar-brand img {
    height: 45px !important;
    width: 45px !important;
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }
}

.navbar-nav .nav-item {
  margin: 0 0.25rem;
}

.navbar-nav .nav-link {
  color: #333 !important;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  margin: 0.25rem 0.125rem !important;
  border-radius: 25px !important;
}

.navbar-nav .nav-link:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white !important;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    margin: 0.25rem 0 !important;
    text-align: center;
    font-size: 0.9rem;
  }

  .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 575.98px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem;
  }

  .navbar-toggler {
    padding: 0.375rem 0.5rem;
  }
}

/* Hero Carousel Styles */
#heroCarousel {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
  border-radius: 0;
}

.carousel-image {
  width: 100%;
  height: 100vh;
  /* Fallback */
  height: 100svh;
  /* Modern mobile browsers: avoids jumpiness from address bar */
  object-fit: cover;
  object-position: center;
  background: #000;
  transition: filter 0.3s ease;
}

/* Mobile/Tablet: Use contain to show FULL image within the full screen area */
/* Mobile/Tablet: Auto height to show full image naturally */
@media (max-width: 991.98px) {
  .carousel-image {
    height: auto !important;
    min-height: 250px;
    object-fit: cover;
    /* Ensure it fills width */
  }

  /* Adjust carousel height to content */
  #heroCarousel,
  .carousel-inner,
  .carousel-item {
    height: auto !important;
    min-height: 250px;
  }
}

/* Ensure faces/content remain visible on portrait mobile screens */
@media (max-width: 576px) {
  .carousel-image {
    object-position: center;
  }
}

/* Remove explicit height constraint media queries for carousel images as 100vh applies generally */

.carousel-item {
  position: relative;
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem !important;
  }

  .carousel-caption p {
    font-size: 1rem !important;
  }
}

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 1.5rem !important;
  }

  .carousel-caption p {
    font-size: 0.9rem !important;
  }

  .carousel-caption .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
  width: 20px;
  height: 20px;
}

.carousel-indicators {
  margin-bottom: 2rem;
  gap: 10px;
}

.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-indicators button.active {
  background-color: #007bff;
  border-color: #007bff;
  width: 40px;
  border-radius: 7px;
}

.product-card {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.25rem;
}

/* Trust Strip Styles */
.trust-strip {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  border-top: 3px solid #007bff;
  border-bottom: 3px solid #007bff;
}

.trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.trust-item {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #28a745 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #28a745, #17a2b8);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-item:hover .trust-icon-wrapper::before {
  opacity: 0.3;
}

.trust-item:hover .trust-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
}

.trust-icon {
  font-size: 2rem;
  color: white;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.stat-card {
  padding: 2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.35);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Products Section */
.products-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  padding: 5rem 0;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
}

.section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.section-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.section-badge:hover::before {
  left: 100%;
}

.section-title {
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #f0f7ff;
  position: relative;
}

.product-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #28a745, #17a2b8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-modern:hover::before {
  opacity: 1;
}

.product-card-modern:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-modern:hover .product-image {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.product-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-content {
  padding: 2rem;
}

.product-title {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.product-subtitle {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #f0f7ff;
  color: #007bff;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #28a745 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.product-btn:hover::before {
  left: 100%;
}

.product-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
  color: white;
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  position: relative;
  padding: 5rem 0;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #28a745, transparent);
}

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.feature-content h5 {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-content p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.why-choose-image {
  position: relative;
}

.why-choose-image img {
  border-radius: 20px;
}

.floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.services-section .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.services-section .section-title,
.services-section .section-subtitle {
  color: white;
}

.service-card-modern {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
  width: 75px;
  height: 75px;
  margin: 0 auto;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #17a2b8 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.service-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: transform 0.5s;
}

.service-card-modern:hover .service-icon-wrapper::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.service-card-modern:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  color: #1a1a1a;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

.service-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: #0056b3;
  transform: translateX(5px);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  padding: 5rem 0;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #17a2b8, transparent);
}

.contact-info-list {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon-wrapper {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.contact-info-content h6 {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
}

.contact-info-content p {
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .product-title {
    font-size: 1.15rem;
  }

  .service-title {
    font-size: 1.05rem;
  }

  .product-image-wrapper {
    height: 220px;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-form-wrapper h3 {
    font-size: 1.3rem;
  }
}

footer {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-about {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/hero.jpg") center/cover no-repeat;
  height: 50vh;
  position: relative;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-about .container {
  position: relative;
  z-index: 2;
}

.container-service {
  background: linear-gradient(rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .container-service {
    padding: 3rem 0;
  }
}

.service-item {
  background: white;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .service-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
}

.service-item:hover {
  transform: translateY(-5px);
}

.icon-box-primary {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.footer {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  padding: 4rem 0 2rem;
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 2rem 0 1rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 99;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 80px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 20px;
  }
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 220px;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 6px;
  margin: 0 0.25rem;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  transform: translateX(5px);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

/* WhatsApp Button Styling */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.whatsapp-btn:hover::before {
  left: 100%;
}

.btn-link {
  color: #ffffff80;
  text-decoration: none;
  padding: 0;
  margin-bottom: 8px;
}

.btn-link:hover {
  color: #007bff;
}

/* Responsive spacing improvements */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Section spacing */
section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  section {
    padding: 2rem 0;
  }
}

/* Card improvements */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Form improvements */
.form-floating>label {
  padding: 1rem 0.75rem;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 1rem 0.75rem;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Loading Spinner */
#loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Contact Action Cards */
.contact-action-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  display: block;
  color: inherit;
}

.contact-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

.contact-action-icon {
  width: 50px;
  height: 50px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.contact-action-card:hover .contact-action-icon {
  background: #0d6efd;
  color: #fff;
}

.contact-card-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-card-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.spinner-container {
  text-align: center;
  animation: fadeIn 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner-container h5 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spinner-container small {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6c757d;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.spinner-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #e3f2fd;
  border-top: 4px solid #1976d2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Animation classes */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-hero {
    padding: 80px 0;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-form,
  .contact-image {
    width: 100%;
  }

  .contact-image img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    /* Ensure width is full */
  }

  .img-fluid {
    max-width: 100%;
    height: auto;
  }

  /* Ensure uniform card heights */
  .card,
  .product-card-modern,
  .service-card-modern,
  .trust-item {
    height: 100%;
  }

  @media (max-width: 991.98px) {
    .col-lg-6.d-flex.align-items-center {
      margin-top: 2rem;
    }
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .card {
    margin-bottom: 20px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h5 {
    margin-top: 30px;
  }
}

/* Print styles */
@media print {

  .navbar,
  .footer,
  .back-to-top,
  .whatsapp-float {
    display: none !important;
  }

  .hero-section {
    background: white !important;
    color: black !important;
  }

  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}