:root {
  --primary-color: #a44123;
  --secondary-color: #4d6920;
  --background-color: #b09a56;
  --text-color: #000;
  --hover-color: #fff;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

footer {
  font-size: 0.9rem;
}

iframe {
  width: 100%;
}

@font-face {
  font-family: "Qurova";
  src: url(/assets/fonts/QurovaDEMO-Regular-BF67a5c637a5dc9.otf);
}

footer > div {
  max-width: 100%;
}

.social-floating-icon {
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.whatsapp-floating-btn,
.phone-floating-btn {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.social-floating-icon .row {
  margin: 0 !important;
}

.social-floating-icon a {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.social-floating-icon i {
  display: block;
  padding: 0 !important;
  line-height: 1;
  font-size: 2rem !important;
}

.whatsapp-floating-btn {
  background-color: #25d366;
}

.whatsapp-floating-btn:hover {
  background-color: #128c7e;
}

.phone-floating-btn {
  background-color: #25aad3;
}

.phone-floating-btn:hover {
  background-color: #12638c;
}

/* Header */
.logo-img-div {
  max-width: 500px;
}

.logo-img,
.logo-img-sm {
  max-width: 350px;
}

.header-row {
  height: 140px;
}

.nav-link {
  color: var(--primary-color);
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--secondary-color);
  background-color: var(--hover-color);
  border-radius: 40px;
  transform: scale(1.05);
}

.offcanvas {
  background-color: var(--hover-color);
}

.navbar-toggler {
  border: var(--background-color) solid 1px;
  background-color: var(--background-color);
  border-radius: 10px;
}

.btn-close {
  background-color: var(--hover-color);
  border: var(--primary-color) solid 2px;
  border-radius: 20px;
  opacity: 1;
}

.btn-close:hover {
  background-color: var(--primary-color);
}

.menubar,
.right-header {
  background-color: var(--hover-color);
}

.menubar-lg {
  background: transparent;
}

@media (min-width: 992px) {
  /* lg and up */
  .menubar-lg {
    background: var(--hover-color);
  }
}

/* Latest updates marquee */
.marquee-background {
  background-color: var(--secondary-color);
  color: var(--hover-color);
}

.marquee-title {
  background-color: var(--primary-color);
  white-space: nowrap;
}

/* Hero section */
.hero-background {
  background: url(/images/hero.jpg);
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.hero-container,
.subpage-hero-container,
.about-container,
.services-container,
.know-our-team-container,
.our-mission-container,
.our-vision-container {
  background: rgba(255, 255, 255, 0.7);
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hero-container,
.subpage-hero-container,
.about-container,
.services-container,
.know-our-team-container,
.our-mission-container,
.our-vision-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hero-container > h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--primary-color);
}

.hero-container > h2 {
  font-family: "Alex Brush";
  color: var(--secondary-color);
}

/* CTA Buttons (Contact Us, Company Profile, Learn More, View Services) */
.cta-btn {
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  border-radius: 30px;
  color: var(--hover-color);
  padding: 0.8em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  font-weight: bold;
  gap: 0.6em;
  align-items: center;
  text-decoration: none;
}

.cta-btn .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-btn .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.cta-btn .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--hover-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.cta-btn:hover {
  background-color: var(--text-color);
}

.cta-btn:hover .arrow {
  background: var(--hover-color);
}

.cta-btn:hover .arrow:before {
  right: 0;
}

.learn-more-btn {
  --primary-color: #b09a56;
}

/* Cards */
#sectors-section .card:hover,
#food-safety-services .card:hover,
#health-safety-quality-services .card:hover {
  transform: scale(1.05);
}

#benefits-section .card-title,
#sectors-section .card-title {
  margin-top: 1rem;
  font-size: 1.1rem;
  /* text-align: center; */
  word-break: break-word;
}

#food-safety-services .card-title,
#health-safety-quality-services .card-title {
  margin-top: 0.5rem;
  font-size: 1.3rem;
}

/* Benefits section */
#benefits-section .owl-item {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
}

#benefits-section .card,
#sectors-section .card {
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
}

#benefits-section .card {
  color: var(--hover-color);
  background-color: var(--background-color);
  border: 0px;
  width: 280px;
  height: 390px;
}

#benefits-section .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* About section */
.about-container {
  background: rgba(255, 255, 255, 0.4);
}

.about-background {
  background: url(/images/landing-about.jpg);
  background-size: cover;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.about-row,
.know-our-team-row,
.our-vision-row {
  border-left: var(--background-color) solid 5px;
}

.who-we-are-row,
.our-mission-row,
.our-goal-row,
.trainings-row {
  border-right: var(--background-color) solid 5px;
}

/* .view-more-sectors, .view-less-sectors {
    width: 190px;
    height: 50px;
    border-radius: 50px;
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 1px var(--secondary-color);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    color: white;
}

.view-more-sectors span, .view-less-sectors span {
    transition-duration: 0.3s;
}

.view-more-sectors .svgIcon, .view-less-sectors .svgIcon {
    transition-duration: 0.3s;
    transform: translateX(5px);
} 
  
.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
} */

/* .view-more-sectors:hover, .view-less-sectors:hover {
    transition-duration: 0.3s;
    background-color: var(--text-color);
    align-items: center;
}

.view-more-sectors:hover span, .view-less-sectors:hover span {
    font-size: 0;
    width: 0;
    opacity: 0;
}

.view-more-sectors:hover .svgIcon, .view-less-sectors:hover .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
    transform: translateX(0);
}

.view-more-sectors::before, .view-less-sectors::before {
    content: none;
} */

/* Sectors section */
.sectors-background {
  background: url(/images/Toolbox-Talks-scaled.jpeg);
  background-size: cover;
  background-position: 5% center;
  height: 100%;
  width: 100%;
  z-index: -1;
}

#sectors-section .card {
  color: var(--primary-color);
  background-color: var(--hover-color);
  border: 0px;
  width: 280px;
  height: 390px;
}

.services-card {
  background-color: #ffffffe3;
  color: var(--primary-color);
  border: 0px;
}

.hsq-btn {
  --primary-color: #4d6920;
}

/* Food Safety Services section */
#food-safety-services .card,
#health-safety-quality-services .card {
  border-radius: 30px;
}

#food-safety-services .card-img-top,
#health-safety-quality-services .card-img-top {
  width: 100%;
  height: 230px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  object-fit: cover;
}

.more-info-btn {
  color: white;
  background-color: var(--background-color);
  border-radius: 50px;
  font-weight: 600;
  transition-duration: 0.3s;
  overflow: hidden;
}

.more-info-btn span {
  transition-duration: 0.3s;
}

.more-info-btn .svgIcon-moreInfo {
  transition-duration: 0.3s;
  transform: translateX(2px);
}

.svgIcon-moreInfo {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon-moreInfo path {
  fill: white;
}

.more-info-btn:hover {
  transition-duration: 0.3s;
  background-color: var(--text-color);
  color: var(--hover-color);
  align-items: center;
}

.more-info-btn:hover .svgIcon-moreInfo {
  width: 12px;
  transition-duration: 0.3s;
  transform: translateX(0);
}

.badge {
  background-color: var(--primary-color);
  color: var(--hover-color);
}

.contact-background {
  background: url(/images/landing-services.jpg);
  background-size: cover;
  background-position: 5% center;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.contact-container {
  background: rgba(255, 255, 255, 0.4);
}

.form-control {
  border: var(--primary-color) solid 1px;
  border-radius: 20px;
}

.form-control::placeholder {
  color: #868e96;
}

.form-control:focus {
  border-color: var(--background-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem #b099568a;
}

.submit-btn {
  color: var(--hover-color);
  background: var(--primary-color);
  border: var(--background-color) solid 1px;
  border-radius: 30px;
  padding: 0.8em 1.8em;
  transition: 0.2s background;
}

.submit-btn:hover {
  background-color: var(--text-color);
  border: var(--secondary-color) solid 1px;
}

/* ===== Certification logos ===== */
.cert-logo {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-logo:hover {
  transform: scale(1.08);
}

/* ===== Media split (image beside text) ===== */
.media-split {
  align-items: center;
}

.media-figure {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

.media-figure img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.media-figure:hover img {
  transform: scale(1.04);
}

.media-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/* accent frame behind the image */
.media-figure-accent {
  position: relative;
}

.media-figure-accent::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 4px solid var(--background-color);
  border-radius: 30px;
  z-index: -1;
}

@media (max-width: 991.98px) {
  .media-figure-accent::before {
    display: none;
  }

  .media-figure img {
    min-height: 200px;
    max-height: 300px;
  }
}

/* ===== Image mosaic strip ===== */
.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.image-strip figure {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.image-strip img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-strip figure:hover img {
  transform: scale(1.06);
}

.image-strip figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 1rem 0.85rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

/* ===== Full width image banner ===== */
.image-banner {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

.image-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner .banner-overlay {
  position: relative;
  width: 100%;
  padding: 2.5rem 1.75rem;
  background: linear-gradient(
    90deg,
    rgba(77, 105, 32, 0.92) 0%,
    rgba(77, 105, 32, 0.78) 45%,
    rgba(77, 105, 32, 0.25) 100%
  );
  color: #fff;
}

@media (max-width: 767.98px) {
  .image-banner .banner-overlay {
    background: rgba(77, 105, 32, 0.88);
    padding: 2rem 1.25rem;
  }
}

/* ===== Card images on value / process cards ===== */
.value-card .card-img-top,
.process-card .card-img-top {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.value-card.has-image,
.process-card.has-image {
  padding: 0 !important;
  overflow: hidden;
}

/* ===== Registration nav dropdown ===== */
.registration-dropdown {
  border: 1px solid var(--background-color);
  border-radius: 20px;
  overflow: hidden;
  padding: 0.5rem 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.registration-dropdown .dropdown-item {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  transition: all 0.2s ease-in-out;
}

.registration-dropdown .dropdown-item:hover,
.registration-dropdown .dropdown-item:focus {
  background-color: var(--secondary-color);
  color: var(--hover-color);
}

/* center dropdown list inside mobile offcanvas */
@media (max-width: 991.98px) {
  .offcanvas-body .registration-dropdown {
    position: static !important;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    margin-top: 0.5rem;
  }
}

/* ===== Hero heading additions ===== */
.hero-tagline {
  font-family: "Alex Brush";
  color: var(--secondary-color);
}

.hero-container > h2.hero-sub,
.hero-sub {
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

@media (max-width: 576px) {
  .hero-sub {
    font-size: 1.1rem;
  }
}

/* ===== Generic content sections ===== */
.content-section {
  padding: 3rem 1rem;
}

.content-section .section-heading,
.section-heading {
  color: var(--primary-color);
}

.alt-bg {
  background-color: #f7f4ec;
}

.intro-row {
  border-left: var(--background-color) solid 5px;
  background: rgba(255, 255, 255, 0.75);
}

/* ===== Value / feature cards ===== */
.value-card {
  border: 0;
  border-radius: 30px;
  background-color: #fff;
  height: 100%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card .card-title {
  color: var(--primary-color);
  font-weight: 700;
}

/* ===== Horizontal scrolling card row ===== */
.h-scroll-wrapper {
  position: relative;
  overflow: visible;
  width: 100%;
}

.h-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 3.5rem 1.5rem;
  scroll-padding: 0 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.h-scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(1, 33, 68, 0.92);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.h-scroll-button:hover {
  background: rgba(1, 33, 68, 1);
}

.h-scroll-prev {
  left: 0.75rem;
}

.h-scroll-next {
  right: 0.75rem;
}

.h-scroll-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.h-scroll::-webkit-scrollbar {
  height: 8px;
}

.h-scroll::-webkit-scrollbar-track {
  background: rgba(176, 154, 86, 0.2);
  border-radius: 10px;
}

.h-scroll::-webkit-scrollbar-thumb {
  background: var(--background-color);
  border-radius: 10px;
}

.h-scroll .card {
  flex: 0 0 280px;
  max-width: 280px;
  scroll-snap-align: start;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.h-scroll .card-img-top {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.h-scroll .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .h-scroll {
    padding: 1rem 1rem 1.5rem;
  }

  .h-scroll-button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 576px) {
  .h-scroll {
    padding: 1rem 2rem 1.5rem;
  }

  .h-scroll-button {
    width: 40px;
    height: 40px;
  }

  .h-scroll-prev {
    left: 0.5rem;
  }

  .h-scroll-next {
    right: 0.5rem;
  }

  .h-scroll .card {
    flex: 0 0 240px;
    max-width: 240px;
  }
}

/* ===== CTA section ===== */
.cta-section {
  background-color: var(--secondary-color);
  color: var(--hover-color);
  border-radius: 30px;
}

.cta-section .section-heading {
  color: var(--hover-color);
}

/* ===== Checklist (specialities / benefits) ===== */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  text-align: left;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== Testimonials ===== */
.testimonial-card {
  border: 0;
  border-radius: 30px;
  background-color: #fff;
  height: 100%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  color: #f5b301;
}

.testimonial-card .testimonial-author {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0;
}

.testimonial-card .testimonial-role {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* ===== FAQ accordion ===== */
.faq-accordion {
  text-align: left;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--background-color);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--primary-color);
  background-color: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--secondary-color);
  color: var(--hover-color);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem #b099568a;
  border-color: var(--background-color);
}

/* ===== Process cards (registration steps) ===== */
.process-card {
  border: 0;
  border-radius: 30px;
  background-color: #fff;
  height: 100%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.process-card .card-title {
  color: var(--primary-color);
  font-weight: 700;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--hover-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* ===== Subpage hero ===== */
.subpage-hero-container h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--primary-color);
}
