@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap");

/* Stretch the footer to the bottom of the viewport */
body {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures full viewport height is used */
  margin: 0; /* Removes default margin */
}

.ajfan-logo {
  width: 80px;
  height: 70px;
}


/* Navbar */
.navbar {
  background-color: #fff0cd;
    }

/* General link styles */
.nav-link {
  color: #000; /* Default text color */
  text-decoration: none;
  padding: 5px 10px; /* Adjust padding for better visuals */
  transition: background-color 0.3s ease; /* Smooth transition for hover */
}

/* Hover effect */
.nav-link:hover {
  background-color: #ebb328; /* Background changes to yellow on hover */
  color: #000; /* Ensures text remains visible */
}


/* Active link styling */
.nav-link.active {
 /*  background-color: #ebb328; /* Highlight active link with yellow */
  font-weight: bold; /* Optional: make text bold for emphasis */
  color: #000; /* Ensure readability */
}

#navItem1, #navItem2, #navItem3, #navItem4 {
  color: #323f4b;
  font-family: "Roboto";
  margin-right: 20px;
  border-radius: 5px;
}


/*.banner-section-bg-container {
  background-image: url('https://cdn.shopify.com/s/files/1/0409/1088/0932/files/ajfanwarehousenew.jpg?v=1734775537');
  height: 100vh;
  background-size: cover;
}*/



 /* Styling for the play/pause button */
/* General container styling 
.banner-section-bg-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}*/

.banner-section-bg-container {
  position: relative;
  height: 100vh; /* Full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}


.custom-button-video {
      background-color: #f4b400; /* Golden color */
      color: #ffffff; /* White text */
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .custom-button-video:hover {
      background-color: #d29e00; /* Darker golden color */
      transform: scale(1.05); /* Slight zoom effect */
    }

    .custom-button-video:active {
      background-color: #b58800; /* Even darker on click */
      transform: scale(0.98); /* Slight shrink effect */
    }

/*     .video-container {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.8);
      padding: 20px;
      border-radius: 10px;
      z-index: 1000;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .video-container video {
      width: 800px;
      height: 500px;
      max-width: 1000px;
      border-radius: 10px;
    }

    .close-button {
      position: absolute;
      top: 10px;
      right: 10px;
      background: none;
      border: none;
      color: #ffffff;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
    } */

    .video-container {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.8);
      padding: 10px;
      border-radius: 10px;
      z-index: 1000;
      width: 90%;
      max-width: 900px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .video-container video {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }
    
    .close-button {
      position: absolute;
      top: 5px;
      right: 5px;
      background: none;
      border: none;
      color: #ffffff;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
    }
    
    .close-button:hover {
      color: #f4b400;
    }

    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }

/* Video styling for banner video */
    .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure it stays in the background */
}

/*
.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

*/

/* Overlay content styling */
.content-over-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: white;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s ease-in-out;
}

/* Hidden content */
.content-hidden {
  opacity: 1;
 
}

/* Play/Pause Button styling */
.play-pause-btn {
  background-color: rgb(72, 62, 62);
  opacity: 50%;
  color: white;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

}

/* Button fully visible on hover */
.play-pause-btn:hover {
  opacity: 1;
}

/**********************/

.banner-heading {
  color: white;
  font-family: "Roboto";
  font-size: 45px;
  font-weight: 300;
}
.banner-caption {
  color: #f5f7fa;
  font-family: "Roboto";
  font-size: 24px;
  font-weight: 300;
}

/* Buttons */
.custom-button, .custom-outline-button {
  width: 130px;
  height: 45px;
  border-radius: 8px;
}

.custom-button {
  color: white;
  background-image: linear-gradient(#d0b200, #a58d00);
  border-width: 0;
  margin-right: 10px;
}
.custom-outline-button {
  color: #d0b200;
  background-color: transparent;
  border: 1px solid #d0b200; /* border-width, border-style, border-color*/
}

.carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}



.carousel-item img {
  width: 100%; /* Ensures the image takes the full width of the slider */
  height: auto; /* Maintains the aspect ratio */
  object-fit: cover; /* Crops the image to fit its container without distorting it */
  max-height: 500px; /* Adjust as per the slider height */
}


.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.carousel-caption h5 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.carousel-caption p {
  color: #d0b200;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  margin-top: 5px;
}


/* Ajfan Subsidiaries Section Styles */
.ajfan-subsidiaries-section {
  padding: 20px 15px;
}

.ajfan-subsidiaries-section h1 {
  font-size: 3.5rem;
}

.ajfan-subsidiaries-section p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Sections */
.wcu-section,
.healthy-food-section,
.contact-us-section {
  background-color: #f9fbfe;
}


.wcu-section-heading,
.menu-section-heading,
.healthy-food-section-heading,
.careers-heading,
.thanking-customers-section-heading {
  color: #183b56;
  font-size: 28px;
  font-weight: 700;
}


.wcu-section-heading {
 
  font-family: "Roboto";
  
}
.wcu-section-description {
  color: #5a7184;
  font-family: "Roboto";
  font-size: 16px;
}
.wcu-card {
  text-align: center;
  background-color: white;
  border-style: solid;
  border-width: 1px;
  border-color: #e5eaf4;
  border-radius: 16px;
}
.wcu-card-image {
  width: 87px;
  height: 90px;
}
.wcu-card-title {
  color: #323f4b;
  font-family: "Roboto";
  font-size: 22px;
  font-weight: 500;
}
.wcu-card-description {
  color: #7b8794;
  font-family: "Roboto";
  font-size: 16px;
  min-height: 100px;
}
.offers {
  color: #323f4b;
  font-style: italic;
  font-weight: 600;
}
.about-us-section {
  background-color: white;
}
.menu-section-heading {
  
  font-family: "Roboto";
  
}
.menu-item-image {
  border-radius: 16px;
}
.menu-card-title {
  color: #323f4b;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
}
.menu-item-link {
  color: #d0b200;
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 500;
}
.menu-item-card {
  border-radius: 16px;
}


.healthy-food-section-img {
  min-width: 300px;
}

.healthy-food-section-heading {
  
  font-family: "Roboto";

}
.healthy-food-section-description {
  color: #5a7184;
  font-family: "Roboto";
  font-size: 16px;
}
.careers-section {
  background-color: white;
  width: 100%;
}
.careers-img {
  height: 300px;
}
.careers-heading {
  
  font-family: "Roboto";
  
}
.careers-description {
  color: #5a7184;
  font-family: "Roboto";
  font-size: 16px;
}
.payment-card-img {
  width: 50px;
  height: 50px;
  margin-right: 28px;
}
.thanking-customers-section {
  background-image: radial-gradient(#fff8db, #fae38c);
}
.thanking-customers-section-heading {
  
  font-family: "Roboto";
  
}
.thanking-customers-section-description {
  color: #5a7184;
  font-family: "Roboto";
  font-size: 16px;
}
.thanking-customers-section-img {
  width: 270px;
  margin-bottom: 20px;
}
.thanking-customers-section-modal-title {
  color: #d0b200;
  font-weight: 800;
}
.contact-us-section {
 /* Light background for the section */
  padding: 50px 0; /* Add padding for spacing */
}

.contact-us-section-heading {
  text-align: center;
   /* Dark blue color for the heading */
  font-family: "Roboto", sans-serif; /* Ensure a fallback font */
  
  margin-bottom: 30px; /* Add spacing below the heading */
}

.contact-us-icon-container {
  display: inline-block; /* Ensure icons are aligned inline */
  text-align: center;
  margin: 0 15px; /* Spacing between icons */
}

.contact-us-icon-container a {
  color: #d0b200; /* Default icon color */
  font-size: 2rem; /* Adjust icon size */
  text-decoration: none; /* Remove underline */
  display: flex; /* Center the icon inside the hover effect */
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 5px;
  border-radius: 40px;
  transition: all 0.3s ease; /* Smooth hover effect */
}

.contact-us-icon-container a:hover {
  background-color: #faf7e8; /* Light background on hover */
  color: #183b56; /* Darker color on hover */
}

.icon {
  font-size: 35px; /* Uniform icon size */
  transition: color 0.3s ease; /* Smooth color change on hover */
}

.social-icon {
    font-size: 40px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon .fa-facebook {
    color: #1877f2;
}

.social-icon .fa-instagram {
    color: #e1306c;
}

.social-icon .fa-whatsapp {
    color: #25D366; /* Official WhatsApp green */
}

.footer-section {
  margin-top: auto; /* Push the footer to the bottom */
}

/* Ensure the footer spans the full width */
.footer-section {
  background-color: #12344d; /* You can change this to match your theme */
  color: #000; /* Adjust text color for better visibility */
  width: 100%;
  position: relative; /* Adjust position */
  padding: 2rem 0; /* Add padding for spacing */
}

.footer-section-address {
  color: #959ead;
  font-family: "Roboto";
  font-weight: bold;
  font-size: 16px;
  margin-top: 20px;
}
.footer-section-mail-id
 {
  color: #959ead;
  font-family: "Roboto";
  font-size: 14px;
}


/* Media Queries for small Screens */
@media (min-width: 360px) {
 /* Video styling for banner video */
    .video-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure it stays in the background */
}

h1, h2, h3 {
  font-size: 1.5rem;
}
p, a, button {
  font-size: 1rem;
}

/* Overlay content styling */
.content-over-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: white;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s ease-in-out;
}

/* Hidden content */
.content-hidden {
  opacity: 1;
 
}

.banner-section-bg-container {
  height: 50vh; /* Adjusts height dynamically */
}


  /* Banner Heading */
  .banner-heading {
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 45px;
    font-weight: 300;
  }

  /* Banner Caption */
  .banner-caption {
    color: #f5f7fa;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 300;
  }
}

@media (max-width: 576px) {
  h1, h2, h3 {
    font-size: 1.5rem;
  }
  p, a, button {
    font-size: 1rem;
  }
  .custom-button-video {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Mobile-first Adjustments */
@media (max-width: 768px) {
  .banner-section-bg-container {
    height: 50vh;
  }
  .content-over-video h1 {
    font-size: 24px;
  }
  .content-over-video p {
    font-size: 14px;
  }
  h1, h2, h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }
  .custom-button-video {
    padding: 8px 16px;
    font-size: 14px;
  }
  .contact-us-icon-container a {
    margin: 5px;
    width: 60px;
    height: 60px;
  }
}



/* Media Queries for large Screens */
@media (min-width: 1024px) {
 /* Video styling for banner video */
    .video-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure it stays in the background */
}


/* Overlay content styling */
.content-over-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: white;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s ease-in-out;
}

.banner-section-bg-container {
  position: relative;
  height: 100vh; /* Full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .carousel-inner img {
    max-height: 200px;
  }
}

@media (min-width: 769px) {
  .carousel-inner img {
    max-height: 500px;
  }
}



/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .ajfan-subsidiaries-section {
    padding: 10px;
  }

  .ajfan-subsidiaries-section h1 {
    font-size: 1.8rem;
  }

  .ajfan-subsidiaries-section p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .ajfan-subsidiaries-section h1 {
    font-size: 2rem;  /* 1.5rem perfect */
  }

  .ajfan-subsidiaries-section p {
    font-size: 0.95rem;
  }
}

.go-top-button {
  position: fixed;
  bottom: 15px;
  right: 15px; /* Changed from left to right */
  background-color: #d0b200;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: none; /* Hidden by default */
  z-index: 1000;
}

.go-top-button:hover {
  background-color: #a58d00;
}

@media (max-width: 768px) {
  .go-top-button {
    display: block;
  }
}