/* ===================================== 
    GLOBAL RESET
===================================== */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'helvetica', 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--primary-color);
  background: #f8f9fa;
  padding-top: 50px;
}

/* =========================
    TOP BAR
========================= */
.top-bar {
  background: #f8fafc;
  font-size: 14px;
  padding: 8px 0;
  color: var(--primary-color);
}

.top-bar strong {
  font-weight: 600;
  color: var(--primary-color);
}

/* =========================
   LOGO
========================= */
.navbar-brand img {
  width: 40px;
  height: 40px;
  margin-left: 7px;
}

/* =========================
    NAVBAR WRAPPER
========================= */
.navbar {
  padding: 18px 0;
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
  position: fixed;
  width: 100%;
  z-index: 1000; /* Ensure navbar stays on top */
}

/* =========================
    BRAND / LOGO
========================= */
.navbar-brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
}

/* Adjust logo size */
.navbar-brand img {
  width: 40px; /* Adjust logo size */
  height: 40px;
  margin-left: 7px; /* Space between text and logo */
}
/* BRAND / LOGO */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

/* LOGO SIZE CONTROL */
.navbar-brand img.logo-icon {
  height: 55px;      /* adjust 70–95px if needed */
  width: auto;
  max-height: 100%;
}

/* Remove any forced Bootstrap sizing */
.navbar-brand img {
  max-width: none;
  height: auto;
}

/* =========================
    NAV LINKS
========================= */
.navbar-nav {
  gap: 26px; /* spacing between menu items */
}

.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  padding: 6px 2px;
  position: relative;
   padding: 6px 2px;
    text-decoration: none; /* Remove underline from links */
  cursor: pointer; 
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: transparent;
  transition: width 0.3s ease;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  text-decoration: none; 
}

/* =========================
    CTA BUTTON
========================= */
.navbar .btn-primary {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(13,110,253,0.25);
  transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(13,110,253,0.35);
}

/* =========================
    ADDITIONAL STYLES FOR BETTER NAVBAR ALIGNMENT
========================= */
.navbar-nav .nav-item {
  margin-right: 15px; /* Add space between navbar items */
}

.navbar-toggler {
  border-color: var(--primary-color);
}

.navbar-toggler-icon {
  background-color: var(--primary-color);
}

/* =========================
    ACTIVE LINK STYLE
========================= */
.navbar-nav .nav-link.active {
  font-weight: bold;
  color: var(--accent-color) !important;
}

/* =========================
    RESPONSIVE NAVBAR
========================= */
@media (max-width: 768px) {
  .navbar-collapse {
    justify-content: center;
  }
  .navbar-nav .nav-item {
    margin: 5px 0;
  }
}

/* =========================
    HEADER SECTION
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
}

:root {
  --primary-color: #3a6879;  /* Main brand color */
  --primary-light: #ecfeff;  /* Light background color */
  --primary-dark: #0f766e;  /* Darker tone for hover */
    --accent-color: #128394;  /* Accent color for highlights */
/*  --accent-color: #14b8a6;  /* Accent color for highlights */
  --blue-color: #007bff; /* Your desired blue color */
  --section-bg: #f8f9fa;    /* General section background */
  --global-presence-bg: #f4f7fa; /* Global Presence Background */
  --contact-bg: #f0fdfa;    /* Contact section background */
  --header-bg-color: #3a6879;  /* New color for header */
  --header-text-color: #ffffff;  /* Text color for header */
}
/* =========================
   Section 1--HERO SPLIT SECTION
========================= */
.hero-split {
  background: #f4fbfa; /* soft dental background */
  overflow: hidden;
}

/* =========================
   RIGHT IMAGE SLIDER
========================= */
.hero-slider {
  margin-top: 0;
}

.hero-slide {
  height: 420px;                /* ❌ 90vh removed */
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 18px;
}

/* Overlay – dental tone */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 66, 67, 0.45),
    rgba(8, 66, 67, 0.75)
  );
  border-radius: 18px;
  pointer-events: none;
}

/* Center content inside image */
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  color: #fff;
  max-width: 90%;
  margin: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

/* Small tag inside image */
.hero-content .hero-tag {
  letter-spacing: 2px;
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 10px;
   color: #ffffff;  
   font-weight: 600;
}

/* Image title */
.hero-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero-content a {
  pointer-events: auto;  /* Ensure links are clickable */
}
/* Button inside image */
.btn-hero {
   background-color: var(--primary-color);
  color: #fff;
  padding: 10px 28px;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  z-index: 15;
  display: inline-block;
}

.btn-hero:hover {
 background-color: var(--primary-dark);
  color: #fff;
}

/* =========================
   LEFT CONTENT AREA
========================= */
.hero-tag {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.hero-heading {
  font-size: 42px;
  font-weight: 800;
  margin: 15px 0;
  color: var(--primary-color);
}

.hero-heading span {
  color: #3a6879;
  /*color: #14b8a6;*/
}

.hero-text {
  color: var(--primary-color);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

.hero-points li {
  margin-bottom: 8px;
  color: #3a6879;
  /*color: #0f172a;*/
  font-weight: 500;
}

.hero-btn {
 background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
}

.hero-btn:hover {
background-color: var(--primary-dark);
  color: #fff;
}
/* =========================
   Hero Section Styling Fix
========================= */
.hero-split .container {
  position: relative;
  z-index: 10;
}
/* =========================
   SLIDER ARROWS
========================= */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  z-index: 6;
  pointer-events: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  background-size: 60%;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

  .hero-slide {
    height: 320px;
    border-radius: 14px;
  }

  .hero-heading {
    font-size: 30px;
  }

  .hero-content h2 {
    font-size: 22px;
  }

  .hero-content {
    padding: 20px;
  }
  .hero-btn {
    padding: 12px 25px;
  }
}
/* =====================================
   Section 2---MODULE SECTION BASE
===================================== */
.module-section {
  padding: 60px 0; /* reduced gap */
  background: #ffffff;
}

/* =====================================
   SECTION HEADER (PRODUCTS & ECOSYSTEM)
===================================== */
.section-header {
  position: relative;
  margin-bottom: 40px; /* reduced gap */
  border-radius: 22px;
  overflow: hidden;
}

/* PRODUCTS HEADER */
.products-header {
  background: linear-gradient(
    135deg,
     var(--primary-color),
    var(--primary-dark)
  );
}

/* ECOSYSTEM HEADER */
.ecosystem-header {
  background: linear-gradient(
    135deg,
     var(--primary-color),
    var(--primary-dark)
  );
}

/* overlay */
.section-overlay {
  padding: 42px 20px; /* reduced height */
  text-align: center;
}

/* content */
.section-content {
  max-width: 820px;
  margin: auto;
}

/* title */
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* subtitle */
.section-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* =====================================
   MODULE CARDS
===================================== */
.module-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 30px;
  height: 100%;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* top accent line */
.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,   var(--primary-color),var(--primary-dark));
}

/* title */
.module-card h5 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

/* description */
.module-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* hover */
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.25);
  border-color: var(--primary-color);
}

/* =====================================
   ECOSYSTEM CARD VARIANT
===================================== */
#ecosystem .module-card::before {
  background: linear-gradient(90deg, var(--primary-dark) , var(--primary-color));
}

#ecosystem .module-card:hover {
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.18);
  border-color: var(--primary-color);
}

/* =====================================
   SCROLL FADE ANIMATION
===================================== */
.module-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.module-card:nth-child(1) { animation-delay: 0.1s; }
.module-card:nth-child(2) { animation-delay: 0.2s; }
.module-card:nth-child(3) { animation-delay: 0.3s; }
.module-card:nth-child(4) { animation-delay: 0.4s; }
.module-card:nth-child(5) { animation-delay: 0.5s; }

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

/* =====================================
   MOBILE OPTIMIZATION
===================================== */
@media (max-width: 768px) {

  .module-section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .module-card {
    padding: 22px;
  }

  .module-card h5 {
    font-size: 17px;
  }

  .module-card p {
    font-size: 14px;
  }
}
/* =====================================
   Section 3---- DENTAL CLINIC MANAGEMENT
===================================== */
.clinic-management-section {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    #ffffff
  );
  padding: 90px 0;
}

/* feature card */
.feature-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(58, 104, 121, 0.12);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

/* visible on scroll */
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* hover effect */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(58, 104, 121, 0.28);
  border-color: var(--primary-color);
}

/* card body */
.feature-card .card-body {
  padding: 34px 28px;
  text-align: center;
}

/* icon */
.feature-card i {
  color: var(--accent-color);
  margin-bottom: 16px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
  color: var(--primary-color);
}

/* title */
.feature-card .card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* text */
.feature-card .card-text {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* mobile */
@media (max-width: 767px) {
  .clinic-management-section {
    padding: 70px 0;
  }

  .feature-card {
    margin-bottom: 28px;
  }
}
/* =====================================
   Section 4----STATS STRIP
===================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  padding: 40px 0 110px;
  position: relative;
  overflow: hidden;
}
.empty-cells {
  background: linear-gradient(10deg, var(--accent-color), var(--primary-color));
  padding: 0px 0 100px;
  position: relative;
  overflow: hidden;
}

/* decorative circle */
.stats-strip::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -10px;
  width: 200px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

/* stat box */
.stat-box {
  transition: transform 0.4s ease;
}

.stat-box:hover {
  transform: translateY(-6px);
}

/* number */
.stat-number {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

/* label */
.stat-label {
  font-size: 15px;
  opacity: 0.9;
  color: var(--primary-dark);
}

/* mobile */
@media (max-width: 768px) {
  .stats-strip {
    padding: 60px 0 70px;
  }

  .stat-number {
    font-size: 34px;
  }
}
/* =====================================
   Section 5---WHY SENZDOC
===================================== */
.why-section {
  background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 100%);
  padding: 120px 0 100px;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

/* MAIN WRAPPER */
.why-wrapper {
  background: #ffffff;
  border-radius: 28px;
  padding: 70px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 40px 90px rgba(20, 184, 166, 0.25);
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s ease;
  position: relative;
}

/* Reveal */
.why-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

/* Section title */
.why-wrapper h2 {
  font-weight: 800;
  color: var(--primary-color);
}

.why-wrapper p {
  font-size: 16px;
  color: #475569;
}

/* WHY CARDS */
.why-card {
  background: #f8fffd;
  border-radius: 18px;
  padding: 26px;
  height: 100%;
  border: 1px solid #ccfbf1;
  position: relative;
  transition: all 0.35s ease;
}

/* top accent */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-dark));
  border-radius: 18px 18px 0 0;
}

/* hover */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 184, 166, 0.22);
}

.why-card h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 15px;
  color: #475569;
}

/* TRUST BOX */
.why-trust {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: #ffffff;
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.why-trust h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

.why-trust ul {
  padding-left: 18px;
}

.why-trust li {
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.95;
}

/* MOBILE */
@media (max-width: 768px) {
  .why-wrapper {
    padding: 45px 28px;
  }

  .why-wrapper h2 {
    font-size: 26px;
  }
}
/* =====================================
   Section 6---GLOBAL PRESENCE 
===================================== */
#global-presence {
  background: linear-gradient(180deg, var(--global-presence-bg) 0%, #ffffff 100%);
  padding: 60px 0;
}

/* container spacing reduced */
#global-presence .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Heading */
#global-presence h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Description */
#global-presence p {
  color: #475569;
  font-size: 15px;
  max-width: 720px;
  margin-bottom: 25px;
}

/* layout */
#global-presence .row {
  align-items: center;
}

/* MAP */
.map-img {
  width: 100%;
  max-width: 480px; /* 🔥 size reduced */
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.18);
  transition: transform 0.4s ease;
}

.map-img:hover {
  transform: scale(1.02);
}

/* Right column */
#global-presence .col-lg-5 {
  padding-left: 20px;
}

/* Active users heading */
#global-presence h4 {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

/* List */
#global-presence .list-unstyled {
  font-size: 15px;
}

#global-presence .list-unstyled li {
  margin-bottom: 10px;
  color: #334155;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccfbf1;
  padding-bottom: 6px;
}

#global-presence .list-unstyled li strong {
  color: var(--accent-color);
  font-weight: 700;
}

/* Animation */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile */
@media (max-width: 768px) {
  #global-presence h1 {
    font-size: 26px;
    text-align: center;
  }

  #global-presence p {
    text-align: center;
  }

  .map-img {
    max-width: 100%;
  }

  #global-presence .col-lg-5 {
    padding-left: 0;
    text-align: center;
    margin-top: 25px;
  }
}
/* =====================================
   Section 7---CONTACT US
===================================== */
.contact-us-section {
  background: linear-gradient(180deg, var(--contact-bg), #ffffff);
  padding: 60px 0;
}

/* Section title */
.contact-us-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* subtitle */
.contact-us-section p {
  font-size: 15px;
  color: #475569;
}

/* LEFT INFO BOX */
.contact-info {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 20px 45px rgba(20, 184, 166, 0.15);
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.contact-info a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* FORM BOX */
.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 25px 55px rgba(15, 118, 110, 0.18);
}

/* inputs */
.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  padding: 12px 14px;
  font-size: 14.5px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.15rem rgba(20, 184, 166, 0.25);
}

/* button */
.contact-form .btn {
  background: linear-gradient(135deg, var(--primary-color), #0d9488);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  transform: translateY(-2px);
}

/* fade animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

/* mobile */
@media (max-width: 768px) {
  .contact-us-section {
    padding: 45px 0;
  }

  .contact-form {
    margin-top: 30px;
  }

  .contact-us-section h2 {
    font-size: 26px;
    text-align: center;
  }

  .contact-us-section p {
    text-align: center;
  }
}
