/********** Template CSS **********/

:root {
    --primary: #F2962E;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}
div.container-fluid.py-5{
padding: 5px !important;

}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

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

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

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

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

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

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

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

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

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

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

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

/*MY CUSTOM CSS FOR SLIDER*/
body {
    margin: 0;
    /* Remove default browser margins */
}

.navbar {
    margin-bottom: 0;
    /* Ensure header has no bottom gap */
    padding-bottom: 0;
}

.hero-header {
    position: relative;
    background: none;
    /* Avoid conflict with products.php bg-primary */
    padding-top: 0;
    /* Remove top padding */
    margin-top: 0;
    /* Remove top margin */
    margin-bottom: 0;
    /* Remove bottom margin */
    top: 0;
    /* Align to top */
}

.hero-slide {
    position: relative;
    height: 480px;
    /* Reduced 20% from 600px */
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    /* Gradient overlay */
    z-index: 1;
}

.text-box {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 45%;
    background: rgba(142, 192, 69, 0.9);
    /* Green #8EC045 */
    padding: 30px;
    color: #fff;
    z-index: 10;
    border-radius: 10px;
    text-align: left;
    /* Left-align text */
}
/*SLIDER CSS*/
.text-boxz {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    /* Increased width for better readability */
    padding: 20px;
    color: #fff;
    z-index: 10;
    text-align: center;
}

/* Center the animated line */
.animated-line {
    margin: 0 auto !important;
    /* Center the hr element */
    width: 50px;
    /* Adjust width as needed */
}

/* Center the button container */
.button-container {
    display: flex !important;
    justify-content: center !important;
    /* Center horizontally */
    align-items: center !important;
    /* Center vertically */
    gap: 10px;
    /* Space between icon and button */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .text-boxz {
        width: 90%;
        /* Wider on mobile for better fit */
        padding: 15px;
    }

    .text-boxz h1 {
        font-size: 1.5rem;
        /* Reduce heading size */
        margin-bottom: 1rem;
    }

    .text-boxz h5 {
        font-size: 1rem;
        /* Reduce subheading size */
        margin-bottom: 0.75rem;
    }

    .animated-line {
        width: 40px;
        /* Slightly smaller line on mobile */
    }

    .button-container .btn {
        font-size: 0.9rem;
        /* Smaller button text */
        padding: 8px 16px;
        /* Smaller padding for button */
    }
}

@media (max-width: 576px) {
    .text-boxz h1 {
        font-size: 1.2rem;
        /* Further reduce for smaller screens */
    }

    .text-boxz h5 {
        font-size: 0.9rem;
    }

    .button-container .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}


/*END SLIDER CSS*/


.text-box h5 {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.text-box h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.animated-line {
    background-color: #fff;
    height: 4px;
    width: 0;
    margin: 0;
    border: none;
}

.carousel-item.active .animated-line {
    animation: expandLine 1s forwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left-align button */
}

.arrow-icon {
    color: #FEC92B;
    font-size: 1rem;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    margin-right: 10px;
}

.carousel-item.active .arrow-icon {
    animation: pulseArrow 1.5s infinite;
}

@keyframes pulseArrow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.carousel-item.active .text-box h5 {
    animation: animate__fadeInDown 0.5s;
}

.carousel-item.active .text-box h1 {
    animation: animate__fadeInLeft 0.7s;
}

.carousel-item.active .button-container .btn {
    animation: animate__fadeInUp 0.9s;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.8;
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .hero-slide {
        height: 300px;
        /* Reduced 20% from 400px */
    }

    .text-box {
        width: 45%;
        /* Slightly smaller than desktop */
        left: 5%;
        padding: 15px;
        /* Reduced for more top/bottom space */
    }

    .text-box h5 {
        font-size: 0.8rem;
        /* Reduced for better fit */
    }

    .text-box h1 {
        font-size: 1.5rem;
        /* Reduced for better fit */
    }

    .button-container .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .arrow-icon {
        font-size: 0.8rem;
        padding: 4px;
        margin-right: 8px;
    }
    .container-fluid.hero-header.py-5 {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }
}
.container-fluid.hero-header.py-5 {
    padding: 0 !important;
}
/*END MY CUSTOM CSS*/

/*FLOATING BUTTON */
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    /* WhatsApp green */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #20b858;
    /* Slightly darker green on hover */
}

/* Optional Pulse Animation */
.whatsapp-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

