@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --teal: #00B6A9;
  --teal-dark: #00958b;
  --teal-light: #e6f7f6;
  --navy: #27293A;
  --navy-light: #3A3F51;
  --text: #666666;
  --muted: #888888;
  --bg-light: #F4F7FA;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.text-teal {
  color: var(--teal) !important;
}

.bg-teal {
  background: var(--teal) !important;
}

.link-teal {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.link-teal:hover {
  color: var(--teal-dark);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background-color: #d9d7da !important;
  /* Matches logo background */
  padding: 15px 0;
  /* Taller navbar */
  box-shadow: none;
  transition: padding 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#mainNav.navbar-scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand img {
  height: 65px;
  transition: height 0.3s ease-in-out;
}

#mainNav.navbar-scrolled .navbar-brand img {
  height: 45px;
}

.navbar-nav {
  gap: 2rem;
  /* Wider gaps between links */
}

.navbar-nav .nav-link {
  font-size: 13px;
  /* Small font size */
  font-weight: 700;
  /* Bold */
  color: #111 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--teal) !important;
  /* Assuming hover is teal */
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  margin-top: 95px;
  /* Offset for taller navbar */
}

.carousel-item {
  height: 90vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.carousel-item>.container {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Specific dark purplish overlay seen in image */
  background: rgba(55, 48, 65, 0.78);
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
}

.hero-title {
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  font-weight: 900;
  /* Extra bold */
  color: var(--white);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-accent {
  color: var(--teal);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  max-width: 500px;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 30px;
  font-weight: 400;
}

.btn-hero {
  background: var(--teal);
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  /* The white border from the image */
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-hero i {
  font-size: 16px;
}

.btn-hero:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  border-color: #fff;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  margin: 0;
  z-index: 5;
  display: flex;
  gap: 12px;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

.hero-dots .dot {
  width: 45px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  border: none;
  padding: 0;
  text-indent: -999px;
  transition: all 0.3s;
}

.hero-dots .dot.active {
  background: var(--teal);
}

/* ============================================================
   TYPOGRAPHY & TAGS
   ============================================================ */
.section-tag {
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.2;
}

/* ============================================================
   HERITAGE & PRODUCTS SHARED
   ============================================================ */
.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-container img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 480px;
}

.stat-badge {
  position: absolute;
  background: var(--navy-light);
  color: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  width: 220px;
}

.stat-badge .badge-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-badge .badge-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Heritage specific */
.heritage-badge {
  bottom: -40px;
  right: -40px;
}

.products-badge {
  bottom: -40px;
  left: -40px;
}

/* Features Pills */
.feature-pill {
  background: #F8F9FB;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #EBEFF5;
  text-decoration: none;
}

.feature-pill i {
  color: var(--teal);
  font-size: 1.2rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: #F1F4F6;
}

/* Light grey-blue background */
@media (min-width: 992px) {
  .row-cols-lg-5>* {
    flex: 0 0 auto;
    width: 20%;
  }
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: left;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: #353648;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  color: var(--teal);
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(30, 34, 50, 0.95) 0%, rgba(15, 80, 85, 0.9) 100%);
  padding: 100px 0;
  color: var(--white);
}

.cta-section .section-tag {
  color: var(--teal);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 400;
}

/* ============================================================
   INNER HERO & PAGES
   ============================================================ */
.inner-hero {
  padding: 180px 0 80px;
  background: linear-gradient(rgba(43, 45, 60, 0.85), rgba(43, 45, 60, 0.85)), url('../images/banner01.jpg') center/cover;
  text-align: center;
  color: white;
}

.inner-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

/* Contact Form */
.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #E4E8EF;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background: #272834;
  color: var(--white);
  padding: 80px 0 30px 0;
}

.footer-heading {
  font-size: 17px;
  font-weight: 700;
  color: #00B6A9;
  margin-bottom: 35px;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 18px;
}

.footer-list a {
  color: #CFD0D6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s;
}

.footer-list a:hover {
  color: #00B6A9;
  padding-left: 5px;
}

.footer-contact {
  color: #CFD0D6;
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact i {
  color: #00B6A9;
  margin-right: 15px;
  font-size: 18px;
  margin-top: 3px;
}

.footer-contact .item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.footer-contact a {
  color: #CFD0D6;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-contact a:hover {
  color: #00B6A9;
}

.footer-bottom {
  background: transparent;
  padding: 20px 0 0 0;
  margin-top: 60px;
  font-size: 11px;
  color: #00B6A9;
  font-weight: 500;
}

.footer-bottom a {
  color: #00B6A9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.notebox {width: 100%; text-align: center; padding: 20px; background-color: #ecfffe; border: 1px dashed #98fffa;}
.anchor-offset {
    scroll-margin-top: 100px;
}

.certi {border: 1px solid #00958b; background-color: #22232d; padding: 1rem; border-radius: 10px;}
.footer-contact.certi .item {margin-bottom: 0;}
.certi .item span { color: #7d7e8c;}

@media (max-width: 991px) {

  .heritage-badge,
  .products-badge {
    position: static;
    margin-top: 30px;
    display: block;
    width: 100%;
    padding: 25px;
  }

  .image-container img {
    min-height: 350px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .navbar-nav {
    gap: 0.8rem;
    padding: 0.5rem 0;
    text-align: center;
  }

  .navbar-collapse {
    border-radius: 12px;
    margin-top: 15px;
    padding: 20px;
  }

  .navbar-nav .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .carousel-item {
    height: 75vh;
  }

  .footer-heading[style*="visibility:hidden"] {
    display: none;
  }

  .inner-hero {
    padding: 160px 0 60px;
  }

  .inner-hero h1 {
    font-size: 2.5rem;
  }

  .contact-form-box {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .section-tag {
    text-align: center;
    display: block;
  }

  .heritage-section .col-lg-6,
  .products-section .col-lg-6 {
    text-align: center;
  }

  .feature-pill {
    justify-content: center;
  }

  .link-teal {
    justify-content: center;
    width: 100%;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .carousel-item {
    height: 60vh;
  }

  .stat-badge .badge-number {
    font-size: 2.5rem;
  }

  .footer-section {
    padding: 50px 0 30px 0;
    text-align: center;
  }

  .footer-heading {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .footer-contact .item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-contact i {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .hero-section {
    margin-top: 80px;
  }

  .inner-hero {
    padding: 140px 0 50px;
  }

  .inner-hero h1 {
    font-size: 2rem;
  }

  .contact-form-box {
    padding: 25px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 13px;
  }

  .feature-pill {
    padding: 12px 15px;
    font-size: 0.85rem;
  }

  .image-container img {
    min-height: 250px;
  }

  .stat-badge {
    padding: 20px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .inner-hero {
    padding: 130px 0 40px;
  }

  .inner-hero h1 {
    font-size: 1.6rem;
  }

  .contact-form-box {
    padding: 20px;
  }
}

/* ============================================================
   LOGO SLIDER
   ============================================================ */
.logo-slider {
  overflow: hidden;
  padding: 30px 0;
  white-space: nowrap;
  position: relative;
  background: var(--bg-light);
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #F8F9FA 0%, rgba(248,249,250,0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #F8F9FA 0%, rgba(248,249,250,0) 100%);
}

.logo-slider-track {
  display: inline-block;
  animation: logo-scroll 35s linear infinite;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

.logo-slide {
  display: inline-block;
  margin: 0 15px;
  width: 200px;
  /* min-height: 120px; */
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  vertical-align: middle;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.logo-slide img {
  max-width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-slide:hover img {
  opacity: 1;
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}