/* ============================================================
   DEVAL ENTERPRISE LLP — Landing Page Stylesheet
   Brand colours taken from the product catalogue:
   blue + orange + white, clean medical/industrial style.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --blue:        #1a5da6;   /* primary brand blue  */
  --blue-dark:   #0d3b6e;   /* deep navy           */
  --blue-light:  #eaf2fa;   /* light blue section  */
  --orange:      #f5821f;   /* brand orange        */
  --orange-dark: #d96e10;
  --ink:         #23303e;   /* body text           */
  --muted:       #5c6b7a;
  --line:        #e3e9f0;
  --bg-alt:      #f5f8fb;   /* alternate section   */
  --white:       #ffffff;
  --radius:      16px;
  --shadow-sm:   0 2px 10px rgba(13, 59, 110, .07);
  --shadow-md:   0 10px 30px rgba(13, 59, 110, .12);
  --font-head:   "Poppins", sans-serif;
  --font-body:   "Inter", sans-serif;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand { font-family: var(--font-head); }

img { max-width: 100%; }

.container-xl { max-width: 1280px; }  /* max content width */

.text-orange { color: var(--orange); }

/* Accessible focus states */
a:focus-visible, button:focus-visible, .form-control:focus-visible,
.form-select:focus-visible, .filter-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 3. Buttons ---------- */
.btn { border-radius: 50rem; font-weight: 600; padding: .55rem 1.4rem; }

.btn-orange {
  background: var(--orange); border: 2px solid var(--orange); color: #fff;
}
.btn-orange:hover, .btn-orange:focus {
  background: var(--orange-dark); border-color: var(--orange-dark); color: #fff;
}

.btn-blue {
  background: var(--blue); border: 2px solid var(--blue); color: #fff;
}
.btn-blue:hover, .btn-blue:focus {
  background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
}

.btn-outline-blue {
  border: 2px solid var(--blue); color: var(--blue); background: transparent;
}
.btn-outline-blue:hover, .btn-outline-blue:focus {
  background: var(--blue); color: #fff;
}

.btn-outline-light { border-width: 2px; }

.btn-whatsapp {
  background: #25d366; border: 2px solid #25d366; color: #fff;
}
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #1eb958; border-color: #1eb958; color: #fff; }

/* ---------- 4. Header ---------- */
.site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.navbar { padding-block: .65rem; }

.navbar-toggler { border: 0; font-size: 1.4rem; color: var(--blue); }

.nav-link {
  font-weight: 500; color: var(--ink); padding-inline: .85rem !important;
  position: relative;
}
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem;
  height: 3px; border-radius: 2px; background: var(--orange);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 65%, #2a72c0 100%);
  color: #fff;
  overflow: hidden;
}
.hero-shape { position: absolute; border-radius: 50%; opacity: .12; background: #fff; }
.hero-shape-1 { width: 420px; height: 420px; top: -140px; right: -100px; background: var(--orange); opacity: .18; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -120px; left: -80px; }

.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  padding: .35rem 1rem; border-radius: 50rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .4px;
  margin-bottom: 1.1rem;
}

.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.25; }

.hero .lead { color: #dbe8f7; font-size: 1.06rem; margin-top: 1rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 1.7rem 0 0; font-size: .93rem; font-weight: 500;
}
.hero-trust i { color: var(--orange); margin-right: .4rem; }

.hero-figure { position: relative; margin: 0; }
.hero-img-main {
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 4px solid rgba(255,255,255,.25);
}
.hero-img-float {
  position: absolute; width: 42%; right: -12px; bottom: -34px;
  border-radius: 12px; border: 4px solid #fff; box-shadow: var(--shadow-md);
}

/* ---------- 6. Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: inline-block; color: var(--orange); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem;
  margin-bottom: .5rem;
}
.section-eyebrow.light { color: #ffc48d; }

.section-title { font-weight: 700; color: var(--blue-dark); font-size: clamp(1.5rem, 2.6vw, 2.15rem); }

.section-sub { color: var(--muted); max-width: 640px; margin: .6rem auto 0; }

.section-head { margin-bottom: 2.6rem; }

/* ---------- 7. About ---------- */
.about-figure { position: relative; margin: 0; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: #fff; color: var(--blue-dark);
  border-radius: 50rem; padding: .5rem 1.1rem;
  font-weight: 600; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .5rem;
}
.about-badge i { color: var(--orange); }

.about-points { margin: 1.4rem 0; display: grid; gap: .9rem; }
.about-points li { display: flex; gap: .9rem; align-items: flex-start; }
.about-points i {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); font-size: 1.05rem;
}
.about-points strong { display: block; color: var(--blue-dark); }
.about-points span { color: var(--muted); font-size: .92rem; }

.made-in-india-badge { filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }

/* ---------- 8. Product grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }

.filter-btn {
  border: 2px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 50rem; padding: .45rem 1.3rem; font-weight: 600; font-size: .92rem;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.product-col.hidden { display: none; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product-img {
  height: 220px; background: #fff; display: grid; place-items: center;
  border-bottom: 1px solid var(--line); padding: 18px; overflow: hidden;
}
.product-img img {
  max-height: 100%; object-fit: contain; transition: transform .35s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }

.product-tag {
  align-self: flex-start; background: var(--blue-light); color: var(--blue);
  font-size: .75rem; font-weight: 700; letter-spacing: .5px;
  padding: .25rem .75rem; border-radius: 50rem; margin-bottom: .7rem;
}
.product-tag-icu { background: #fdeedd; color: var(--orange-dark); }

.product-body h3 { font-size: 1.08rem; font-weight: 600; color: var(--blue-dark); }
.product-body > p { color: var(--muted); font-size: .92rem; }

.product-meta { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .87rem; color: var(--ink); }
.product-meta li { margin-bottom: .3rem; }
.product-meta i { color: var(--orange); width: 20px; }

.product-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- 9. Product modal ---------- */
.modal-content { border-radius: var(--radius); border: 0; }
.modal-header { background: var(--blue-light); border-bottom: 1px solid var(--line); }
.modal-title { color: var(--blue-dark); font-weight: 700; }

.modal-product-img {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center; padding: 16px; min-height: 260px; margin-bottom: 1rem;
}
.modal-product-img img { max-height: 300px; object-fit: contain; }

.modal-model { font-size: .95rem; color: var(--muted); }
.modal-model strong { color: var(--blue-dark); }

.nav-tabs .nav-link { color: var(--muted); font-weight: 600; }
.nav-tabs .nav-link.active { color: var(--blue); }

.modal-features { list-style: none; padding: 0; margin: 0; }
.modal-features li { padding: .34rem 0 .34rem 1.6rem; position: relative; font-size: .94rem; }
.modal-features li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--orange); position: absolute; left: 0;
}

.spec-table td { font-size: .9rem; padding: .5rem .6rem; }
.spec-table td:first-child { font-weight: 600; color: var(--blue-dark); width: 42%; }

.drawing-thumb {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 10px; width: 100%; cursor: zoom-in;
}
.drawing-thumb img { max-height: 240px; object-fit: contain; width: 100%; }

/* ---------- 10. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 25, 45, .92);
  display: grid; place-items: center; padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; background: #fff; border-radius: 10px; padding: 12px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; border: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 1.3rem;
}

/* ---------- 11. Applications ---------- */
.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; height: 100%; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-icon {
  width: 66px; height: 66px; margin: 0 auto 1.1rem; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
}
.app-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); }
.app-card p { color: var(--muted); font-size: .91rem; margin: 0; }

/* ---------- 12. Why choose us ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1rem;
  display: grid; place-items: center; font-size: 1.35rem;
  background: #fdeedd; color: var(--orange);
}
.feature-card h3 { font-size: 1.03rem; font-weight: 600; color: var(--blue-dark); }
.feature-card p { color: var(--muted); font-size: .91rem; margin: 0; }

/* ---------- 13. FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line); border-radius: 12px !important;
  margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 600; color: var(--blue-dark); background: #fff;
  padding: 1.05rem 1.3rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--blue-light); color: var(--blue); box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(245, 130, 31, .35); }
.faq-accordion .accordion-body { color: var(--muted); }

/* ---------- 14. Contact ---------- */
.section-contact {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 90%);
  color: #fff;
}
.section-contact .section-title { color: #fff; }
.section-contact .section-sub { color: #cfe0f2; }

.contact-info {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 1.7rem; height: 100%;
}
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.15rem; align-items: flex-start; }
.contact-list i {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.05rem;
  background: rgba(255,255,255,.12); color: var(--orange);
}
.contact-list strong { display: block; font-size: .85rem; letter-spacing: .3px; color: #cfe0f2; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--orange); }


.enquiry-form {
  background: #fff; border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-md); color: var(--ink); position: relative;
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--blue-dark); }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .6rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 93, 166, .15);
}

.form-success {
  position: absolute; inset: 0; background: #fff; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 2rem; z-index: 5;
}
.form-success[hidden] { display: none; }
.form-success i { font-size: 3rem; color: #27a844; margin-bottom: 1rem; }
.form-success h3 { color: var(--blue-dark); font-weight: 700; }
.form-success a { color: var(--blue); font-weight: 600; }

/* ---------- 15. Footer ---------- */
.site-footer { background: #0a2c52; color: #b9cbe0; padding: 64px 0 0; }
.site-footer .footer-logo { background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-title { font-size: .95rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #b9cbe0; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--orange); margin-top: .25rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.6rem;
  padding: 1.2rem 0; font-size: .88rem; text-align: center;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ---------- 16. Floating buttons ---------- */
.float-btn {
  position: fixed; right: 20px; z-index: 1500;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem;
  color: #fff; border: 0; box-shadow: var(--shadow-md);
  transition: transform .2s ease, opacity .3s ease;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp { background: #25d366; bottom: 20px; }
.float-call     { background: var(--blue); bottom: 84px; }
.back-to-top    { background: var(--orange); bottom: 84px; opacity: 0; pointer-events: none; }
@media (max-width: 991.98px) { .back-to-top { bottom: 148px; } }
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- 17. Scroll-reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 18. Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff; border-radius: 12px; padding: 1rem;
    box-shadow: var(--shadow-md); margin-top: .6rem;
  }
  .hero { padding: 120px 0 70px; }
}

@media (max-width: 575.98px) {
  .section { padding: 64px 0; }
  .hero-cta .btn { width: 100%; }
  .product-actions .btn { flex: 1; }
}

/* ---------- 19. Extra animations ---------- */
@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.04); }
}
.hero-shape-1 { animation: floatShape 9s ease-in-out infinite; }
.hero-shape-2 { animation: floatShape 12s ease-in-out infinite reverse; }

@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.float-whatsapp { animation: waPulse 2.4s ease-out infinite; }

/* Hero entrance */
@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.hero-img-main { animation: heroImgIn .9s ease .15s both; }
.hero-img-float { animation: heroImgIn .9s ease .45s both; }

/* Section eyebrow underline sweep */
.section-eyebrow { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero-shape-1, .hero-shape-2, .float-whatsapp,
  .hero-img-main, .hero-img-float { animation: none; }
}

/* ---------- 20. Contact section refinements ---------- */
.contact-head {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.2rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.contact-head-icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--orange); color: #fff;
}
.contact-head h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 .2rem; }
.contact-head p { margin: 0; font-size: .88rem; color: #cfe0f2; }

.contact-info { display: flex; flex-direction: column; }

.contact-list li:hover i { background: var(--orange); color: #fff; transition: all .2s ease; }

.contact-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1.2rem; }
.contact-facts span {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 50rem; padding: .35rem .85rem;
  font-size: .8rem; font-weight: 600; color: #eaf2fa;
}
.contact-facts i { color: var(--orange); margin-right: .35rem; }

.contact-cta { margin-top: auto; display: grid; gap: .6rem; }
.contact-cta .btn-outline-light:hover { color: var(--blue-dark); background: #fff; }

.form-head {
  margin-bottom: 1.3rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.form-head h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .25rem; }
.form-head h3 i { color: var(--orange); }
.form-head p { font-size: .88rem; color: var(--muted); margin: 0; }

@media (max-width: 991.98px) {
  .contact-cta { margin-top: 1.2rem; }
}

/* ---------- 21. Modal / floating button responsive fixes ---------- */
/* Keep floating buttons BELOW the modal so they never cover its buttons */
.float-btn { z-index: 1030; }

/* Modal footer: left-aligned buttons; full-width stacked on small screens */
.modal-footer { justify-content: flex-start; gap: .5rem; }
@media (max-width: 575.98px) {
  .modal-footer { flex-direction: column; align-items: stretch; gap: .6rem; }
  .modal-footer .btn { width: 100%; margin: 0; }
}

/* Crisp header logo on all screens */
.brand-logo { width: auto; max-height: 46px; }
@media (max-width: 575.98px) { .brand-logo { max-height: 38px; } }

/* ---------- 22. Hero quick-enquiry form ---------- */
.hero-form {
  background: #fff; border-radius: var(--radius); padding: 1.7rem;
  box-shadow: 0 18px 50px rgba(6, 28, 55, .35);
  color: var(--ink); position: relative;
  animation: heroImgIn .9s ease .25s both;
}
.hero-form-head { margin-bottom: 1.1rem; }
.hero-form-head h2 { font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .25rem; }
.hero-form-head p { font-size: .88rem; color: var(--muted); margin: 0; }
.hero-form .form-label { margin-bottom: .3rem; }
@media (max-width: 991.98px) { .hero-form { margin-top: .5rem; } }
