
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-dark);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-primary);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}

/* Show light logo by default */
.navbar-brand .logo-dark { display: none; }

/* When sticky (white background), show dark logo instead */
.sticky-top.navbar-light .logo-light { display: none; }
.sticky-top.navbar-light .logo-dark  { display: inline-block; }

/* NAVBAR — text default and hover colors */
/* Font color = Primary (#1D3A2B) */
.navbar-light .navbar-nav .nav-link {
    color: #ffffff !important;
}

/* Font color = Primary for brand link / logo if text-based */
.navbar-light .navbar-brand,
.navbar-light .navbar-brand .nav-link {
    color: #1D3A2B !important;
}



/* Default link style */
.navbar-light .navbar-nav .nav-link {
    color: #1D3A2B;                /* primary */
    padding: 12px 20px;           /* button-like padding */
    border-radius: 6px;           /* rounded corners */
    transition: background-color .3s ease, color .3s ease, transform .2s ease;
    display: inline-block;
  }
  
/* Simple hover – only change text color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
  background-color: transparent;   /* no button effect */
  color: #E85C0D !important;       /* your orange */
  transform: none;                 /* disable scale */
  box-shadow: none;                /* remove glow */
}
.navbar-light .navbar-nav .nav-link {
    transition: color 0.3s ease;
  }
  
  /* Remove the line effect */
.navbar-light .navbar-nav .nav-link::before,
.navbar-light .navbar-nav .nav-link::after {
    content: none;
}



/*** Navbar End ***/

/*** Carousel Hero Header Start ***/


.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/
/* === Video Background Section === */
#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-carousel-item .carousel-caption {
    position: relative;
    z-index: 2;
}

.header-carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 4, 0.152);
    z-index: 1;
}
/* === End Video Background Section === */


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

/* Default white inside container */
#insights-grid .counter {
    color: #FFFFFF;
    transition: color 0.3s ease;
  }
  
  /* Hover on the parent container changes the child counter color */
  #insights-grid .col-6:hover .counter {
    color: #E85C0D;
  }
  
  
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}

/* === Smooth hover background for team card === */
.team-card {
    position: relative;
    overflow: hidden;               /* contain the hover layer */
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
    z-index: 0;                     /* establish stacking context */
  }
  
  .team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bs-primary, #0d6efd);
    opacity: 0;
    transition: opacity 0.35s ease-in-out; /* smooth fade */
    border-radius: 12px;
    z-index: -1;                    /* stays behind content */
  }
  
  /* Hover state */
  .team-card:hover::before {
    opacity: 0.95;
  }
  
  .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  
  /* Text and border color adjustments on hover */
  .team-card:hover .team-photo {
    border-color: #fff;
    transition: border-color 0.3s ease;
  }
  .team-card:hover .team-name,
  .team-card:hover .team-role {
    color: #fff;
    transition: color 0.3s ease;
  }
  
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-primary);
}
/*** copyright end ***/

/* ==========================================
ABOUT-   VISION / MISSION / VALUES — SOLID CARDS + GLASS ICONS
   ========================================== */

   .feature-item {
    background: #ffffff; /* solid white */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: left;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
  }
  
  /* Glass icon container */
  .feature-icon {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
  }
  
  /* Icon */
  .feature-icon i {
    color: #1D3A2B; /* primary */
    font-size: 2.5rem;
    transition: all 0.4s ease;
  }
  
  /* Text defaults */
  .feature-item h4 {
    color: #1D3A2B; /* primary */
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: color 0.4s ease;
  }
  
  .feature-item p {
    color: #222222;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.4s ease;
  }
  
  /* ===========================
     Hover Effects
     =========================== */
  .feature-item:hover {
    background-color: #1D3A2B; /* primary */
    transform: translateY(-8px);
    border-color: #1D3A2B;
    box-shadow: 0 10px 25px rgba(29, 58, 43, 0.25);
  }
  
  .feature-item:hover .feature-icon {
    background: rgba(232, 92, 13, 0.9); /* glass orange */
    box-shadow: 0 0 18px rgba(232, 92, 13, 0.4);
    transform: scale(1.08);
  }
  
  .feature-item:hover .feature-icon i {
    color: #ffffff; /* icon turns white */
  }
  
  .feature-item:hover h4,
.feature-item:hover p,
.feature-item:hover h5,
.feature-item:hover h6,
.feature-item:hover span,
.feature-item:hover a {
  color: #ffffff !important;
}

.bg-breadcrumb1 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/who-we-are.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}
/* ==========================================
ABOUT-   END
   ========================================== */

   
/* ===== Reduce image size in service detail sections ===== */
.service img {
    max-width: auto;          /* scale down image size */
    height: auto;             /* maintain aspect ratio */
    border-radius: 12px;      /* keep rounded corners */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* subtle depth */
    transition: transform 0.4s ease;
  }
  
  
  
 /* === Fix: restore service card image size on mobile === */
@media (max-width: 991px) {
    .service-card img {
      max-width: 100% !important;
      margin-top: 0 !important;
    }
  }
  
/* ===== Portfolio ===== */
  .bg-breadcrumb2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/our-portfolio.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

/* ===== Portfolio ===== */

/* ===== Media ===== */
.bg-breadcrumb3 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/media.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

/* ===== Media ===== */

/* ===== Contact Us ===== */
.bg-breadcrumb4 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/Contact-Us.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

/* ===== Contact Us ===== */

/* ===== Careers ===== */
.bg-breadcrumb5 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/careers.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

/* ===== Careers ===== */

/* ===== Team ===== */
.bg-breadcrumb6 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/team.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

/* ===== Team ===== */


/* --- Mobile Responsive Tweaks --- */
@media (max-width: 992px) {
    .navbar .navbar-collapse {
      text-align: center;
    }
    .navbar-nav {
      flex-direction: column;
      align-items: center;
    }
    .carousel-caption h2, 
    .carousel-caption h3, 
    .carousel-caption p {
      font-size: 90%;
    }
    .btn {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
    .about .row, 
    .portfolio .row, 
    .service .row {
      flex-direction: column;
    }
    .col-xl-6, 
    .col-lg-4, 
    .col-lg-5 {
      width: 100% !important;
    }
  }
  
  @media (max-width: 576px) {
    .header-carousel video {
      object-fit: cover;
      height: 400px;
    }
    .carousel-caption {
      padding: 20px;
    }
    h1, h2, h3 {
      font-size: 1.25rem;
    }
    p {
      font-size: 0.9rem;
    }
    .btn {
      padding: 8px 16px;
      font-size: 0.85rem;
    }
    .team-grid {
      grid-template-columns: 1fr !important;
      gap: 16px;
    }
    .subsidiary-square, .subsidiary-rect {
      width: 100% !important;
      max-width: 100%;
    }
  }
  /* --- Mobile Responsive Tweaks --- */

  /* Mobile Navbar Styling */
@media (max-width: 992px) {
    .navbar {
      background-color: #1D3A2B !important; /* dark green tone */
    }
    .navbar-collapse {
      background-color: #1D3A2B !important;
      border-radius: 8px;
      padding: 15px;
    }
    .navbar-nav .nav-link {
      color: #fff !important;
      padding: 10px 0;
    }
    .navbar-toggler {
      border: none;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }
    .fa-bars {
      color: #E85C0D; /* optional: orange menu icon */
    }
  }
   /* Mobile Navbar Styling */

   .col-xl-6 p {
    text-align: justify;
  }
  
  .col-lg-6 p {
    text-align: justify;
  }

  .col-md-6 p {
    text-align: justify;
  }

  .col-md-12 p {
    text-align: justify;
  }

  p {
    color: #474747;
  }
  

  /* =========================================================
   📱 MOBILE RESPONSIVENESS FIXES (Navbar, Hero, Sections)
   ========================================================= */

/* === NAVBAR FIXES === */
@media (max-width: 991px) {
    .navbar {
      background-color: #fff !important;
    }
    .navbar .navbar-nav .nav-link {
      color: #1D3A2B !important;
      padding: 10px 15px;
      text-align: left;
    }
    .navbar-toggler {
      border: 1px solid #1D3A2B;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }
    .navbar-collapse {
      background-color: #fff;
      border-radius: 6px;
      padding: 10px;
    }
  }
  
  /* === HERO VIDEO FIX === */
  @media (max-width: 768px) {
    #heroVideo {
      object-fit: cover;
      height: 400px !important;
    }
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item video {
      height: 400px !important;
    }
    .carousel-caption {
      padding: 1.5rem !important;
      text-align: center;
    }
    .carousel-caption h2,
    .carousel-caption h3 {
      font-size: 1.3rem !important;
      line-height: 1.4;
    }
    .carousel-caption p {
      font-size: 0.95rem;
    }
  }
  
  /* === WHO WE ARE (Insights Right Side) === */
  @media (max-width: 768px) {
    #insights-grid {
      padding: 2rem 1rem !important;
      text-align: center;
    }
    #insights-grid .row > div {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  
  /* === OUR PORTFOLIO === */
  @media (max-width: 992px) {
    .portfolio .d-flex {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
    .portfolio .btn {
      width: 100%;
      text-align: center;
    }
    .portfolio-card {
      min-height: 300px;
    }
  }
  
  /* === OUR SERVICES === */
 
  /* === TEAM GRID === */
  @media (max-width: 992px) {
    .team-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }
  @media (max-width: 768px) {
    .team-grid {
      grid-template-columns: 1fr;
      gap: 1.2rem;
    }
    .team-photo {
      width: 110px;
      height: 110px;
    }
  }
  
  /* === GENERAL SMALL FIXES === */
  @media (max-width: 576px) {
    .container, .container-fluid {
      padding-left: 1rem;
      padding-right: 1rem;
    }
    h2, h3, h4 {
      font-size: 1.2rem !important;
    }
    p {
      font-size: 0.9rem;
    }
  }
    /* === GENERAL SMALL FIXES === */

    /* ======= Responsive Layout Enforcement ======= */

/* Fix forced column splits */
@media (max-width: 991px) {
    .about .col-xl-6,
    .vision .col-xl-6,
    #insights-grid .col-6 {
      flex: 0 0 100% !important;
      max-width: 100% !important;
    }
  }
  
  /* Fix portfolio grid */
  @media (max-width: 991px) {
    .portfolio .row-cols-md-2,
    .portfolio .row-cols-lg-4 {
      grid-template-columns: 1fr 1fr !important;
    }
  }
  @media (max-width: 767px) {
    .portfolio .row-cols-md-2,
    .portfolio .row-cols-lg-4 {
      grid-template-columns: 1fr !important;
    }
  }
  
  /* Fix service cards grid */
  @media (max-width: 991px) {
    .service .row-cols-md-2,
    .service .row-cols-lg-5 {
      grid-template-columns: 1fr 1fr !important;
    }
  }
  @media (max-width: 767px) {
    .service .row-cols-md-2,
    .service .row-cols-lg-5 {
      grid-template-columns: 1fr !important;
    }
  }
  
  /* Fix navbar spacing */
  @media (max-width: 991px) {
    .navbar-collapse {
      background-color: #fff !important;
      padding: 1rem;
    }
    .navbar-nav {
      gap: 0.5rem;
    }
  }
  
  /* Hero video scaling */
  @media (max-width: 768px) {
    #heroVideo,
    .header-carousel .header-carousel-item {
      height: 400px !important;
      object-fit: cover;
    }
    .carousel-caption h3 {
      font-size: 1.4rem !important;
    }
  }
  /* Fix navbar spacing */

  /* =========================================================
   🧩 FIX — Portfolio Images Not Showing on Mobile
   ========================================================= */
@media (max-width: 992px) {
    .portfolio-card {
      position: relative !important;
      display: block !important;
      height: auto !important;
      min-height: unset !important;
      overflow: hidden !important;
    }
  
    .portfolio-card .card-media {
      position: relative !important;
      width: 100% !important;
      height: auto !important;
      padding-top: 60% !important; /* aspect ratio */
      overflow: hidden !important;
    }
  
    .portfolio-card .card-media img {
      position: absolute !important;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block !important;
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 1 !important;
    }
  
    .portfolio-card .card-title {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      color: #fff;
      background: rgba(0, 0, 0, 0.45);
      padding: 0.8rem;
      font-weight: 600;
    }
  
    /* Disable hover fade on touch screens */
    .portfolio-card:hover img,
    .portfolio-card:focus-within img {
      opacity: 1 !important;
    }
  
    .portfolio-card:hover .card-overlay {
      opacity: 0 !important;
    }
  }

  /* === Fix: Keep Navbar Same as Desktop on Mobile === */
@media (max-width: 991.98px) {
    .navbar-light,
    .sticky-top.navbar-light {
      background: var(--bs-primary) !important; /* same as desktop */
    }
  
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
      color: #fff !important; /* white text like desktop */
    }
  
    .navbar-toggler {
      border: 1px solid #fff !important; /* white toggle border */
      color: #fff !important;            /* white hamburger icon */
    }
  }
/* === Fix: Show Mobile Navbar Menu Options (dark theme) === */
@media (max-width: 991.98px) {
    /* Make the dropdown / collapse menu background dark */
    .navbar-collapse,
    .navbar-nav,
    .navbar-light .navbar-nav .nav-item .dropdown-menu {
      background: var(--bs-primary) !important;
    }
  
    /* Make all links readable (white text) */
    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-item .nav-link {
      color: #fff !important;
    }
  
    /* Hover or active link highlight */
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-item .nav-link.active {
      color: #E85C0D !important; /* your orange accent */
    }
  
    /* Dropdown links inside mobile menu */
    .navbar-light .navbar-nav .dropdown-menu a {
      color: #fff !important;
      background: var(--bs-primary) !important;
    }
  
    .navbar-light .navbar-nav .dropdown-menu a:hover {
      background: #E85C0D !important;
      color: #fff !important;
    }
  }
    

  /* Optimize all transitions and hovers for smooth GPU rendering */
.btn, /* All buttons */
.service-card, /* Your service cards */
.team-item .team-img::before, /* Team image overlay */
.team-item .team-img img, /* Team images */
.service-card .card-media img, /* Service card images */
.back-to-top {
    /* Use a performant easing function for all custom transitions */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

/* Force hardware acceleration on elements that will be animated */
/* This preemptively tells the browser to move these elements to the GPU layer */
.service-card,
.team-item,
.wow,
.aos-init {
    will-change: transform, opacity;
}

/* EXAMPLE: Ensure all hover effects use 'transform' */
.service-card:hover .service-content {
    /* If you had a 'margin-top' change, replace it with 'transform: translateY()' */
    transform: translateY(-10px); 
}

/* Ensure the card body itself has a fixed or min-height on desktop for uniform appearance */
@media (min-width: 992px) {
    .service-card .service-content {
        /* Set a minimum height for the content to prevent cards from collapsing */
        min-height: 120px; 
        /* Or set a fixed height if the content never exceeds it: height: 200px; */
    }
}

/* --- OPTIMIZATION: REMOVE SHAKY SCROLLING --- */

/* 1. Use 'will-change' on elements that animate on scroll or hover (cards, etc.) */
.service-card,
.team-item,
.wow,
.aos-init {
    will-change: transform, opacity;
}

/* 2. Ensure all transitions use GPU-friendly properties and a smooth easing function */
.btn,
.service-card,
.service-card .card-media img,
.back-to-top {
    /* Use 'transform' and a smooth cubic-bezier easing for elegant motion */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

/* 3. Ensure hover effects move using 'transform' (example) */
.service-card:hover .service-content {
    /* Change any margin/padding based movement to 'transform: translateY()' */
    transform: translateY(-10px); 
}

/* --- FIX: MOBILE SERVICE CARD SIZING (MAX-WIDTH 767.98px) --- */
@media (max-width: 767.98px) {
    /* 1. Ensure the card container is flexible, removing any restrictive min-height */
    .service-card {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* 2. Ensure the image takes up the full width of its container and scales naturally */
    .service-card .card-media img {
        width: 100%;
        height: auto; 
    }
    
    /* 3. Ensure the content area is flexible */
    .service-card .service-content {
        height: auto !important;
        min-height: auto !important;
        /* Optional: Add vertical space to prevent content from touching the edges */
        padding: 20px 15px; 
    }
}

/* --- FIX: FOOTER LOGO RESPONSIVENESS --- */
/* Target the logo inside the footer section */
.footer-logo img {
    /* Ensures the image will never exceed this maximum size on larger screens */
    max-width: 200px;
    max-height: 50px; 
    
    /* Important: height: auto works with img-fluid to ensure scaling */
    height: auto; 
    width: auto; 
}

/* --- BASE SERVICE CARD STYLES (MISSING FROM YOUR FILE) --- */
.service-card {
  position: relative; /* CRITICAL: Makes this the anchor for the absolute ribbon */
  overflow: hidden;
  background-color: var(--bs-white);
  border-radius: 0.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease-in-out;
  height: 80%;
}

.service-card .card-media {
  position: relative;
  overflow: hidden;
  /* You may need to set a fixed height here, e.g., height: 200px; */
}

.service-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 1rem 2rem;
  background: #1D3A2B;
  color: #fff;
  opacity: 0; /* Hidden by default for desktop hover */
  transition: opacity 0.35s ease;
}

.service-card .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: rgba(29, 58, 43, 0.85);
  color: #fff;
  z-index: 2;
  transition: opacity 0.2s ease;
}


/* --- THE NEW RIBBON STYLES --- */
.service-card .card-footer-ribbon {
  position: absolute; 
  left: 0;
  right: 0;
  bottom: 0; /* CRITICAL: Positions it at the bottom edge */
  height: 5%; 
  min-height: 1.5rem;
  background: #F0F0F0;
  display: flex;
  align-items: center; 
  justify-content: flex-end; /* Aligns link to the right */
  padding: 0 1rem;
  z-index: 5; 
  border-bottom-left-radius: .6rem; 
  border-bottom-right-radius: .6rem;
  transition: background .35s ease;
}

.service-card .card-footer-ribbon .overlay-link {
  color: #1D3A2B;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.35s ease;
}

/* --- DESKTOP HOVER LOGIC --- */
/* The media query limits the fade effect to non-touch screens */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover img,
  .service-card:focus-within img {
      opacity: 0;
  }

  .service-card:hover .card-title,
  .service-card:focus-within .card-title {
      opacity: 0;
      transition: opacity .2s ease;
  }

  .service-card:hover .card-overlay,
  .service-card:focus-within .card-overlay {
      opacity: 1;
  }
  
  .service-card:hover .card-footer-ribbon,
  .service-card:focus-within .card-footer-ribbon {
      background: #E85C0D; /* Hover color */
  }
  
  .service-card:hover .card-footer-ribbon .overlay-link,
  .service-card:focus-within .card-footer-ribbon .overlay-link {
      color: #fff; 
  }
}


/* --- MOBILE LOGIC (tap to open card details) --- */
@media (max-width: 991.98px) {
  /* Default: card is "closed" – show image + title, hide overlay */
  .service-card .card-overlay {
    opacity: 0;
  }

  .service-card .card-title {
    opacity: 1;
  }

  /* Optional: keep image fully visible when closed */
  .service-card .card-media img {
    opacity: 1;
  }

  /* When card is opened via JS (class .is-open), show overlay + hide title */
  .service-card.is-open .card-overlay {
    opacity: 1;
  }

  .service-card.is-open .card-title {
    opacity: 0;
  }

  /* Optional: fade out image when details are shown */
  .service-card.is-open .card-media img {
    opacity: 0;
  }
}


/* ======================================================= */
/* === FLUID GRADIENT ANIMATION FOR #insights-grid === */
/* ======================================================= */

#insights-grid {
  /* Define the gradient background with multiple color stops */
  background: linear-gradient(-45deg, #1D3A2B, #336647, #E85C0D, #ff9966);
  
  /* Make the background area much larger than the element itself */
  background-size: 400% 400%;
  
  /* Apply the animation */
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
      /* Start position (left-to-right movement) */
      background-position: 0% 50%;
  }
  50% {
      /* Middle position */
      background-position: 100% 50%;
  }
  100% {
      /* Return to start, creating a smooth, endless loop */
      background-position: 0% 50%;
  }
}

#insights-grid .insight-item {
  padding: 1.25rem;
  border-radius: 1rem;
  transition:
      transform 0.25s ease,
      background-color 0.25s ease,
      box-shadow 0.25s ease;
  cursor: default;
}

#insights-grid .insight-item:hover {
  transform: translateY(-4px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Make sure title + text all “highlight” together */
#insights-grid .insight-item:hover h1,
#insights-grid .insight-item:hover p {
  color: #ffffff;
}


#insights-grid .insight-item h1 {
  transition: transform 0.25s ease;
  transform-origin: center center;
}

#insights-grid .insight-item:hover h1 {
  transform: scale(1.08);
}




<style>
  /* Ensure image is always stable (no hover fade / transitions) */
  .service-card .card-media img {
    opacity: 1 !important;
    transition: none !important;
  }

  /* If you still have the old overlay/title CSS somewhere, disable it */
  .service-card .card-overlay,
  .service-card .card-title {
    display: none !important;
  }
</style>

/* === Services cards: disable ALL hover effects on card images === */
.service-card .card-media img,
.service-card:hover .card-media img,
.service-card .card-media img:hover {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Optional: if old overlay/title markup still exists, keep it disabled */
.service-card .card-overlay,
.service-card .card-title {
  display: none !important;
}
/* Keep titles normal (optional) */
.service-card .content-title{
  text-align: left;
}

/* Justify the paragraph text */
.service-card .content-text{
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;   /* keeps the last line from stretching */
  hyphens: auto;           /* nicer spacing (browser dependent) */
}

/* Normal card */
.team-card{
  background:#fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover: long animated gradient */
.team-card:hover{
  background-image: linear-gradient(-45deg, #1D3A2B, #336647, #E85C0D, #ff9966);
  background-size: 400% 400%;
  animation: gradientShift 60s ease infinite; /* ✅ longer time */
}

/* Keep text readable on hover */
.team-card:hover .team-name,
.team-card:hover .team-role{
  color:#fff;
}

@keyframes gradientShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* Ensure the card itself can show the animated background */
.team-card{
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* If a theme adds an overlay via pseudo-elements, disable it */
.team-card::before,
.team-card::after{
  content: none !important;
}

/* Hover animated gradient (no JS needed) */
.team-card:hover{
  background-image: linear-gradient(-45deg, #1D3A2B, #336647, #E85C0D, #ff9966) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 3s linear infinite !important; /* long + smooth */
}

@keyframes gradientShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Optional: keep text readable during hover */
.team-card:hover .team-name,
.team-card:hover .team-role{
  color: #fff !important;
}

/* Hide the text under each card image (the description paragraph) */
.service-card .content-text{
  display:none !important;
}
/* Optional: tighten spacing when description is hidden */
.service-card .card-content{
  justify-content:center;
  gap:.75rem;
}
.service-card .content-footer{
  margin-top:0;
}


/* =========================================================
   SERVICES CARDS — Image big, no description, no empty space
   (keeps card size fixed)
   ========================================================= */

/* Set a fixed card height (adjust if you want) */
:root{
  --service-card-h: 360px;   /* total card height */
  --service-footer-h: 50px;  /* title + arrow bar height */
}

.service-card{
  height: var(--service-card-h) !important;
  min-height: var(--service-card-h) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
}

/* Image takes all remaining space */
.service-card .card-media{
  flex: 1 1 auto !important;
  height: calc(var(--service-card-h) - var(--service-footer-h)) !important;
}

.service-card .card-media img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Bottom area becomes a small bar (title + arrow only) */
.service-card .card-content{
  flex: 0 0 var(--service-footer-h) !important;
  height: var(--service-footer-h) !important;
  padding: 0.8rem 1rem !important;
  background: #1D3A2B;

  /* Put title left, arrow right in ONE line */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Remove the description completely (no space) */
.service-card .content-text{
  display: none !important;
}

/* Remove extra spacing from the inner wrapper div */
.service-card .card-content > div{
  margin: 0 !important;
}

/* Title spacing */
.service-card .content-title{
  margin: 0 !important;
  line-height: 1.2;
}

/* Arrow alignment */
.service-card .content-footer{
  margin: 0 !important;
}
/* Services card arrow color */
.service-card .content-footer a{
  color: #E85C0D !important;  /* orange */
}
.service-card .content-footer a:hover{
  color: #E85C0D !important;
  text-decoration: none;
}


.site-footer {
  width: 100%;
}
.footer-wrapper {
  width: 100%;
  max-width: none;
}

/* Footer links hover (Quick Links + Support) */
.footer .footer-item a{
  color:#fff;
  font-weight:200;
  text-decoration:none;
  display:block;
  transition: color .2s ease, transform .2s ease;
}

.footer .footer-item a:hover{
  color:#E85C0D;              /* orange */
  transform: translateX(4px); /* optional small move */
}

/* Make the arrow icon orange too on hover */
.footer .footer-item a:hover i{
  color:#E85C0D;
}

<style>
  /* ✅ Animated gradient background for Careers section */
  .careers-bg{
    background: linear-gradient(120deg, #1D3A2B, #E85C0D, #1D3A2B);
    background-size: 400% 400%;
    animation: careersGradient 10s ease infinite;
    padding: 80px 0;
  }

  @keyframes careersGradient{
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* keep your form card styling as-is */
  .careers-container{
    max-width: 800px;
    margin: 0 auto;                 /* IMPORTANT: remove fixed margin from old code */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 50px;
    animation: fadeIn 1s ease forwards;
  }
</style>


<style>
  .service-card{
    display:flex;
    flex-direction:column;
    height:80%;
    min-height:60px;
    border-radius:.6rem;      /* keep card rounded (change to 0 if you want square card) */
    overflow:hidden;
    background:#f8f9fa;
    position:relative;
  }

  /* Image area */
  .service-card .card-media{
    flex:0 0 30%;
    width:100%;
    position:relative;
    overflow:hidden;
  }

  /* Make image fit + remove rounded */
  .service-card .card-media img{
    width:100%;
    height:70%;
    display:block;
    object-fit:cover;
    border-radius:0 !important;   /* ✅ no rounded image */
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }

  .service-card .card-title,
  .service-card .card-overlay{
    display:none !important;
  }

  .service-card .card-content{
    flex:1 1 60%;
    padding:0.5rem 0.75rem 0.75rem;
    background:#1D3A2B;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  /* ✅ Title row: title + arrow in one line */
  .service-card .title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    margin:0 0 .5rem;
  }

  .service-card .content-title{
    color:#fff;
    font-weight:700;
    font-size:1rem;
    margin:0;
    line-height:1.2;
  }

  /* ✅ Arrow next to title */
  .service-card .title-row a{
    color:#E85C0D;              /* orange arrow */
    font-weight:800;
    text-decoration:none;
    flex:0 0 auto;
    font-size:1.1rem;
    line-height:0.5;
  }

  .service-card .title-row a:hover{
    text-decoration:underline;
  }

  .service-card .content-text{
    color:#E85C0D;
    margin:0;
    font-size:.9rem;
    line-height:1.5;
  }

  /* Old footer not needed */
  .service-card .content-footer{
    display:none !important;
  }
</style>


.service-card .title-row .service-arrow{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #E85C0D;
  color:#E85C0D;
  text-decoration:none;
  flex:0 0 auto;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.service-card .title-row .service-arrow:hover{
  background:#E85C0D;
  color:#1D3A2B;          /* dark green icon on orange */
  transform: translateX(2px);
}

.service-card .title-row .service-arrow i{
  font-size:14px;
  line-height:1;
}

