:root {
  --brand: #5b2a8c;
  --brand-dark: #3b2a80;
  --brand-deep: #33267a;
  --soft: #eef1fb;
  --sage: #e6ebe6;
  --text: #4a4a5a;
  --heading: #2f2472;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-weight: 600;
}

a {
  color: var(--brand);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #f0a500;
  outline-offset: 2px;
}

/* Top bar & nav */
.topbar {
  background: var(--soft);
  color: var(--brand);
}

.topbar .social a {
  color: #fff;
  background: var(--brand);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: .7rem;
  margin-right: 4px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img{

}

.logo-text small {
  display: block;
  font-size: .6rem;
  font-weight: 400;
}

.navbar .nav-link {
  color: #222;
  font-size: .82rem;
  font-weight: 500;
  padding: .9rem .7rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--brand);
}

/* Hero */
.hero-slide {
  min-height: 500px;
  background: linear-gradient(120deg, #2a2a55 0%, #4b2f8f 60%, #7a55c0 100%) center/cover no-repeat;
  color: #fff;
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 20, 70, .75), rgba(75, 47, 143, .35));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 110px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: .9rem;
  max-width: 460px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.hero-eyebrow span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
}

/* Buttons */
.btn-pill {
  border-radius: 50px;
  padding: .5rem 1.6rem;
  font-size: .8rem;
  font-weight: 500;
}

.btn-brand {
  background: var(--brand-dark);
  color: #fff;
  border: 0;
}

.btn-brand:hover {
  background: var(--brand);
  color: #fff;
}

.btn-outline-brand {
  border: 1.5px solid var(--brand-dark);
  color: var(--brand-dark);
}

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

/* Sections */
.section {
  padding: 70px 0;
}

.bg-soft {
  background: var(--soft);
}

.bg-sage {
  background: var(--sage);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 500;
}

.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brand);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--heading);
  margin: .2rem 0 1rem;
}

.section-sub {
  max-width: 900px;
  margin: 0 auto;
  font-size: .82rem;
}

.img-round {
  border-radius: 30px;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #cfd6f3, #a9b6ea);
  min-height: 260px;
}

.img-round.tall {
  min-height: 420px;
}

/* Product carousel */
.swiper-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px;
}

.swiper-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 260px;
  height: 260px;
  border-radius: 16px;
  background: linear-gradient(135deg, #9fb4e8, #6f83c9) center/cover;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

.product-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  margin: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 500;
  color: #222;
}

.product-card a {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--brand-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

.round-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-dark);
  color: #fff;
  font-size: .75rem;
  z-index: 2;
}

.round-arrow.prev {
  left: -6px;
}

.round-arrow.next {
  right: -6px;
}

/* Certifications */
.cert {
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  line-height: 1.1;
}

.cert img{

}

/* Stats */
.stats {
  color: #fff;
  padding: 40px 0;
  background: linear-gradient(rgba(63, 50, 118, 0.8), rgba(63, 50, 118, 0.8)), url('../images/stats-bg.webp') center/cover;
}

.stats .num {
  font-size: 5rem;
  font-weight: 500;
}

/* Team */
.avatar {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--brand);
  padding: 4px;
  object-fit: cover;
  background: #fff;
}

#team h6 {
  color: #222;
  font-size: .88rem;
}

#team small {
  color: #555;
  font-size: .72rem;
}

/* Divisions */
.division {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  background: #fff;
  border: 5px solid var(--brand-dark);
  border-radius: 18px;
  padding: 1rem;
  color: #333;
  transition: transform .2s;
}

.division:hover {
  transform: translateY(-4px);
}

.division strong {
  font-size: 1.2rem;
}

.division small {
  font-size: .7rem;
  letter-spacing: .1em;
}

/* Blog */
.meta {
  display: flex;
  gap: 14px;
  font-size: .68rem;
  color: #888;
  align-items: center;
  margin-bottom: .4rem;
}

.tag {
  font-weight: 600;
  color: #222;
}

.blog-title {
  font-size: 1.55rem;
  line-height: 1.3;
}

.blog-card img {
  border-radius: 4px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #c7d0f0, #8e9fdc);
  margin-bottom: 1rem;
}

.blog-card h5 {
  font-size: 1rem;
}

.blog-card p {
  font-size: .78rem;
}

.read {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-deep);
}

/* Footer */
.footer {
  background: var(--brand-deep);
  color: #e4defa;
  padding-top: 50px;
}

.footer h6 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo {
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 18px;
  border-radius: 0 0 12px 12px;
}

.footer-logo img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer-links li {
  margin-bottom: .35rem;
}

.footer-links a {
  color: #e4defa;
  font-size: .78rem;
}

.footer-links a::before {
  content: '•';
  margin-right: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.social.round a {
  background: #fff;
  color: #222;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 30px;
  padding: 16px 0;
}

@media (max-width:767px) {
  .section {
    padding: 50px 0;
  }

  .product-card {
    flex-basis: 85%;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .division {
    transition: none;
  }

}


/* =====================================================
   ADDED: global, sliders, hover menu, FAQ, CTA, form
   ===================================================== */

/* AOS horizontal effects must not create a sideways scrollbar */
body {
  overflow-x: clip;
}

/* ---------- Sliders (Team, Divisions) ---------- */
.slider-wrap {
  position: relative;
}

.slider-wrap .swiper {
  padding: 8px 4px;
}

.slider-wrap .swiper-slide {
  height: auto;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-size: .75rem;
  z-index: 2;
  cursor: pointer;
  transition: background .2s;
}

.slider-arrow:hover {
  background: var(--brand);
}

.slider-arrow.prev {
  left: -6px;
}

.slider-arrow.next {
  right: -6px;
}

/* ---------- Submenu opens on hover (desktop) ---------- */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 200px;
    border: 0;
    border-top: 3px solid var(--brand);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(51, 38, 122, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .navbar .dropdown-toggle::after {
    transition: transform .2s;
  }

  .navbar .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.navbar .dropdown-item {
  font-size: .82rem;
  padding: .5rem 1.1rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--soft);
  color: var(--brand);
}

/* ---------- FAQ ---------- */
.faq-accordion {
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: var(--brand);
  --bs-accordion-color: var(--text);
}

.faq-accordion .accordion-item.faq-item {
  background: #fff;
  border: 1px solid #dfe3f3;
  margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
  padding: 1.4rem 1.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button::after,
.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "+";
  width: auto;
  height: auto;
  background-image: none;
  transform: none;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--brand);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\2212";
}

.faq-accordion .accordion-body {
  padding: 0 1.7rem 1.6rem;
  color: var(--text);
}

/* ---------- Call to action ---------- */
.cta-band {
  background: var(--brand-deep);
  padding: 48px 0;
}

.cta-title {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.5;
}

.btn-cta {
  padding: .8rem 2.4rem;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-deep);
  font-size: .9rem;
  font-weight: 500;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--soft);
  color: var(--brand-deep);
}

/* ---------- Enquiry form ---------- */
.enquiry-form .form-control {
  padding: 1.1rem 1.5rem;
  border: 1px solid #e3e6f3;
  border-radius: 12px;
  background-color: #fff;
  color: var(--text);
  font-size: .9rem;
  box-shadow: 0 6px 24px rgba(51, 38, 122, .05);
}

.enquiry-form .form-control::placeholder {
  color: #9aa0b4;
  font-weight: 500;
}

.enquiry-form .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(91, 42, 140, .15);
}

.enquiry-form textarea.form-control {
  min-height: 170px;
  resize: vertical;
}

@media (prefers-reduced-motion: reduce) {
  .navbar .dropdown-menu,
  .slider-arrow {
    transition: none;
  }
}
