
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-hover-bg {
    transition: 0.5s;
}

.btn-hover-bg:hover {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: var(--bs-secondary) !important;
}
/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    padding: 0;
}

.navbar-brand img {
    width: 310px;
    height: 120px;
    max-width: 100%;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 17px;
    transition: .5s;
    font-weight: 600;
    color:#35363A;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 3px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 5px;
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        width: 220px;
        height: 80px;
    }

    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 180px;
        height: 80px;
    }

    .navbar-toggler {
        padding: 6px 10px !important;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary) !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-header #carouselId .carousel-control-prev,
.carousel-header #carouselId .carousel-control-next {
    background: transparent;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-header #carouselId .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    /* This wrapper spans the whole slide (including the prev/next arrow
       hit-areas at the edges). Without this, its transparent full-size
       box sits above the buttons (z-index: 2 vs Bootstrap's default
       z-index: 1) and swallows the click before it reaches them. */
    pointer-events: none;
}

/* Re-enable clicks/taps for the actual caption content (heading, text,
   "Contact Us" button) since the wrapper above now ignores pointer events. */
.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption .anim-caption {
    pointer-events: auto;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent !important;
}

.carousel-header #carouselId.carousel {
    position: relative;
}

.carousel-header #carouselId.carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li,
.carousel-header #carouselId.carousel .carousel-indicators li {
    margin-right: 30px !important;
}

.carousel-header #carouselId.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 12px !important;
    border: 5px solid transparent;
    transition: 0.5s;
    
}

.carousel-header #carouselId.carousel .carousel-indicators li.active {
    border: 5px solid var(--bs-primary) !important;
    border-radius: 10px;
}

/* ---------- Carousel Responsive ---------- */
.carousel-header,
.carousel-header .carousel-item {
    height: 100vh;
    height: 100dvh;
}

.carousel-header #carouselId .carousel-inner .carousel-item {
    min-height: 100vh;
    min-height: 100dvh;
}

.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Let the typing headline wrap instead of clipping on narrow screens */
@media (max-width: 991.98px) {
    .typing-heading {
        white-space: normal;
        display: inline;
    }

    .carousel-header .carousel-caption h1.display-6 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .carousel-header .carousel-caption h4 {
        font-size: 14px;
        margin-bottom: 1rem !important;
    }

    .carousel-header .carousel-caption p {
        font-size: 14px;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
        padding-top: 60px;
    }

    .carousel-header .carousel-caption h1.display-6 {
        font-size: 1.6rem;
    }

    .carousel-header .carousel-caption p {
        font-size: 8px !important;
        margin-bottom: 1.5rem !important;
    }

    .carousel-header .carousel-caption .btn {
        padding: 8px 20px !important;
        font-size: 14px;
    }

    .carousel-header #carouselId.carousel .carousel-indicators li {
        width: 8px;
        height: 8px;
    }

    .carousel-header #carouselId.carousel .carousel-indicators li,
    .carousel-header #carouselId.carousel .carousel-indicators li,
    .carousel-header #carouselId.carousel .carousel-indicators li {
        margin-right: 15px !important;
    }
}

@media (max-width: 575.98px) {
    .carousel-header .carousel-caption h1.display-6 {
        font-size: 1.3rem;
    }

    .carousel-header .carousel-caption h4 {
        letter-spacing: 1px !important;
    }
    .carousel-header .carousel-caption p {
        font-size: 8px !important;
        margin-bottom: 1.5rem !important;
    }
}
/*** Carousel End ***/



/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/img-4.avif');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 0 0;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .tab-class .nav .nav-item a.active,
.about .tab-class .nav .nav-item a.active span {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** About End ***/


/*** Service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-link {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    bottom: 0; 
    left: 0; 
    display: flex; 
    align-items: end;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.5s; 
}

.service .service-item .service-link:hover {
    background: rgba(0, 0, 0, 0.6);
}

.service .service-item .service-link a {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item img {
    transition: 0.5s;
}

.service .service-item:hover img {
    transform: scale(1.2);
}

.service .service-item .service-link:hover a:hover {
    color: var(--bs-primary);
}
/*** Service End ***/


/*** Donation Start ***/
.donation .donation-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 10px;
}

.donation .donation-item::after {
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: flex;
    z-index: 2;
}


.donation .donation-item .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: -60px; 
    left: 0;
    transition: 0.5s;
    z-index: 3;
}

.donation .donation-item:hover .donation-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    padding: 20px; 
    justify-content: end; 
    bottom: 0px; 
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.donation .donation-item .donation-btn {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.donation .donation-item:hover .donation-btn {
    visibility: visible;
    opacity: 1;
}

/*** Donation End ***/


/*** Counter Start ***/

.counter-item{
    border-color: #DE9D29 !important;
    border-radius: 5px;

}
.counter .counter-item .counter-counting {
    width: 100%;
    text-align: center;
    border-style: dotted;
    border-color: var(--bs-white); 
    font-size: 30px;
}
/*** Counter End ***/


/*** causes Start ***/
.causes .causes-item {
    overflow: hidden;
}

.causes .causes-item .causes-img {
    position: relative;
    transition: 0.5s;
}

.causes .causes-item .causes-img .causes-link {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0 !important; 
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: rgba(0, 0, 0, .2);
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover .causes-link {
    background: rgba(0, 0, 0, .6);
}

.causes .causes-item .causes-img img {
    transition: 0.5s;
}

.causes .causes-item .causes-img:hover img {
    transform: scalex(-1);
}

.causes .causes-item .causes-img .causes-dination {
    position: absolute;
    top: 0; 
    right: 0;
}

.causes .causes-item .causes-img .causes-dination a {
    font-size: 14px;
}

.causes .causes-item .causes-content {
    background: var(--bs-secondary);
    border-color: var(--bs-white);
    border-style: dotted;
    border-top: 0;

}

.causes .causes-item .progress {
    height: 10px;
    overflow: visible;
}

.causes .causes-item .progress .progress-bar {
    position: relative;
    width: 0;
    overflow: visible;
    background: var(--bs-primary);
    transition: 2s;
}

.causes .causes-item .progress .progress-bar span {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-size: 12px;
    color: var(--bs-white);
    background: var(--bs-dark);
    z-index: 1;
}
/*** causes End ***/


/*** Events Start ***/
.event .event-carousel.owl-carousel {
    position: relative;
}
.event .event-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -60px;
    left: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.event .event-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -60px;
    right: 0;
    width: 80px;
    height: 40px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}



.event .event-carousel.owl-carousel .owl-nav .owl-prev:hover,
.event .event-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}
.event .event-carousel .event-item .event-content {
    border-style: dotted;
    border-top: 0; 
    border-color: var(--bs-white); 
    background: var(--bs-secondary);
    border-radius: 0 0 10px 10px;
}

/* Desktop */
.event .event-item > img {
    width: 100% !important;
    height: 270px !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    border-radius: 10px 10px 0 0;
}

/* Tablet */
@media (max-width: 991.98px) {
    .event .event-item > img {
        height: 240px !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .event .event-item > img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover !important;
        object-position: center center;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {
    .event .event-item > img {
        aspect-ratio: 4 / 3;
    }
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .6);
    border-radius: 10px 10px 0px 0px !important;
}


.blog .blog-item .blog-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
    border-radius: 10px 10px 0px 0px !important;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
    border-radius: 10px 10px 0px 0px !important;
}

.blog .blog-item .blog-img:hover .search-icon {
    opacity: 1;
}
/*** Blog End ***/

/*** Gallery Start ***/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gallery .gallery-item img {
    transition: 0.5s;
    
}

.gallery .gallery-item:hover img {
    transform: scale(1.2);
    
}

.gallery .gallery-item .gallery-content {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0; 
    left: 0;
    background: rgba(249, 195, 123, .4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.5s;
    z-index: 2;
}

.gallery .gallery-item:hover .gallery-content {
    height: 100%;
}

.gallery .gallery-item .gallery-content .gallery-inner {
    transition: 0.5s;
    background: rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.gallery .gallery-item:hover .gallery-content .gallery-inner {
    background: #DE9D29;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery .gallery-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -80px;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.gallery .gallery-item:hover .search-icon {
    opacity: 1;
}
/*** Gallery End ***/


/*** Volunteer Start ***/
.volunteer {
    background: rgba(249, 195, 123, .1);
}
.volunteer .volunteer-img {
    position: relative;
    overflow: hidden;
}

.volunteer .volunteer-img .volunteer-title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: end;
    transition: 0.5s;
}

.volunteer .volunteer-img:hover .volunteer-title {
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-img img {
    transition: 0.5s;
}

.volunteer .volunteer-img:hover img {
    transform: scale(1.2);
}
/*** Volunteer End ***/


/*** Contact Start ***/
.contact {
    background: rgba(249, 195, 123, .4);
    border-style: dotted;
    border-color: var(--bs-white);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    position: relative;
    overflow: hidden;
    border-top: 3px dotted var(--bs-light);
}

/* Blurred background image */
.footer::before {
    content: "";
    position: absolute;
    inset: -10px;

    background-image: url("../images/image-9.jpeg");
    background-size: cover;
    background-position: center;

    filter: blur(1px);
    transform: scale(1.05);

    z-index: 0;
}

/* Dark overlay */
.footer::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Keep footer content above background */
.footer > .container {
    position: relative;
    z-index: 1;
}

.footer .footer-item a,
.footer .footer-item p {
    line-height: 35px;
    color: #fff;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    color: #DE9D29;
    letter-spacing: 1px;
}

.footer .footer-item .footer-gallery {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-gallery img {
    transition: 0.5s;
}

.footer .footer-item .footer-gallery:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-gallery .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-gallery:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #005CA9;
}
/*** copyright end ***/


/* =====================================================
   Hero Carousel — Video Background + Caption Animations
   ===================================================== */

/* Make each slide a positioning context for the video/overlay */
.carousel-header .carousel-item {
    position: relative;
    height: 100vh;
    height: 100dvh; /* avoids the mobile address-bar "jump" that 100vh causes */
    overflow: hidden;
}

/* Full-bleed background video, cropped like a cover image */
.carousel-header .carousel-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay so white caption text stays readable over any footage */
.carousel-header .carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    
}

.carousel-header .carousel-caption {
    z-index: 2;
}

/* ---------- Caption entrance wrapper (all slides start hidden) ---------- */
.anim-caption {
    opacity: 0;
}

/* ---------- Slide 1: comes down from above ---------- */
.anim-from-top {
    transform: translateY(-70px);
}

.anim-from-top.in-view {
    animation: dropInFromTop .9s cubic-bezier(.22, .68, 0, 1.71) forwards;
}

@keyframes dropInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-70px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Slide 3: rises up from below ---------- */
.anim-from-bottom {
    transform: translateY(70px);
}

.anim-from-bottom.in-view {
    animation: riseInFromBottom .9s cubic-bezier(.22, .68, 0, 1.71) forwards;
}

@keyframes riseInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(70px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Typing heading (used on all three slides) ---------- */
.anim-typing.in-view {
    opacity: 1;
    /* the wrapper itself just needs to be visible; children animate individually */
}

.typing-heading {
    display: inline-block;
    border-right: 3px solid #DE9D29;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    padding-right: 4px;
}

.typing-heading.typing-caret {
    animation: caretBlink .75s step-end infinite;
}

@keyframes caretBlink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #DE9D29;
    }
}

/* Sub-lines (subheading, paragraph, button) fade in after the heading
   finishes typing — used on all three slides */
.anim-caption .fade-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .6s ease, transform .6s ease;
}

.anim-caption .fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .anim-from-top,
    .anim-from-bottom,
    .anim-caption {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .typing-heading {
        white-space: normal;
        overflow: visible;
        border-right: none;
    }
}

/* =====================================================
   About Section — Aditya Green Energies
   Image + badge, stat boxes, scroll-in "move & settle" animation
   ===================================================== */

/* ---------- Image wrapper + floating experience badge ---------- */
.about-img-wrap {
    position: relative;
    height: 100%;
    overflow: visible;
}

.about-img-wrap img {
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    right: -20px;
    bottom: -20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-left: 5px solid #F6D10A;
    border-radius: 6px;
    padding: 18px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    max-width: 220px;
}

.about-badge i {
    font-size: 32px;
    color: #F6D10A;
}

.about-badge h3 {
    font-weight: 700;
    font-size: 26px;
    color: #1c1c1c;
}

.about-badge span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #6c757d;
}

@media (max-width: 1199px) {
    .about-badge {
        right: 10px;
        bottom: -18px;
        padding: 12px 18px;
    }
}

/* ---------- Stat boxes ---------- */
.about-stats .about-stat-box {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 18px 12px;
    text-align: center;
    height: 100%;
    border-bottom: 3px solid #F6D10A;
    transition: transform .3s ease, box-shadow .3s ease;
}

.about-stats .about-stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.about-stats .about-stat-box h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 4px;
    color: #1c1c1c;
}

.about-stats .about-stat-box p {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* ---------- Tab icons alignment ---------- */
.about .tab-class .nav .nav-item a {
    justify-content: center;
}

/* ---------- Scroll reveal: image slides in from left, text from right,
              both come to a stop in their normal position ---------- */
.about-anim-left,
.about-anim-right {
    opacity: 0;
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, .68, 0, 1.1);
}

.about-anim-left {
    transform: translateX(-90px);
}

.about-anim-right {
    transform: translateX(90px);
}

.about-anim-left.in-view,
.about-anim-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1199px) {

    /* On smaller screens both columns stack, so let them both rise from below
       instead of sliding sideways off-screen */
    .about-anim-left {
        transform: translateY(50px);
    }

    .about-anim-right {
        transform: translateY(50px);
        transition-delay: .15s;
    }
}

@media (prefers-reduced-motion: reduce) {

    .about-anim-left,
    .about-anim-right {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =====================================================
   Testimonial Section — Enhanced Design
   ===================================================== */
.testimonial {
    position: relative;
    background-image: url("../images/image-13.jpeg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.testimonial::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    
    border-radius: 50%;
}

.testimonial::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 350px;
    height: 350px;
    
    border-radius: 50%;
}

.testimonial .section-eyebrow {
    letter-spacing: 2px;
}

.testimonial .container {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 32px 32px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.testimonial-quote-icon {
    position: absolute;
    top: -18px;
    left: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6D10A;
    color: #295E26;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.testimonial-quote-icon::before {
    content: "\201C";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.testimonial-card .testimonial-rating {
    color: #F6D10A;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card .testimonial-text {
    color: #4a4a4a;
    font-size: 15.5px;
    line-height: 1.75;
    min-height: 130px;
}

.testimonial-card .testimonial-divider {
    width: 40px;
    height: 3px;
    background: #F6D10A;
    border-radius: 2px;
    margin: 20px 0;
}

.testimonial-card .testimonial-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #F6D10A;
    flex-shrink: 0;
    background: #295E26;
    color: transparent;
}

.testimonial-card .d-flex.align-items-center {
    min-width: 0;
}

.testimonial-card .testimonial-name {
    color: #222;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-card .testimonial-role {
    color: #295E26;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}



.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    display: inline-block;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 0;
}

.testimonial-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-dots .owl-dot.active span {
    background: #DE9D29;
    width: 26px;
    border-radius: 5px;
}

.testimonial-stats {
    position: relative;
    z-index: 1;
}

.testimonial-stats .stat-box {
    text-align: center;
    color: #fff;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-stats .stat-box:last-child {
    border-right: none;
}

.testimonial-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #F6D10A;
    display: block;
}

.testimonial-stats .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767.98px) {
    .testimonial-stats .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 15px 0;
    }
    .testimonial-stats .stat-box:last-child {
        border-bottom: none;
    }
}


/* =====================================================
   Sectors We Serve — Innovative Split Design
   ===================================================== */
.sectors {
    background: #ffffff;
    padding: 40px 0 40px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.sector-card {
    position: relative;
    background: #295E26;
    padding: 45px 30px 40px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.4s ease;
}

.sector-card:last-child {
    border-right: none;
}

.sector-card:nth-child(even) {
    background: #24451f;
}

.sector-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F6D10A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sector-card:hover {
    background: #F6D10A;
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 26px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.sector-card:hover .sector-icon {
    color: #295E26;
    transform: scale(1.1) rotate(-6deg);
}

.sector-icon svg {
    width: 100%;
    height: 100%;
}

.sector-index {
    position: absolute;
    top: 30px;
    right: 26px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.4s ease;
}

.sector-card:hover .sector-index {
    color: rgba(41, 94, 38, 0.45);
}

.sector-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.sector-card:hover .sector-title {
    color: #1c3d1a;
}

.sector-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.sector-card:hover .sector-text {
    color: #33481f;
}

.sector-arrow {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.sector-card:hover .sector-arrow {
    opacity: 1;
    transform: translateY(0);
    border-color: #295E26;
    color: #295E26;
}

@media (max-width: 991.98px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sector-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 575.98px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Floating WhatsApp / Call Buttons — Responsive
   ===================================================== */
.contact-buttons {
    position: fixed;
    bottom: 20vh;
    right: 2vw;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-buttons .whatsapp-btn,
.contact-buttons .call-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-buttons .whatsapp-btn {
    background: #25D366;
}

.contact-buttons .call-btn {
    background: #DE9D29;
}

.contact-buttons .whatsapp-btn i,
.contact-buttons .call-btn i {
    font-size: 2rem;
    color: #fff;
}

.contact-buttons .whatsapp-btn:hover,
.contact-buttons .call-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Tablets */
@media (max-width: 991.98px) {
    .contact-buttons {
        bottom: 15vh;
        right: 3vw;
        gap: 0.85rem;
    }

    .contact-buttons .whatsapp-btn,
    .contact-buttons .call-btn {
        width: 3.4rem;
        height: 3.4rem;
    }

    .contact-buttons .whatsapp-btn i,
    .contact-buttons .call-btn i {
        font-size: 1.7rem;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    .contact-buttons {
        bottom: 12vh;
        right: 4vw;
        gap: 0.7rem;
    }

    .contact-buttons .whatsapp-btn,
    .contact-buttons .call-btn {
        width: 2.9rem;
        height: 2.9rem;
    }

    .contact-buttons .whatsapp-btn i,
    .contact-buttons .call-btn i {
        font-size: 1.4rem;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .contact-buttons {
        bottom: 10vh;
        right: 3vw;
    }

    .contact-buttons .whatsapp-btn,
    .contact-buttons .call-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .contact-buttons .whatsapp-btn i,
    .contact-buttons .call-btn i {
        font-size: 1.2rem;
    }
}

/* =====================================================
   Fix: Restore rounded corners globally
   Bootstrap's .rounded is reset to 0 in bootstrap_min.css —
   this override brings back a clean 10px radius everywhere.
   ===================================================== */


.custom-carousel-btn {
    width: 55px;
    height: 55px;
    top: 45%;
    bottom: auto;
    transform: translateY(-50%);

    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-carousel-btn i {
    font-size: 22px;
    color: #fff;
}

.carousel-control-prev.custom-carousel-btn {
    left: 30px;
}

.carousel-control-next.custom-carousel-btn {
    right: 30px;
}

@media (max-width: 768px) {
    .new-arrow {
        display: none;
}

}


/* ===== Get A Free Quote Modal ===== */
.quote-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}
.quote-modal-header {
    background: linear-gradient(120deg, #005CA9, #003C70);
    border: none;
    padding: 22px 26px;
    align-items: flex-start;
}
.quote-modal-header .modal-title {
    color: #fff;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}
.quote-modal-subtitle {
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    margin-top: 4px;
}
#quoteModal .modal-body {
    padding: 26px;
}
#quoteModal .form-label {
    font-weight: 600;
    font-size: .85rem;
    color: #212529;
}
#quoteModal .form-control,
#quoteModal .form-select {
    border-radius: 8px;
    border: 1px solid #E3E7ED;
    padding: 10px 14px;
    font-size: .9rem;
}
#quoteModal .form-control:focus,
#quoteModal .form-select:focus {
    border-color: #005CA9;
    box-shadow: 0 0 0 .2rem rgba(0,92,169,.15);
}
#quoteModal .btn-primary {
    border-radius: 8px;
    font-weight: 600;
}
#quoteFormStatus.success { color: #1a7f37; font-size: .88rem; }
#quoteFormStatus.error { color: #c92a2a; font-size: .88rem; }