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



/* style.css */
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-weight: 300;
  font-size: 1rem;
}


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

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  max-height: 100vh;
}

.slide.active {
  display: block;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 40%; /* Shifted up from 50% */
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* Dots */
.dots {
  position: absolute;
  top: 83%; /* Moved dots from bottom to top */
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.active-dot {
  background-color: #717171;
}



/* Achievement Section */

.achievement-section {
  background-color: #003399; /* Deep blue */
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.achievement-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 800;
  font-family: sans-serif;
}

.achievement-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 40px;
  min-width: 180px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-box h3 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}

.stat-box p {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Our Presence Section */

.presence-section {
  padding: 60px 40px;
  background-color: #f9f9f9;
}

.presence-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.presence-images {
  flex: 1;
  max-width: 500px;
}

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.img-grid img:nth-child(3) {
  grid-column: span 2;
}

.img-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.presence-content {
  flex: 1;
  max-width: 600px;
}

.presence-content h3 {
  color: #005bac;
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.presence-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.presence-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .presence-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .presence-images, .presence-content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .presence-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .presence-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .img-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .img-grid img:nth-child(3) {
    grid-column: span 1;
  }
}



/* services Section */
.services-section {
  background-color: #003399;
  padding: 60px 20px;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 800;
  font-family: sans-serif;
  color: white;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  background-color: white;
  border-radius: 12px;
  padding: 30px 25px;
  max-width: 350px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-box h3 {
  font-size: 1.3rem;
  color: #003399;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-box p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.service-icon {
  width: 200px;        /* Increased size */
  height: auto;
  display: block;
  margin: 0 auto 20px; /* Center horizontally & spacing below */
}


/* Social Media Section */
.social-media-section {
  background-color: #f4f6fb;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.social-media-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  font-family: sans-serif;
  color: #003399;
}

.social-media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-embed-row {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none; /* Firefox */
}

.social-embed-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.social-embed-row iframe {
  flex: 0 0 auto;
  width: 350px;
  height: 435px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease;
}

.social-embed-row iframe:hover {
  transform: scale(1.02);
}

.scroll-btn {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 28px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.scroll-btn.left {
  left: -10px;
}

.scroll-btn.right {
  right: 5px;
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {


  .product-section {
  margin-top: -75%;
}

  .product-list {
    gap: 24px;
  }

  .product-card {
    width: 90%;
    margin: 0 auto;
  }

  .services-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .achievement-box {
    flex: 1 1 100%;
    margin: 10px 0;
  }

  .image-collage {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }

  .collage-section {
    flex-direction: column;
    text-align: center;
  }

  .collage-content {
    padding: 20px;
  }

  .social-grid {
    flex-direction: column;
    gap: 30px;
    padding: 20px 10px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  h2, h3 {
    font-size: 1.5rem;
  }

  .filter-buttons {
    font-size: 12px;
    padding: 10px 15px;
    margin: 8px 16px; /* Adds left-right margin */
    border-radius: 20px;
  }

  .product-section h2 {
    font-size: 20px !important;
    text-align: center;
    margin-bottom: 15px;
  }


  .product-card img {
    max-height: 150px;
  }

  .hero-slider {
    height: 100%;
  }


  
}

@media only screen and (max-width: 768px) {
  .arrow,
  .dots {
    display: none;
  }
}


/* Popup Overlay Background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Show popup */
.popup-overlay.show {
  display: flex;
}

/* Form Container */
.popup-box {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

/* Form Elements */
.popup-box h2 {
  margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

.popup-box label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.popup-box input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.popup-box button {
  width: 100%;
  background: #d50032;
  color: white;
  padding: 10px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-box button:hover {
  background-color: #b8002a;
}

.popup-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Close Button */
.popup-box .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* Contact-us */

.contact-page {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.contact-section h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #000;
  color: #fff;
  padding: 12px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #444;
}

.contact-details {
  flex: 1;
  font-size: 16px;
}


/* New product page */

.product-preview-box {
  padding: 40px;
  background: #f8f8f8;
  border-radius: 20px;
  margin: 40px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
}

.product-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  border-bottom: 2px solid #ddd;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 15px;
  position: relative;
  color: #333;
}

.tab-btn.active {
  color: #e60000;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  height: 3px;
  background: #e60000;
  bottom: -2px;
  left: 0;
  right: 0;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-card {
  width: calc(25% - 20px);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.product-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.product-card h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}

.view-more {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border: 2px solid #e60000;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.view-more:hover {
  background: #e60000;
  color: #fff;
}


.product-preview-box {
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  margin: 40px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card .price {
  font-size: 16px;
  color: #555;
  margin: 6px 0 10px;
  font-weight: 500;
}


@media screen and (max-width: 991px) {
  .product-card {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 600px) {
  .product-card {
    width: 100%;
  }

  .product-tabs {
    flex-wrap: wrap;
    gap: 15px;
  }

  .product-preview-box {
    margin: 0px;
  }
}
