@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/*============================================================================================
                        STYLING STARTS
=============================================================================================*/

* {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}
body {
    color: #191b26;
    margin: 0;
    padding: 0;
    background: var(--light-bg);
}

html {
    line-height: 1.5;
    -moz-tab-size: 4;
    tab-size: 4;
    -webkit-text-size-adjust: 100%;
    font-size: 68.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

section {
    padding: 5rem 5%;
    overflow-x: hidden;
}

.heading {
    margin-bottom: 2rem;
    font-size: 3rem;
    color: var(--black);
    text-transform: capitalize;
    padding-left: 1rem;
    border-left: 1rem solid var(--blue);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background-color: var(--blue);
    color: var(--white);
    cursor: pointer;
    font-size: 1.7rem;
    text-transform: capitalize;
}
.btn:hover {
    background: var(--black);
    color: var(--white);
}
/*==========================================================================================
                                    Keyframes Animations
===========================================================================================*/
@keyframes fadeIn {
    0% {
        top: 50%;
        opacity: 0;
    }
}

@keyframes fadeIn_Partners_section {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WebKit browsers (Chrome, Safari) */
html::-webkit-scrollbar {
    width: 1rem; /* Width of the scrollbar */
    background-color: transparent; /* Make the track background transparent */
}

html::-webkit-scrollbar-thumb {
    background-color: var(--blue); /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners */
    border: 3px solid transparent; /* Creates space between the thumb and track */
    transition: background-color 0.3s; /* Smooth color transition on hover */
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-blue); /* Darker shade on hover */
}

html::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Light background for the track */
    border-radius: 10px; /* Rounded corners for the track */
}

/* Firefox */
html {
    scrollbar-width: 1rem;
    scrollbar-color: var(--blue) rgba(0, 0, 0, 0.1); /* Thumb color and track color */
}

/* Edge (uses WebKit styles) */
@supports (-ms-ime-align: auto) {
    html::-ms-scrollbar {
        width: 12px; /* Width of the scrollbar */
    }

    html::-ms-scrollbar-track {
        background: rgba(0, 0, 0, 0.1); /* Light background for the track */
        border-radius: 10px; /* Rounded corners for the track */
    }

    html::-ms-scrollbar-thumb {
        background: var(--blue); /* Color of the scrollbar thumb */
        border-radius: 10px; /* Rounded corners */
        border: 3px solid transparent; /* Creates space between the thumb and track */
    }

    html::-ms-scrollbar-thumb:hover {
        background: var(--dark-blue); /* Darker shade on hover */
    }
}


/*============================================================================================
                                FOOTER SECTION STYLING
=============================================================================================*/
.footer {
    background-color: var(--blue); /* Use your primary brand color */
    color: var(--white);
    text-align: center; /* Center text for a modern look */
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between; /* Space between elements */
    max-width: 1200px; /* Constrain width for larger screens */
    margin: 0 auto; /* Center footer on larger screens */
}

.footer-logo {
    background-color: rgba(255, 255, 255, 1); /* Light background with transparency */
    padding: 0.5rem; /* Add some padding */
    border-radius: 5px; /* Optional: rounded corners */
    display: inline-block; /* Ensure it wraps around the logo */
}

.footer-logo img {
    max-width: 150px; /* Adjust logo size */
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1; /* Allow equal distribution */
    min-width: 200px; /* Set a minimum width */
    margin: 1rem; /* Space around sections */
}

.footer-links ul,
.footer-social ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
}

.footer-links ul li {
    font-size: 1.4rem;
}

.footer-social ul {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-contact p {
    font-size: 1.4rem;
}

.footer-links a,
.footer-social a {
    color: var(--white);
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition */
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--light-gray); /* Change color on hover */
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 1.3rem; /* Smaller text for copyright */
}

/*============================================================================================
                                TOAST NOTIFICATION STYLING
=============================================================================================*/
/* Basic Styling for Toast */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: rgb(60, 161, 60);
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 20;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Toast visible on success */
.toast.show {
    visibility: visible;
    opacity: 1;
}


/*============================================================================================
                                MEDIA QUERIES SECTION
=============================================================================================*/
@media (max-width: 1200px) {
    .header {
        padding: 1.5rem 2rem;
    }
    section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack elements on small screens */
        align-items: start; /* Center items */
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: start; /* Center text for better readability */
        margin: 1rem 0; /* Space around stacked sections */
    }

    .footer-social ul {
        align-items: center;
        justify-content: flex-start;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 65%;
    }

    /* reviews section */
    .client-reviews .clients-container .client-images .client-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
}
