* {
    margin: 2px;
    padding: 2px;
    box-sizing: border-box;
    text-decoration: none;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

body {
    font-family: Calibri, sans-serif;
}
/*Navbar*/
.navbar {
    background-color: white;
    padding: 8px 30px;
    box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.1);
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo img {
    height: 80px;       /* Smaller height */
    width: 130px;        /* Smaller width */
    margin-left: 25px;   /* Remove extra margin */
    transform: translateX(-30px); /* Move left */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-links li a {
    color: navy;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: darkgreen;
}

.contact-btn {
    background-color: #f1d102;
    padding: 8px 16px;
    border-radius: 20px;
    color: black !important;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background-color: #d4bb00;
}

/* Hamburger icon */
.navbar {
  background-color: white;
  padding: 8px 30px;
  box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.1);
}

.navdiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.logo img {
  height: 60px; 
  width: 100px;
  margin-left: 25px;
  transform: translateX(-30px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
  
}

.nav-links li a {
  color: navy;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s ease;
  
}

.nav-links li a:hover {
  color: darkgreen;
}

.contact-btn {
  background-color: #f1d102;
  padding: 8px 16px;
  border-radius: 20px;
  color: black !important;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #d4bb00;
}

/* Responsive: Stack menu items vertically */
/* Hide the checkbox but keep it functional */
#menu-toggle {
  display: none;
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
}

/* Responsive Menu Styles */
@media (max-width: 768px) {
  .navdiv {
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
    font-size: 30px;
    color: navy;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Show menu only when checkbox is checked */
  #menu-toggle:checked ~ .hamburger + .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 10px 20px;
  }

  .nav-links li a {
    display: block;
    font-size: 18px;
    width: 100%;
  }

  .contact-btn {
    margin: 10px 20px 0;
  }

  .logo img {
    height: 50px;
    width: auto;
  }
}


/*Carousel */



/* Individual slides */
/* .hero-slider {
  position: relative;
  width: 100%;
  height: 110vh;
  overflow: hidden;
  margin: 0;
  padding-bottom: 7%;;
} */

/* .headhome{
  display:flex;
  text-align: center;
  justify-content: center;
  width: 600px;
  height: 140px;
  margin: 50px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  transform: translateY(-70px);
} */

.headhome {
  display: flex;
  text-align: center;
  justify-content: center;
  width: 90%;
  max-width: 500px;
  height: auto;
  margin: 70px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  transform: translateY(-50px);
  flex-wrap: wrap;
  word-break: break-word;
}

/* Smaller devices like tablets */
@media (max-width: 768px) {
  .headhome {
    width: 90%;
    font-size: 18px;
    padding: 15px;
    transform: translateY(-40px);
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .headhome {
    width: 95%;
    font-size: 16px;
    padding: 10px;
    transform: translateY(-30px);
  }
}


.hero-slider {
  position: relative;
  width: 100%;
  height: 110vh;
  overflow: hidden;
  margin: 0;
  padding-bottom: 1%; /* 🔻 Reduced from 7% */
}


/* Individual slides */
.slide {
  position: absolute;
  width: 100%;
  height: 90%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 60s infinite ease-in-out;
}
.slide h1 {
  position: absolute;
  text-align: left;
  /* top: 50px; */
  bottom: 200px;         /* Distance from bottom */
  left: 140px;           /* Distance from left */
  font-size: 54px;      /* Font size as requested */
  font-style: Times;
  color: white;         /* Adjust color based on background */
  margin: 0;
  padding: 0;
  font-weight: bold;
  line-height: 1.4;
  max-width: 90%;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6); /* Optional: for better readability */
}

/* Assign background images with delay */
.slide1 { background-image: url("images/Home Page Sliders/01 Iron & Steel.jpg"); animation-delay: 0s; }
.slide2 { background-image: url("images/Home Page Sliders/02 Aluminium.jpg"); animation-delay: 10s; }
.slide3 { background-image: url("images/Home Page Sliders/03 Power.jpg"); animation-delay: 20s; }
.slide4 { background-image: url("images/Home Page Sliders/04 Cement.jpg"); animation-delay: 30s; }
.slide5 { background-image: url("images/Home Page Sliders/05 Mining & Material Handling.jpg"); animation-delay: 40s; }
.slide6 { background-image: url("images/Home Page Sliders/06 Oil & Gas.jpg"); animation-delay: 50s; }

/* Keyframes: Smooth fade in/out with each slide staying visible for 10s */
@keyframes slideShow {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 1024px) {
  .slide h1 {
    font-size: 48px;
    left: 100px;
    bottom: 250px;
  }

  .hero-slider {
    height: 90vh;
  }
}

@media (max-width: 768px) {
  .slide h1 {
    font-size: 36px;
    left: 50px;
    bottom: 200px;
    max-width: 80%;
  }

  .hero-slider {
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .slide h1 {
    font-size: 24px;
    left: 20px;
    bottom: 120px;
    max-width: 90%;
  }

  .hero-slider {
    height: 70vh;
  }
}



/* what we do */

h1 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 20px;
  font-style:Calibri;
  
}
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  background: #fff;
  /* border: 2px solid black; */
  transform: translateY(-100px);
}

.card {
  width: 450px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 8px rgba(121, 212, 85, 0.925);
  background: white;
  margin: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: scale(1.03); /* slightly zoom in */
  box-shadow: 0 12px 16px rgba(121, 212, 85, 0.925); /* deeper shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}


.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #79aa1e;
}

.card-content p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.card-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.read-more {
  
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  color: #2c8d1f;
  text-decoration: underline; 
}

.read-more:hover {
  color: #65b35b; /* darker blue on hover */
  text-decoration: underline; /* optional: already underlined, but reinforces style */
  cursor: pointer;
}


.like-button {
  padding: 5px 10px;
  border: 1px solid red;
  background-color: white;
  color: red;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .card {
    width: 100%;
    margin: 10px 0;
  }
}



/*My Customers*/


.customers {
  background-color: #f9f9f9;
  padding: 80px 200px;
  text-align: center;
}

.section-titles {
  font-size: 30px;
  margin-bottom: 30px;
  color: #333;
}

.customers h1 {
  font-size: 50px;
  margin-bottom: 30px;
  font-weight: bold;
  font-style: calibri;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 30px;
  justify-items: center;
  align-items: center;
  /* padding-top: 5px; */
  max-width: 1800px; /* 🔼 Increased from 1000px */
  margin: 0 auto;

  /* border: 2px solid black; ⬛️ Added black border */
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-40px);
}

.customer-grid div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.customer-grid img {
  width: 130px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding-top: 40px;
  padding-bottom: 40px;
}

.customer-grid img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .customers {
    padding: 40px 20px;
  }
}



/*Footer*/

.main-footer {
  background-color: #4a4a4a;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 26px;
  color: #fff;
}

.footer-section p,
.footer-section li,
.footer-section a {
  font-size: 20px;
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
  
}

.about-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.about-link:hover h3 {
  color: #d86060; /* Optional hover effect */
}

.about-link:hover p {
  color: #d86060; /* Optional hover effect for paragraph */
}


.footer-section:nth-child(2),
.footer-section:nth-child(3){ /* Adjust as needed */
  margin-left: 220px;
}

@media (max-width: 768px) {
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) {
    margin-left: 0; /* Remove margin for stacking */
  }
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00aced;
}

.footer-section.subscribe form {
  display: flex;
  flex-direction: column;
}

.footer-section.subscribe input {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
}

.footer-section.subscribe button {
  padding: 10px;
  background-color: #2ecc71;
  border: none;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.footer-section.subscribe button:hover {
  background-color: #27ae60;
}

.footer-bottom {
  background-color: #2d2d2d;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #ccc;
  font-size: 14px;
}

.footer-links a {
  color: #ccc;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links a {
    margin: 0 10px;
  }
}
@media (max-width: 480px) {
  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section p,
  .footer-section li,
  .footer-section a {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .footer-links a {
    display: block;
    margin: 5px 0;
  }
}
