/* ================= GLOBAL ================= */
body {
  background: #f0f4fa;
  font-family: 'Montserrat', sans-serif;
}


/* ================= NAVBAR ================= */
.transparent-nav {
  background: transparent;
  padding-top: 18px;
  z-index: 1050;
}

/* Hamburger */
.transparent-nav .navbar-toggler {
  border: none;
  box-shadow: none;
}

.transparent-nav .navbar-toggler-icon {
  background-image: var(--bs-navbar-toggler-icon-bg);
}

/* Menu links */
.circle-link {
  color: #156773 !important;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 50px;
  transition: 0.3s ease;
}

.circle-link:hover {
  color: #0f505a !important;
}

/* Active page */
.circle-link.active {
  color: #156773 !important;
  border: 2px solid #156773;
  font-weight: 600;
}

/* Mobile menu */
@media (max-width: 991px) {
  .transparent-nav {
    background: rgba(21, 103, 115, 0.4);
    backdrop-filter: blur(10px);
    padding-bottom: 10px;
  }

  #mainMenu .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    list-style: none;
    padding-left: 0;
  }
}


/* ================= HERO SECTION ================= */
.home-hero-ref {
  background: #f4efe9;
  padding: 70px 0 45px;
}

.hero-left-ref {
  padding-right: 40px;
}

.hero-brand-ref {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #156773;
  margin-bottom: 12px;
}

.hero-title-ref {
  font-size: 3.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

.hero-desc-ref {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-btn-ref {
  display: inline-block;
  padding: 14px 34px;
  background: #156773;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.hero-btn-ref:hover {
  background: #0f505a;
}


/* ================= CATEGORY STRIP ================= */
.category-strip-ref {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.cat-item-ref {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #444;
  padding: 12px 0;
  cursor: pointer;
}

.cat-item-ref:hover {
  color: #156773;
}


/* ================= LATEST NEWS ================= */
.latest-news-ref {
  padding: 90px 0;
  background: #fafafa;
}

.latest-title-ref {
  text-align: center;
  font-size: 2rem;
  color: #222;
  margin-bottom: 60px;
}

.news-card-ref {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: 0.3s ease;
}

.news-card-ref img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.news-card-ref h4 {
  font-size: 1.2rem;
  color: #156773;
  margin-bottom: 10px;
}

.news-card-ref p {
  font-size: 0.95rem;
  color: #666;
}

.news-card-ref:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}


/* ================= FOOTER ================= */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  background: #f1f4f7;
  color: #7c8a97;
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-social a {
  margin: 0 15px;
  color: #7c8a97;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-social a:hover {
  color: #156773;
}


/* ================= MOBILE HERO ================= */
@media (max-width: 768px) {
  .hero-left-ref {
    text-align: center;
    padding-right: 0;
  }

  .hero-title-ref {
    font-size: 2.2rem;
  }

  .hero-right-ref img {
    margin-top: 40px;
  }
 .hero-logo {
    margin: 30px auto 0;  /* center horizontally */
    display: block;
  }
}
/* HERO RIGHT LOGO */
.hero-logo {
  max-width: 220px;      /* control logo size */
  width: 100%;
  display: block;
  margin-left: auto;    /* push to right */
  margin-top: 40px;
}
/* ================= PRODUCTS HERO ================= */
.products-hero {
  background: #f4efe9; /* same as home hero */
  padding: 160px 0 80px;
}

.products-hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 20px;
}

.products-hero-desc {
  max-width: 720px;
  margin: auto;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* ================= PRODUCTS GRID ================= */
.products-grid {
  padding: 80px 0;
  background: #f0f4fa;
}

.product-card-new {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: 0.35s ease;
}

.product-card-new img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 18px;
}

.product-card-new h4 {
  font-size: 1.3rem;
  color: #156773;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card-new p {
  font-size: 0.95rem;
  color: #666;
}

.product-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}

/* MOBILE */
@media (max-width: 768px) {
  .products-hero-title {
    font-size: 2.2rem;
  }
}
/* HERO RIGHT LOGO */
.contact-logo {
  max-width: 440px;      /* control logo size */
  width: 100%;
  display: block;
  margin: 25% auto 0; /* push to right */
  margin-top: 40px;
  text-align: center;
}
/* ================= CONTACT PAGE ================= */

.contact-page-section {
  padding: 120px 0 90px;
  background: #f4efe9;
}

/* LEFT SIDE */
.contact-info-side {
  padding-right: 50px;
}

.contact-logo {
  max-width: 300px;
  width: 100%;
  margin-bottom: 30px;
}

.contact-info-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  max-width: 520px;
}

.contact-email {
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #156773;
}

/* RIGHT SIDE */
.contact-form-side {
  padding-left: 15px;
}

.contact-form-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 30px;
}

.contact-form label {
  font-weight: 500;
  color: #156773;
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #156773;
}

.contact-form .form-control:focus {
  border-color: #156773;
  box-shadow: 0 0 6px rgba(21,103,115,0.3);
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-page-section {
    padding: 80px 0 60px;
  }

  .contact-info-side,
  .contact-form-side {
    padding: 0 15px;
    text-align: center;
  }

  .contact-logo {
    margin: 0 auto 25px;
  }

  .contact-info-text {
    margin: 0 auto 30px;
  }
}
/* FORCE CONTACT LOGO SAFE SIZE */
.contact-logo {
  max-width: 260px !important;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  z-index: 1 !important;
}

/* NEVER allow absolute positioning here */
.contact-info-side,
.contact-form-side {
  position: relative;
}
/* ================= ABOUT US PAGE ================= */

.about-page-section {
  padding: 120px 0 100px;
  background: #ffffff;
  text-align: center;
}

.about-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto 60px;
}

/* ================= TEAM ================= */

.team-row {
  margin-bottom: 80px;
}

.team-card {
  background: #ffffff;
  border-radius: 150px;
  width:240px;
  height: 240px;
  border: 1px solid #156773;
  padding: 35px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.15);
}

.team-avatar {
  max-width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #156773;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 6px;
}

.team-card p {
  font-size: 0.95rem;
  color: #666;
}

/* ================= COMPANY INFO ================= */

.company-info-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.company-info-section h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 25px;
}

.company-info-section p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-title {
    font-size: 2.1rem;

  }

  .company-info-section {
    padding: 0 15px;
    text-align: justify;
  }
  .team-row {
    justify-content: center;
  }

  .team-row .col-md-6,
  .team-row .col-lg-3 {
    display: flex;
    justify-content: center;
  }

  .team-card {
    width: 100%;
    max-width: 320px; /* keeps card nicely centered */
  }
}
/* ================= ITEMS DISPLAY ================= */

.items-display-section {
  padding: 80px 0 90px;
  background: #f3f7fb;
  text-align: center;
}

.items-display-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 10px;
}

.items-display-subtitle {
  max-width: 720px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  color: #555;
}

/* ITEM CARD */
.item-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(0,0,0,0.15);
}

.item-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 18px;
}

.item-card h5 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #156773;
  margin-bottom: 6px;
}

.item-card p {
  font-size: 0.95rem;
  color: #444;
}

/* ================= MOBILE RULE ================= */
/* col-6 already guarantees 2 cards per row on mobile */
@media (max-width: 576px) {
  .items-display-title {
    font-size: 2rem;
  }

  .item-card img {
    height: 140px;
  }
}
/* ================= PRODUCT DETAILS ================= */

.product-details {
  padding: 80px 0;
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* IMAGES */
.product-images .main-image {
  background: #ffffff;
  padding: 0px;
  border-radius: 20px;
  
  
}

.product-images img {
  width: 100%;
  display: block;
  border: 1px solid #156773;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.thumbs img {
  background: #fff;
  padding: 0px;
  border-radius: 12px;
  cursor: pointer;
  width: 160px;
  height: 120px;
}

/* INFO */
.product-title {
  font-size: 42px;
  font-weight: 700;
  color: #0f5e66;
}

.product-desc {
  margin: 20px 0;
  color: #555;
  line-height: 1.7;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: #0f5e66;
  margin-bottom: 30px;
}

.product-price span {
  font-size: 14px;
  color: #777;
}

/* TABS */
.info-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tab {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid #0f5e66;
  background: transparent;
  color: #0f5e66;
  cursor: pointer;
  font-size: 14px;
}

.tab.active {
  background: #0f5e66;
  color: #fff;
}

.tab-content {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

/* BUTTONS */
.actions {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: #0f5e66;
  color: #fff;
}

.btn.outline {
  background: transparent;
  border: 2px solid #0f5e66;
  color: #0f5e66;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .product-title {
    font-size: 32px;
  }
}
/* Prevent any element from pushing the page wider than the phone */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .product-details {
    padding: 40px 0;
  }

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

  .product-images .main-image {
    padding: 16px;
  }

  .thumbs {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
    gap: 10px;
  }

  .product-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
  }

  .actions .btn {
    width: 100%;
  }

  .info-tabs {
    flex-wrap: wrap; /* tabs wrap instead of pushing width */
    gap: 8px;
  }

  .tab {
    flex: 1 1 auto;
    text-align: center;
  }
}
.product-details .container {
  padding-left: 16px;
  padding-right: 16px;
}
