/********** Template CSS **********/
:root {
    --primary: #510718;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #0a334f;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    margin-top: 17PX;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 80px;
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: white;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/ban_1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #510718;
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: #510718;
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
    margin-top: 120px;
}
@media (max-width: 576px) {
  .testimonial-carousel .owl-nav .owl-prev,
  .testimonial-carousel .owl-nav .owl-next {
    font-size: 45px;       /* Smaller icon size */
    margin-top: 175px;      /* Reduce spacing */
  }
}


.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* new section */
.ftco-section {
  padding: 6em 0;
  position: relative; }
  @media (max-width: 767.98px) {
    .ftco-section {
      padding: 6em 0; } }

.bg-light {
  background: #f8f9fa !important; }


.car-wrap {
  margin-bottom: 40px;
  -webkit-box-shadow: 0px 5px 12px -1px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: 0px 5px 12px -1px rgba(0, 0, 0, 0.06);
  box-shadow: 0px 5px 12px -1px rgba(0, 0, 0, 0.06);
  background: #fff; }
  .car-wrap .img {
    width: 100%;
    height: 220px; }
  .car-wrap .text {
    border-top: none;
    padding: 20px 30px 30px; }
    .car-wrap .text .price {
      color: #1089ff;
      margin-bottom: 0;
      font-weight: 600; }
      .car-wrap .text .price span {
        font-size: 12px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.3); }
    .car-wrap .text h2 {
      font-size: 20px;
      font-weight: 500; }
      .car-wrap .text h2 a {
        color: #000000; }
    .car-wrap .text span.cat {
      font-weight: 400;
      color: rgba(0, 0, 0, 0.2);
      display: block;
      margin-bottom: 0; }
    .car-wrap .text p.d-block {
      width: 100%; }
      .car-wrap .text p.d-block a {
        width: 50%; }

.ftco-animate {
  opacity: 0;
  visibility: hidden; }

  .rounded {
  border-radius: 0.25rem !important; }


/* new */


  /* HR Section Styles */
#hr-capacity .hr-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #510718;
}

#hr-capacity .hr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#hr-capacity h2 {
    color: #0d6efd;
}

#hr-capacity p {
    margin: 0;
}


.equipment-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border-radius: 20px;
}
.equipment-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.equipment-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: zoom-in;
}
.badge {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 50px;
}


.material-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
}
.material-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.material-card img {
    border-radius: 10px;
    cursor: pointer;
}
.badge {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}


/* Gradient title */
.gradient-text {
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating image animation */
@keyframes floatY {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.float-animation {
    animation: floatY 5s ease-in-out infinite;
}

/* Material card styling */
.material-card-style {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.material-card-style:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Badge style */
.material-badge {
    display: inline-block;
    background: linear-gradient(to right, #0d6efd, #00bfff);
    color: #fff;
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
}


.gradient-text {
    background: linear-gradient(90deg, #FF512F, #DD2476);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Labor Card Styles */
.labor-card {
    border-radius: 16px;
    padding: 30px 20px;
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    min-height: 220px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    z-index: 1;
}

.labor-card:hover {
    background: transparent;
    color: #5a5252;
}

.labor-overlay {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: -1;
}

.labor-card:hover .labor-overlay {
    opacity: 1;
}

.labor-content h5 {
    font-weight: 600;
    font-size: 1.2rem;
}

.labor-count {
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 1rem;
    margin-top: 12px;
    display: inline-block;
    backdrop-filter: blur(4px);
}


.labor-card {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.labor-card:hover {
    transform: scale(1.03);
}

.labor-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1; /* Behind content but visible */
}

.labor-card:hover .labor-bg {
    opacity: 1;
}

.labor-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9); /* Slight blur behind text */
    border-radius: 10px;
    transition: background 0.3s ease;
}

.labor-card:hover .labor-content {
    background: rgba(255, 255, 255, 0.75);
}


.subcontractors-section {
  background: #f8f9fc;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
}
.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
}

.flip-front {
  background-color: #fff;
  color: #222;
  text-align: center;
}

.flip-back {
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
  position: relative;
  color: #fff;
  text-align: center;
}

.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 15px;
}

.back-content {
  position: relative;
  z-index: 2;
}
.back-content h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.back-content p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.flip-card {
  perspective: 1000px;
  height: 300px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 15px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.flip-front {
  background-color: #fff;
  text-align: center;
}
.flip-back {
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
  position: relative;
  color: #fff;
  text-align: center;
}
.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  border-radius: 15px;
}
.back-content {
  position: relative;
  z-index: 1;
}

/* Section title styling */
#ongoing-projects .section-title {
  text-align: center;
  padding: 50px 20px 20px;
}

#ongoing-projects .section-title h2 {
  color: #02245B;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#ongoing-projects .section-title p {
  color: #666;
  font-size: 1rem;
}

/* Project cards layout */
.projects-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 30px 60px;
}

.project-card {
  position: relative;
  width: 45%;
  min-width: 300px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 1s ease;
}

.project-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.project-card .content {
  padding: 20px;
  text-align: center;
}

.project-card .content h5 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #02245B;
}

.project-card .content p {
  color: #666;
  font-size: 0.95rem;
}

/* Glowing animation effect */
.project-card.visible::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
  border-radius: 15px;
  pointer-events: none;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.4);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 90%;
  }
}

.testimonial-text {
  background-color: #f8f9fa;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.whatsapp-float {
  position: fixed;
  bottom: 90px; /* Adjust to sit above "Back to Top" */
  right: 30px;
  z-index: 9999;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  color: white;
}


.dropdown-item:hover {
    background-color: #fff !important; /* Coffee color */
    color: #510718 !important; /* Optional: makes text readable on dark bg */
}
/* Fade-Zoom on Load */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-box {
  animation: fadeZoom 1s ease-in-out both;
}

/* Image Hover Zoom */
.hover-zoom img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hover-zoom:hover img {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Overlay Container */
.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: #510718;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  color: #fff;
  text-align: center;
  opacity: 0;
}

.gallery-single:hover .img-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Text Title Animation */
.img-overlay h3 {
  margin: 0;
  font-size: 22px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease 0.2s;
}

.gallery-single:hover .img-overlay h3 {
  opacity: 1;
  transform: translateY(0);
}

/* Button Animation */
.hoverbutton {
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease 0.4s;
}

.gallery-single:hover .hoverbutton {
  opacity: 1;
  transform: translateY(0);
}

.hoverbutton:hover {
  color: #ffdd57;
}

.mv-card {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.mv-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.mv-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.mv-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}

.mv-content p,
.mv-content ul {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin: 0;
}

.mv-content ul {
  padding-left: 18px;
}

.mv-content ul li {
  margin-bottom: 6px;
}

/* Glowing animation */
.mv-glow {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: glow-pulse 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes glow-pulse {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Add smooth scaling on card hover */
.animated-card {
  transition: all 0.5s ease-in-out;
}

/* Animate.css delays */
.animate__delay-1s {
  animation-delay: 0.4s;
}
.animate__delay-2s {
  animation-delay: 0.7s;
}
.animate__delay-3s {
  animation-delay: 1s;
}


body {
  overflow-x: hidden;
}

.center-container {
  display: flex;
  justify-content: center;  /* Horizontal center */
  align-items: center;      /* Vertical center */
  height: 90px;            /* Full viewport height */
  /* Optional: to see the white text */
}

.center-heading {
  color: white;
  text-align: center;
}

.facility-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.facility-item:hover {
  transform: translateY(-10px);
}

.facility-icon {
  position: relative;
  padding: 40px 20px 20px 20px;
  text-align: center;
}

.facility-icon span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 80px;
  height: 80px;
  background: inherit;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.facility-icon i {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 50%;
  padding: 20px;
}

.facility-text {
  padding: 30px 20px;
  background: #f8f9fa;
  transition: background 0.3s ease;
}

.facility-item:hover .facility-text {
  background: #eaeaea;
}

.facility-text h3 {
  font-size: 1.25rem;
}

.facility-text ul {
  margin: 0;
  padding-left: 1rem;
}

.facility-text ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}


.facility-item {
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color 0.4s ease-in-out;
}

/* Background elements */
.facility-icon,
.facility-text {
  padding: 20px;
  background-color: #eaeaea;
  transition: background-color 0.4s ease-in-out;
}

/* Hover effect: only background changes to maroon */
.custom-hover:hover .facility-icon,
.custom-hover:hover .facility-text {
  background-color: #510718 !important;
  color: white !important;
}

/* Keep icon and heading text color the same */
.facility-icon i,
.facility-text h3 {
  transition: none;
}

/* Optional spacing for list inside values */
.facility-text ul {
  padding-left: 1rem;
}

.facility-text li {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.custom-box {
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin: 0 10px;
  border-radius: 50%;
  background-color: #fff;
}

.custom-box-title {
  transition: color 0.3s ease;
}

.custom-hover-effect:hover {
  filter: brightness(0.9);
}

.custom-hover-effect:hover .custom-box-title {
  color: #ffffff !important;
}

/* Outer wrapper to center and stack the icon and circle */
.circle-wrapper-mission,
.circle-wrapper-vision,
.circle-wrapper-values {
  position: relative;
  padding-top: 35px;
}

/* Main big round content */
.circle-block-mission,
.circle-block-vision,
.circle-block-values {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #f8f9fa;
  text-align: center;
  padding: 60px 20px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

/* ===== Outer wrapper to center and space the icon and circle ===== */
.circle-wrapper-mission,
.circle-wrapper-vision,
.circle-wrapper-values {
  position: relative;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

/* ===== Main big round content ===== */
.circle-block-mission,
.circle-block-vision,
.circle-block-values {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-color: #f8f9fa;
  text-align: center;
  padding: 20px;
  padding-top: 60px; /* space for inner icon */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ===== Small icon circle placed inside the top of the big one ===== */
.circle-icon-wrap-mission,
.circle-icon-wrap-vision,
.circle-icon-wrap-values {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #510718;
  position: absolute;
  top: 70px; /* inside the big circle */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Icon inside the small circle ===== */
.icon-inside-mission,
.icon-inside-vision,
.icon-inside-values {
  color: white;
  font-size: 1.5rem;
}

/* ===== Text Styling ===== */
.circle-title-mission,
.circle-title-vision,
.circle-title-values {
  font-size: 1.3rem;
  margin-top: 100px;
  margin-bottom: 10px;
  color: #02245B;
  font-weight: 600;
  transition: color 0.3s ease;
}

.circle-text-mission,
.circle-text-vision,
.circle-text-values {
  font-size: 0.95rem;
  color: #02245B;
  transition: color 0.3s ease;
  padding: 0 15px;
  line-height: 1.5;
}

/* ===== Hover Effects ===== */
.circle-block-mission:hover,
.circle-block-vision:hover,
.circle-block-values:hover {
  background-color: #510718;
  
}



.circle-block-mission:hover .circle-title-mission,
.circle-block-mission:hover .circle-text-mission,
.circle-block-vision:hover .circle-title-vision,
.circle-block-vision:hover .circle-text-vision,
.circle-block-values:hover .circle-title-values,
.circle-block-values:hover .circle-text-values {
  color: #ffffff;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .circle-block-mission,
  .circle-block-vision,
  .circle-block-values {
    width: 317px;
    height: 295px;
    padding-top: 0px;
    text-align: center;
  }

  .circle-title-mission,
  .circle-title-vision,
  .circle-title-values {
    font-size: 1.1rem;
    margin-top: 119px;
  }

  .circle-text-mission,
  .circle-text-vision,
  .circle-text-values {
    font-size: 0.9rem;
    /* width: 257px; */
  }

  .circle-icon-wrap-mission,
  .circle-icon-wrap-vision,
  .circle-icon-wrap-values {
    width: 60px;
    height: 60px;
    top: 62PX;
  }
}

/* Hover effects on the wrapper */
.circle-wrapper-mission:hover .circle-block-mission,
.circle-wrapper-vision:hover .circle-block-vision,
.circle-wrapper-values:hover .circle-block-values {
  background-color: #510718; /* Big circle background changes */
}

.circle-wrapper-mission:hover .circle-icon-wrap-mission,
.circle-wrapper-vision:hover .circle-icon-wrap-vision,
.circle-wrapper-values:hover .circle-icon-wrap-values {
  background-color: white; /* Small circle background changes */
}

.circle-wrapper-mission:hover .circle-title-mission,
.circle-wrapper-mission:hover .circle-text-mission,
.circle-wrapper-vision:hover .circle-title-vision,
.circle-wrapper-vision:hover .circle-text-vision,
.circle-wrapper-values:hover .circle-title-values,
.circle-wrapper-values:hover .circle-text-values {
  color: white; /* Text color changes */
}

.circle-wrapper-mission:hover .icon-inside-mission,
.circle-wrapper-vision:hover .icon-inside-vision,
.circle-wrapper-values:hover .icon-inside-values {
  color: #510718; /* Icon color changes */
}

.text-white {
  color: white;
}

/* .text-white:hover {
  color: black !important;
} */






.email-break {
  display: inline-block;
  word-break: break-all;
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .email-break {
    display: block;
    text-align: left; /* or center if you prefer */
  }
}


