:root {
  --top-info-bar-height: 0px;
  --main-menu-height: 88px;
  --logo-height: 62px;
  --slider-arrow-size-desktop: 70px;
  --slider-arrow-size-mobile: 38px;
  --slider-arrow-side-gap-desktop: 18px;
  --slider-arrow-side-gap-mobile: 8px;
  --slider-arrow-opacity: 0.2;
  --slider-arrow-opacity-hover: 1;
  --theme-blue: #3399cc;
  --theme-purple: #660099;
  --theme-gradient: linear-gradient(135deg, #3399cc 0%, #660099 100%);
  --theme-gradient-soft: linear-gradient(135deg, rgba(51, 153, 204, 0.14) 0%, rgba(102, 0, 153, 0.14) 100%);
  --theme-text: #1d2140;
  --theme-white: #ffffff;
}
/* =========================
   GLOBAL RESET & LAYOUT
========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--theme-text);
  background: #f7f7fb;
}

.container {
  width: 1180px;
  max-width: 95%;
  margin: auto;
  box-sizing: border-box;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  display: none;
}

/* =========================
   HEADER
========================= */
.main-header {
  background: var(--theme-gradient);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 14px 34px rgba(34, 31, 79, 0.16);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--main-menu-height, 100px);
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  display: block;
  height: var(--logo-height, 70px);
  margin-right: 10px;
  object-fit: contain;
}

.logo span {
  font-size: 21px;
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  line-height: 1;
  transition: opacity 0.25s ease;
}
.main-nav .training-menu {
  position: relative;
}

.main-nav .training-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #ffffff;
  background: transparent;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.38), inset 0 0 10px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.main-nav .training-button:hover,
.main-nav .training-menu:focus-within .training-button {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.78), 0 0 34px rgba(51, 153, 204, 0.42), inset 0 0 12px rgba(255, 255, 255, 0.16);
}

.main-nav .training-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: block;
  min-width: 210px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(25, 20, 55, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav .training-menu:hover .training-dropdown,
.main-nav .training-menu:focus-within .training-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .training-dropdown li {
  margin: 0;
}

.main-nav .training-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--theme-text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav .training-dropdown a:hover,
.main-nav .training-dropdown a:focus {
  opacity: 1;
  color: var(--theme-purple);
  background: var(--theme-gradient-soft);
}




.main-nav a.active {
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  padding-bottom: 6px;
}

.mobile-menu a.active {
  color: #ffffff;
}




.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
}


/* =========================
   MOBILE DRAWER
========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, rgba(51, 153, 204, 0.42) 0%, rgba(102, 0, 153, 0.52) 100%);
  color: #fff;
  transition: right 0.3s ease;
  z-index: 2000;
  padding-top: 60px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: -18px 0 40px rgba(18, 22, 44, 0.22);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0 22px;
}

.mobile-menu li {
  margin: 20px 0;
  text-align: left;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}


.mobile-training-menu .training-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: transparent;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.mobile-menu .training-dropdown {
  display: block;
  padding: 8px 0 0 14px;
  margin: 0;
  list-style: none;
}

.mobile-menu .training-dropdown li {
  margin: 8px 0;
}

.mobile-menu .training-dropdown a {
  font-size: 16px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* =========================
   SLIDER
========================= */
.slider {
  position: relative;
  overflow: hidden;
  height: 700px;
}

.slider-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 980px);
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.35);
  padding: 18px 28px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: var(--slider-arrow-size-desktop, 54px);
  line-height: 1;
  opacity: var(--slider-arrow-opacity, 0.5);
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 54px;
  height: 54px;
  padding: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  user-select: none;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  opacity: var(--slider-arrow-opacity-hover, 1);
  transform: translateY(-50%) scale(1.06);
}

.slider-btn-prev {
  left: var(--slider-arrow-side-gap-desktop, 18px);
}

.slider-btn-next {
  right: var(--slider-arrow-side-gap-desktop, 18px);
}
/* =========================
   WHY CHOOSE US
========================= */
.why-choose {
  padding: 50px 0;
  text-align: center;
  background: #ffffff;
}

.why-choose h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.why-choose .desc {
  font-size: 18px;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.grid-item {
  background: #ffffff;
  padding: 0 20px 20px;
  border-radius: 18px;
  border: 1px solid #660099;
  box-shadow: 0 14px 32px rgba(29, 33, 64, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid-item img {
  width: 80px;
  margin-bottom: 10px;
}

/* =========================
   SAFETY FEATURE SECTIONS
========================= */
.safety-feature {
  padding: 65px 0;
  background: #ffffff;
}

.safety-feature-alt {
  background: linear-gradient(180deg, rgba(51, 153, 204, 0.06) 0%, rgba(102, 0, 153, 0.08) 100%);
}

.safety-feature-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.safety-feature-title {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.2;
  text-align: center;
}

.safety-feature-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(29, 33, 64, 0.16);
}

.safety-feature-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #4b2d7f;
}

.safety-feature-content p:first-child {
  margin-top: 0;
}

.safety-feature-content p,
.safety-feature-content li {
  color: #444444;
  font-size: 16px;
  line-height: 1.8;
}

.safety-feature-content ul {
  margin: 0;
  padding-left: 22px;
}

.safety-feature-content li {
  margin-bottom: 10px;
}

.safety-feature-source {
  margin-top: 22px;
  font-weight: 700;
  font-size: 12px;
  color: #184f82 !important;
}

.safety-feature-source a {
  color: inherit;
  text-decoration: none;
}

.safety-feature-source a:hover,
.safety-feature-source a:focus {
  text-decoration: none;
}

/* =========================
   CUSTOMERS SLIDER
========================= */
.customers {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}

.clients-slider {
  width: 1180px;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: client-scroll 25s linear infinite;
}

.clients-set {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-shrink: 0;
}

.client img {
  max-height: 100px;
  max-width: 160px;
  object-fit: contain;
}

@keyframes client-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   OVERVIEW
========================= */
.overview {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(51, 153, 204, 0.08) 0%, rgba(102, 0, 153, 0.08) 100%);
}

.overview h2 {
  font-size: 34px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.overview p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 16px;
  color: #555;
}

/* =========================
   REQUEST A QUOTE
========================= */
.request-quote {
  padding: 50px 20px;
  background: #ffffff;
  text-align: center;
}

/* =========================
   PRIMARY BUTTON
========================= */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 50px;
  background: var(--theme-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s ease;
  box-shadow: 0 16px 28px rgba(102, 0, 153, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(102, 0, 153, 0.28);
}

/* =========================
   FOOTER
========================= */
.footer-top {
  background: var(--theme-gradient);
  padding: 30px 0;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Quick Links */
.footer-links a,
.footer-links a:visited {
  color: #ffffff !important;      /* WHITE */
  text-decoration: none !important;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #dddddd !important;      /* Hover color */
  text-decoration: none !important;
}

/* Footer Bottom */
.footer-bottom {
  background: #1b1435;
  text-align: center;
  padding: 10px 0;
}

.footer-bottom p {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

.footer-bottom a {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .container {
    width: 100%;
    padding: 0 15px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
  }

  .slider,
  .slide img {
    height: 350px;
  }

  .overlay {
    width: 90%;
    font-size: 26px;
    line-height: 1.25;
  }

  .slider-btn {
    font-size: var(--slider-arrow-size-mobile, 38px);
    width: 44px;
    height: 44px;
  }

  .slider-btn-prev {
    left: var(--slider-arrow-side-gap-mobile, 8px);
  }

  .slider-btn-next {
    right: var(--slider-arrow-side-gap-mobile, 8px);
  }

  .why-choose h2,
  .overview h2,
  .safety-feature-title {
    font-size: 28px;
  }

  .safety-feature {
    padding: 48px 0;
  }

  .safety-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .safety-feature-media {
    display: block;
    width: 100%;
  }

  .safety-feature-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .safety-feature-content h3 {
    font-size: 20px;
  }

  .client img {
    max-height: 60px;
    max-width: 120px;
  }

  .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 50px;
  background: var(--theme-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s ease;
  box-shadow: 0 16px 28px rgba(102, 0, 153, 0.24);
}

  /* Footer order � mobile */
  .footer-grid {
    display: flex;
    flex-direction: column;
  }

  .footer-mission { order: 1; }
  .footer-vision  { order: 2; }
  .footer-links   { order: 3; }
  .footer-contact { order: 4; }
}



.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-box {
  background: #ffffff;
  padding: 0 20px 20px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid #660099;
  box-shadow: 0 14px 32px rgba(29, 33, 64, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-box img {
  width: 80px;
  margin-bottom: 10px;
}

.about-box h3 {
  margin: 0 -20px 14px;
  padding: 14px 16px;
  font-size: 21px;
  color: #ffffff;
  background: #82589d;
  border-radius: 0;
}

.about-box p {
  font-size: 14px;
  color: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {

  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-overview h2 {
  font-size: 34px;
  margin-top: 0;
}

.about-overview p,
.about-overview ul {
  text-align: justify;
}


@media (max-width: 768px) {

  .about-overview {
    grid-template-columns: 1fr !important; /* single column */
  }

  .about-overview img {
    margin-bottom: 20px;
  }

  .about-overview h2 {
    margin-top: 0;
  }
}





.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-box {
  background: #ffffff;
  padding: 0 28px 28px;
  border-radius: 18px;
  border: 1px solid rgba(102, 0, 153, 0.12);
  box-shadow: 0 18px 40px rgba(29, 33, 64, 0.1);
  overflow: hidden;
}

.product-box h3 {
  margin: 0 -28px 14px;
  padding: 14px 18px;
  font-size: 21px;
  color: #ffffff;
  background: #82589d;
  border-radius: 0;
}

.product-box ul {
  padding-left: 18px;
}

.product-box ul li {
  margin-bottom: 8px;
}

.product-box a {
  color: #184f82;
  text-decoration: none;
}



/* Mobile */
@media (max-width: 768px) {

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Product links default */
.product-box a {
  text-decoration: none;      /* underline remove */
  color: #184f82;
  transition: color 0.3s ease;
}

/* Mouse hover effect */
.product-box a:hover {
  color: #000000;             /* hover pe white */
}



/* SERVICES LAYOUT */
.services-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.services-image img {
  width: 100%;
  border-radius: 8px;
}

/* ACCORDION */
.accordion-item {
  border: 1px solid #c1dcf0;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  padding: 15px 20px;
  background: #c1dcf0;
  font-weight: 600;
  cursor: pointer;
}

.accordion-body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--theme-text);
  background: #f7f7fb;
}

.accordion-item.active .accordion-body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--theme-text);
  background: #f7f7fb;
}

/* MOBILE */
@media (max-width: 768px) {

  .services-wrap {
    grid-template-columns: 1fr;
  }
}




/* ===== FORM UI UPGRADE ===== */


.form-container{
  padding:30px;
  border-radius:8px;
  margin-top:-20px;   /* ?? form upar shift */
  box-sizing:border-box;
}



.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #330066;
  font-size: 21px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea{
  width:100%;
  padding:12px 18px;   /* ? left-right space badha diya */
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
  box-sizing:border-box;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #330066;
  outline: none;
  box-shadow: 0 0 0 2px rgba(51,0,102,0.15);
}

.form-btn {
  width: 40%;
  max-width: 220px;
  padding: 14px;
  background: var(--theme-gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.form-btn:hover {
  transform: translateY(-2px);
}

.form-section{
  padding:30px 0;
  background: var(--theme-gradient-soft);
  border-radius:18px;
  margin:20px auto;
  border: 1px solid rgba(102, 0, 153, 0.12);
}



/* CONTACT PAGE GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-map-wrap {
  margin-top: 10px;
}

.contact-map {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid #69aae6;
  border-radius: 12px;
  display: block;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .contact-grid {
    grid-template-columns: 1fr;   /* single column */
    gap: 30px;
  }

  .form-container {
    padding: 20px 16px;
    margin-top: 0;
  }

  .form-btn {
  width: 40%;
  max-width: 220px;
  padding: 14px;
  background: var(--theme-gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

  .contact-map {
    height: 220px;
  }
}






/* LIGHT BOX MODEL */

/* PRODUCT MODAL */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.product-modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 1000px;
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.product-modal-close {
  position: sticky;      /* mobile safe */
  top: 10px;             /* thoda gap top se */
  right: 10px;           /* right align */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: #ffffff;    /* white background */
  color: #000000;         /* black X */
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;     /* circular */
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* subtle shadow */
}


.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.product-modal-grid img {
  width: 100%;
  border-radius: 8px;
}

.product-modal-text h2 {
  margin-top: 0;
}

.product-modal-text ul {
  padding-left: 20px;
  line-height: 1.7;
}

/* MOBILE */
@media (max-width: 768px) {

  .product-modal-grid {
    grid-template-columns: 1fr;
  }
}





.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.product-modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;     /* ?? height limit */
  overflow-y: auto;     /* ?? scroll enable */
  border-radius: 8px;
  padding: 20px;
}




.iframe-wrapper{
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,0.6); /* optional overlay */
  z-index:9999;
}

.iframe-wrapper iframe{
  width:90%;
  max-width:1200px;
  height:90%;
  border:0;
  background:#fff;
  border-radius:8px;
}


/* FIX � modal refresh par auto open nahi hoga */
#htmlModal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  display:none;          /* IMPORTANT */
  z-index:99999;
  justify-content:center;
  align-items:center;
}




/* Message box */
.success-msg {
  position: fixed;
  top: 300px; /* header ke niche adjust kar sakte ho */
  left: 63%;
  transform: translateX(-50%) translateY(-50px);
  background: #28a745;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 9999;
}

/* Show (slide down + fade in) */
.success-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hide (fly up) */
.success-msg.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-50px);
}

/* ===== SERVICES PAGE ENHANCEMENTS ===== */
.services-slideshow {
  position: relative;
  width: 100%;
  min-height: 540px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--theme-gradient-soft);
  box-shadow: 0 18px 40px rgba(29, 33, 64, 0.12);
}

.services-slideshow .service-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  animation: servicesZoomFade 15s linear infinite;
  animation-delay: var(--slide-delay, 0s);
}

@keyframes servicesZoomFade {
  0% { opacity: 0; transform: scale(1); }
  6% { opacity: 1; }
  28% { opacity: 1; }
  36% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

.service-card {
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(102, 0, 153, 0.12);
  box-shadow: 0 18px 40px rgba(29, 33, 64, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-heading {
  display: block;
  width: auto;
  text-align: left;
  margin: 0 -28px 14px;
  padding: 14px 18px;
  background: #82589d;
  border: none;
  font-weight: 700;
  font-size: 21px;
  color: #ffffff;
  cursor: default;
  border-radius: 0;
}

.service-heading:hover,
.service-heading:focus-visible {
  background: #82589d;
  color: #ffffff;
  outline: none;
}

.service-description {
  padding: 0 22px 22px;
  background: #ffffff;
  line-height: 1.7;
  color: #2b2b2b;
}

.service-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  padding: 24px;
}

.service-lightbox.open {
  display: flex;
}

.service-lightbox-content {
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 28px 30px 30px;
  position: relative;
}

.service-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #eff5fa;
  color: #123b63;
  font-size: 21px;
  cursor: pointer;
}

#serviceLightboxTitle {
  display: inline-block;
  width: 800px;
  box-sizing: border-box;
  margin: 0 44px 16px 0;
  padding: 10px 14px;
  color: #ffffff;
  background: #82589d;
  border-radius: 8px;
}

.service-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.service-lightbox-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dce8f3;
}

@media (max-width: 768px) {

  .services-slideshow {
  position: relative;
  width: 100%;
  min-height: 540px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--theme-gradient-soft);
  box-shadow: 0 18px 40px rgba(29, 33, 64, 0.12);
}

  .service-heading {
  display: block;
  width: auto;
  text-align: left;
  margin: 0 -28px 14px;
  padding: 14px 18px;
  background: #82589d;
  border: none;
  font-weight: 700;
  font-size: 21px;
  color: #ffffff;
  cursor: default;
  border-radius: 0;
}

  .service-lightbox {
    padding: 14px;
  }

  .service-lightbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.service-card-actions {
  margin-top: 18px;
}

.service-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  background: var(--theme-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(102, 0, 153, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-btn:hover,
.service-detail-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(102, 0, 153, 0.26);
  outline: none;
}

.service-lightbox-body {
  color: var(--theme-text);
  line-height: 1.75;
  padding: 10px 4px 4px;
}

.service-lightbox-body p {
  margin-top: 0;
  margin-bottom: 16px;
}

.service-lightbox-body ul {
  margin: 0;
  padding-left: 22px;
}

.service-lightbox-body li {
  margin-bottom: 10px;
}

.service-detail-section h4 {
  display: block;
  width: auto;
  box-sizing: border-box;
  margin: 20px 0 12px;
  padding: 0;
  color: #1d2140;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  border-radius: 0;
}

.service-detail-section ul {
  margin-bottom: 14px;
}

.service-detail-section p:last-child,
.service-detail-section ul:last-child {
  margin-bottom: 0;
}

.grid-item h3 {
  margin: 0 -20px 14px;
  padding: 14px 16px;
  font-size: 21px;
  color: #ffffff;
  background: #82589d;
  border-radius: 0;
}



.grid-item:hover,
.about-box:hover,
.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 42px rgba(29, 33, 64, 0.16);
}









