body, html {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.logo {
    max-height: 60px;
}

.navbar {
/* background: linear-gradient(90deg, #09a7f2, #81bc11); */
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin: 5px;
    color: red!important;
}

.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    color: #09a7f2;
}


.navbar-nav .nav-link:hover {
    color: #81bc11;
    /* text-decoration: underline; */
}

header {
    background: linear-gradient(90deg, #09a7f2, #81bc11);
    color: white;
    text-align: center;
    padding: 170px 20px;
    position: relative;
}

header h1 {
    font-size: 3rem;
}

.btn-primary {
    background: #09a7f2;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.4s ease;
    will-change: transform;
}

.btn-primary:hover {
    background: #81bc11;
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.slider {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Optional overlay */
.slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 1;
}

.slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s ease-in-out;
    z-index: 2; /* Above overlay */
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    padding: 20px;
    position: relative;
}

.slider .slide span{
    font-size: 45px;
    font-weight: 600;
}

.slider .slide p {
    font-size: 25px;
    color: #e2e2e2;
    margin-top: 15px;
    font-family: system-ui;
    font-weight: 100;
}

.arrow_buttons {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.arrow_buttons button {
    background: rgb(0 0 0 / 0%);
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
}

.arrow_buttons button:hover {
    background: rgba(241, 241, 241, 0);
}

@media (max-width: 768px) {
    .slide h1 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

h2{
    color: #09a7f2;
}


section {
    padding: 80px 20px;
}

#services .card, #why-us .card {
    transition: 0.4s;
    border-radius: 15px;
}

#services .card:hover, #why-us .card:hover{
    background: linear-gradient(135deg, #09a7f2, #81bc11);
    color: white!important;
    transform: scale(1.05);
}

.footer {
    background: url('../img/home/2670.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #09a7f2!important;
    text-align: center;
    padding: 20px 0;
}

.footer i{
    color: #09a7f2;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.icon{
    color: #09a7f2!important;
}

#why-us i :hover{
    color: #ffffff!important;
}
#services .card:hover .icon, #why-us .card:hover .icon {
    color: white !important;
    transform: (1.05);
}

.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group .input-box {
    width: 48%;
    margin-bottom: 15px;
}

.formLabel {
    font-weight: bold;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
}

.error {
    color: red;
    font-size: 14px;
    display: none;
}

.submitForm {
    width: 40%;
    background-color: #09a7f2!important;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.submitForm:hover {
    background: #81bc11!important;
    transform: scale(1.00);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-group {
        flex-direction: column;
    }
    .form-group .input-box {
        width: 100%;
    }
}

.loader {
    border: 3px solid #f0baba;
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#contact {
    background: url('../img/home/2670.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Enables the parallax scrolling effect */
    padding: 80px 20px;
    text-align: center;
}
#why-us{
    background: url('../img/home/Background06.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* #footer{
    background: url('assets/img/home/footer.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
} */

/*@media (max-width: 768px) {
    #contact {
        background-attachment: scroll;
    }
    #why-us{
        background-attachment: scroll;
    }
}*/

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px; 
    background-color: #25d366;
    color: white;
    font-size: 30px;
    padding: 6px 16px;
    border-radius: 50%;
    text-align: center;
    box-shadow: inset -2px 1px 5px 3px rgba(0, 0, 0, 0.2);
    opacity: 0;
    display: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;    
}

.whatsapp-float.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Enable clicks when visible */
}
.whatsapp-float:hover {
    background-color: #1ebe5d;
}
