/* -------------------- Reset -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bahnschrift SemiBold", Arial, sans-serif;
  font-size: 18px;         /* ✅ base font size */
  background: #e6e2d3;     /* whole page bg */
  color: #000;
}

h4 {
  font-size: 20px;         /* ✅ h4 size */
}

/* -------------------- Navbar -------------------- */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | logo | right */
  align-items: center;
  padding: 15px 40px;
  background: #c4b7a6;
  position: relative;
  z-index: 20;
  overflow: visible;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* ✅ unified font */
  font-size: 17px;  /* ✅ consistent size for navbar */
}

/* Left / Right sections */
.nav-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* Nav links */



.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 17px;   /* ✅ matches navbar */
  font-weight: 500;  /* ✅ slightly bolder for readability */
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #7e4a35;
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: #7e4a35;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown a {
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #c4b7a6;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 100;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-menu a:hover {
  background: #c4b7a6;
  color: #7e4a35;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  color: #333;
  font-size: 18px;  /* ✅ icon size, not text */
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #7e4a35;
}

.hero {
  min-height: 70vh;  /* 70% of the viewport height */
  display: grid;
  place-items: center;
  position: relative;
  color: #000;
  text-align: center;
  padding: 200px;
  background-image: url('Mask-group.jpg'); /* <-- update path if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Title */
.hero__title {
  font-size:70px;
  margin: 0;
  font-family: "Bahnschrift SemiBold", Arial, sans-serif;
  text-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

/* -------------------- Quality Section -------------------- */
.quality-assured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.quality-assured h4 {
  font-size:22px;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  color: #7e4a35; /* changed from green */
}

.qa-description {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.qa-description .desc-left,
.qa-description .desc-right {
  flex: 1;
  font-size: 18px; /* ✅ matches base */
  line-height: 1.6;
}

.qa-features {
  border-top: 1px solid #ead8c4;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid #ead8c4;
}

.feature:last-child {
  border-bottom: none;
}

.icon {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.title {
  font-size:22px;
  font-weight: 500;
  color: #7e4a35; /* changed from green */
}

.desc {
  font-size: 18px; /* ✅ consistent */
  color: #353535;
}

/* Footer */
.footer {
  background: #c4b7a6; /* changed from hsl(47, 29%, 78%) */
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: hsl(25, 47%, 25%);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-column h2 {
  color: hsl(25, 47%, 15%);
  font-size: 1.50rem;
  font-weight: 600;
  margin-bottom: 1rem;
}


.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a {
  color: hsl(25, 47%, 25%);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
   font-size: 1rem;   /* ✅ increased (16px) */
  font-weight: 500;  /* ✅ slightly bolder for readability */
}

.footer-column a:hover {
  color: hsl(25, 47%, 35%);
}

.footer-column i {
  color: hsl(25, 47%, 35%);
  width: 16px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: hsl(25, 47%, 88%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b7a6(25, 47%, 15%);
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid hsl(25, 47%, 70%);
  padding-top: 1.5rem;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: hsl(25, 47%, 25%);
  font-size: 0.875rem;
}

/* -------------------- WhatsApp Floating Button -------------------- */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float i {
  line-height: 55px;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}


/* -------------------- Responsive Design -------------------- */

/* Tablets (≤ 1024px) */
@media screen and (max-width: 1024px) {
  .hero__title {
    font-size: 60px; /* scale down slightly */
  }

  .qa-description {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr; /* two-column layout */
    gap: 1.5rem;
    text-align: center;
  }

  /* Footer socials centered */
  .social-links {
    justify-content: center;
  }
}

/* Large phones (≤ 768px) */
@media screen and (max-width: 768px) {
  /* Navbar simplified */
  .navbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 15px 20px;
  }

  /* Reset logo */
  .logo {
    grid-column: 1;
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto;
    z-index: 5;
  }

  .logo img {
    height: 55px;
    width: auto;
  }

  /* Nav links stacked */
  .nav-links {
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
    text-align: center;
  }

  .nav-right {
    margin-top: 10px;
    flex-direction: column;
    gap: 12px;
  }

  /* Navbar social icons hidden (to save space) */
  .social-icons {
    display: none;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero__title {
    font-size: 42px;
  }

  .quality-assured h4 {
    font-size: 20px;
    text-align: center;
  }

  .feature {
    flex-direction: column;
    align-items: flex-start;
  }

  .content {
    margin-left: 0;
  }

  .footer-content {
    grid-template-columns: 1fr; /* single column on mobile */
    text-align: center;
    gap: 1.5rem;
  }

  /* Footer socials centered */
  .social-links {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Small phones (≤ 480px) */
@media screen and (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 80px 15px;
  }

  .hero__title {
    font-size: 32px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-right {
    font-size: 15px;
    gap: 8px;
  }

  .quality-assured h4 {
    font-size: 18px;
  }

  .desc,
  .qa-description .desc-left,
  .qa-description .desc-right {
    font-size: 15px;
    line-height: 1.4;
  }

  /* Newsletter form stacked */
  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border: none;
    border-bottom: 1px solid #034f84;
  }

  .newsletter-form button {
    border-left: none;
    border-top: 1px solid #034f84;
  }

  /* WhatsApp button smaller */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .whatsapp-float i {
    line-height: 48px;
  }

  /* Footer socials smaller */
  .social-links a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* -------------------- WhatsApp & Chatbot -------------------- */

/* WhatsApp floating button (default desktop size) */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float i {
  line-height: 55px;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Chatbot floating widget (right side) */
#tidio-chat, 
.tidio-chat, 
[id^="tidio-chat-"] {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  z-index: 1000 !important;
}

/* -------------------- Responsive Adjustments -------------------- */

/* Tablets (≤ 1024px) */
@media screen and (max-width: 1024px) {
  .social-links { justify-content: center; }
}

/* Large phones (≤ 768px) */
@media screen and (max-width: 768px) {
  /* WhatsApp smaller on tablets */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    left: 15px;
  }

  .whatsapp-float i {
    line-height: 50px;
  }

  /* Chatbot button adjust */
  #tidio-chat, 
  .tidio-chat, 
  [id^="tidio-chat-"] {
    right: 15px !important;
    bottom: 15px !important;
  }
}

/* Small phones (≤ 480px) */
@media screen and (max-width: 480px) {
  /* WhatsApp extra small */
  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 20px;
    bottom: 12px;
    left: 12px;
  }

  .whatsapp-float i {
    line-height: 44px;
  }

  /* Chatbot extra small */
  #tidio-chat, 
  .tidio-chat, 
  [id^="tidio-chat-"] {
    right: 12px !important;
    bottom: 12px !important;
  }
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 22px;
    bottom: 15px;
    left: 15px;
  }
  .whatsapp-float i { line-height: 48px; }

  #tidio-chat,
  .tidio-chat,
  [id^="tidio-chat-"] {
    right: 15px !important;
    bottom: 15px !important;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 42px;
    height: 42px;
    font-size: 20px;
    bottom: 12px;
    left: 12px;
  }
  .whatsapp-float i { line-height: 42px; }

  #tidio-chat,
  .tidio-chat,
  [id^="tidio-chat-"] {
    right: 12px !important;
    bottom: 12px !important;
  }
}

/* ==============================
   Mobile Logo Always on Top
   ============================== */
@media (max-width: 576px) {
  /* Keep logo pinned to top center */
  .navbar-brand {
    position: fixed;
    top: 10px;                  /* distance from very top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;               /* keep above everything */
  }

  .navbar-brand img {
    height: 50px;               /* slightly larger for clarity */
  }

  /* Adjust U-shape so it sits below the logo */
  .navbar-custom::after {
    top: 4px;                  /* pushed below logo */
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 70px;
  }

  /* Push menu down below logo + U-shape */
  .navbar-collapse {
    margin-top: 160px;          /* ensures dropdown doesn’t overlap logo */
    text-align: center;
  }
}