* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@supports (display: grid) {
  body {
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
}

main {
  flex: 1 0 auto;
  grid-row: 2;
}

.featured-items,
.banner {
  flex: 0 0 auto;
  grid-row: auto;
}

.footer, footer {
  flex-shrink: 0;
  margin-top: auto;
  grid-row: 3;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

header, main, section, footer, .wrapper, .container {
  display: block;
}

body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


*[style*="bottom:"] {
  bottom: auto !important;
}

body, #top, .page {
  overflow-x: hidden;
}

.slideshow, .banner {
  position: relative;
  overflow: hidden;
}

[style*="min-height"] {
  min-height: unset !important;
}







.pre-header {
  background-color: #3a8bcd;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
}

.header {
  position: relative;
  width: 100%;
  height: 343px;
  min-height: 250px;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
  opacity: 1;
}

.header-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  z-index: 2;
}

.logo {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.banner {
  position: relative;
  width: 100%;
  min-height: 40vh;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.banner .main-nav {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  white-space: nowrap;
}

.banner .nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.banner .nav-item a {
  background-color: rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 0.2em 0.5em;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.banner .nav-item a:hover {
  background-color: rgba(0,0,0,0.45);
  color: #d1d1d1;
}

.featured-items {
  padding: 30px 15px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.featured-items h1 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #3a8bcd;
  text-decoration: underline;
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.product-box {
  flex: 1 1 calc(25% - 20px);
  max-width: 220px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s;
}

.product-box:hover {
  transform: translateY(-5px);
}

.featured-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.featured-item h4 {
  color: #3a8bcd;
  font-weight: 600;
  margin: 10px 0;
}

.featured-item p {
  color: orange;
  text-shadow: 1px 1px 2px black;
  font-weight: 800;
  margin: 10px 0;
}

.featured-item .tap-text {
  color: #333;
  text-shadow: none;
  font-weight: normal;
  font-style: italic;
  font-size: 0.9em;
  margin-top: 5px;
}





.contact-btn {   
    padding: 10px 24px;
    border-radius: 50px; 
    background-color: #3a8bcd;
    color: #fff;
    font-weight: 600;
    text-decoration: none;        
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15); 
    margin-top: 10px;
    
}

.contact-btn:hover {
    background-color: #2a6b9c; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact-btn:active {
    transform: scale(0.97);
}

.item-description {
  text-align: justify;
  font-size: 0.9em;
  color: #555;
  margin: 10px 0;
}

.whatsapp-link {
  color: #3a8bcd;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #25D366;
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.whatsapp-cta:hover {
  background-color: #128C7E;
}

@media (max-width: 991px) and (min-width: 601px) {
  .product-box {
    flex: 1 1 calc(45% - 20px);
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .product-box {
    flex: 1 1 100%;
    max-width: 90%;
  }
}

.swiper-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.swiper-modal.active {
  display: flex;
}

.swiper-modal-content {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  max-height: none;
  border-radius: 8px;
  overflow: hidden;
}

.mySwiper {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 70vh;
  position: relative;
  background: #333;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-height: 70vh;
}

.swiper-close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  background: #f44336;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1010;
  line-height: 1;
}

.swiper-close-button:hover {
  background: #d32f2f;
}

.swiper-button-next, .swiper-button-prev {
  color: #fff !important;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-product-info {
  background: #fff;
  color: #333;
  padding: 15px 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
}

.swiper-product-info p {
  margin: 5px 0;
}

.swiper-product-info h4 {
  color: #3a8bcd;
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: grey;
  opacity: 0.6;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  background: #3a8bcd;
  opacity: 1;
}

@media (max-width: 768px) {
  .swiper-modal-content {
    max-width: 95%;
  }
  .swiper-close-button {
    top: 5px;
    right: 10px;
    font-size: 18px;
    padding: 4px 8px;
  }
}




/*== BANNERS BEFORE FOOTER ==*/

.banner {
  position: relative;
  width: 100%;
  max-width: 1250px;
  
  height: 30vh;    
  min-height: 250px; 
  margin: 0 auto;
  overflow: hidden;
}

.banner .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This is correct: it fills the container while maintaining aspect ratio */
  object-fit: cover; 
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner .slide.active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 768px) {
  .banner {
    height: 20vh;
    min-height: 150px; 
  }
}
/*== End of BANNERS BEFORE FOOTER ==*/











/* === FOOTER ===*/
/* === Footer Top (Quick Links + Contact) === */
.footer {
    width: 100%;
    background: #fff;
    color: #000;
    text-align: left;
    box-sizing: border-box;
    padding: 10px 20px 25px;
    font-family: system-ui, sans-serif;
    border-top: 1px solid #ddd;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    justify-content: center; /* **Centers the content horizontally** */
    gap: 40px; /* Space between columns */
}

.footer-slogan p {
    text-align: center;
    font-size: 20px; /* Increased size */
    font-weight: 600;
    margin-bottom: 30px;
    color: #111;
    width: 100%; /* Ensures slogan takes full width for centering */
}

.footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.footer-column {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.footer-column h4 {
    font-size: 19px; /* Increased size */
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    border-bottom: 2px solid #3a8bcd;
    padding-bottom: 3px; /* Slightly more padding for better look */
    margin-bottom: 10px; /* Increased margin */
    width: fit-content;
}

.footer-column ul,
.footer-column p,
.footer-column a {
    text-align: center;
}

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

.footer-column ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 10px; /* Increased margin */
    transition: color 0.3s;
    font-size: 16px; /* Increased size for quick links */
}

.footer-column ul li a:hover {
    color: #3a8bcd;
}

.footer-column p {
    margin: 8px 0; /* Increased margin */
    font-size: 16px; /* Increased size for text (like phone number) */
    color: #222;
}



.whatsapp-btn {
    display: inline-block;
    background-color: #25d366;
    color: #fff;
    padding: 12px 24px; /* Slightly larger button padding */
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 16px; /* Increased size */
}

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

.footer-logo-wrap {
  text-align: center;      /* Centers the content horizontally */
  margin-top: 15px;        /* Space above the logo */
}

.footer-logo {
  width: 200px;            /* Set fixed width */
  height: auto;            /* Maintain aspect ratio */
  display: inline-block;   /* Ensures proper centering */
}

/* === End of Footer Top === */




/* === FOOTER BOTTOM === */
.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #333;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-column {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
  
  .footer-column ul {
        text-align: center;
    }


   .footer-slogan p {
        font-size: 16px;
    }
}
/* === End of FOOTER ===*/


html {
  scroll-behavior: smooth;
}
