

*, html {
    scroll-behavior: smooth;
}

    *, *:after, *:before {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

::-webkit-scrollbar {
    height: 12px;
    width: 8px;
    background: var(--dark);
}


::-webkit-scrollbar-thumb {
    background: gray;
    -webkit-box-shadow: 0px 1px 2px var(--dark);
}

::-webkit-scrollbar-corner {
    background: var(--dark);
}

/* Body */
body {
    overflow-x: hidden;
}

/*NAVBAR*/
.navbar {
    border-bottom: #008ed6 3px solid;
    opacity: 0.8;
}

.navbar-brand {
    font-size: 18px;
    text-transform: uppercase;
}

.navbar .nav-link {
    font-size: 14px;
    text-transform: uppercase;
    padding-left: 1rem !important;
    padding-right: 0.5rem !important;
}

.navbar a:hover {
    font-size: 1rem;
    background-color: skyblue;
    border-radius: 1rem;
}

.navbar .nav-item.active {
    border-left: #444 3px solid;
}

.nav-pills .nav-item {
    transition: all 0.3s ease-in-out;
}

.nav-item:hover {
    border-radius: 5px;
    transform: scale(1.05);
}

    .nav-item:hover .nav-link h6 {
        color: darkred !important;
        transition: color 0.3s ease-in-out;
    }

}


/* HOME CAROUSEL SECTION*/

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    height: 200px;
}

.carousel-image-1 {
    background: url('../img/image6.jpg');
    background-size: cover;
}

.carousel-image-2 {
    background: url('../img/image12.jpg');
    background-size: cover;
}

.carousel-image-3 {
    background: url('../img/image5.jpg');
    background-size: cover;
}

.carousel-image-4 {
    background: url('../img/image4.jpg');
    background-size: cover;
}

#showcase h1 {
    font-size: 30px;
}

#showcase p {
    font-size: 15px;
}

/* HOME HEADING SECTION */
#home-heading {
    position: relative;
    min-height: 50px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
}

/* HOME ICON SECTION*/
#icon-boxes .card-body h3 {
    text-align: center;
}

#icon-boxes .card-body p {
    text-align: left;
}

#home-section .home-inner {
    padding-top: 50px;
}

#home-section .fas {
    color: #008ed6;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

#home-section h1, h4 {
    color: #fff;
}

#home-icons {
    background-color: rgb(240, 247, 252);
}

#home-body {
    background-color: rgb(240, 247, 252);
}

#about-home {
    background-color: rgb(240, 247, 252);
}

#home-heading {
    background-color: rgb(240, 247, 252);
    border-bottom: #008ed6 0.5px;
    border-top: none;
    opacity: 0.8;
}

    #home-heading h2, h4 {
        color: black;
    }

#about-home .btn {
    border-radius: 10px;
    text-align: left;
}

#home-services {
    background-color: rgb(240, 247, 252);
}

    #home-services .card {
        border-radius: 1rem;
        box-sizing: border-box;
        height: 12rem;
        width: 20rem;
        margin-bottom: 10px;
        border-color: aqua;
    }

    #home-services .card {
        transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
        border: none; /* Optional: Remove default border for a cleaner look */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */
        border-radius: 10px; /* Rounded corners for a modern look */
    }

        #home-services .card:hover {
            background-color: darkred; /* Background color on hover */
            color: #ffffff; /* Text color on hover */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow effect */
            transform: translateY(-5px); /* Slight lift effect */
        }

            #home-services .card:hover .card-title h6,
            #home-services .card:hover .card-text {
                color: #ffffff; /* Ensure text changes to white on hover */
            }

    #home-services .card-title h6, .card-text {
        transition: color 0.3s ease-in-out; /* Smooth color transition for text */
    }


    #home-services .btn {
        border-radius: 10px;
    }

#home-contact {
    background-color: rgb(240, 247, 252);
}


    #home-contact img {
        border-radius: 50%;
    }

    #home-contact .card {
        border: none;
    }

    #home-contact .card {
        font-size: small;
    }

    #home-contact .nav-link h6 {
        font-size: small;
        line-height: 1px;
    }

    #home-contact .card-title {
        margin-left: -14rem;
        text-decoration: underline;
        text-underline-offset: 10px;
    }

    #home-contact a {
        text-align: center;
        color: #fff;
    }

    #home-contact .card {
        background-color: rgb(240, 247, 252);
    }

    #home-contact .btn {
        border-radius: 10px;
        margin-left: 10rem;
        margin-top: 5rem;
    }

    #home-contact .card-title {
        padding-left: 6rem;
    }

    #home-contact .nav-pills {
        margin-left: 8rem;
    }

    #home-contact .nav-link {
        margin-left: 0.2rem;
    }

/* Home Footer */

/* Footer Styling */
.footer {
    background: #444;
    padding: 20px 0; /* Add padding */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Footer Text Animation */
.footer-text {
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .footer-text:hover {
        transform: translateY(-5px); /* Move text up slightly on hover */
        color: #da5151; /* Change color on hover */
    }

.matz-text {
    color: #da5151; /* MATZ text color */
    font-weight: bold;
    transition: color 0.3s ease;
}

    .matz-text:hover {
        color: #ff6b6b; /* Change MATZ text color on hover */
    }

/* Navigation Links Styling */
.footer-link {
    font-size: 1rem;
    margin: 0 10px; /* Add spacing between links */
    padding: 8px 16px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

    .footer-link:hover {
        background-color: #da5151; /* Background color on hover */
        color: #fff !important; /* Text color on hover */
        transform: translateY(-3px); /* Move link up slightly on hover */
        text-decoration: none; /* Remove underline */
    }

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        text-align: center; /* Center align on smaller screens */
    }

        .footer .nav {
            justify-content: center; /* Center navigation links */
            margin-top: 10px; /* Add spacing between text and links */
        }

    .footer-link {
        margin: 5px; /* Reduce spacing between links on smaller screens */
    }
}

#main-footer {
    background: #444;
    color: #fff;
}

/*about Page*/
#about {
    background-color: rgb(245, 250, 251);
}

    #about h1 {
        margin-top: 25px;
        color: rgb(33, 185, 231);
        font-weight: bold;
    }

h2.what-we-do {
    display: inline-block;
    position: relative;
    color: black;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

    h2.what-we-do::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100%;
        height: 100%;
        background-color: #007bff; /* Change to your preferred hover color */
        z-index: -1;
        transition: transform 0.4s ease-in-out;
        transform: scaleX(0);
        transform-origin: left;
    }

    h2.what-we-do:hover {
        color: darkred;
    }

        h2.what-we-do:hover::after {
            transform: scaleX(1);
        }

.what-do .card {
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 10px;
    overflow: hidden;
    border: none; /* Remove default border */
}

    .what-do .card:hover {
        transform: translateY(-10px); /* Slight lift on hover */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    }

.what-do .card-body {
    text-align: center;
    transition: background 0.4s ease-in-out, color 0.3s ease-in-out;
}

.what-do .card:hover .card-body {
    background: red; /* Background color change */
    color: white; /* Text color change */
}

.what-do .card img {
    width: 80px; /* Adjust image size */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.what-do .card:hover img {
    transform: scale(1.1); /* Slight zoom effect */
}


#about-image h2 {
    color: rgb(33, 37, 47)
}

#about-image {
    background-color: rgb(245, 250, 251);
}


    #about-image img {
        border-radius: 50%;
        margin-top: 7rem;
        margin-right: 2rem;
    }

#vision-mission {
    background-color: rgb(245, 250, 251);
}

    #vision-mission .card {
        text-align: left;
        height: 15rem;
        width: 32rem;
        border-color: aqua;
        border-radius: 2rem;
        box-sizing: border-box;
        overflow: hidden;
        margin-top: 2rem;
    }


/* Services Page */
#services {
    background-color: rgb(240, 247, 252);
}

    #services .card-title .card-subtitle {
        color: rgb(6, 42, 78);
    }

    #services .card {
        border-radius: 1rem;
        box-sizing: border-box;
        height: 12rem;
        width: 15rem;
    }


.feature-service {
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Default shadow */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    border: none;
    padding: 20px;
}

    .feature-service:hover {
        transform: translateY(-8px); /* Slight lift effect */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Stronger shadow */
        background: #3d61ad; /* Background color change */
        color: white; /* Text color change */
    }

    .feature-service .card-body {
        transition: background 0.4s ease-in-out, color 0.3s ease-in-out;
    }

    .feature-service:hover .card-body {
        background: #3d61ad; /* Background change */
        color: white;
    }

    .feature-service img {
        width: 60px; /* Adjust icon size */
        height: auto;
        transition: transform 0.3s ease-in-out;
    }

    .feature-service:hover img {
        transform: scale(1.2); /* Slight zoom effect */
    }

/* Login Page */
#forgetpwd #Login {
    background-color: rgb(240, 247, 252);
}

#Login .card {
    margin-top: 50px;
    border-radius: 50px;
    height: 500px;
}

#login-page .card {
    border-color: black;
    border-width: 2px;
}

#forgetpwd .card {
    margin-top: 50px;
    border-radius: 50px;
    height: 500px;
}

#forgetpwd1 .card {
    border-color: black;
    border-width: 2px;
}

#login-page .form-control {
    border: none;
    border-bottom: 2px solid skyblue;
    padding-bottom: 5px;
    border-radius: 0;
}


#forgetpwd .form-control {
    border: none;
}

#forgetpwd1 .form-control {
    border: none;
    border-bottom: 2px solid skyblue;
    padding-bottom: 5px;
    border-radius: 0;
}

/*Contact*/
#contact {
    background-color: rgb(240, 247, 252);
}

    #contact .card {
        border-color: aquamarine;
        border-width: 0.1rem;
        margin-bottom: -1rem;
        border-radius: 5rem;
    }

    #contact .btn-block {
        width: 10rem;
        border-radius: 5rem;
        margin-top: 1rem;
        background-color: aquamarine;
        color: black;
        height: 3rem;
    }

        #contact .btn-block:hover {
            background-color: rgb(74, 186, 238);
        }

/* Contact Links */
#contact-links .card-title {
    margin-left: -14rem;
    text-decoration: underline;
    text-underline-offset: 10px;
}

#contact-links .card-body h6 {
    font-size: small;
}

#contact-links .nav-link h6 {
    font-size: small;
    line-height: 1px;
}

#contact-links .card {
    border: none;
}

#contact-footer {
    background-color: white;
}


/** Login Page**/
#Login {
    background-color: rgb(249, 246, 246);
    border: none;
}

    #Login .card {
        border-radius: 25px;
    }

/** Login Footer**/
#login-footer {
    background-color: crimson;
}

/* LOGIN CAROUSEL SECTION*/
#Login .carousel-item {
    height: 425px;
}


#login-navbar .navbar {
    height: 55px;
    border-bottom: rgb(134, 132, 132);
}

/* Sign up section*/
#signup-section {
    padding-top: 3rem;
}

    #signup-section h1 {
        color: black
    }

    #signup-section h4 {
        color: black
    }

#signup-section {
    background: url('../img/signup3.jpg');
    background-size: cover;
}

    #signup-section h4 {
        color: black;
    }

    #signup-section .card {
        background-color: rgb(156, 222, 243);
        border-radius: 3rem;
    }

    #signup-section .btn, .form-control {
        border-radius: 5rem;
    }


.main-heading {
    text-align: center; /* Aligns the text to the center */
    margin-bottom: 100px;
    color: darkred;
    transition: color 0.3s ease; /* Smooth transition for color change */
}

    .main-heading:hover {
        color: #ff5722;
    }

.main-service {
    color: darkred;
    transition: color 0.3s ease; /* Smooth transition for color change */
}



    .main-service:hover {
        color: #ff5722;
    }


.custom-btn {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

    .custom-btn:hover {
        background-color: #28a745; /* Darker shade of green for hover */
        color: #fff; /* Change text color if needed */
        transform: scale(1.05); /* Slightly increase the size of the button */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Add a stronger shadow on hover */
    }


.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed black !important;
}


.bg-light span {
    color: #333D79FF;
    font-weight: 700;
}

.bg-light i {
    color: #333D79FF !important;
}

.contact-box {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */
}

    .contact-box:hover {
        transform: translateY(-5px); /* Move the box up slightly */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    }

.email-link {
    color: #333D79FF; /* Blue color */
    font-weight: 700;
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

    .email-link:hover {
        color: #0056b3; /* Darker blue on hover */
        text-decoration: underline; /* Underline on hover */
    }

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 185, 142, 0.1); /* Light green background */
    border-radius: 50%; /* Circular icon */
    transition: background-color 0.3s ease-in-out;
}

.contact-box:hover .icon {
    background-color: rgba(0, 185, 142, 0.2); /* Darker green on hover */
}

iframe {
    filter: grayscale(50%); /* Add a subtle grayscale effect */
    transition: filter 0.3s ease-in-out;
}

    iframe:hover {
        filter: grayscale(0%); /* Remove grayscale on hover */
    }


.home-navigate:hover {
    background: none !important;
}


.hover-effect {
    color: darkred; /* Default color */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

    .hover-effect:hover {
        color: red; /* Change to blue on hover */
    }
