/********** Template CSS **********/
:root {
    --primary: #5E9F2F;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

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


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

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


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

.btn.btn-primary {
    color: #FFFFFF;
}

/* Logo green primary overrides */
.text-primary {
    color: #5E9F2F !important;
}

.bg-primary {
    background-color: #5E9F2F !important;
}

.border-primary {
    border-color: #5E9F2F !important;
}

.btn-primary {
    background: linear-gradient(135deg, #5E9F2F, #7DBB3A) !important;
    border-color: #5E9F2F !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background: #FFFFFF !important;
    border-color: #5E9F2F !important;
    color: #5E9F2F !important;
}

.btn-outline-primary {
    color: #5E9F2F !important;
    border-color: #5E9F2F !important;
}

.btn-outline-primary:hover {
    background-color: #5E9F2F !important;
    border-color: #5E9F2F !important;
    color: #FFFFFF !important;
}

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

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

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

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


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

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .nav-link:hover {
    color: #5E9F2F !important;
}

.navbar .nav-link.active {
    color: #5E9F2F !important;
}
.navbar .dropdown-item:hover {
    background: #f5f5f5;
    color: #5E9F2F;
}

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

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

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

/* =================================
   MOBILE NAVBAR FIX
================================= */

@media (max-width: 991px) {

    /* navbar proper position */
    .navbar,
    .navbar.nav-fixed,
    .navbar.sticky-top {
        top: 0 !important;
        left: 0;
        width: 100%;
        position: fixed !important;

        z-index: 99999 !important;

        min-height: 74px;
        padding-top: 8px;
        padding-bottom: 8px;

        background: #ffffff !important;
    }
    /* logo alignment */
    .navbar-brand {
        display: flex;
        align-items: center;
    }

    /* logo size */
    .navbar-brand img {
        height: 60px !important;
        width: auto;
    }

    /* toggler alignment */
    .navbar-toggler {
        margin-right: 5px !important;
    }

    /* mobile menu spacing */
    .navbar-collapse {
        margin-top: 12px;
        background: #ffffff;
        border-radius: 18px;
        padding: 10px 15px;
        box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel Fix ***/

/* MAIN CAROUSEL ITEM */
#header-carousel .carousel-item {
    height: 85vh; /* desktop height */
    position: relative;
}

/* IMAGE FIT */
#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CAPTION OVERLAY */
#header-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.35); /* slightly darker for better text visibility */
    z-index: 1;
    text-align: center;
    padding: 20px;
}

/* CONTROLS */
#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* INDICATORS */
#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 500px; /* fixed height for mobile */
    }

    #header-carousel .carousel-caption {
        padding: 15px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 26px;
    }

    #header-carousel .carousel-caption h4 {
        font-size: 14px;
    }
}


.page-header {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(15, 35, 10, 0.573) 0%,
            rgba(40, 80, 25, 0.441) 45%,
            rgba(94, 159, 47, 0.255) 100%
        ),
        url(../img/carousel-1.jpg) center center no-repeat !important;

    background-size: cover !important;
}


.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

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


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

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


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

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

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}



/* Product Image Fix */
.service-item img {
    width: 100%;
    height: 270px;       /* fixed height */
    object-fit: contain; /* keeps full image visible */
    background: #fff;    /* clean pharma look */
    padding: 10px;
}


.service-item {
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}



.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



/* STICKY BUTTON CONTAINER */
.sticky-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* COMMON STYLE */
.sticky-buttons a {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

/* CALL BUTTON */
.call-btn {
    background: #5E9F2F;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    background: #25D366;
}

/* HOVER EFFECT */
.sticky-buttons a:hover {
    transform: scale(1.1);
}


.navbar {
    background-color: #ffffff !important;
    transition: 0.3s ease;
}


/* FIX: topbar hide + navbar sticky */
.topbar {
    transition: 0.3s ease;
}

.topbar.hide-topbar {
    display: none !important;
}

.topbar-right a:hover {
    background: #5E9F2F;
    color: #ffffff !important;

    transform: translateY(-2px);
}

/* ensure icon color changes too */
.topbar-right a:hover i {
    color: #ffffff !important;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

.navbar.sticky-top {
    top: 0 !important;
}
/* Hide topbar on scroll */
.topbar {
    transition: 0.3s ease;
}

.topbar.hide-topbar {
    display: none !important;
}

/* Navbar normal before scroll */
.navbar {
    width: 100%;
    z-index: 99999 !important;
}

/* Navbar fixed after scroll */
.navbar.nav-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999 !important;
}


html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #555;
}


/* ================================
   HERO SECTION UPGRADE
================================ */

#header-carousel .carousel-item {
    height: 88vh;
    min-height: 620px;
}

#header-carousel .carousel-item img {
    transform: scale(1.02);
    filter: brightness(0.85);
}

#header-carousel .carousel-caption {
      background:
        linear-gradient(
            90deg,
            rgba(15, 35, 10, 0.75) 0%,    
            rgba(40, 80, 25, 0.55) 45%,    
            rgba(94, 159, 47, 0.25) 100%   
        );
    align-items: flex-start;
    text-align: left;
    padding-left: 9%;
    padding-right: 9%;
}

#header-carousel .carousel-caption > div {
    max-width: 760px !important;
}

#header-carousel .carousel-caption h4 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 22px !important;
}

#header-carousel .carousel-caption h1 {
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

#header-carousel .carousel-caption .btn {
    font-weight: 600;
    border-width: 2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

#header-carousel .carousel-caption .btn-primary {
    background: linear-gradient(90deg, #5E9F2F, #4C8425);
    border: none;
}

#header-carousel .carousel-caption .btn-primary:hover {
    background: #ffffff;
    color: #5E9F2F;
}

#header-carousel .carousel-caption .btn-outline-light:hover {
    color: #06223d;
}

/* Carousel arrows */
#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    background-color: rgba(94, 159, 47, 0.85);
    border-radius: 50%;
    padding: 22px;
    background-size: 45%;
}

/* ================================
   SECTION/CARD POLISH
================================ */

.container-xxl {
    position: relative;
}

.fact-item,
.service-item,
.testimonial-item,
.project-item {
    border-radius: 18px !important;
}

.fact-item {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.fact-item i {
    transition: 0.3s ease;
}

.fact-item:hover i {
    transform: scale(1.12) rotate(-4deg);
}

.service-item {
    overflow: hidden;
    background: #ffffff;
}

.service-item img {
    border-radius: 16px !important;
    transition: 0.4s ease;
}

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

.service-item h4 {
    font-size: 21px;
    font-weight: 700;
    color: #06223d;
}

.img-border::before {
    border-radius: 18px;
}

.img-border img {
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

/* CTA bar */
.container-fluid.bg-primary.text-white.py-4 {
    background: linear-gradient(90deg, #5E9F2F, #244d18) !important;
    padding: 32px 0 !important;
}

.container-fluid.bg-primary.text-white.py-4 h5 {
    font-size: 24px;
    font-weight: 700;
}

/* Footer cleaner */
.footer {
    background: linear-gradient(180deg, #102033, #071522) !important;
}

.footer h5 {
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background: #5E9F2F;
    left: 0;
    bottom: 0;
    border-radius: 10px;
}

/* Sticky buttons better */
.sticky-buttons a {
    animation: softPulse 2s infinite;
}

@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 159, 47, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(94, 159, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(94, 159, 47, 0);
    }
}

/* ================================
   MOBILE RESPONSIVE HERO
================================ */

@media (max-width: 768px) {
    .navbar {
        min-height: 70px;
        padding: 5px 12px;
    }

    .navbar-brand img {
        height: 58px !important;
    }

    #header-carousel .carousel-item {
        height: 560px;
        min-height: 560px;
    }

    #header-carousel .carousel-caption {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 25px;
        background:
        linear-gradient(
            90deg,
            rgba(15, 35, 10, 0.75) 0%,  
            rgba(40, 80, 25, 0.55) 45%,   
            rgba(94, 159, 47, 0.25) 100%   
        );
    }

    #header-carousel .carousel-caption h4 {
        font-size: 12px;
        padding: 7px 14px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 34px !important;
        line-height: 1.18;
    }

    #header-carousel .carousel-caption .btn {
        padding: 10px 20px !important;
        margin-bottom: 8px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .container-fluid.bg-primary.text-white.py-4 h5 {
        font-size: 19px;
        text-align: center;
        margin-bottom: 15px !important;
    }

    .container-fluid.bg-primary.text-white.py-4 .container {
        justify-content: center !important;
        text-align: center;
    }
}

/* TOPBAR CLEAN ALIGN */
.topbar {
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* RIGHT SIDE */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-right a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #5E9F2F;
    transition: 0.3s;
}

.topbar-right a:hover {
    background: #5E9F2F;
    color: #fff;
}
.topbar i {
    color: #5E9F2F;
}

@media (max-width: 991px) {
    .topbar {
        display: none !important;
    }
}
.navbar {
    background-color: #ffffff !important;
    transition: 0.3s ease;
}

.navbar-brand img {
    filter: none; 
}

/* Nav links default */
.navbar .nav-link {
    color: #222 !important;
    font-weight: 500;
    transition: 0.3s;
    font-size: 18px !important;
}

/* Active link */

/* Dropdown menu */
.navbar .dropdown-menu {
    background: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Dropdown items */
.navbar .dropdown-item {
    color: #222;
}


/* =========================
   MOBILE FIX
========================= */

/* Mobile navbar */
@media (max-width: 991px) {

    .navbar {
        background: #ffffff !important;
    }

    .navbar .nav-link {
        color: #222 !important;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        
    }

    /* Simple underline hover */
    .navbar .nav-link:hover {
    color: #5E9F2F !important;
}

    /* Dropdown arrow fix */
    .navbar .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    /* Dropdown items mobile */
    .navbar .dropdown-menu {
        background: #ffffff;
        border: none;
        box-shadow: none;
    }

    .navbar .dropdown-item {
        padding-left: 15px;;
    }
}


.nav-fixed {    
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Request Quote Button */
.btn-quote {
    background: linear-gradient(135deg, #5E9F2F, #7DBB3A);
    color: #fff !important;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 159, 47, 0.28);
}

/* Hover effect */
.btn-quote:hover {
    background: linear-gradient(135deg, #4C8425, #6EAD32);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 159, 47, 0.38);
}

/* Click feel */
.btn-quote:active {
    transform: scale(0.96);
}

.navbar-toggler {
    border: 1px solid #222 !important;
    font-size: 22px;
}

.navbar-toggler-icon {
    filter: brightness(0) !important;
}

/* FIX footer contact alignment */
.footer .col-lg-3 p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 17px;
}

/* icon fix */
.footer .col-lg-3 p i {
    min-width: 18px;
    margin-top: 3px;
    line-height: 25px;
}

/* text should take full width properly */
.footer .col-lg-3 p span {
    display: block;
}

/*----------------- About page style-------*/
:root {
    --ciaagen-primary: #5E9F2F;
    --ciaagen-primary-dark: #3f7420;
    --ciaagen-soft: #f1f8ec;
    --ciaagen-dark: #102033;
    --ciaagen-muted: #64748b;
    --ciaagen-shadow-hover: 0 25px 65px rgba(94, 159, 47, 0.20);
}


        body {
            color: var(--ciaagen-dark);
            font-size: 15.8px;
            line-height: 1.75;
            letter-spacing: 0.1px;
            background: #ffffff;
        }
 
        p {
            color: var(--ciaagen-muted);
            font-size: 15.8px;
        }

        h1, h2, h3, h4, h5, h6 {
            color: var(--ciaagen-dark);
            letter-spacing: -0.35px;
        }

        .display-4,
        .display-6 {
            font-weight: 700;
            line-height: 1.18;
        }

        .display-6 {
            font-size: clamp(2rem, 3vw, 2.65rem);
        }

        .section-title {
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            border-radius: 50px;
        }

        .page-header {
            position: relative;
            overflow: hidden;
            min-height: 360px;
            display: flex;
            align-items: center;
            background-position: center !important;
            background-size: cover !important;
        }

       .page-header::before {
     background:
        linear-gradient(
            90deg,
            rgba(15, 35, 10, 0.78) 0%,
            rgba(40, 80, 25, 0.58) 45%,
            rgba(94, 159, 47, 0.30) 100%
        ) !important;
}
.page-header::after {
    background: rgba(94, 159, 47, 0.14) !important;
}

/* About section: proper gap between image and right content */
@media (min-width: 992px) {
    .container-xxl.py-5 .row.g-5 {
        --bs-gutter-x: 5rem;
    }

    .container-xxl.py-5 .col-lg-6 .h-100 {
        padding-left: 12px;
    }
}

        .page-header::after {
            content: "";
            position: absolute;
            width: 420px;
            height: 420px;
            right: -140px;
            bottom: -180px;
            border-radius: 50%;
            background: rgba(255,255,255,0.13);
            filter: blur(1px);
            z-index: 1;
        }

        .page-header .container {
            position: relative;
            z-index: 2;
        }

        .page-header h1 {
            font-size: clamp(2.5rem, 5vw, 4.3rem);
            font-weight: 800;
            text-shadow: 0 12px 35px rgba(0,0,0,0.22);
        }

        .breadcrumb {
            display: inline-flex;
            padding: 11px 22px;
            border-radius: 50px;
            background: rgba(255,255,255,0.14);
            backdrop-filter: blur(8px);
        }

        .breadcrumb a,
        .breadcrumb-item.active {
            font-weight: 600;
        }

        .container-xxl.py-5 {
            padding-top: 5.4rem !important;
            padding-bottom: 5.4rem !important;
        }

        .fact-item,
        .service-item {
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(13, 110, 253, 0.08);
            border-radius: 22px !important;
            box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
        }

        .fact-item::before,
        .service-item::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(145deg, rgba(13,110,253,0.10), transparent 46%);
            opacity: 0;
            transition: opacity 0.35s ease;
        }

        .fact-item:hover,
        .service-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--ciaagen-shadow-hover);
            border-color: rgba(13, 110, 253, 0.22);
        }

        .fact-item:hover::before,
        .service-item:hover::before {
            opacity: 1;
        }

        .fact-item i,
        .service-item i {
            position: relative;
            width: 76px;
            height: 76px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(13,110,253,0.03));
            box-shadow: inset 0 0 0 1px rgba(13,110,253,0.12);
            transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
        }

        .fact-item:hover i,
        .service-item:hover i {
            transform: rotate(-4deg) scale(1.05);
               background: linear-gradient(135deg, #5E9F2F, #7DBB3A) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(94,159,47,0.28) !important;
        }

        .fact-item h5,
        .service-item h4,
        .fact-item h5 {
            font-weight: 700;
            margin-bottom: 12px !important;
        }

        .fact-item p,
        .service-item p {
            margin-bottom: 0;
            font-size: 15px;
            line-height: 1.65;
        }

        .img-border {
            position: relative;
            border-radius: 28px;
            padding: 12px;
            background: linear-gradient(135deg, rgba(13,110,253,0.18), rgba(255,255,255,0.5));
            box-shadow: var(--ciaagen-shadow);
        }

        .img-border::before {
            content: "";
            position: absolute;
            width: 110px;
            height: 110px;
            top: -24px;
            left: -24px;
            border-radius: 28px;
            background: rgba(13, 110, 253, 0.11);
            z-index: -1;
        }

        .img-border::after {
            content: "";
            position: absolute;
            width: 150px;
            height: 150px;
            right: -18px;
            bottom: -18px;
            border-radius: 50%;
            background: rgba(13, 110, 253, 0.08);
            z-index: -1;
        }

        .img-border img {
            width: 100%;
            border-radius: 22px;
            object-fit: cover;
            min-height: 430px;
            transition: transform 0.55s ease, filter 0.55s ease;
        }

        .img-border:hover img {
            transform: scale(1.025);
            filter: saturate(1.08) contrast(1.03);
        }

        .row.g-3 .d-flex.align-items-center {
            min-height: 48px;
            padding: 11px 14px;
            border-radius: 14px;
            background: var(--ciaagen-soft);
            border: 1px solid rgba(13,110,253,0.08);
            font-weight: 600;
            color: var(--ciaagen-dark);
            transition: transform 0.3s ease, background 0.3s ease;
        }

        .row.g-3 .d-flex.align-items-center:hover {
            transform: translateX(5px);
            background: #e5f1ff;
        }

        .btn {
            font-weight: 700;
            letter-spacing: 0.2px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--ciaagen-primary), var(--ciaagen-primary-dark));
            border: 0;
            box-shadow: 0 13px 28px rgba(13,110,253,0.25);
        }

        .btn-primary:hover,
        .btn-light:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 38px rgba(13,110,253,0.28);
        }

        .bg-light {
            background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%) !important;
        }

        .skill {
            padding: 18px 20px;
            border-radius: 18px;
            background: #ffffff;
            box-shadow: 0 10px 28px rgba(16,32,51,0.06);
            border: 1px solid rgba(13,110,253,0.08);
        }

        .skill p {
            font-weight: 700;
            color: var(--ciaagen-dark);
        }

        .progress {
            height: 9px;
            border-radius: 50px;
            background: #e6eef8;
            overflow: hidden;
        }

        .progress-bar {
            border-radius: 50px;
            background: linear-gradient(90deg, #5E9F2F, #7DBB3A) !important;
        }
        
        .container-fluid.bg-primary {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--ciaagen-primary-dark), var(--ciaagen-primary)) !important;
            padding-top: 34px !important;
            padding-bottom: 34px !important;
        }

        .container-fluid.bg-primary::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 15% 30%, rgba(255,255,255,0.22), transparent 26%);
        }

        .container-fluid.bg-primary .container {
            position: relative;
            z-index: 1;
            gap: 18px;
        }

        .container-fluid.bg-primary h5 {
            color: #fff;
            font-size: clamp(1.15rem, 2vw, 1.45rem);
            font-weight: 700;
        }

        .back-to-top {
            box-shadow: 0 15px 30px rgba(13,110,253,0.28);
        }

        .breadcrumb-item a {
            color: rgba(255,255,255,0.88) !important;
            transition: 0.3s ease;
            font-weight: 600;
        }

       .breadcrumb-item a:hover {
    color: #b9f97c !important;
}

    .breadcrumb-item.active {
        color: #b8f27f !important;
        font-weight: 700;
    }

        @keyframes softFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        .page-header h1,
        .img-border::after {
            animation: softFloat 5.5s ease-in-out infinite;
        }

        @media (max-width: 991.98px) {
            .container-xxl.py-5 {
                padding-top: 4rem !important;
                padding-bottom: 4rem !important;
            }

            .page-header {
                min-height: 310px;
            }

            .img-border img {
                min-height: 320px;
            }

            .fact-item,
            .service-item {
                padding: 28px !important;
            }
        }

        @media (max-width: 575.98px) {
            body {
                font-size: 15px;
            }

            .page-header {
                min-height: 280px;
            }

            .breadcrumb {
                padding: 9px 14px;
                font-size: 13px;
            }

            .display-6 {
                font-size: 1.85rem;
            }

            .section-title {
                font-size: 12px;
                letter-spacing: 1px;
            }

            .img-border {
                padding: 8px;
                border-radius: 22px;
            }

            .img-border img {
                min-height: 260px;
                border-radius: 18px;
            }

            .container-fluid.bg-primary .container {
                justify-content: center !important;
                text-align: center;
            }
        }

        /* =================================
   ABOUT PAGE SECTION GAP REDUCE
================================= */

/* Main section spacing reduce */
.container-xxl.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

/* Reduce heading bottom spacing */
.text-center.mx-auto.mb-5 {
    margin-bottom: 2.2rem !important;
}

/* Reduce row gaps */
.row.g-5 {
    --bs-gutter-y: 2rem;
}

/* About section tighter */
.about-section,
.feature-section,
.facts-section {
    margin-bottom: 0 !important;
}

/* Reduce gap below page hero */
.page-header {
    margin-bottom: 3rem !important;
}

/* Reduce CTA section spacing */
.container-fluid.bg-primary.text-white.py-4 {
    padding-top: 1.8rem !important;
    padding-bottom: 1.8rem !important;
}

/* Mobile spacing */
@media (max-width: 768px) {

    .container-xxl.py-5 {
        padding-top: 2.8rem !important;
        padding-bottom: 2.8rem !important;
    }

    .page-header {
        margin-bottom: 2rem !important;
    }

    .text-center.mx-auto.mb-5 {
        margin-bottom: 1.8rem !important;
    }

    .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }
}


/* ================================
   PRODUCT DETAIL PAGE
================================ */

.product-detail-page {
    position: relative;
}

.product-image-box {
    background: linear-gradient(145deg, #f4faef, #ffffff);
    border: 1px solid rgba(94,159,47,0.14);
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 20px 55px rgba(16,32,51,0.10);
    text-align: center;
    transition: 0.4s ease;
}

.product-image-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(94,159,47,0.18);
}

.product-image-box img {
    max-height: 470px;
    object-fit: contain;
    transition: 0.4s ease;
}

.product-image-box:hover img {
    transform: scale(1.04);
}

.product-point {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4faef;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 700;
    color: #102033;
    border: 1px solid rgba(94,159,47,0.14);
    transition: 0.3s ease;
}

.product-point:hover {
    transform: translateX(5px);
    background: #eaf5e2;
}

.product-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(94,159,47,0.12);
    box-shadow: 0 14px 38px rgba(16,32,51,0.07);
    transition: 0.35s ease;
}

.product-card i {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(94,159,47,0.15), rgba(94,159,47,0.04));
    color: #5E9F2F;
    border-radius: 22px;
    font-size: 30px;
    margin-bottom: 22px;
    transition: 0.35s ease;
}

.product-card h5 {
    font-weight: 800;
    margin-bottom: 12px;
}

.product-card p {
    margin-bottom: 0;
    font-size: 15px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 65px rgba(94,159,47,0.18);
    border-color: rgba(94,159,47,0.30);
}

.product-card:hover i {
    background: linear-gradient(135deg, #5E9F2F, #7DBB3A);
    color: #ffffff;
    transform: rotate(-4deg) scale(1.06);
}

.info-list {
    display: grid;
    gap: 14px;
    margin-top: 25px;
}

.info-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fbf5;
    border: 1px solid rgba(94,159,47,0.13);
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 600;
    color: #102033;
}

.info-list i {
    color: #5E9F2F;
}

.product-info-box {
    background: #ffffff;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 20px 55px rgba(16,32,51,0.10);
    border: 1px solid rgba(94,159,47,0.14);
}

.product-info-box h4 {
    font-weight: 800;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #e9f2e2;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-row span {
    color: #64748b;
    font-weight: 600;
}

.detail-row strong {
    color: #102033;
    text-align: right;
}

@media (max-width: 768px) {
    .product-image-box {
        padding: 22px;
        border-radius: 22px;
    }

    .product-image-box img {
        max-height: 340px;
    }

    .detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .detail-row strong {
        text-align: left;
    }

    .product-detail-page .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* =================================
   PRODUCTS DROPDOWN PREMIUM STYLE
================================= */

.navbar .dropdown-menu {
    min-width: 265px;
    padding: 12px 0;
    border: none;
    border-radius: 5px !important;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    overflow: hidden;
    margin-top: 12px !important;
}

/* dropdown items */
.navbar .dropdown-item {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #102033 !important;

    padding: 10px 20px;
    transition: 0.3s ease;

    display: flex;
    align-items: center;
}

/* subtle divider */
.navbar .dropdown-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

/* hover */
.navbar .dropdown-item:hover {
    background: linear-gradient(
        90deg,
        rgba(94,159,47,0.12),
        rgba(94,159,47,0.04)
    );

    color: #5E9F2F !important;

    padding-left: 28px;
}

/* active dropdown item */
.navbar .dropdown-item.active {
    background: rgba(94,159,47,0.10);
    color: #5E9F2F !important;
    border-left: 3px solid #5E9F2F;
}

/* dropdown animation */
@media (min-width: 992px) {

    .navbar .dropdown-menu {
        opacity: 0;
        visibility: hidden;

        transform: translateY(12px);

        transition: 0.35s ease;
        display: block;
    }

    .navbar .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }
}

/* mobile dropdown */
@media (max-width: 991px) {

    .navbar .dropdown-menu {
        min-width: 100%;
        margin-top: 8px !important;

        border-radius: 5px !important;

        background: #f8fbf5;
        box-shadow: none;
    }

    .navbar .dropdown-item {
        font-size: 14px;
        padding: 12px 16px 12px 20px;
    }

    .navbar .dropdown-item:hover {
        padding-left: 24px;
    }
}

/* =================================
   WHY PRODUCT STANDS OUT - MOBILE
================================= */

@media (max-width: 768px) {

    /* 2 columns */
    .why-products-section .row > div,
    section.py-5.bg-light .row > div {
        width: 50%;
        flex: 0 0 50%;
    }

    /* spacing + alignment */
    section.py-5.bg-light .row {
        row-gap: 22px;
    }

    section.py-5.bg-light h6 {
        font-size: 15px;
        margin-top: 10px;
        line-height: 1.4;
    }

    section.py-5.bg-light i {
        font-size: 28px !important;
    }
}

/* =================================
   HOME PAGE IMAGE OVERFLOW FIX
================================= */

@media (max-width: 768px) {

    /* ABOUT + WHY CHOOSE image container */
    .img-border {
        min-height: auto !important;
        height: auto !important;

        margin-bottom: 20px;
    }

    /* remove oversized positioning */
    .img-border::before {
        right: 1rem !important;
        bottom: 1rem !important;
    }

    /* image fix */
    .img-border img {
        position: relative !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: auto !important;

        max-height: 320px;
        object-fit: cover;

        border-radius: 18px;
    }
}

/* =================================
   ABOUT PAGE ABOUT IMAGE CENTER FIX
================================= */

/* add this class to about section wrapper */
.about-main-section .row {
    align-items: center !important;
}

/* reset old img-border absolute positioning */
.about-main-section .img-border {
    min-height: auto !important;
    height: auto !important;
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* remove old border positioning issue */
.about-main-section .img-border::before {
    display: none !important;
}

/* make image normal + centered */
.about-main-section .img-border img {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    width: 100% !important;
    height: auto !important;
    max-height: 480px !important;

    object-fit: cover !important;
    border-radius: 22px !important;
}

/* =================================
   CONTACT PAGE LAYOUT
================================= */

.contact-form-box,
.contact-info-box {
    background: #ffffff;
    border-radius: 26px;
    padding: 35px;
    border: 1px solid rgba(94,159,47,0.14);
    box-shadow: 0 18px 45px rgba(16,32,51,0.08);
}

.contact-form-box .form-control {
    border-radius: 14px;
    border: 1px solid #e3eadf;
    min-height: 58px;
}

.contact-form-box textarea.form-control {
    min-height: 170px;
}

.contact-form-box .form-control:focus {
    border-color: #5E9F2F;
    box-shadow: 0 0 0 0.2rem rgba(94,159,47,0.13);
}

.contact-info-box {
    background: linear-gradient(145deg, #f8fbf5, #ffffff);
}

.contact-info-box h4 {
    font-weight: 800;
    color: #102033;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e6f0df;
}

.contact-info-item:last-child {
    border-bottom: 0;
}

.contact-icon {
    min-width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #5E9F2F, #7DBB3A);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 12px 25px rgba(94,159,47,0.22);
}

.contact-info-item h6 {
    margin-bottom: 5px;
    font-weight: 800;
    color: #102033;
}

.contact-info-item a,
.contact-info-item p {
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #5E9F2F;
}

.map-box {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(94,159,47,0.14);
    box-shadow: 0 18px 45px rgba(16,32,51,0.08);
}

@media (max-width: 768px) {
    .contact-form-box,
    .contact-info-box {
        padding: 24px;
        border-radius: 22px;
    }

    .contact-info-item {
        gap: 14px;
    }

    .contact-icon {
        min-width: 48px;
        height: 48px;
        border-radius: 15px;
    }
}

/* contact social */

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.contact-social a {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #eef6e8;
    color: #5E9F2F;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;

    text-decoration: none;
}

.contact-social a:hover {
    background: linear-gradient(135deg, #5E9F2F, #7DBB3A);
    color: #ffffff;

    transform: translateY(-3px);
}

/* =======
   CERTIFiCATION CAROUSEL DoT TEXT FIX
=== */

.owl-dots button span,
.owl-dot span {
    font-size: 0 !important;
    line-height: 0 !important;
}

/* extra safety */
.owl-dot {
    text-indent: -9999px;
    overflow: hidden;
}
/* =================================
   PREMIUM HOME CTA SECTION
================================= */

.home-cta-section {
    position: relative;

    min-height: 380px;
    overflow: hidden;
}

/* overlay */
.home-cta-overlay {
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(7, 16, 30, 0.88) 0%,
            rgba(16, 32, 51, 0.76) 45%,
            rgba(28, 52, 84, 0.62) 100%
        );
}

/* glow effect */
.home-cta-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    right: -140px;

    border-radius: 50%;

    background: rgba(255,255,255,0.06);

    filter: blur(20px);
}

/* heading */
.home-cta-section h5 {
    color: #ffffff;

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    font-weight: 800;

    line-height: 1.3;
}

/* paragraph */
.home-cta-section p {
    color: rgba(255,255,255,0.78);

    font-size: 17px;

    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
}

/* button */
.home-cta-btn {
    background: #ffffff;

    color: #102033 !important;

    font-weight: 800;

    border: 2px solid #ffffff;

    transition: 0.35s ease;

    box-shadow: 0 16px 40px rgba(0,0,0,0.24);
}

/* hover */
.home-cta-btn:hover {
    background: linear-gradient(
        135deg,
        #102033,
        #18314f
    );

    color: #ffffff !important;

    border-color: rgba(255,255,255,0.35);

    transform: translateY(-5px);

    box-shadow: 0 20px 48px rgba(10,20,35,0.40);
}

/* mobile */
@media (max-width: 768px) {

    .home-cta-section,
    .home-cta-overlay {
        min-height: 330px;
    }

    .home-cta-section h5 {
        font-size: 1.7rem;
    }

    .home-cta-section p {
        font-size: 15px;
    }
}