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

body {
  font-family: 'Inter', sans-serif;
  background-color: beige;
}

.navbar {
  border-radius: 12px;
  background-color: #f6fff8;
  box-shadow: 0 4px 8px rgba(36, 36, 36, 0.129);
  margin: 20px 0;
}

.navbar-logo {
  margin-left: 20px;
}

.navbar-nav {
  text-align: center;
}

.nav-link {
  font-weight: 600;
  color: #131313;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: #87ff77;
}

.btn-primary {
  margin-right: 20px;
}

/* Custom styles for mobile responsiveness */
@media (max-width: 991px) {

  .navbar-nav {
    text-align: center;
    margin-top: 20px;
  }
  .navbar-toggler {
    /* margin-right: 20px; */
    border: none;
  }
  .navbar-collapse {
    text-align: center;
  }
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 20px;
  }
  .btn {
    padding: 10px 40px;
    width: 100%;
  }
}

/* Main Styles */
.main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.marquee {
  overflow: hidden;
  position: relative;
  background: #000000; /* Background color to simulate tape */
  color: #ffffff; /* Text color */
  border-radius: 14px;
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
  font-size: 30px;
  font-weight: 100;
}

.marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee span {
  display: inline-block;
  /* padding: 0 20px; */
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}




/* .text-img img{
  box-shadow: none; 
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.explore-text {
  margin-top: 80px;
  margin-bottom: 40px;
}

.explore-text h1{
  font-weight: 600;
  font-size: 60px;
  color: #0f4508;
}

.explore-text p{
  color: #a54700;
  font-size: 20px;
}

.brand-heading{
  margin-top: 80px;
  margin-bottom: 40px;
}

.brand-heading h1{
  font-weight: 600;
  font-size: 60px;
  color: #0f4508;
}

.enquire-text{
  margin-top: 80px;
  margin-bottom: 40px;
}

.enquire-text h1{
  font-weight: 600;
  font-size: 60px;
  color: #0f4508;
} 

.enquire-text p{
  color: #a54700;
  font-size: 20px;
}

.ad {
  width: 100%;
  height: 50vh;
  border-radius: 14px;
  background-image: url('Assets/ad.jpg'); /* Update the path to your image */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ad h1{
  color: #ffffffe9;
  text-shadow: #00000020 2px 2px 2px;
  font-weight: 800;
  font-size: 50px;
}

/* Bento Grid Styles */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.bento-itemm {
  display: flex;
  flex-direction: column;
  height: 600px;
  border-radius: 14px;
  position: relative; /* Added */
}

.bento-itemm img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bento-item {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  position: relative; /* Added */
}

.bento-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bentoo-item {
  display: flex;
  flex-direction: column;
  height: 480px;
  border-radius: 14px;
  position: relative; /* Added */
}

.bentoo-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.large-image-box,
.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.large-image-box {
  grid-column: span 2;
  grid-row: span 2;
  font-size: 2em;
}

.large-image-box img,
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.large-image-box:hover img,
.image-box:hover img {
  transform: scale(1.03);
}

.text-box {
  grid-column: span 2;
  background-color: #a54700;
}

/* Products Section Styles */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.item1, .item2, .item3 {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.item1 img, .item2 img, .item3 img {
  width: 100%;
  height: auto;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.sub-brands{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.item3 img, .item4 img, .item5 img {
  width: 100%;
  height: auto;
  margin-bottom: 60px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}


.title {
  position: absolute; /* Added */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  bottom: 0; /* Added */
  left: 0; /* Added */
  width: 100%; /* Added */
  background: rgb(59, 59, 59); /* Added background for readability */
  color: #fff; /* Changed to white for better contrast */
  padding: 10px; /* Added padding for some space */
  box-sizing: border-box; /* Ensure padding is included in width */
  border-radius: 0 0 14px 14px; /* Adjusted to match the border radius of the image */
  text-align: left; /* Optional: Align text to the left */
}

.title h2 {
  font-weight: 900;
}

.circle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #eeeeee;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: relative;
  transition: 0.3s ease-in-out;
}

.circle-button:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #0d0d0d;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: relative;
  scale: 1.2;
}

.arrow {
  transform: rotate(-45deg);
  font-size: 30px;
  transition: 0.3s ease-in-out;
}

.circle-button:hover .arrow{
  transform: rotate(-45deg);
  font-size: 30px;
  color: #fff;
}

/* Enquiry Container Styles */


.container-enquiry {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 50vh;
  background-color: #000;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form {
  width: 100%;
}

/* Form Column Styles */
@media (min-width: 576px) {
  form {
    width: 80%;
  }
}

@media (min-width: 768px) {
  form {
    width: 60%;
  }
}

@media (min-width: 992px) {
  form {
    width: 50%;
  }
}

/* Responsive Columns */
.row > div {
  width: 100%;
}

@media (min-width: 576px) {
  .row > div {
    width: 50%;
  }
}

/* Button Styles */
.but {
  width: 100%;
  padding: 10px;
  font-size: 1.2em;
  margin-top: 20px;
}

/* Footer Styles */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background-color: #0C2F07;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img{
  width: 500px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links ul {
  padding: 0;
  text-align: center;
}

.footer-links ul li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #fff;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin: 0;
  padding-bottom: 10px;
}

.footer-credits {
  width: 100%;
  text-align: center;
}

hr {
  width: 100%;
}


.explore-all {
  position: relative;
  border: 1px solid #353535;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  overflow: hidden;
}

.explore-all::before {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 0;
  height: 0;
  background-color: #0b0b0b;
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out, top 0.5s ease-in-out, left 0.5s ease-in-out;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.explore-all:hover::before {
  width: 200%;
  height: 200%;
}

.explore-all a {
  position: relative;
  text-decoration: none;
  color: #4b4b4b;
  font-size: 30px;
  transition: color 0.5s ease-in-out, transform 0.5s ease-in-out;
  z-index: 1;
}

.explore-all a span {
  display: inline-block;
  transition: transform 0.5s ease-in-out;
}

.explore-all:hover a {
  color: #ffffff;
}

.explore-all:hover a{
  transform: translateX(-10px);
}

.explore-all:hover a span {
  transform: translateX(20px);
}


/* Responsive Design */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .large-image-box {
    grid-column: span 3;
    grid-row: span 1;
  }

  .text-box, .image-box {
    grid-column: span 1;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sub-brands {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .large-image-box {
    grid-column: span 2;
  }

  .text-box, .image-box {
    grid-column: span 1;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .footer-logo img{
    width: 200px;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .large-image-box, .text-box, .image-box {
    grid-column: span 1;
  }

  .products {
    grid-template-columns: 1fr;
  }

}
