* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
}

body {
    background-image: url('assets/photo-1551135049-8a33b5883817.avif');
    background-size: 100vw 100vh;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* Side menu styling */
.side-menu {
    height: 100%; /* Full height */
    width: 0; /* Initially hidden */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #111; /* Black background */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* Smooth slide-in effect */
    padding-top: 60px; /* Add some top padding */
}

.side-menu a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #f1f1f1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Menu icon styling */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    z-index: 2;
    /* background-color: #fff; */
    padding: 10px 15px;
    border-radius: 5px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 150px; */
}

.scale-button {
    position: relative;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    color: white;
    background: none;
    border: 2px solid #3A5D89;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    background: #fff;
    padding: 10px;
    }

.scale-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    color: #000 ;
    font-size: 1rem;
}

.scale-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3A5D89;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 0;
}

.scale-button:hover .scale-bg {
    transform: scale(1);
    color: #fff ;
}
.scale-button:hover .scale-text {
    
    color: #fff ;
}


/* Responsive Design */
@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .button-wrapper {
        /* min-height: 120px; */
    }
    .scale-text {
        position: relative;
        z-index: 1;
        transition: color 0.3s ease;
        color: #fff ;
        font-size:0.5rem;
    }
    .scale-button {
        position: relative;
        padding: 0px;
        font-size: 0rem;
        color: white;
        /* background: none; */
        border: 2px solid #3A5D89;
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;
        background: #3A5D89;
        width: 100%;
    }
}

/* CSS for the logo */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    /* Adjust width based on your logo size */
    height: auto;
    z-index: 2;
    background-color: #fff;
    border-radius: 50%;
    /* Ensure the logo stays on top of other content */
    /* background-color: rgba(255, 255, 255, 1); */
    /* box-shadow: 10px #fff; */
}


/* .background {
        position: relative;
        background-image: url('assets/photo-1551135049-8a33b5883817.avif');
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        height: 110%;
        justify-content: center;
        align-items: center;
    } */



.tree li a img {
    width: 15vw;
    height: 10vw;
    /* Space between icon and text */
    vertical-align: middle;
    /* Align icons with text */
}

.tree {
    width: 100%;
    height: 110vh;
    align-items: center;
    justify-content: center;
    display: flex;
    overflow: auto;
    padding-bottom: 50px;

}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}

/* Connectors */
.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #fff;
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #fff;
}

/* Remove connectors for single children */
.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 2px solid #fff;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #fff;
    width: 0;
    height: 20px;
}

/* Style for links */
.tree li a {
    /* border: 1px solid #fff; */
    /* padding: 10px 15px; */
    text-decoration: none;
    color: #000;
    /* Changed text color to white for contrast */
    font-weight: 800;
    font-family: Arial, Verdana, Tahoma;
    font-size: 14px;
    display: inline-grid;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    /* background: linear-gradient(135deg, #fff, #fff); */
    /* Gradient background */
    transition: all 0.5s;
    width: 20vw;
    height: 15vw;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

/* Hover effect */
.tree li a:hover {
    /* background: linear-gradient(135deg, #de74a8, #ff6f61); */
    /* Invert gradient on hover */
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); */
}

/* Optional hover effects */
.tree li a:hover,
.tree li a:hover+ul li a {
    /* background: rgba(255, 255, 255, 0.2); */
    /* Add a slight transparent white on hover */
    /* color: #fff; */
    /* border: 1px solid rgba(255, 255, 255, 0.8); */
}

.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before {
    /* border-color: rgba(255, 255, 255, 0.8); */
}

/* Media Queries for Responsiveness */
@media (max-width: 800px) {
    .logo {
        width: 80px;
    }

    .tree {
        width: 100%;
        height: 50vh;
        align-items: center;
        justify-content: center;
        display: flex;
        overflow: auto;
        padding-bottom: 50px;
    }

    .tree li {
        padding: 10px 3px;
    }

    .tree li a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .tree li a {
        /* border: 1px solid #fff; */
        /* padding: 10px 15px; */
        text-decoration: none;
        color: #000;
        /* Changed text color to white for contrast */
        font-weight: 800;
        font-family: Arial, Verdana, Tahoma;
        font-size: 10px;
        display: inline-grid;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        /* background: linear-gradient(135deg, #fff, #fff); */
        /* Gradient background */
        transition: all 0.5s;
        width: 25vw;
        height: 20vw;
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    }

    .tree li a img {
        width: 20vw;
        height: 15vw;
        /* Space between icon and text */
        vertical-align: middle;
        /* Align icons with text */
    }
}

@media (max-width: 400px) {
    .logo {
        width: 70px;
    }

    .tree {
        width: 100%;
        height: 50vh;
        align-items: center;
        justify-content: center;
        display: flex;
        overflow: auto;
        padding-bottom: 50px;
    }

    .tree li {
        padding: 5px 2px;
    }

    .tree li a {
        padding: 5px 10px;
        font-size: 10px;
    }

    .tree li a {
        /* border: 1px solid #fff; */
        /* padding: 10px 15px; */
        text-decoration: none;
        color: #000;
        /* Changed text color to white for contrast */
        font-weight: 800;
        font-family: Arial, Verdana, Tahoma;
        font-size: 8px;
        display: inline-grid;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        /* background: linear-gradient(135deg, #fff, #fff); */
        /* Gradient background */
        transition: all 0.5s;
        width: 25vw;
        height: 20vw;
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    }

    .tree li a img {
        width: 15vw;
        height: 10vw;
        /* Space between icon and text */
        vertical-align: middle;
        /* Align icons with text */
    }
}

.visit-btn {
    display: inline-block;
    background-color: #4CAF50;
    /* Green background */
    border: none;
    color: white;
    /* padding: 10px 20px; */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    /* margin-top: 10px; */
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.visit-btn:hover {
    background-color: #45a049;
    /* Darker green on hover */
}

.container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #E0E0E0, #99BEE1);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 50px;
    /* margin-top: 50px; */

}

.box {
    background-color: #3A5D89;
    color: #fff;
    border-radius: 15px;
    padding: 20px;
    width: 40%;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 200px;
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

p {
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .box {
        width: 100%;
    }
}

.testimonial-cont {
    font-family: 'Arial', sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    /* margin-top: 100px; */
    padding-top: 100px;
    padding-bottom: 100px;
}

.testimonial-section {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.testimonial-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.testimonial-header p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

/* Carousel Styling */
.carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.slides {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.review-card {
    min-width: 30%;
    margin: 0 10px;
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blue-bg {
    background-color: #3A5D89;
}

.yellow-bg {
    background-color: #3A5D89;
}

.pink-bg {
    background-color: #3A5D89;
}

.review-content img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-content p {
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-content h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.review-content .company {
    font-size: 0.9rem;
    color: #333;
}

.stars {
    font-size: 1.2rem;
    align-self: flex-end;
}

/* Arrow Styles */
.arrow:hover {
    background-color: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-card {
        min-width: 90%;
        margin: 0 5px;
    }

    .testimonial-header h1 {
        font-size: 2rem;
    }

    .testimonial-header p {
        font-size: 1rem;
    }
}



/* Section Container */
.service-section {
    text-align: center;
    background: linear-gradient(180deg, #6184B4, #99BEE1);
    padding: 150px 20px;
    color: white;
}

.service-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Service Container */
.service-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual Service Card */
.service-card {
    position: relative;
    width: 23%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    height: 250px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit:fill;
    border-radius: 15px;
}

/* Overlay Effect */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover {
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .service-card {
        width: 100%;
    }

    .service-container {
        flex-direction: column;
    }
}

/* Footer Container */
footer {
    background-color: #3A5D89;
    color: white;
    padding: 0px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-about,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

/* Footer About Section */
.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer Contact Section */
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    /* border-top: 1px solid #fff; */
    /* padding-top: 20px; */
    padding-top: 30px;
    padding-bottom: 30px;

}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-about,
    .footer-contact {
        text-align: center;
        min-width: 100%;
    }
}


/* General Styling */


.section-title {
    text-align: center;
    font-size: 2.5rem;
    padding: 50px 0;
    color: #fff;
}

/* Event Cards */
.events-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
    /* background-color: #fff; */
}

.event-card {
    position: relative;
    width: 300px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .overlay {
    opacity: 1;
}

.event-date {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-day {
    font-size: 2.5rem;
    font-weight: bold;
}

.event-month,
.event-year {
    font-size: 1rem;
}

.event-info {
    text-align: center;
}

.event-info h3 {
    margin: 0;
    font-size: 1.5rem;
}

.event-info p {
    margin: 5px 0 0;
    text-align: center;
    padding: 0 10px;
}