body{
   font-family: "Plus Jakarta Sans", sans-serif;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
   background-color: #F7F8F0;
}

.container{
    flex: 1;
     padding: 0 !important;
    margin: 0 !important;
    
}
.container .hero{
    width: 100%;
}
/* navbar */
.navbar {
    height: 5rem;
    background-color: #feffff;
    box-shadow: 2px 2px 10px #5F9598;
    border-radius: 0.6rem;
    margin-top: 0.6rem;
}

 .fa-brands{
    font-size: 2rem;
    margin-right: 0.4rem;
 }
.nav-link{
    color: #2c475c !important; /* for override the custom styling */
    font-weight: 500 !important
}
.nav-link:hover{
  font-weight: 700 !important;
}

.navbar h3{
    margin-right: 1.5rem;
    color: #355872;
}

 /* footer */
 .f-info-links a{
    text-decoration: none;
    color:#F7F8F0;;
}
.f-info-brand{
    color: #F7F8F0;
}
.f-info-links a:hover {
    text-decoration: underline;
}
.f-info-links,
.f-info-socials{
    width: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-info-socials i{
   font-size: 1.7rem;
   margin-right: 1.2rem;
   margin-left: 1rem;
   text-decoration: none;
   color: #F7F8F0;
}

.f-info{
  text-align: center;
  height: 8rem;
  background-color:#355872;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-evenly;
}
/* heroSection */
.hero-section {
  height: 95vh;
  background: url("../images/new.jpg") center/cover no-repeat;
  position: relative;
  margin-left: 1rem;
  display: flex;
  align-items: center;
}

/* Dark overlay */
.hero-overlay {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
}

.hero-content{
  text-align: center;
  max-width: 500px;
  position: absolute;
  top: 40px;
  left: 35%;
  z-index: 2;
}

/*old response*/

/*@media (max-width: 768px) {
  .hero-section {
    height: 23vh;
    margin-left: 0;
    background-position: center;
  }

  .hero-overlay {
    padding: 15px;
  }
} */


/* Tablet */


@media (max-width: 992px){
    .hero-content{
        top: 60px;
        padding: 0 20px;
    }

    .hero-content h1{
        font-size: 32px;
    }

    .hero-content p{
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px){
    .hero-section{
      height: 20vh;
      margin-left: 0;
    }
    .hero-content{
        text-align: center;
  max-width: 500px;
  position: absolute;
  /* margin-left: 80px; */
  top: 5px;
  left: 35%;
  z-index: 2;

    }

    .hero-content{
      opacity: 0;
    }

    .hero-overlay{
      padding: 60px;
    }

     .text-center h6{
      opacity: 0;
    }


    .hero-content h1{
        font-size: 28;
    }

   

    .hero-content p{
        font-size: 16px;
    }
}

/* Content styling */
.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeDown 1s ease forwards;
}

.hero-content p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
  animation: fadeUp 1.2s ease forwards;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #355872;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  animation: fadeUp 1.4s ease forwards;
}

.hero-btn:hover {
  background: #2c475c;
  transform: translateY(-4px);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service{
    margin-top: 0px;
}

.service-title {
    margin-left: 2.4rem;
  font-size: 2.4rem;        
  font-weight: 600;         
  letter-spacing: 0.5px;  
  margin-bottom: 18px;
  color: #1f1f1f;
  font-family: 'Inter', sans-serif;
}

.img-fluid{
    margin-left: 2rem;
    border-radius: 0.25rem;
}
.services-section {
  background-color: #f8f9fa;
}

.service-img {
  border-radius: 15px;
  transition: 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-img:hover {
  transform: scale(1.05);
}

.service-desc {
 color: #061E29;
  font-weight: 600;
  line-height: 1.8;
  max-width: 480px;
  margin-left: 4rem;
 
}

/* stats */
.stats-section {
  background: #2C2C2C;
  padding: 80px 20px;
  color: whitesmoke;
  width: 100%;
  margin-bottom: 3.4rem;
  border-radius: 1.1rem;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1 1 200px;
  margin: 20px;
  text-align: center;
}
.why h2{
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #2C2C2C;
}

/* gallery */
.gallery-section {
  padding: 80px 20px;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.6s ease-in;
  cursor: pointer;
  border-radius: 10px;
} */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
   height: 250px;
    opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}


.gallery-item img {
  display: block;
  transition: 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.gallery-item:hover img {
  transform: scale(1.1);
}

/* Fade-in active class */
.gallery-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  transform: translateY(100%);
  transition: 0.4s ease;
  z-index: 2;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
  
}
/* pop-up Style */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-img {
  max-width: 80%;
  max-height: 70vh;
  transform: scale(0.8);
  transition: 0.3s ease;
}

.popup.active .popup-img {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;

}

.close-btn:hover{
  color: #C00707;
  
}

/* heading */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;

  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
  margin-bottom: 1rem;
}

.section-title.show {
  opacity: 1;
  transform: translateY(0);

}

/* contact */

.contact-section {
  padding: 100px 10%;
  background: #F7F8F0;
}

.contact-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #061E29;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: large;
}

.info-item {
  margin-bottom: 20px;
}

.info-item p{
  color: #061E29;
  font-weight: 500;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  text-decoration: none;
  color: #355872;
  font-weight: 500;
  transition: 0.3s;
}
.social-icons a:hover{
  color: #061E29;
}
.social-icons a p{
color: #061E29;
}


/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
}

/* about */
.about-page {
  padding: 100px 10%;
  background: #f5f7fa;
}

/* .about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.about-intro h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-intro p {
  color: #555;
  line-height: 1.7;
} */

.process-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 60px 10%;
}

.process-card {
  background: #FFFDF1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.process-card:hover {
  transform: translateY(-8px);
   box-shadow: 4px 4px 10px #b0e6f7;
    background-color: #e7f5f9;
}

.process-card video {
  width: 100%;
  height: 280px;   /* 🔥 Controlled height */
  object-fit: cover;
  border-radius: 10px;
}


.process-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.process-card p {
  color: #061E29;
  font-weight: 600;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .process-section {
    flex-direction: column;
    align-items: center;
  }
}

/* Default state (VISIBLE) */
/* .fade-up,
.fade-left,
.fade-right,
.fade-down {
  opacity: 1;   
  transition: 0.8s ease;
} */

/* Only move position initially */
/* .fade-up { transform: translateY(40px); }
.fade-down { transform: translateY(-40px); }
.fade-left { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); } */

/* When animation triggers */
.show {
  opacity: 1;
  transform: translate(0, 0);
}
/* ===== About Intro Animation ===== */

.about-heading{
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
   color:#355872;
}

/* heading and paragraph animation */
/* Initial hidden state */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
/* When visible */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


.about-text {
opacity: 1 ;
  transform: translateY(30px);
  text-align: center;
  font-weight: 600;
  font-size: larger;
}

.animate-active {
  animation: fadeSlideUp 1s ease forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
