.hero {
    height: 100vh;
    background: url('mcpcbg2.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center !important;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 40, 80, 0.75);
    /* #1A3263 overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* .hero p {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 25px;
} */

.btn-custom {
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary {
    background-color: #ffffff;
    color: #1A3263;
    border: none;
}

.btn-primary:hover {
    background-color: #e6e6e6;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #1A3263;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .res {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .contactbtn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

}

/*====================================================================*/

.overview-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-title {
    font-size: 38px;
    font-weight: 700;
    color: #1A3263;
}

.overview-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-top: 15px;
}

.btn-outline-light {
    color: #1A3263 !important;
    border: 2px solid #1A3263 !important;
}


@media (max-width: 768px) {
    .overview-title {
        font-size: 28px;
        text-align: center;
    }

    .overview-text {
        text-align: center;
    }


}


/*============================Why-Choose===========================================*/
.why-section {
    background: url('pillow-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 100px 20px;
    color: #fff;
}

.why-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 50, 99, 0.75);
    /* Your brand color overlay */
}

.why-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.why-content h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.why-content p {
    font-size: 16px;
    opacity: 0.9;
}

.why-points {
    margin-top: 25px;
}

.why-points li {
    margin-bottom: 10px;
    font-size: 15px;
}



/*===========================================================*/

.image-gallery {
  height: 400px;
  gap: 15px;
}

.img-box {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover effect */
.image-gallery:hover .img-box {
  flex: 1;
}

.image-gallery .img-box:hover {
  flex: 3;
}

.image-gallery .img-box:hover img {
  transform: scale(1.05);
}

/* Default active (middle bigger) */
.img-box.active {
  flex: 2;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .image-gallery {
    flex-direction: column;
    height: auto;
  }

  .img-box {
    height: 200px;
  }

  .image-gallery .img-box,
  .image-gallery .img-box:hover {
    flex: unset;
  }
}

/* Post */

.full-image-section{
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

.full-image-section img{
    width: 100% !important;
    height: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Optional Fixed Height */

@media(min-width:768px){
    
    .full-image-section img{
        height: 600px;
    }

}
