/* ==========================================================
   Novedra Pharmaceuticals – Complete Theme
   Light Mode + Dark Mode
========================================================== */

/* ------------------ Light Theme Variables ------------------ */
:root {
  --p-bg: #fff9f6;
  --p-surface: #ffffff;
  --p-blue: #6ec5ff;
  --p-pink: #ff9bbb;
  --p-green: #8fe3c1;
  --p-dark: #004a8e;
  --p-text: #1a2d42;
  --p-muted: #556b83;
  --p-border-soft: rgba(0, 0, 0, 0.06);
  --p-shadow-soft: 0 14px 28px rgba(0, 87, 120, 0.08);
}

/* ------------------ Dark Theme Variables ------------------ */
body.theme-dark {
  --p-bg: #0c1724;
  --p-surface: #122234;
  --p-blue: #5ab4ff;
  --p-pink: #ff7ca6;
  --p-green: #65d4b1;
  --p-dark: #0b2644;
  --p-text: #eaf4ff;
  --p-muted: #a9bed5;
  --p-border-soft: rgba(255, 255, 255, 0.08);
  --p-shadow-soft: 0 16px 32px rgba(0, 0, 0, 0.5);
}

/* ==========================================================
   GLOBAL
========================================================== */
body {
  font-family: "Poppins", sans-serif;
  background: var(--p-bg);
  color: var(--p-text);
  margin: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--p-muted);
  max-width: 700px;
  margin: 0 auto 25px;
}

/* ==========================================================
   NAVBAR – Light in both day & dark mode
========================================================== */
.navbar-brand img {
  height: 50px;
}

.navbar-custom {
  background: #ffffffdd !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.navbar-custom .nav-link {
  color: #003c89 !important;
  font-weight: 500;
}

.navbar-custom .nav-link.active {
  color: #1a73e8 !important;
}

.theme-toggle-btn {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid #bcd3ff;
  background: #e7f0ff;
  color: #003c89;
  font-size: 0.85rem;
  transition: 0.3s ease;
}

.theme-toggle-btn:hover {
  background: #d9e8ff;
}

/* Dark Mode – Nav still light */
.theme-dark .navbar-custom {
  background: #f7f9ffdd !important;
}

.theme-dark .navbar-custom .nav-link {
  color: #1a3f7a !important;
}

.theme-dark .theme-toggle-btn {
  background: #e4ecff;
  color: #002c7a;
  border-color: #a9c3ff;
}

/* Mobile nav fix */
.navbar-collapse {
  /* background: #ffffffee; */
  padding: 12px;
  border-radius: 12px;
}

.theme-dark .navbar-collapse {
  /* background: #f4f7ffee !important; */
}

/* ==========================================================
   WAVE SEPARATOR
========================================================== */

.wave-separator svg {
  width: 100%;
  display: block;
}

.theme-dark .wave-separator path {
  fill: #0f172a !important;
}

/* ==========================================================
   HERO SECTION
========================================================== */

.hero-section {
  background: linear-gradient(135deg, #6ec5ff, #ff9bbb, #8fe3c1);
  color: #ffffff;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  padding: 100px 0 70px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 520px;
}

.hero-illustration {
  border-radius: 26px;
  box-shadow: 0 22px 45px rgba(0,0,0,0.25);
}

/* FLOATING GLYPH PILLS */
.floating-pill {
  position: absolute;
  font-size: 30px;
  opacity: 0.35;
  animation: pillFloat 6s infinite ease-in-out;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

.pill-1 { top: 18%; left: 8%; animation-delay: 0s; }
.pill-2 { bottom: 16%; right: 10%; animation-delay: 1.2s; }
.pill-3 { top: 55%; left: 4%; animation-delay: 2.2s; }
.pill-4 { top: 25%; right: 18%; animation-delay: 3.5s; }

@keyframes pillFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-14px) rotate(10deg); }
}

.theme-dark .floating-pill {
  opacity: 0.55;
}

/* ==========================================================
   WHY TRUST US – Redesigned
========================================================== */

.why-trust-section {
  background: linear-gradient(135deg, #f9fbff, #eef7ff);
}

.trust-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0,0,0,0.06);
  transition: 0.35s ease;
}

.trust-card:hover {
  transform: translateY(-8px);
}

.trust-icon {
  font-size: 46px;
  display: block;
  margin-bottom: 12px;
}

.theme-dark .why-trust-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.theme-dark .trust-card {
  background: #1e293b !important;
  color: #e6ebff !important;
  box-shadow: 0 12px 25px rgba(255,255,255,0.05);
}

/* ==========================================================
   PRODUCT PORTFOLIO – FIXED FOR DARK & LIGHT MODES
========================================================== */

.product-portfolio-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff, #eef7ff);
}

.theme-dark .product-portfolio-section {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
}

/* 3D Card */
.portfolio-card {
  background: var(--p-surface);
  padding: 28px;
  border-radius: 22px;
  text-align: center;
  border: 1px solid var(--p-border-soft);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  transition: 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 26px 50px rgba(0,0,0,0.15);
}

/* Icon */
.portfolio-icon {
  width: 80px;
  height: 80px;
  background: #eef3ff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin: 0 auto 14px;
  transition: 0.35s ease;
}

.portfolio-card:hover .portfolio-icon {
  transform: translateY(-6px) scale(1.10);
}

/* DARK MODE FIX — Ensures visibility */
.theme-dark .portfolio-card {
  background: #1f2a3d !important;
  border-color: rgba(255,255,255,0.08);
  color: #e6ebff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45) !important;
}

.theme-dark .portfolio-icon {
  background: #27344a !important;
  color: #eaf4ff !important;
}

/* Titles & subtitles visibility */
.theme-dark .section-title,
.theme-dark .section-subtitle {
  color: #eaf4ff !important;
}

/* ==========================================================
   MARKET POTENTIAL – CENTERED, NEW MEDIUM BACKGROUND
========================================================== */

ul.market-pro-list.mt-5.mx-auto {
    list-style-type: none;
}

.market-potential-pro-centered {
  padding: 80px 0;
  background: linear-gradient(135deg,
              rgba(150,190,255,0.25),
              rgba(180,220,255,0.25),
              rgba(160,210,255,0.25));
  border-radius: 0 0 80px 80px;
}

.stat-bubble {
  background: #ffffff;
  padding: 28px 10px;
  border-radius: 20px;
  box-shadow: 0px 12px 24px rgba(0,0,0,0.06);
  transition: 0.35s;
}

.stat-bubble:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--p-blue);
}

.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--p-muted);
}

.theme-dark .market-potential-pro-centered {
  background: linear-gradient(135deg,
              rgba(30,50,80,0.65),
              rgba(40,60,90,0.65),
              rgba(35,55,85,0.65)) !important;
}

.theme-dark .stat-bubble {
  background: #1e293b !important;
  border: 1px solid rgba(255,255,255,0.05);
  color: #e6ebff !important;
}

/* ==========================================================
   MODERN CIRCULAR TIMELINE
========================================================== */

.modern-timeline {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  padding: 90px 0;
}

.timeline-circle-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.timeline-circle-step {
  width: 180px;
  height: 180px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0px 12px 24px rgba(0,0,0,0.06);
  padding: 25px;
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-circle-step:hover {
  transform: translateY(-12px);
}

.circle-year {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--p-blue);
}

.theme-dark .modern-timeline {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.theme-dark .timeline-circle-step {
  background: #1e293b !important;
  color: #e6ebff !important;
  border: 1px solid rgba(255,255,255,0.05);
}

.theme-dark .circle-year {
  color: #5ab4ff !important;
}

/* ==========================================================
   FAQ
========================================================== */

.faq-item {
  background: var(--p-surface);
  border: 1px solid var(--p-border-soft);
  border-radius: 20px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--p-shadow-soft);
}

.faq-question {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 18px 14px 18px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================
   FORM + INPUTS
========================================================== */

.form-control,
.form-select {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--p-border-soft);
  background: var(--p-surface);
}

/* ==========================================================
   FOOTER
========================================================== */

footer {
  background: var(--p-dark);
  color: #dff2ff;
  padding: 28px 0;
  text-align: center;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-section { border-radius: 0 0 40px 40px; }

  .timeline-circle-step {
    width: 150px;
    height: 150px;
  }

  .stat-bubble { padding: 20px; }
}

/* ==========================================================
   GALLERY CAROUSEL – Styling
========================================================== */

.gallery-carousel-section {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border-radius: 0 0 80px 80px;
}

.gallery-img {
  height:800px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(1);
}

/* Control Circle */
.gallery-control {
  background-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  padding: 18px;
}

/* Dark Mode Compatibility */
.theme-dark .gallery-carousel-section {
  background: linear-gradient(135deg, #0f172a, #1a2535) !important;
}

.theme-dark .gallery-img {
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
}

.theme-dark .carousel-control-prev-icon,
.theme-dark .carousel-control-next-icon {
  filter: invert(0) brightness(2);
}

.theme-dark .gallery-control {
  background-color: rgba(255,255,255,0.2);
}
/* ==========================================================
   CAROUSEL FADE UPGRADE
========================================================== */

.carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.carousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel.carousel-fade .carousel-item img {
  transition: transform 1.4s ease, filter 1.4s ease;
}

.carousel.carousel-fade .carousel-item.active img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.theme-dark .carousel.carousel-fade .carousel-item.active img {
  filter: brightness(1.2);
}

/* ==========================================================
   COMPLETE RESPONSIVE OPTIMIZATION
========================================================== */

/* ---------- SMALL MOBILE (max-width: 576px) ---------- */
@media (max-width: 576px) {

  /* General spacing */
  .section { padding: 55px 0; }

  /* Hero */
  .hero-title { font-size: 1.8rem; line-height: 1.3; }
  .hero-sub { font-size: 0.9rem; }
  .hero-section { padding: 60px 0; border-radius: 0 0 40px 40px; text-align: center; }

  .hero-section .btn { width: 100%; margin-bottom: 10px; }

  /* Carousel images */
  .gallery-img { height: 230px; }

  /* Stats */
  .stat-bubble { padding: 20px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.8rem; }

  /* Product cards */
  .portfolio-card { padding: 22px; }
  .portfolio-icon { width: 70px; height: 70px; font-size: 34px; }

  /* Founders */
  .founder-clean-card { padding: 18px; }

  /* Timeline circles */
  .timeline-circle-step {
    width: 130px;
    height: 130px;
    padding: 18px;
  }

  /* Navbar mobile bg fix */
  .navbar-collapse {
    /* background: #ffffff !important; */
    padding: 18px !important;
  }
  .theme-dark .navbar-collapse {
    /* background: #e9f0ff !important; */
  }

  /* FAQ */
  .faq-question { padding: 12px; }
  .faq-answer { padding: 0 14px 12px; }
}

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

  .hero-title { font-size: 2rem; }
  .hero-section { padding: 70px 0; }

  .gallery-img { height: 300px; }

  .portfolio-card { margin-bottom: 12px; }

  .stat-bubble { margin-bottom: 12px; }

  .timeline-circle-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- TABLETS (max-width: 992px) ---------- */
@media (max-width: 992px) {

  .hero-title { font-size: 2.2rem; }

  .hero-illustration {
    width: 90%;
    margin: auto;
  }

  .gallery-img { height: 350px; }

  .portfolio-card {
    margin-bottom: 18px;
  }

  .navbar-custom {
    padding: 10px 0;
  }
}

/* ---------- DESKTOP LARGE SCREENS ---------- */
@media (min-width: 1400px) {
  .hero-title { font-size: 3.2rem; }
  .hero-sub { font-size: 1.2rem; max-width: 600px; }

  .gallery-img { height: 500px; }
}

/* ---------- ULTRA-WIDE SCREENS ---------- */
@media (min-width: 1800px) {
  .hero-section { padding: 140px 0; }
  .section { padding: 110px 0; }

  .gallery-img { height: 560px; }

  .portfolio-card { transform: scale(1.05); }
}

/* ==========================================================
   ABOUT PAGE FIXED SPACING & IMAGE CLEANUP
========================================================== */

.about-banner-clean {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #6ec5ff, #ff9bbb, #8fe3c1);
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  color: white;
}

.about-banner-img {
  max-width: 180px;
  height: auto;
}

.about-section {
  padding: 80px 0;
  background: var(--p-bg);
}

/* Story image clean size */
.story-img {
  max-width: 350px;
  width: 100%;
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.1));
}

/* Founders */
.founder-card {
  background: var(--p-surface);
  padding: 25px;
  border-radius: 22px;
  text-align:center;
  box-shadow: var(--p-shadow-soft);
  transition: 0.3s;
}

.founder-card:hover {
  transform: translateY(-8px);
}

.founder-photo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background:#eef6ff;
  padding:10px;
  border-radius: 16px;
}

/* Vision & Mission */
.vm-card {
  background: var(--p-surface);
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--p-shadow-soft);
  transition:.3s ease;
}
.vm-card:hover { transform: translateY(-6px); }

/* Quality badges */
.badge-box {
  background: var(--p-surface);
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--p-shadow-soft);
}

/* DARK MODE FIX */
.theme-dark .founder-card,
.theme-dark .vm-card,
.theme-dark .badge-box {
  background: #1e293b !important;
  color: #e6ebff;
}

.theme-dark .story-img {
  filter: drop-shadow(0 0 18px rgba(150,200,255,.35));
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
  .about-section { padding: 60px 0; }
  .story-img { max-width: 260px; }
  .founder-photo { width:100px; height:100px; }
}
/* ==========================================================
   VISION & MISSION – INTERACTIVE GRID DESIGN
========================================================== */

.vision-mission-enhanced {
  padding: 90px 0;
  background: linear-gradient(135deg, #f7fbff, #eef6ff);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.vm-item {
  background: var(--p-surface);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--p-border-soft);
  box-shadow: var(--p-shadow-soft);
  transition: 0.35s ease;
}

.vm-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.vm-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

/* Dark Mode */
.theme-dark .vision-mission-enhanced {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.theme-dark .vm-item {
  background: #1e293b !important;
  border-color: rgba(255,255,255,0.06);
  color: #e6ebff !important;
}
/* ==========================================================
   QUALITY SECTION – MODERN GRID
========================================================== */

.quality-enhanced {
  padding: 90px 0;
  background: var(--p-bg);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.quality-card {
  background: var(--p-surface);
  padding: 26px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--p-border-soft);
  box-shadow: var(--p-shadow-soft);
  transition: 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

.quality-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* DARK MODE */
.theme-dark .quality-card {
  background: #1e293b !important;
  color: #e6ebff !important;
}

/* ==========================================================
   ABOUT FULL IMAGE HERO
========================================================== */

.about-hero-full {
  position: relative;
  width: 100%;
  height: 70vh;                 /* Adjust height here */
  min-height: 420px;            /* Ensures good size on small screens */
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  overflow: hidden;
}

.about-hero-full {
  width: 100%;
  height: auto;            /* FIX: Dynamic size */
  padding: 40px 0;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
}

/* Wrapper for smooth clipping */
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-full-image {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* FIX: No cropping */
  object-position: center;
  background: linear-gradient(135deg, #6ec5ff, #ff9bbb, #8fe3c1); /* behind image */
  padding: 20px;             /* ensures clean spacing */
}


/* Subtle zoom on hover (optional) */
.hero-full-image:hover {
  transform: scale(1.03);
}

/* Dark Mode – keeps hero clean */
.theme-dark .about-hero-full {
  background: #0f172a;
}

.theme-dark .hero-full-image {
  filter: brightness(1.08) drop-shadow(0 12px 25px rgba(150,200,255,0.25));
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero-full {
    height: 55vh;
    border-radius: 0 0 40px 40px;
  }
  .hero-full-image {
    border-radius: 0 0 40px 40px;
  }
}


/* END OF FILE */
