/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: #fff;
  color: #333;
  
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner img {
  width: 90px;
  height: 90px;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Top Contact Bar */
.top-bar {
  background-color: #000000;
  color: #ffffff;
  padding:  10px 30px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
 position: absolute;      
  top: 0;
  right: 0;
  width: 45%;
   /*  slant on the left side */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50px 100%);
 
}

.top-bar .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
 align-items: center;
}


.top-bar-right a {
  color: #faf6f6;
  margin-left: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.top-bar-right a:hover {
  color: #d31414;
}

.top-bar-right i {
  margin-right: 5px;
  color: #d31414;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #fff;
  padding-bottom: 3px;
  
}

.logo {
  display: flex;
  flex-direction: column; /*Stack items vertically */
  align-items:flex-end;   /*Center horizontally */
  text-align: center;    
  padding: 1rem;
}
.logo img {
  height: 70px;
 max-width: 100%;

}
.logo p {
  font-size: 0.9rem;
  color: #000000;
  font-weight:lighter;
  padding: 0.1rem 0.3rem 0;  /* top padding only */
  margin: 0;
  
}


.navbar ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
   margin-top: 2.5rem; /* Moves the navbar down */
   margin-left: 1rem; /* Adjust this value as needed */
}

.navbar a {
  color: #d31414;
  text-decoration: none;
  font-weight: bolder;
  font-size:100%;
  padding: 10px 10px;
  font-family: 'Roboto', sans-serif;
}

.navbar a:hover {
  color: #000000;
}

.navbar a.active {
  color: #000000;
}

/*search bar*/
.global-search-bar {
  display: flex;
  align-items: center;
  border: 2px solid #000;
  border-radius: 50px;
  overflow: hidden;
  width: 220px;
  background: #fff;
  position: relative;
  height: 35px; /* smaller height */
  margin-top: 30px; /* increase or decrease to move lower */
}

/* Input field */
.global-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 6px 12px; /* less padding = slimmer height */
  font-size: 13px;
  border-radius: 50px 0 0 50px;
  height: 100%;
  background-color: #fff !important;
  color: #000;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
/* On focus — light gray background + soft shadow */
.global-search-bar input:focus {
  background-color: #f7f7f7 !important; /* subtle light gray */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Chrome, Safari, Edge autofill fix */
.global-search-bar input:-webkit-autofill,
.global-search-bar input:-webkit-autofill:hover,
.global-search-bar input:-webkit-autofill:focus,
.global-search-bar input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important; /* keep white */
  -webkit-text-fill-color: #000 !important;
  caret-color: #000;
  transition: background-color 9999s ease-in-out 0s;
}
.global-search-bar .search-btn {
  background: #000;
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* ✅ remove white space */
  overflow: hidden; /* ✅ crop any extra PNG edges */
}


.global-search-bar .search-btn .search-icon {
  width: 30px; /* adjust to your PNG size */
  height: 30px;
  object-fit: contain;
    display: block;
  filter: none;
  -webkit-filter: none;
  pointer-events: none; /* makes icon non-clickable */
}
.global-search-bar .search-btn:hover {
  background: #333;
}

.no-results-msg {
  text-align: center;
  font-size: 15px;
  padding: 50px 20px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; 
  color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Search bar container */
  .global-search-bar {
    width: 200px;           /* narrower width for mobile */
    height: 30px;           /* slightly smaller height */
    margin-top: 10px;       /* adjust vertical spacing */
    border-width: 1.5px;    /* thinner border for smaller view */
    margin-right: 100px; /* Remove auto margin for mobile */

  }

  /* Input field */
  .global-search-bar input {
    font-size: 11px;        /* smaller font for compact layout */
    padding: 4px 10px;      /* less padding for slimmer height */
  }

  /* Search button */
  .global-search-bar .search-btn {
    width: 30px;
    height: 30px;
    padding: 0;          /* smaller padding */
    border-radius: 0 40px 40px 0;
  }

  /* Search icon (PNG) */
  .global-search-bar .search-btn .search-icon {
    width: 25px;
    height: 25px;
  }
}

/* ----------------------------
   Responsive: Mobile Devices
----------------------------- */
@media (max-width: 768px) {

  body {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .top-bar {
    width: 100%;
    clip-path: none;
    padding: 10px 15px;
    font-size: 13px;
    position: relative;
    text-align: center;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .top-bar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5.5px;
    margin-top: 5px;
  }

  .top-bar-right a {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .header {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
    position: relative;
  }
.logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo img {
    height: 50px;
     padding: 0px 30px;
  }

  .logo p {
    font-size: 0.8rem;
     padding: 0px 20px;
  }
  /*Responsive Mobile Device*/


  /* Hamburger Icon Styling */
  .hamburger {
    display: block;
    font-size: 2rem;
    color: #d31414;
    cursor: pointer;
    position: absolute;
    top: 7.7rem;
    right: 2.0rem;
    z-index: 200;
    transition: transform 0.3s ease, color 0.3s ease;

  }
  

  .hamburger.open::before {
content: "✕"; /* cleaner X than ✖ */
  color: #d31414;
  display: inline-block;
  line-height: 1; }

  /* Navbar - hidden by default */
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 150;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* When active */
  .navbar.active {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 1rem 0;
    width: 100%;
  }

  .navbar li {
    width: 100%;
    text-align: center;
  }

  .navbar a {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    border-top: 1px solid #eee;
  }
}


/* Carousel */
.carousel {
  position: relative;
  width: 100%;
    height: 100vh;
  overflow: hidden;
}

.carousel-overlay-wrapper {
  position: relative;
    width: 100%;
  height: 100%;
}

.carousel-container {
   position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-bg {
position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* makes it parallax-like */
  filter: brightness(0.80);
  z-index: 0;
}

.carousel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  text-align: center;
    padding-top: 80px;
  padding-bottom: 70px;
}

/* Slides */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-content img {
  width: 1200px;       /* Set your desired fixed width */
  height: 560px;      /* Set your desired fixed height */
  object-fit: cover; 
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.9s ease-in-out;
}

/* Active slide */
.carousel-slide.active img {
  opacity: 1;
}
/* Text Overlay */
.carousel-text {
  opacity: 0;        /* hide text by default */
   margin-top: 1.5rem;
  text-align: center;
  color: #fff;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.762);
  font-size: 1rem;
  width: 100%;
  max-width: 1100px;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.carousel-text h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  
}
.carousel-slide.active .carousel-text {
  opacity: 1;        /* show only text for active slide */
  pointer-events: auto;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(86, 83, 83, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 3; /* Above image layers */
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color:#000000;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
  .carousel {
    height: 50vh;
  }

  .carousel-bg {
    background-attachment: scroll; /* disable fixed bg on mobile for smoother scroll */
    
  }

 .carousel-content img {
    width: 80vw;
    max-width: none;
    height: auto; /* Ensure aspect ratio is preserved if not using fixed height */
    object-fit: contain; /* Or use 'cover' if you want cropping */
  }

  .carousel-text {
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  .carousel-text h2 {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  
}

  .carousel-btn {
    font-size: 1rem;
    padding: 0.3rem 0.3rem;
  }

  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
}

/* Hero */
.hero {
background: url('https://ik.imagekit.io/nlo3lv20n/images/hero-bg1.webp?tr=w-1600,f-auto,q-80') center center/cover no-repeat;
background-attachment: fixed;
 color: #fff;
 text-align: center;
 padding: 75px 20px;
margin-top: 1px;
}
.homehero {
background: url('https://ik.imagekit.io/nlo3lv20n/images/hero-bg1.webp?tr=w-1600,f-auto,q-80') center center/cover no-repeat;
background-attachment: fixed;
color: #fff;
text-align: center;
padding: 50px 20px;
}
.hero-text img {
  height: 80px;
  margin-top: 10px;
  margin: 10px auto;
  display: block;
}

.homehero-text h2 {
font-size: 2rem;
  margin-top: 10px;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-text h2 {
font-size: 2rem;
  margin-top: 10px;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.homehero .btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.homehero .btn:hover i {
  transform: translateX(5px);
}
/*hero heading in page header*/
.hero-text h3 {
  font-size: 1.2rem;
  margin-top: 8px;
  font-weight: 300;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
}

.homehero .btn {
  display: inline-block;
  background-color: #d4cb20;
  color: rgb(0, 0, 0);
  padding: 15px 32px;
  text-decoration: none;
  border-radius: 5px;
  margin: 35px 10px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .hero {
    padding: 30px 15px;
    background-attachment: scroll; /* smoother on mobile */
    text-align: center;
  }
  .homehero {
    padding: 30px 20px;
    background-attachment: scroll; /* smoother on mobile */
    text-align: center;
  }

  .hero-text img {
    height: 50px; /* Shrink slightly even on smallest screens */
  }

  .homehero-text h2 {
    font-size: 0.9rem;
    margin-top: 10px;
  }
  
  .hero-text h2 {
    font-size: 0.9rem;
    margin-top: 10px;
  }


  .hero-text h3 {
    font-size: 0.7rem;
    margin-top: 5px;
  }

  .homehero .btn {
    padding: 5px 10px;
    font-size: 0.6rem;
    margin: 10px 5px;
  }
}

.hero .btn:hover {
  background-color: #fff200;
}
/* Dura World Wide */
.dww {
background: url('https://ik.imagekit.io/nlo3lv20n/images/dww.png?tr=w-1600,f-auto,q-80updatedAt=1760280598109') center center/cover no-repeat;
background-attachment: fixed;
 color: #fff;
 text-align: center;
 padding: 75px 20px;
}
.dww-text img {
  height: 80px;
  margin-top: 10px;
  margin: 10px auto;
  display: block;
}

.dww-text h2 {
font-size: 2rem;
  margin-top: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}
.dww .btn {
  display: inline-block;
  background-color: #d4cb20;
  color: rgb(0, 0, 0);
  padding: 15px 32px;
  text-decoration: none;
  border-radius: 5px;
  margin: 35px 10px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}
.dww .btn:hover {
  background-color: #fff200;
}


@media (max-width: 768px) {
  .dww {
    padding: 10px 15px;
    background-attachment: scroll; /* smoother on mobile */
    text-align: center;
  }

  .dww-text img {
    height: 50px; /* Shrink slightly even on smallest screens */
  }

  .dww-text h2 {
    font-size: 1rem;
    margin-top: 10px;
  }


  .dww .btn {
    padding: 10px 20px;
    font-size: 0.7rem;
    margin: 25px 5px;
  }
}

/*Top Organization Section*/

.trusted-section {
  background-color: #ffffff;
  padding: 70px 70px;
}

.trusted-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap;
}
.trusted-title {
  font-weight: bold;
  color: #000000;
  font-size: 25px;
  white-space: nowrap;
   margin: 0;
  flex-shrink: 0;

}
.trusted-divider {
  width: 2px;
  height: 80px;
  background-color: #808285;
}
.trusted-logos {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  flex-wrap: wrap; /* Allows wrapping logos on smaller screens */


}
.trusted-logos img {
  max-height: 100px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.trusted-logos img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .trusted-section {
    padding: 40px 20px;
  }

  .trusted-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .trusted-title {
    font-size: 22px;
    white-space: normal;
  }

  .trusted-divider {
    display: none; /* hide divider for a cleaner stacked layout */
  }

  .trusted-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .trusted-logos img {
    max-width: 100px;
    max-height: 70px;
  }
}

/* Counter Section*/
    .counter-section {
      margin-top: 2px;
      background: url('https://ik.imagekit.io/nlo3lv20n/images/counter/counter-bg2.webp?tr=w-1600,f-auto,q-80') center center/cover no-repeat;
      background-size: cover;
      padding: 30px;
      display: flex;
      justify-content:center;
      flex-wrap: wrap;
      gap: 80px;
      text-align: center;
      
    } 
       .counter-box {
  text-align: center;
}
    .count-number {
      font-size: 45px;
      font-weight: bold;
      margin-top: 1px;
      color: #ffffff;
    }

.underline {
  width: 60px; /* adjust as you like */
  height: 5.5px;
  background-color: #fff200; /* yellow color */
 margin: 8px auto;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}
    .count-label {
      font-size: 17px;
      margin-top: 1px;
      color: #000000;
      font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      letter-spacing:0.2cap;
   
    }

@media (max-width: 768px) {
  .counter-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 30px 15px;
    background-attachment: scroll;
  }
  .count-number {
    font-size: 32px;
  }
  .count-label {
    font-size: 15px;
    letter-spacing: 0.1cap;
    font-weight: bold;
  }
   .underline {
    width: 40px;
    height: 3.5px;
    margin: 6px auto;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  }
}


/*about us*/
.about-us {
  padding: 60px 2 0px;
  background-color: #f5f5f5;

}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.about-us-images {
  flex: 0 0 30%;
  position: relative;
}

.about-us-content {
  flex: 0 0 43%;
  max-width: 50%;
  justify-content: space-between;
  display: flex;           
  flex-direction: column;       

}

.img-back {
  width: 100%;
  height: 240px;
}

.img-front {
  position: absolute;
  top: 170px;
  left: 230px;
  height: 240px;
  width: 100%;

  z-index: 2;
    border: solid #f5f5f5;
    border-width: 4px;
}

.subtitle {
  color: #d31414;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-us-content h2 {
  font-size: 32 px;
  margin: 0 0 20px;
  font-weight: bold;
  line-height: 1.3;
  
}

.about-us-content p {
  font-size: 11px;
  color: #444;
  margin-bottom: 20px;
}

.btn-learn {
  background-color: #d31414;
 color: rgb(255, 255, 255);
  padding: 15px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-top: auto; 
  margin-top: 20px; /* Optional */
  width: fit-content;   
}

.btn-learn:hover {
  background-color: #b01212;
}
.btn-learn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-learn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .about-us {
    padding: 40px 15px;
  }

  .about-us-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-us-images,
  .about-us-content {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }

  .img-front {
    position: static;
    margin-top: 20px;
    border-width: 5px;

  }

  .about-us-content h2 {
    font-size: 24px;
  }

  .about-us-content p {
    font-size: 15px;
  }

  .btn-learn {
    margin: 20px auto 0;
  }
}
/* Add this at the top or bottom of your CSS */

/* Hidden state before scroll */
.about-us-content {
  opacity: 0;
  transform: translateX(50px); /* start off to the right */
}

.about-us-images .img-back {
  opacity: 0;
  transform: translateX(-50px); /* start off to the left */
}

.about-us-images .img-front {
  opacity: 0;
  transform: translateY(50px); /* start below */
}

/* Slide animations */
.slide-in-right {
  animation: slideInRight 2s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 2s ease forwards;
}

.slide-in-up {
  animation: slideInUp 2s ease forwards;
}

/* Keyframes */
/* Slide in from right with easing */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from left with easing */
@keyframes slideInLeft{
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from bottom with slight bounce */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Photo of the Month */
.photo-month {
  text-align: center;
  padding: 2rem;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #000;
 margin-top: 10px;
}

.photo-month img {
  width: 90%;
  max-width: 1100px;
  max-height: 700px;
  margin-top: 1rem; 
}
@media (max-width: 768px) {
  .photo-month {
    padding: 1.5rem 1rem;  }

  .photo-month img {
    width: 100%;       /* Use full container width */
    height: auto;      /* Maintain aspect ratio */  }
}

/* Latest Project */

.latest-project {
  padding: 50px 100px;
  background-color: #faf6f6;

}

/* big heading, latest news, project, get in touch */
.section-heading {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}

.section-heading h2 {
  font-size: 2.5rem;
  color: #000;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  background-color: #d31414; /* Red underline */
  margin: 8px auto 0 auto;
  border-radius: 2px;
}


@media (max-width: 768px) {
  .projects-grid {
        display: grid;
    grid-template-columns: 1fr;   /* Stack cards vertically */
    gap: 20px;                    /* Add space between cards */
    padding: 0 15px;              /* Add horizontal padding */
    justify-content: center;
  }

  .project-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box; /* Important */
  }
}
.latest-project .btn {
   background-color: #d31414;
  color: rgb(255, 255, 255);
 padding: 15px 32px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.latest-project .btn:hover {
background-color: #b01212;
}

.latest-project .btn i {
  margin-left: 9px;
}

.latest-project .btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.latest-project .btn:hover i {
  transform: translateX(5px);
}



/* button wrapper for both project and news button*/
.btn-wrapper {
  text-align: center;
  margin-top: 1px; 
}

.latest-project {
  width: 100%;
}

@media (max-width: 768px) {
  .latest-project {
    padding: 40px 20px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .section-heading h2::after {
    width: 80px;
    height: 4px;
  }

  .latest-project .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-wrapper {
    margin-top: 20px;
  }
}

/* Corporate Video */
.corporate-video {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  margin: 0;
  padding: 0;
background: url('https://ik.imagekit.io/nlo3lv20n/images/video_background1.webp?tr=w-1600,f-auto,q-80') center center/cover no-repeat;
}

.video-container {
  width: 100%;
  max-width: 1100px;
  text-align: center;}

.video-container iframe {
  width: 100%;
  height: 600px;
  border: none;

}

/* Mobile Responsive */
@media (max-width: 768px) {
  .corporate-video {
    height: auto;
    padding: 30px 15px;
    display: block;
  }

  .video-container iframe {
    height: 250px;
  }
}

/* Latest news */
.latest-news {
  padding: 50px 20px;

}
.nbtn-wrapper {
  margin-top: 30px; /* adjust as needed */
}

.nbtn-wrapper i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.nbtn-wrapper:hover i {
  transform: translateX(5px);
}


.latest-news .btn {
   background-color: #d31414;
  color: white;
 padding: 15px 32px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;


  transition: background-color 0.3s ease;
}

  
.latest-news .btn:hover {
background-color: #b01212;
}

/*contact us and map*/
.contact-section-homepage{
  padding: 40px 20px;
  background: url('https://ik.imagekit.io/nlo3lv20n/images/footer-bg11.png?tr=w-1600,f-auto,q-80&updatedAt=1755698818873') center center/cover no-repeat;
  font-family: 'Segoe UI', sans-serif;

}
.contact-section-homepage h4{ 
 color: #efeaea;

}
.contact-section-homepage .contact-left p{ 
 color: #efeaea;

}
.contact-section-homepage .map-container{
      margin-top: 5px;
      width: 600px;
      height: 400px;
      
    
  }
  .contact-section-homepage .brochure-btn {
  background-color: #d31414;
  color: #000000;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border-radius: 5px;
  transition: background 0.3s ease;
}
@media (max-width: 768px) {
  .contact-section-homepage {
    padding: 40px 15px;
    text-align: center;
  }

  .contact-section-homepage .map-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
  }

  .contact-section-homepage h4,
  .contact-section-homepage .contact-left p {
    text-align: center;
    font-size: 1rem;
  }

  .contact-section-homepage .brochure-btn {
    margin-top: 15px;
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/* Company Info*/
.contact-info-section {
  background-color: #000;
  color: #fff;
  padding: 20px 20px;

}

.contact-info-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 340px;
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.red-bg {
  background-color: #d31414;
  color: #fff;
}

h6 {
  font-size: 14px;
  font-weight: 600;
    text-decoration: none;
  color: #d31414;
  text-align:left;
}


.contact-details p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.contact-details a {
  color: inherit;
  text-decoration: none;
}
.trusted-divider {
  width: 1px;
  height: 80px;
  background-color: #9b91913e;
}

.qtrusted-divider
{
  width: 1px;
  height: 1.2px;
}

.section-divider {
 border: none;
  height: 1px;
  background-color: #9b91913e; 
  margin-bottom: 40px; /* spacing below the line */
 width: 1205px;
  margin: 0 auto 30px;
}
@media (max-width: 768px) {
  .contact-info-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-box {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    gap: 10px;
  }

  .contact-details p,
  .contact-details h6 {
    text-align: center;
  }

  .section-divider {
    width: 90%;
  }
}

.footer {
  /* Footer */
  background-color: #faf6f6;
  color: #000000;
  text-align: center;
  font-size:12px;
  padding: 0.2rem;
  
}

/*products Page*/
html, body {
  height: 100%;
  margin: 0;
}

/* === Entire section below hero === */
.products {
 display: flex;
  background-color: #fafafa;
  align-items: stretch;
  min-height: 100vh; /* This is key */
}

/* === Flex container: sidebar + products === */
.products-page {
  display: flex;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 10px ;

}
.products-section {
  padding: 60px 20px ;
  background-color: #fafafa;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 120px;
  height: 5px;
  background-color: #d31414;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* === Product listing area === */
.product-listing {
  flex: 1;
  padding-left: 30px;
}

/* === Grid for product cards === */
.products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 per row */
  gap: 40px;
  margin: 0 auto;
  padding: 0 10px;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.product-image {
  width: 100%;
  height: 220px; /* from 180px */
  object-fit: cover;
}

.product-info {
  padding: 15px;
  text-align: center;
}
.product-listing {
  flex: 1;
}


.product-info h4 {
  display: block;
  margin: 4px 0;
  color: #000000;
  font-size: 13px;
  font-weight: normal;
}

.product-info p {
  display: block;
  margin: 4px 0;
  color: #4b4949;
  font-size: 13px;
  font-weight: normal;
}

.brochure-preview {
  margin-top: auto;
  padding: 15px;
  background-color: #f3f3f3;
  text-align: center;
}

.brochure-preview img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.4s;
}

.brochure-preview p {
 font-size: 0.9rem;
  margin-top: 10px;
  color: #000000;
  font-weight: bold;
}
.brochure-preview img:hover {
  transform: scale(1.05);
}

/* === Shared Pagination styles for Product, Project and News Page  === */
.pagination {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  padding: 10px 16px;
 
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.pagination button.active {
  background-color: #000000;
  color: rgb(255, 255, 255);
}


/* === Shared Sidebar styles for Product and Project Page=== */

.sidebar {
  width: 240px;
  background-color: #000;
  color: white;
  padding: 30px 20px;
  flex-shrink: 0;
    /* Sticky behavior */
  position: sticky;
  top: 0;
  height: calc(100vh - 0px); /* adjust if you have a header */
  overflow-y: auto;

}

.sidebar h2 {
  font-size: 1.0rem;
  margin-bottom: 25px;
  color: #fff;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
 font-size: 0.9rem;
}

.sidebar li {
  margin-bottom: 7px;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #d4cb20; /* Highlight active or hover */
  color: black;
  font-size: 0.9rem;
}

/* Projects Page */
.projects {
  width: 100%;
  margin: 0;
  padding: 0;
   background-color: #fafafa;
}
.projects-page {
  display: flex;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start; /* Ensures side-by-side */
}

.projects-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  padding: 40px 70px;
}
.projects-grid > .project-card {
  align-self: stretch;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;/* can be changed to Ensures all grid items fit in properly */
  object-fit: cover;
  width: 100%;
    display: flex;

}

.project-card:hover {
  transform: translateY(-5px);
}

/* === Orange Line (Shared for Project & Product & news Cards) === */
.orange-line {
  height: 4px;
  background-color: #d31414;
}


.project-card img {
  width: 100%;
height: 300px;
  object-fit: cover;
  display: block;
}

/*projects card - main title container*/
.project-info-bar {
 background-color: #ffffff;
  padding: 15px;
    min-height: 160px; /* Set fixed or minimum height depending on your design */
  }

/*projects title*/
.project-info-bar h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000000;
  text-decoration: none;
}
/*projects subtitle*/
.project-info-bar p {
  margin: 0;
  font-size: 14px;
  color: #000000;
}
/*year, status, location conatiner*/
.project-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  font-size: 14px;
  background-color: #f9f9f9;
  font-weight: bold;
  min-height: 60px;
  align-items: center;

}
/*year, status, location*/
.project-meta span {
  flex: 1;
  text-align: center;
}
/*structure type*/
.structure-type {
  background-color: #eee;
  padding: 17px;
  font-size: 14px;
  text-align: center;
  font-style: italic;
  max-height:max-content;
  display: flex;
  align-items: center;
  justify-content: center;  
  margin-top: auto; /* Pushes to bottom */
}

/* =====================
   SHARED RESPONSIVE CSS FOR PROJECTS & PRODUCTS PAGES
   ===================== */

@media (max-width: 992px) {
  .projects-grid,
  .products-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 30px;
  }

  .projects,
  .projects-page,
  .products,
  .products-page {
    flex-direction: column;
  }

   .sidebar {
    width: 100%;
    position: relative;
    height: auto;
    padding: 20px;
    background-color: #000;
    color: white;
    order: -1; /* Moves the sidebar to the top */
  }
  

}
@media (max-width: 992px) {
  .product-listing {
    flex: 1;
    width: 100%;
  }
}


@media (max-width: 600px) {
  .projects-grid,
  .products-container {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 20px;
  }

  .product-image,
  .project-card img {
    height: 200px;
  }

  .project-info-bar h4,
  .product-info h4 {
    font-size: 1rem;
  }

  .project-info-bar p,
  .product-info p {
    font-size: 0.9rem;
  }

  .project-meta,
  .structure-type {
    font-size: 0.8rem;
    padding: 10px;
  }

  .brochure-preview p {
    font-size: 0.8rem;
  }
}

/*Project Details Page*/

.hero-projects {
  position: relative;
  width: 100%;
  height: 40vh; /* Use 100vh for full screen, or 40vh for partial */
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* semi-transparent overlay */
  z-index: 1;
}

.hero-projects-text {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 1rem;
}

.hero-projects-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7); /* subtle shadow for readability */
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-projects {
    height: 40vh;
  }

  .hero-projects-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-projects-text h2 {
    font-size: 1.5rem;
  }
}

.project-gallery {
  margin: 40px 0;       /* Remove auto-centering */
  max-width: 100%;
  overflow: hidden;
 

}
.project-gallery-wrapper {
  max-width: 1035px;
   margin: 0 auto; /* centers horizontally */
  padding: 0 20px; /* optional padding */
}

.project-gallery img,
.project-gallery video {
  width: 100%;
  height: 200px; /* or any fixed height you want */
  object-fit: cover;
  display: block;
}


.stage-section {
  margin-bottom: 10px;
  overflow-x: hidden; /* ✅ Prevent horizontal stretch */
  justify-content: center;
  align-items: center;
  text-align: center; 
}


.stage-section h3{
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.stage-section h3::after {
  content: "";
  display: block;
  width: 100px;
  height:3px;
  background-color: #d31414; /* Red underline */
  margin: 2px auto 0 auto;
  border-radius: 2px;
}

.stage-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width:none; 
    -ms-overflow-style: none; /* IE/Edge */

  scrollbar-color: #bfbdbd transparent;
  max-width: 100%;
    justify-content: flex-start; /* ✅ Align children to the left */

}


/*PROJECT STAGE GALLERY ARROWS */
.stage-gallery-wrapper {
  position: relative;
  max-width: 100%; /* adapt to container */
  margin: 0 auto;
  padding: 0 20px;
}

.stage-gallery-wrapper .gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.592);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.2s ease;
}

.stage-gallery-wrapper .gallery-btn.prev {
  left: 1px;
}

.stage-gallery-wrapper .gallery-btn.next {
  right: 1px;
}

.stage-gallery-wrapper .gallery-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Optional: match scrollbar styling */
.stage-carousel::-webkit-scrollbar {
      display: none; /* Chrome, Safari */

}

.stage-carousel::-webkit-scrollbar-thumb {
  background-color: #757373;
  border-radius: 6px;
}


/* Chrome/Safari */
.stage-carousel::-webkit-scrollbar {
  height: 8px;
}
.stage-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}


.media-item {
 flex: 0 0 auto;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  scroll-snap-align: start;
  cursor: pointer; /* Makes it clear it's clickable */
  transition: transform 0.3s ease;
}
.media-item:hover {
  transform: scale(1.02);
}
.media-item img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

.media-wrapper.youtube-embed iframe {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.media-item video {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  height: auto; /* or remove this line entirely */
}

.media-wrapper {
  flex: 0 0 300px;             /* Always reserve fixed width */
  max-width: 300px;
  scroll-snap-align: start;
  text-align: center;
}


.media-caption {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}
.no-media-msg, .no-map-msg {
  color: #999;
  font-style: italic;
  padding: 10px;
}

.lightbox {
 display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.lightbox img {
 max-width: 90%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;

}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}


.project-info-table {
  max-width: 800px;
  margin: 40px auto;
}

.project-info-table table {
  width: 100%;
  border-collapse: collapse;
}

.project-info-table th,
.project-info-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.project-map {
  max-width: 900px;
  margin: 40px auto;
  height: 500px;
}

/* Modal container */
.project-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Modal image and video*/
.project-modal img {
    max-width: 90%;
  max-height: 80vh;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;

}


.lightbox video.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}
.lightbox-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Caption text */
.project-modal-caption {
  color: #fff;
  font-size: 16px;
  text-align: center;
  max-width: 80%;
}

/* Close button */
.project-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

/* Navigation arrows */
.project-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
    z-index: 1001;
}

.project-modal-nav.left {
  left: 20px;
  right: auto; 
}

.project-modal-nav.right {
  right: 20px;
  left: auto;
}

.lightbox-caption {
  color: #fff;
  font-size: 16px;
  margin-top: 15px;
  text-align: center;
  max-width: 90%;

}
/* -------------------------------
   Mobile Responsive - Project Details Page
-------------------------------- */
@media (max-width: 768px) {
  .hero-projects {
    padding: 50px 15px;
    background-size: cover;
    background-position: center;
  }

  .hero-projects-text h2 {
    font-size: 28px;
    padding: 8px 15px;
    line-height: 1.4;
  }

  .project-gallery {
    margin: 30px 0;
  }

  .project-gallery-wrapper {
    padding: 0 10px;
  }

  .project-gallery img,
  .project-gallery video {
    height: 160px;
  }

  .media-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .media-item {
    max-width: 100%;
  }

  .media-item img,
  .media-item video {
    height: 180px;
  }

  .project-info-table {
    margin: 30px 10px;
  }

  .project-info-table th,
  .project-info-table td {
    padding: 8px;
    font-size: 14px;
  }

  .project-map {
    height: 300px;
    margin: 30px 10px;
  }

  .stage-section h3 {
    font-size: 1rem;
  }

  .stage-section h3::after {
    width: 60px;
  }

  .lightbox img,
  .lightbox video {
    max-width: 100%;
    max-height: 80vh;
  }

  .lightbox-caption {
    font-size: 14px;
    padding: 0 10px;
  }

  .project-modal img,
  .project-modal video {
    max-width: 95%;
    max-height: 60vh;
  }

  .project-modal-caption {
    font-size: 14px;
  }

  .project-modal-close {
    font-size: 24px;
    top: 15px;
    right: 20px;
  }

  .project-modal-nav {
    font-size: 28px;
    padding: 8px;
  }
}

/*Brochure Page*/ /*mobile responsive not done */
    .brochure-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 40px;
      margin-left: 10%;
      margin-right: 10%;
      margin-bottom: 30px;
    }
    .brochure-card {
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px;
      text-align: center;
      transition: transform 0.2s;
      margin-top: 30px;
    }
    .brochure-card:hover {
      transform: scale(1.03);
    }
    .brochure-card a {
      text-decoration: none;
      color: #000000;
      font-weight: bold;
    }
    .brochure-card img {
      width: 100%;
      height: auto;
      display: block;
    }
    .brochure-card p {
      margin: 10px 0;
      font-weight: bold;
      color: #000000;
    }
    .brochure-card a {
      text-decoration: none;
      color: inherit;
    }

/* Contacts Page*/
    .contact-section {
  background-color: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.contact-left {
  flex: 1;
  min-width: 280px;
}
h4 {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.7;
 color: #000000;
}
.contact-left h4::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #d31414; /* Red underline */
margin: 8px 0 5px 0;
  border-radius: 2px;
}


h5 {
  font-size: 24px;
  color: #d31414;
  text-align:left;
  line-height: 2.5;
}

.contact-left p {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  text-align: justify;
}

.brochure-btn {
  background-color: #d31414;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border-radius: 5px;
  transition: background 0.3s ease;
}


.brochure-btn:hover {
  background-color: #b01212;
}


.brochure-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}


.brochure-btn:hover i {
  transform: translateX(5px);
}

.contact-right {
  flex: 1;
  min-width: 280px;
  background-color: #faf6f6;
  padding: 30px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
}

.required {
  color: #d31414;
  font-size: 0.85em;
  font-weight: normal;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  margin-top: 5px;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1;
  min-width: 100px;
}

.comment-hint {
  font-size: 13px;
  color: #555;
  margin-top: 5px;
}

.char-count {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.submit-btn {
  background-color: #000000;
  color: white;
  border: none;
  padding: 12px 20px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
   background-color: #b01212;
}

.map-container {
      margin-top: 5px;
      width: 100%;
      height: 400px;
      
    }
    iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 0 10px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    padding: 0;
  }

  h4 {
    font-size: 1.8rem;
    text-align: center;
  }


  .contact-left h4::after {
    margin: 8px auto 20px auto; /* center underline on mobile */
  }

  .contact-left h4 {
    text-align: center;
  }


  h5 {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.8;
  }

  .contact-left p {
    font-size: 0.95rem;
    text-align: justify;
  }

  .brochure-btn {
    display: block;
    margin: 20px auto 0;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row > div {
    width: 100%;
  }

  .map-container {
    height: 300px;
    margin-top: 30px;
  }
}


/* About Us Page */

.about-us {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 10px;
  font-family: Arial, sans-serif;
  color: #333;
  margin-bottom: 0;
  padding-bottom: 20px;

}

.about-us h2 {
  font-size: 32px;
  color: #000000;
  margin-bottom: 20px;
}

.about-us p {
  line-height: 1.7;
  margin-bottom: 0;
 font-size: 1rem;
letter-spacing: 0.5px;
  word-spacing: 1px;
  text-align: justify;
}


.features {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.features .feature-item {
  width: 100%;
  display: flex;
  justify-content: center;
}

.features img {
  width: 90%;
  height: auto;
  display: block;
}


/*vision-mission-values section*/
.about-section {
  font-family: Arial, sans-serif;
}

.about-block {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.about-block.reverse {
  flex-direction: row-reverse;
}

.about-image {
  flex: 1 1 50%;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
  min-height: 500px;
    opacity: 0;
  transform: scale(1.05);
  animation: fadeZoom 1.5s ease-out forwards;
}

.about-block.reverse .about-image {
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.about-content {
  flex: 1 1 50%;
  background-color: rgb(245, 245, 245);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

    opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}
/* Keyframes */
@keyframes fadeZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}
.about-image:hover {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.about-content h2 {
   font-size: 32px;
  margin-bottom: 1rem;
  color: black;
}

.about-content.right {
  text-align: left;
}

.about-content.left {
  text-align: left;
}

.about-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  font-family: Arial, sans-serif;
  text-align: justify;
}



.about-image:hover {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}



/* Our History Timeline */

.history-section {
  margin-top: 30px;
  padding: 60px 20px;
  background-color: rgb(245, 245, 245);
  color: #333;
  line-height: 1.7;
  font-family: Arial, sans-serif;

}
.history-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.history-image {
  flex: 1;
  min-width: 200px;
 padding-right: 50px; /* space between image and text */
  padding-left: 0;      /* remove default padding */
  margin-left: -80px;   /* shift image closer to the edge */
}
.history-image img {
  width: 100%;
  
}
.history-content {
  flex: 1;
  min-width: 500px;
}

.history-content h2 {
  font-size: 32px;
  color: #000000;
  margin-bottom: 20px;
}

.history-content p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  line-height: 1.7;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  /* About Us Description + Image */
  .about-us {
    padding: 40px 15px 20px;
  }

  .about-us h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-us p {
    font-size: 1rem;
    text-align: justify;
  }

  .features img {
  width: 110%;
  height: auto;
  display: block;
  margin-right: 20px ;
  }

  /* Vision, Mission, Values */
  .about-block,
  .about-block.reverse {
    flex-direction: column;
  }

  .about-image,
  .about-block.reverse .about-image {
    clip-path: none;
    min-height: 250px;
  }
    .about-image:hover {
    transform: none;
  }

  .about-content {
    padding: 2rem 1.2rem;
    text-align: center;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  /* History Section */
  .history-section {
    padding: 40px 15px;
  }

  .history-container {
    flex-direction: column;
    text-align: center;
  }

  .history-image {
    margin-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .history-content {
    min-width: unset;
    padding: 0;
  }

  .history-content h2 {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .history-content p {
    font-size: 1rem;
  }
}

/* News Page */
body {
  font-family: 'Rubik', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;

}

.news-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #222;
    margin: 0 0 10px 0px;
    text-align: left
}
  

.news-grid {
  display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 30px; /* spacing between cards */
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  justify-content: center;
  align-items: start;
    margin-top: 40px;
}

.news-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
    height: 100%;
}

.news-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  background-color: #fff;
  justify-content: space-between;
}

.news-card img {
  width: 100%;
  height: 300px;

  display: block;
  object-fit: cover;
   transition: transform 0.4s ease;
}
/* 👇 Zoom effect */
.news-card:hover  {
  transform: scale(1.05);
}


/* Smaller Title */
.news-title-text {
  font-size: 1rem;
  font-weight: 500;
  color: #30d838;
  margin: 0 0 10px 0;
}

.read-more-container {
  margin-top: auto;
}
/* Read More Button */
.read-more {
  background-color: #d31414;
  color: white;
  padding: 8px 17px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;

  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #b01212;
}


/* Responsive: Mobile View */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .news-section {
    padding: 0 10px;
    margin-top: 30px;
  }

  .news-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
  }

  .news-card img {
    height: 200px;
  }

  .news-title-text {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .news-info {
    padding: 15px;
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 14px;
    width: 100%;
    text-align: center;
  }

  .read-more-container {
    margin-top: 15px;
  }
}

/*news detail page*/

.news-details-hero{
  background-color: white;
}
.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-top: 25px;
}

.news-details-content {
  padding: 2rem;
  max-width: 1250px;
  margin: auto;
  
  
}

.news-details-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: justify;
  color: #000;
      
     }

.news-date {
  color: gray;
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 10px;
 text-align: left;
    font-weight: bold;
 
}

.news-content {
  background-color: #f7f5f5;
  padding: 20px;
   text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
   font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
   text-align: justify;
   font-family:Arial, Helvetica, sans-serif;

}

/*news gallery*/

.news-gallery {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.gallery-heading {
  font-size: 2rem;
  color: #000;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 25px;
}

.gallery-heading:after {
  content: "";
  display: block;
  width: 130px;
  height: 4px;
  background-color: #d31414; /* Red underline */
  margin: 2px auto 0 auto;
  border-radius: 2px;
}

.gallery-scroll {
   display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-color: #757373 transparent;
  justify-content: flex-start;
}

.news-gallery-wrapper {
  position: relative;
  max-width: 2035px; /* match project gallery */
  margin: 0 auto;
  padding: 0 20px;
}

.news-gallery-wrapper .gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.59);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
}

.news-gallery-wrapper .gallery-btn.prev {
  left: 10px;
}

.news-gallery-wrapper .gallery-btn.next {
  right: 10px;
}

.news-gallery-wrapper .gallery-btn:hover {
  background: rgba(0,0,0,0.8);
}

.gallery-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background-color: #757373;
  border-radius: 6px;
}

.gallery-item {
  flex: 0 0 auto;
  width: 600px;
   height: 400px;
  scroll-snap-align: start;
  position: relative;
 display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;

  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.01);
}

.image-caption {
 height: 50px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
 padding-top: 8px;
  box-sizing: border-box;
}

/* Modal styles */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallery-modal img.modal-content {
  max-width: 90%;
  max-height: 80%;

}

.gallery-modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.modal-caption {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  margin-top: 10px;
  max-width: 90%;
}
.modal-navigation {
  display: flex;
  justify-content: space-between;
  width: 90%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.nav-arrow {
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .hero-img {
    max-height: 250px;
    margin-top: 20px;
  }

  .news-details-content {
    padding: 1rem;
  }

  .news-details-content h1 {
    font-size: 1.4rem;
    text-align: left;
  }

  .news-date {
    font-size: 0.85rem;
    margin: 10px 0;
  }

  .news-content {
    font-size: 1rem;
    padding: 15px;
    line-height: 1.6;
  }

  .gallery-heading {
    font-size: 1.2rem;
    padding-bottom: 15px;
  }

  .gallery-heading:after {
    width: 90px;
    height: 3px;
  }

  .gallery-scroll {
    gap: 15px;
  }

  .gallery-item {
    width: 300px;
    height: auto;
  }

  .gallery-item img {
    height: 200px;
  }

  .image-caption {
    font-size: 0.8rem;
    padding-top: 5px;
  }

  .gallery-modal img.modal-content {
    max-width: 95%;
    max-height: 60vh;
  }

  .modal-caption {
    font-size: 0.9rem;
  }

  .modal-navigation {
    width: 100%;
  }

  .nav-arrow {
    font-size: 2rem;
    padding: 0 10px;
  }

  .gallery-modal .close {
    font-size: 1.5rem;
    top: 15px;
    right: 20px;
  }
}


/*Awards Page*/
.awards-section {
  padding: 40px 20px;
  text-align: center;
  background: #f8f9fa;
}

.awards-section h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}
 .awards-grid {
    display: grid;
    gap: 40px;
    padding: 10px 20px;
    grid-template-columns: repeat(2, 1fr); /* 👈 forces 2 columns per row */
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;   

    }

  .award-card {
  column-count: 2; /* 👈 2 columns */
  column-gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;   
  background-color: white;     /* allow card to grow naturally */
}

.award-card img {
  display: inline-block;
  width: 100%;
  margin-bottom: 270px; /* spacing between rows */
  break-inside: avoid; /* Prevent breaking cards */
  height: auto;
    display: block;
    object-fit: cover; /* Optional: crop tall images for uniformity */  
}

.award-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
} 

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }



.award-content {
  padding: 15px;
  text-align: left;
}

.award-content h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.award-meta {
  font-size: 0.9rem;
  color: #777;
}

.author {
  margin-left: 10px;
  font-style: italic;
  color: #7c7c7c;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #d31414;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.read-more:hover {
  background: #000000;
}
@media (max-width: 768px) {
  .awards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .award-card {
    column-count: 1;
    padding: 20px 10px;
  }

  .award-card img {
    margin-bottom: 20px;
  }

  .award-content {
    padding: 10px;
  }

  .award-content h3 {
    font-size: 1rem;
  }

  .award-meta,
  .author {
    font-size: 0.85rem;
  }

  .read-more {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/*Award Details Page Styling */
.hero-awards-text {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-projects-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  background-color:transparent;
}

.hero-projects-text p {
  font-size: 0.rem;
  color: #eeeeee;
}

.award-content-section {
  max-width: 800px;
  margin: 40px auto;
justify-items: center;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.award-img{
   display: block;
  margin: 0 auto;
   max-width: 800px;
    max-height: 800px;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  padding: 20px 20px;
}

.media-wrapper {
  width: 280px;
  text-align: center;
}

.media-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}

.media-caption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #000000;
  
}

.no-media-msg {
  text-align: center;
  font-style: italic;
  color: #888;
}
@media (max-width: 768px) {
  .hero-awards-text {
    padding: 0 15px;
    text-align: center;
  }

  .hero-projects-text h2 {
    font-size: 1.5rem;
  }

  .hero-projects-text p {
    font-size: 1rem; /* fix from 0.rem */
    color: #eeeeee;
  }

  .award-content-section {
    padding: 0 15px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .award-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 20px 0;
  }

  .project-gallery {
    gap: 20px;
    padding: 20px 10px;
  }

  .media-wrapper {
    width: 100%;
    max-width: 280px;
  }

  .media-caption {
    font-size: 0.85rem;
  }
}
/* thank-you.css */

.thank-you-container {
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);text-align: center;
  padding: 60px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
}

.thank-you-container h1 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 10px;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.tk-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #d31414;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.tk-btn:hover {
  background-color: #000000;
}
/* ✅ Responsive Design for screens up to 768px */
@media (max-width: 768px) {
  .thank-you-container {
    padding: 40px 20px;
    max-width: 90%;
    width: 95%;
  }

  .thank-you-container h1 {
    font-size: 1.6rem;
  }

  .thank-you-container p {
    font-size: 1rem;
  }

  .tk-btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}