/* =========================================================
   SRS Doors & Windows - Landing Page Styles
   ========================================================= */

:root {
  --srs-blue: #0d4a8f;
  --srs-blue-dark: #083a73;
  --srs-green: #a6d13a;
  --srs-red: #d62828;
  --srs-text: #1f2a37;
  --srs-muted: #6b7280;
  --srs-light: #f2f7fd;
  --srs-border: #dfe6ee;
  --srs-whatsapp: #25b33f;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--srs-text);
  background: #fff;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header .navbar {
  padding: 10px 0;
}

.brand-logo {
  height: 50px;
  width: auto;
}

.btn-enquire {
  background: var(--srs-blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.btn-enquire:hover,
.btn-enquire:focus {
  background: var(--srs-blue-dark);
  color: #fff;
}

/* ---------------- Hero ---------------- */
.hero-section {
  position: relative;
  padding: 70px 0 80px;
  background: url("../images/srs-banner-2.jpg") center top / cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 15, 0.7) 0%, rgba(5, 20, 15, 0.4) 40%, rgba(5, 20, 15, 0.05) 60%, rgba(5, 20, 15, 0) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--srs-blue);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: var(--srs-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.text-accent {
  color: var(--srs-green);
}

.hero-text {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.category-card {
  width: 125px;
  padding: 18px 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.category-card i {
  display: block;
  font-size: 34px;
  margin-bottom: 8px;
}

.category-card span {
  font-size: 14px;
  font-weight: 500;
}

/* ---------------- Quote card ---------------- */
.quote-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 26px 26px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  scroll-margin-top: 90px;
}

.quote-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--srs-blue);
  margin-bottom: 4px;
}

.quote-subtitle {
  font-size: 14px;
  color: var(--srs-muted);
  margin-bottom: 18px;
}

.input-icon {
  position: relative;
  margin-bottom: 12px;
}

.input-icon>i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--srs-muted);
  pointer-events: none;
  z-index: 2;
}

.quote-form .form-control,
.quote-form .form-select {
  height: 46px;
  padding-left: 42px;
  font-size: 14px;
  border: 1px solid var(--srs-border);
  border-radius: 8px;
}

.quote-form .form-select:invalid {
  color: var(--srs-muted);
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
  border-color: var(--srs-blue);
  box-shadow: 0 0 0 0.2rem rgba(13, 74, 143, 0.15);
}

.btn-quote {
  background: var(--srs-blue);
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 50px;
  margin-top: 4px;
}

.btn-quote:hover {
  background: var(--srs-blue-dark);
  color: #fff;
}

.btn-whatsapp,
.btn-call {
  font-weight: 600;
  padding: 11px 8px;
  border-radius: 8px;
}

.btn-whatsapp {
  background: var(--srs-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1e9634;
  color: #fff;
}

.btn-call {
  background: #e5effa;
  color: var(--srs-blue);
}

.btn-call:hover {
  background: #d3e3f5;
  color: var(--srs-blue);
}

.quote-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--srs-muted);
}

.quote-features li+li::before {
  content: "|";
  margin: 0 10px;
  color: var(--srs-border);
}

.quote-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--srs-border);
}

.quote-brands img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ---------------- Why choose ---------------- */
/* Deep brand-blue gradient with soft green and white glows */
.why-section {
  padding: 50px 0 60px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(166, 209, 58, 0.18), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(135deg, var(--srs-blue-dark) 0%, var(--srs-blue) 55%, #0b2a4a 100%);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--srs-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--srs-red);
  margin-right: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--srs-blue);
  margin-bottom: 36px;
}

.why-section .section-tag {
  color: var(--srs-green);
}

.why-section .section-tag::before {
  background: var(--srs-green);
}

.why-section .section-title {
  color: #fff;
}

/* Endless marquee: JS appends two copies of the items, and the track slides
   left by one set's width, so the next copy lands exactly where the first began */
.why-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.why-list {
  display: flex;
  width: max-content;
  animation: why-scroll 30s linear infinite;
}

.why-marquee:hover .why-list {
  animation-play-state: paused;
}

@keyframes why-scroll {
  to {
    transform: translateX(calc(-100% / 3));
  }
}

.why-item {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.why-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Green accents; the solid shield also hides the door lines behind it */
.why-icon .why-icon-bg,
.why-icon .why-icon-fill {
  fill: var(--srs-green);
}

.why-icon .why-icon-check {
  stroke: var(--srs-blue-dark);
}

.why-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

/* ---------------- Shared buttons ---------------- */
.section-subtitle {
  font-size: 15px;
  color: var(--srs-muted);
}

.btn-outline-srs {
  border: 1.5px solid var(--srs-blue);
  color: var(--srs-blue);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 26px;
  border-radius: 50px;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-srs:hover,
.btn-outline-srs:focus {
  background: var(--srs-blue);
  color: #fff;
}

/* ---------------- About ---------------- */
.about-section {
  padding: 70px 0 40px;
}

.about-text {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 28px;
}

.about-card {
  background: #e8f2fd;
  border-radius: 12px;
  overflow: hidden;
}

.about-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.about-card-body {
  padding: 30px 32px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.about-card-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--srs-blue);
  margin-bottom: 16px;
}

/* ---------------- Products ---------------- */
.products-section {
  padding: 40px 0 70px;
}

.product-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--srs-border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--srs-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
}

.product-card-footer i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--srs-blue);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

/* Sits under the title row, so pull the title closer to it */
.product-card-footer:has(+ .product-card-desc) {
  padding-bottom: 6px;
}

.product-card-desc {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--srs-muted);
}

.product-card:has(.product-card-btn) {
  display: flex;
  flex-direction: column;
}

.product-card-btn {
  display: block;
  margin: auto 18px 18px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--srs-blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: background 0.2s ease;
}

.product-card:hover .product-card-btn {
  background: var(--srs-blue-dark, #0a2f63);
}

/* ---------------- Recent works ---------------- */
.works-section {
  padding: 60px 0 70px;
  background: var(--srs-light);
}

.work-card img {
  aspect-ratio: 16 / 11;
}

.work-location {
  font-size: 13px;
  font-weight: 400;
  color: var(--srs-muted);
}

/* ---------------- Testimonials ---------------- */
.testimonials-section {
  padding: 70px 0;
}

.testimonial-carousel {
  padding-bottom: 36px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 28px;
  padding: 28px 30px;
  background: var(--srs-light);
  border: 1px solid var(--srs-border);
  border-radius: 12px;
}

.testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--srs-blue);
  color: #fff;
  font-size: 44px;
  font-weight: 600;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 14px;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.testimonial-role {
  font-size: 13px;
  color: var(--srs-muted);
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  top: calc(50% - 18px);
  bottom: auto;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  color: var(--srs-blue);
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
  background: var(--srs-blue);
  color: #fff;
}

.testimonial-carousel .carousel-indicators {
  margin-bottom: 0;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #c7d3e0;
  opacity: 1;
}

.testimonial-carousel .carousel-indicators .active {
  background: var(--srs-blue);
}

/* ---------------- CTA card ---------------- */
.cta-card {
  height: 100%;
  padding: 32px 30px;
  background: #e8f2fd;
  border-radius: 14px;
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--srs-blue);
  margin-bottom: 10px;
}

.cta-text {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 24px;
}

.cta-features {
  margin-bottom: 26px;
}

.cta-feature {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 0 8px;
  border-right: 1px solid #c9d9ec;
}

.cta-feature:last-child {
  border-right: 0;
}

.cta-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--srs-blue);
  font-size: 22px;
}

.btn-cta {
  padding: 14px;
  font-size: 16px;
  border-radius: 50px;
}

.cta-card .btn-call {
  background: #d6e6f8;
}

/* ---------------- Video testimonials ---------------- */
.video-section {
  padding: 60px 0 70px;
  background: var(--srs-light);
}

.video-nav {
  display: flex;
  gap: 10px;
}

.video-nav-btn {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--srs-blue);
  border-radius: 50%;
  background: #fff;
  color: var(--srs-blue);
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}

.video-nav-btn:hover {
  background: var(--srs-blue);
  color: #fff;
}

.video-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  column-gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

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

.video-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--srs-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* YouTube Shorts are vertical (9:16) */
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0b1f36 center / cover no-repeat;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.video-frame.is-playing::before {
  display: none;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(214, 40, 40, 0.92);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-info {
  padding: 14px 16px;
}

.video-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}

.video-info span {
  font-size: 13px;
  color: var(--srs-muted);
}

/* ---------------- FAQ ---------------- */
.faq-section {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
}

/* House image on the right, fading into the background on the left */
.faq-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: url("../images/srs-footer.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-wrap {
  max-width: 68%;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--srs-border);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 13px 44px 13px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--srs-text);
}

.faq-question::after {
  content: "\2212";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--srs-blue);
}

.faq-question.collapsed::after {
  content: "+";
}

.faq-question:not(.collapsed) {
  color: var(--srs-blue);
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.faq-answer a {
  color: var(--srs-blue);
  font-weight: 500;
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  padding: 34px 0;
  background: linear-gradient(90deg, #0a3566 0%, #0d4a8f 60%, #0a3566 100%);
  color: #fff;
}

.cta-banner-tag {
  color: #fff;
}

.cta-banner-tag::before {
  background: #fff;
}

.cta-banner-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-banner-text {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-quote-light {
  background: #fff;
  color: var(--srs-blue);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  white-space: nowrap;
}

.btn-quote-light:hover {
  background: #e5effa;
  color: var(--srs-blue);
}

.cta-banner-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta-circle:hover {
  transform: scale(1.08);
}

.cta-circle-whatsapp {
  background: var(--srs-whatsapp);
  color: #fff;
}

.cta-circle-whatsapp:hover {
  color: #fff;
}

.cta-circle-call {
  background: #fff;
  color: var(--srs-blue);
}

.cta-circle-call:hover {
  color: var(--srs-blue);
}

/* ---------------- Footer ---------------- */
.site-footer {
  padding: 30px 0 22px;
  background: #0b1b2e;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.footer-top {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Logo has a white background, so it sits on a white pill */
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}

.footer-tags {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-tags li+li::before {
  content: "|";
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------------- Enquiry popup ---------------- */
.enquiry-modal .modal-dialog {
  max-width: 400px;
}

.enquiry-modal .modal-content {
  position: relative;
  padding: 34px 24px 20px;
  border: 0;
  border-top: 4px solid var(--srs-green);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.enquiry-close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--srs-blue);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}

.enquiry-close:hover {
  background: var(--srs-blue-dark);
}

.enquiry-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--srs-blue);
  margin-bottom: 4px;
}

.enquiry-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--srs-muted);
  margin-bottom: 24px;
}

.enquiry-form .input-icon {
  margin-bottom: 14px;
}

.enquiry-form .input-icon>i {
  color: var(--srs-blue);
}

.enquiry-form .form-control,
.enquiry-form .form-select {
  height: 48px;
  border-radius: 4px;
}

.btn-enquiry-submit {
  margin-top: 4px;
  padding: 13px;
  background: var(--srs-blue);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

.btn-enquiry-submit:hover {
  background: var(--srs-blue-dark);
  color: #fff;
}

.enquiry-notes {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--srs-muted);
}

.enquiry-notes li+li {
  margin-top: 4px;
}

/* ---------------- Sticky contact buttons ---------------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.floating-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.floating-call {
  background: #1a56db;
}

.floating-whatsapp {
  background: var(--srs-whatsapp);
  font-size: 28px;
  animation: floating-pulse 2s infinite;
}

@keyframes floating-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 179, 63, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 179, 63, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 179, 63, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp {
    animation: none;
  }

  /* No auto-motion: let users swipe the row instead */
  .why-list {
    animation: none;
  }

  .why-marquee {
    overflow-x: auto;
  }
}

/* ---------------- Desktop hero ---------------- */
/* Smaller text and a narrower quote card so more of the banner shows through */
@media (min-width: 992px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 33px;
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 16px;
    max-width: 400px;
    margin-bottom: 24px;
  }

  .hero-categories {
    gap: 10px;
  }

  .category-card {
    width: 100px;
    padding: 12px 8px;
  }

  .category-card i {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .category-card span {
    font-size: 12px;
  }

  .quote-card {
    max-width: 340px;
    margin-left: auto;
    padding: 20px 20px 16px;
  }

  .quote-title {
    font-size: 21px;
  }

  .quote-subtitle {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .input-icon {
    margin-bottom: 10px;
  }

  .quote-form .form-control,
  .quote-form .form-select {
    height: 40px;
    font-size: 13px;
  }

  .btn-quote {
    font-size: 14px;
    padding: 9px;
  }

  .quote-features {
    font-size: 11px;
    margin-top: 12px;
  }

  .quote-brands {
    margin-top: 10px;
    padding-top: 10px;
  }

  .quote-brands img {
    height: 36px;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 50px 0 60px;
  }

  .hero-title {
    font-size: 33px;
  }

  .video-track {
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
  }

  /* Image doesn't fit beside the FAQ on smaller screens */
  .faq-image {
    display: none;
  }

  .faq-wrap {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    height: 40px;
  }

  .btn-enquire {
    font-size: 14px;
    padding: 8px 16px;
  }

  /* Fixed-height image framed on the window and woman; navy fills behind the quote card */
  .hero-section {
    padding: 28px 0 40px;
    background: #0b2a4a url("../images/srs-banner-2.jpg") 50% top / auto 600px no-repeat;
  }

  /* Darken only the text side so the woman on the right stays clear */
  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(11, 42, 74, 0) 470px, #0b2a4a 600px),
      linear-gradient(90deg, rgba(5, 20, 15, 0.75) 0%, rgba(5, 20, 15, 0.3) 50%, rgba(5, 20, 15, 0) 75%);
  }

  .hero-section .row {
    --bs-gutter-y: 2rem;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 33px;
    line-height: 1.1;
    max-width: 280px;
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 15px;
    max-width: 300px;
    margin-bottom: 24px;
  }

  .hero-categories {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .category-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 12px 4px;
    background: rgba(11, 42, 74, 0.55);
  }

  .category-card i {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .category-card span {
    display: block;
    font-size: 11px;
    line-height: 1.3;
  }

  .quote-card {
    border-radius: 18px;
    padding: 24px 20px 18px;
  }

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

  .why-item {
    width: 150px;
  }

  .why-list {
    animation-duration: 22s;
  }

  .about-section {
    padding: 50px 0 30px;
  }

  .about-card-body {
    padding: 24px 20px;
  }

  .about-card-title {
    font-size: 22px;
  }

  .product-card-footer {
    padding: 12px;
    font-size: 14px;
  }

  .product-card-footer i {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .product-card-desc {
    padding: 0 12px 12px;
    font-size: 12px;
  }

  .product-card-btn {
    margin: auto 12px 12px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .testimonials-section {
    padding: 50px 0;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    margin: 0 20px;
    padding: 24px 22px;
  }

  .testimonial-avatar {
    width: 90px;
    height: 90px;
  }

  .cta-card {
    padding: 26px 20px;
  }

  .cta-title {
    font-size: 22px;
  }

  .video-section {
    padding: 50px 0;
  }

  /* Show 1.6 cards so users can see there are more to swipe */
  .video-track {
    grid-auto-columns: 62%;
    column-gap: 14px;
  }

  .video-play {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .faq-section {
    padding: 50px 0 40px;
  }

  .faq-accordion>.col-md-6+.col-md-6 {
    margin-top: 0;
  }

  .cta-banner-title {
    font-size: 26px;
  }

  .btn-quote-light {
    padding: 11px 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    gap: 12px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .floating-whatsapp {
    font-size: 25px;
  }

  /* Keep the close button inside the screen on phones */
  .enquiry-modal .modal-dialog {
    margin: 1.75rem 1.25rem;
  }

  .enquiry-close {
    top: -14px;
    right: -10px;
  }

  /* Keep the footer text clear of the sticky buttons */
  .site-footer {
    padding-bottom: 90px;
  }
}

/* ---------------- Anchor scrolling ---------------- */
html {
  scroll-behavior: smooth;
}

.products-section {
  scroll-margin-top: 90px;
}