/* ==========================================================================
   MODIBIOCARE - Complete Master Stylesheet (1:1 High Precision Layout)
   ========================================================================== */

@import url('../vendor/fonts/fonts.css');

:root {
  --primary-dark: #001C8F;
  --primary-accent: #628DFB;
  --primary-light: #F0F4FF;
  --yellow-accent: #FFD532;
  --text-dark: #000D40;
  --body-text: #5A6079;
  --border-light: #EEF2F6;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 28, 143, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 28, 143, 0.14);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  color: var(--body-text);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.sub-title {
  color: var(--primary-accent);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  color: var(--primary-dark);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.btn-primary {
  background: var(--primary-accent);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background: var(--yellow-accent);
  color: var(--primary-dark) !important;
  font-weight: 700;
}

.btn-yellow:hover {
  background: var(--primary-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-dark {
  display: flex;
  align-items: center;
}

.logo-dark img {
  height: 55px;
  max-height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .navbar > .btn-yellow {
    display: none;
  }
}

/* Hero Swiper Slider */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 550px;
  position: relative;
}

.hero-swiper .swiper-slide {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-swiper .swiper-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-swiper .swiper-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 13, 64, 0.55);
  z-index: 2;
}

.hero-swiper .swiper-slide-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
}

.hero-heading {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--primary-accent);
}

.hero-swiper .swiper-button-prev:after,
.hero-swiper .swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

.hero-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--yellow-accent);
  opacity: 1;
  width: 26px;
  border-radius: 5px;
}

/* Why Choose Us Section */
.why-us-section {
  padding: 80px 0;
  background: url('../images/h6-process1.png') top center no-repeat;
  background-size: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.fancy-box {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  text-align: left;
}

.fancy-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.fancy-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.fancy-icon {
  font-size: 42px;
  color: var(--primary-accent);
}

.fancy-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  opacity: 0.2;
  font-family: 'Poppins', sans-serif;
}

.fancy-title {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.fancy-desc {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  text-transform: uppercase;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: url('../images/h6-bg-about1.png') center center no-repeat;
  background-size: cover;
}

.about-section img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.check-item i {
  color: var(--primary-accent);
  font-size: 22px;
}

/* Banner Dark */
.banner-dark {
  background: var(--primary-dark);
  padding: 40px 0;
  text-align: center;
  color: #ffffff;
}

.banner-dark h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: url('../images/h6-bg-service1.png') center center no-repeat;
  background-size: cover;
}

.products-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 30px;
  background: #ffffff;
  border: 2px solid var(--primary-accent);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-accent);
  color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img-box {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 8px;
}

.product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-caption {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.btn-order-item {
  width: 100%;
  border-radius: 6px;
}

/* Call CTA Banner */
.call-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-dark) url('../images/h6-bg-cta2.png') center center no-repeat;
  background-size: cover;
  padding: 40px 50px;
  border-radius: 12px;
  color: #ffffff;
}

.call-cta-banner h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #f8fafc;
}

.form-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--primary-dark);
  outline: none;
  transition: all 0.3s ease;
  background: #ffffff;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(98, 141, 251, 0.15);
}

/* Honeypot - screen readers ke liye bhi chhupa hua */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form Status Message */
.form-status {
  margin-top: 18px;
  padding: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.form-status.loading,
.form-status.success,
.form-status.error {
  padding: 14px 18px;
}

.form-status.loading {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.form-status.success {
  background: #e7f8ef;
  color: #12734a;
  border: 1px solid #a8e2c4;
}

.form-status.error {
  background: #fdecec;
  color: #a52020;
  border: 1px solid #f3bcbc;
}

/* MD Profile & Map Section */
.md-map-section {
  padding: 80px 0;
  background: #ffffff;
}

.md-card {
  display: flex;
  gap: 25px;
  align-items: center;
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.md-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-accent);
  flex-shrink: 0;
}

.map-box {
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow-sm);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer-dark {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 70px 0 30px 0;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin: 0 auto;
  display: block;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  box-sizing: content-box;
}

.contact-info-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.info-box {
  background: rgba(255, 255, 255, 0.07);
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box i {
  font-size: 28px;
  color: var(--yellow-accent);
}

.info-box p {
  color: #ffffff;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--body-text);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-swiper {
    height: 450px;
  }

  .hero-heading {
    font-size: 38px;
  }

  .call-cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .features-grid,
  .products-grid,
  .contact-info-boxes {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-heading {
    font-size: 28px;
  }

  .hero-swiper {
    height: 380px;
  }

  .md-card {
    flex-direction: column;
    text-align: center;
  }
}