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

body {
  font-family: 'Segoe UI', sans-serif;
  background-image: url('../img/GLAS.jpg');  
  background-color: #f9f9f9;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Added for a fixed background effect */
  color: #333;
  position: relative; /* Required to support ::before overlay */
}

/* Darker Gray Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 8, 8, 0.3); /* Darker gray with 60% opacity */
  z-index: -1;
  pointer-events: none;
}

  
  header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo-container img {
    height: 50px;
    margin-right: 15px;
  }

  .logo-container h1 {
    font-size: 1.5rem;
    color: #333;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 3.5rem;
  }

  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  nav ul li a:hover {
    color: #28a745;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    height: 80vh;
  }

  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
  }

  .hero a {
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .hero a:hover {
    background-color: #218838;
  }

  nav {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;
    }
  }

  /* START THE EDIT FROM HEREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE */


  .frame {
    text-align: center;
    width: 900;
    height: 4010px;
    background-color:white;
    margin-top: -25rem;
  }

  .frame h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .frame p {
    font-size: 1.2rem;
    color: #555;
  }

  /* New 4 Divs Section */
  .frame-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin-top: -15em;
  }

  .frame-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .frame-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .frame-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #e0e0e0;
  }

  .frame-item button {
    background-color: orange;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
  }

  .frame-item button:hover {
    background-color: black;
  }

  /* Reach Us Section */
  .reach-us {
    background-color: #fff;
    padding: 3rem 2rem;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }

  .reach-us-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: left;
  }

  .reach-us-grid > div {
    flex: 1 1 300px;
  }

  .reach-logo p {
    margin: 0.5rem 0;
  }

  .reach-contact h3,
  .reach-form h3 {
    color: #28a745;
    margin-bottom: 1rem;
  }

  .reach-contact p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
  }

  .reach-form form {
    display: flex;
    gap: 0;
  }

  .reach-form input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px; /* Rounded left corner */
    width: 100%;
    font-size: 1rem;
  }

  .reach-form button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 5px 5px 0; /* Rounded right corner */
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .reach-form button:hover {
    background-color: #218838;
  }

  .social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 1rem;
  }

  .social-links a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .social-links a i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }

  /* Facebook */
  .social-links a.facebook {
    background-color: #3b5998;
  }

  .social-links a.facebook:hover {
    background-color: #2d4373;
    transform: translateY(-5px);
  }

  /* Instagram */
  .social-links a.instagram {
    background-color: #e1306c;
  }

  .social-links a.instagram:hover {
    background-color: #bc2a8d;
    transform: translateY(-5px);
  }

  /* Twitter */
  .social-links a.twitter {
    background-color: #00acee;
  }

  .social-links a.twitter:hover {
    background-color: #0084b4;
    transform: translateY(-5px);
  }

  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
  }

  @media (max-width: 768px) {
    .reach-us-grid {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .reach-us-grid > div {
      flex: 1 1 100%;
    }
  }

  /* Enhance Reach Us Info Section */
  .reach-contact {
    background-color: #f4fdf6;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .reach-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .reach-contact h3 {
    font-size: 1.3rem;
    color: #218838;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .reach-contact p {
    font-size: 0.95rem;
    color: #444;
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .reach-contact i {
    color: #28a745;
    min-width: 20px;
    text-align: center;
  }

  .filter-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin: 2rem 2rem;
    flex-wrap: wrap;
    animation: fadeInLeft 0.8s ease-in-out;
    font-family: sans-serif;
    margin-top: 20px;
    
  }
  .filter-buttons button {
    padding: 1rem 2rem; /* Bigger space inside the button */
    font-size: 1.2rem;   /* Larger text */
    background-color: white;
    border: 3px solid orange;
    border-radius: 12px; /* Slightly more rounded */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  }
  
  
  /* Hover Effect */
  .filter-buttons button:hover {
    background-color:orange;
    color:white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Click Effect */
  .filter-buttons button:active {
    transform: scale(0.96);
  }
  
  /* Entrance Animation */
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

/* Styles for the image container */
  .image-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .image-container img {
    width: 100px; /* Adjust the image size */
    height: auto;
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds shadow to images */
    transition: transform 0.3s ease;
  }

  /* Hover effect on images */
  .image-container img:hover {
    transform: scale(1.1);
  }
  



  .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align to top */
    gap: 2rem;
    padding: 2rem;
    margin-top: 28px; /* Keeps the content lower */
  }
  
  .video-container,
  .text-content {
    flex: 1;
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 450px; /* Make both containers equal in height */
    margin-top: 70rem;
  }
  
  .video-container {
    max-width: 48%;
    background-color:white;
  }
  
  .text-content {
    max-width: 48%;
    background-color: #fff;
    padding: 1.5rem;
  }
  
  .text-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .text-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .text-content .learn-more {
    background-color:orange;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .text-content .learn-more:hover {
    background-color: black;
  }
  
  .threediv {
    background-color: #f1f1f1;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    text-align: center;
    display: flex; /* Arrange the child divs in a row */
    justify-content: space-around; /* Space out the inner divs evenly */

  }
  
  .inner-div {
    background-color: #fff;
    padding: 6rem; /* Inner padding to make the divs smaller */
    margin: 0 1rem; /* Add more space between the divs */
    border-radius: 8px;
    width: 120px; /* Set width */
    height: 100px; /* Set height */
    flex: 1; /* Ensure each div takes up equal space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
  }
  
  .inner-div i {
    font-size: 2rem; /* Resize the icon */
    margin-bottom: 0.75rem; /* Increase space between icon and text */
  }
  
  .inner-div p {
    font-size: 20px; /* Resize the text */
    margin-top: 0.5rem; /* Add some space above the text */
  }
.inner-div:hover {
background-color: orange; /* Change background to orange on hover */
color: white; /* Change text color to white */
}

.threediv .inner-div:nth-child(1):hover {
background-color: orange; /* Orange background for the first inner-div */
color: white; /* Change text color to white */
}

.threediv .inner-div:nth-child(1):hover p {
color: white; /* Change the text color to white when hovered */
}

.threediv .inner-div:nth-child(1):hover i {
color: white; /* Change the icon color to white when hovered */
}


.threediv1 {
background-color: #f1f1f1;
padding: 2rem;
margin-top: 6rem;
border-radius: 10px;
text-align: center;
display: flex; /* Arrange the child divs in a row */
justify-content: space-around; /* Space out the inner divs evenly */
}

.inner-div1 {
background-color: #fff;
padding: 6rem; /* Inner padding to make the divs smaller */
margin: 0 1rem; /* Add more space between the divs */
border-radius: 8px;
width: 120px; /* Set width */
height: 100px; /* Set height */
flex: 1; /* Ensure each div takes up equal space */
display: flex;
flex-direction: column;
justify-content: center; /* Vertically center content */
align-items: center; /* Horizontally center content */
}

.inner-div1 i {
font-size: 2rem; /* Resize the icon */
margin-bottom: 0.75rem; /* Increase space between icon and text */
}

.inner-div1 p {
font-size: 20px; /* Resize the text */
margin-top: 0.5rem; /* Add some space above the text */
}
.inner-div1:hover {
background-color: orange; /* Change background to orange on hover */
color: white; /* Change text color to white */
}

.threediv1 .inner-div1:nth-child(1):hover {
background-color: orange; /* Orange background for the first inner-div */
color: white; /* Change text color to white */
}

.threediv1 .inner-div1:nth-child(1):hover p {
color: white; /* Change the text color to white when hovered */
}

.threediv1 .inner-div1:nth-child(1):hover i {
color: white; /* Change the icon color to white when hovered */
}

/* Picture Framae */



.threediv2 {
  background-color: rgb(240, 244, 255);
  padding: 2rem; 
  margin-top: 6rem;
  border-radius: 10px;
  text-align: center;
  display: flex; /* Arrange the child divs in a row */
  justify-content: space-around; /* Space out the inner divs evenly */
  }
  
  .inner-div2 {
  background-color: #fff;
  padding: 6rem; /* Inner padding to make the divs smaller */
  margin: 0 1rem; /* Add more space between the divs */
  border-radius: 8px;
  width: 120px; /* Set width */
  height: 100px; /* Set height */
  flex: 1; /* Ensure each div takes up equal space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: center; /* Horizontally center content */
  }
  
  .inner-div2 i {
  font-size: 2rem; /* Resize the icon */
  margin-bottom: 0.75rem; /* Increase space between icon and text */
  }
  
  .inner-div2 p {
  font-size: 20px; /* Resize the text */
  margin-top: 0.5rem; /* Add some space above the text */
  }
  .inner-div2:hover {
  background-color:lightgray; /* Change background to orange on hover */
  color: white; /* Change text color to white */
  }
  
  .threediv2 .inner-div2:nth-child(1):hover {
  background-color: lightgray; /* Orange background for the first inner-div */
  color: white; /* Change text color to white */
  }
  
  .threediv2 .inner-div2:nth-child(1):hover p {
  color: white; /* Change the text color to white when hovered */
  }
  
  .threediv2 .inner-div2:nth-child(1):hover i {
  color: white; /* Change the icon color to white when hovered */
  }
  
/* New Carousel Updates*/


.news-carousel {
display: flex;
align-items: center;
justify-content: center;
margin-top: 100px;
position: relative;
}

.news-wrapper {
overflow: hidden;
width: 1220px; /* Adjusted to fit the bigger frames */
}

.news-container {
display: flex;
transition: transform 0.5s ease;
width: 1220px; /* Adjusted to fit the bigger frames */
}

.news-item {
min-width: 400px;        /* Increased width of each frame */
flex: 0 0 400px;         /* Ensure each item stays at 400px */
padding: 20px;           /* Add more padding for better aesthetics */
box-sizing: border-box;
background: #f8f8f8;
margin: 0 10px;          /* Slightly increase margin between frames */
border-radius: 8px;
text-align: center;
transition: border 0.3s ease, background-color 0.3s ease; /* Smooth transition for border */
}

.news-item img {
width: 100%;
height: auto;
border-radius: 8px;
}

.news-datetime {
display: block;
margin-top: 8px;
font-size: 14px;
color: #888;
font-style: italic;
}

.news-item p {
margin-top: 10px;
font-size: 16px;
}

/* Hover Effect */
.news-item:hover {
background-color: #f0f0f0; /* Slightly change background color */
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow on hover */
}

/* Active Click Effect */
.news-item.active {
border: 3px solid orange; /* Orange border on click */
background-color: #fff5e6; /* Light orange background on active */
}

/* Arrow Button Styles */
.arrow {
background:orange; /* Orange color for the arrows */
border: none;
font-size: 30px;
color: white;         /* White color for the arrow */
cursor: pointer;
user-select: none;
position: absolute;
top: 50%;
transform: translateY(-50%);
padding: 10px 15px;
border-radius: 50%;   /* Makes the arrows circular */
transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
z-index: 10; /* Ensures the arrows are on top of the content */
}

.arrow.left {
left: 10px; /* Position the left arrow */
}

.arrow.right {
right: 10px; /* Position the right arrow */
}

.arrow:hover {
background-color: black; /* Darker blue on hover */
transform: translateY(-50%) scale(1.1); /* Slightly enlarge the arrow on hover */
}

.arrow:focus {
outline: none; /* Removes the outline on focus */
}

.news-container {
overflow-x: auto; /* Required for scrollBy to work */
scroll-behavior: smooth;
display: flex;
width: 1220px; /* Adjusted to fit the bigger frames */
}

.news-item:hover {
border: 3px solid orange;  /* Add orange border when hovering over each frame */
}






 /*Affiliate Brands TCR MANNA ELEPHANT EXPRESS */

h1 {
  font-family: 'Allura', cursive;
  font-weight: bold;
  margin-top: 90px;
  font-size: 5rem;
}
    .description {
      font-weight: normal;
      margin-top: 50px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .brands {
      display: flex;
      justify-content: center;
      gap: 90px;
      flex-wrap: wrap;
    }

.brand {
margin-top: 50px;
  background: rgb(250, 247, 247);
  border-radius: 10px;
  padding: 15px;
  width: 310px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.brand img {
  width: 100%;
  border-radius: 8px;
  height: 230px;
  object-fit: cover;
}

.brand h3 {
  margin: 10px 0 5px 0;
}

.brand p {
  font-size: 14px;
  color: #555;
}

.brand:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 box-shadow: 0 12px 20px rgba(255, 165, 0, 0.4); /* Orange glow */

}
