body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(150deg, #fcff5f, #3ce6c4); /* Soft pink gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 350px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.visiting {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 545px;
    margin: 0 -19px;
    margin-top: -20px;
    padding: 10px;
    background: url("img/cardimg.png") no-repeat center center/cover;
}

.view {
    display: flex;
    width: fit-content;
    max-width:77px;
    text-align: center;
    font-size: 14px;
    padding: 6px 12px;
    background: #15a9c0; /* Bright pink */
    color: white;
    border-radius: 25px;
    margin: 0 auto; /* Centering the button */
}

/* Image-slider */
.slider-container {
    position: relative;
}

.slider {
    display: flex;
    overflow-x: hidden;
}

.slider img {
    width: 100%;          /* Make the image fill the container width */
    height: 300px;       /* Set a fixed height for uniformity */
    object-fit: cover;   /* Cover the container while maintaining aspect ratio */
}

.msg-details.logo {
    width: 170px;         /* Set the width of the logo container */
    height: 150px;        /* Set the height of the logo container */
    display: flex;        /* Center the image */
    align-items: center;  /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.logo img {
    width: 50%;          /* Make the image fill the width */
    height: auto;        /* Maintain aspect ratio */
    max-height: 100%;     /* Ensure it doesn't exceed the container height */
}


.prev,
.next {
    position: absolute;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    z-index: 1;
    color: #15a9c0; /* Match button color */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Contact-details */
.msg-details {
    display: inline;
    text-align: center;
    padding: 4px 14px;
}

.msg-details a {
    text-decoration: none;
    color: inherit;
}

.msg-details .con {
    background: #15a9c0; /* Bright pink */
    color: white;
    margin: 5px;
    border-radius: 20px;
    padding: 5px 11px;
    width: fit-content;
    font-size: 12px;
    margin: 10px 0px;
    display: inline-block;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

.icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4px;
}

.icons i {
    margin-right: 8px;
    background: #15a9c0; /* Bright pink for icons */
    color: white;
    height: 17px;
    font-size: 15px;
    padding: 8px;
    border-radius: 100%;
    text-align: center;
    width: 16px;
}

.icons p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgb(12, 11, 11); /* Dark text for readability */
}

h2 {
    text-align: center;
    color: #333; /* Dark text for headers */
}

p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666; /* Lighter gray for paragraph text */
}

a {
    color: #15a9c0; /* Consistent link color */
    text-decoration: none;
}

h2 {
    margin: 10px 0;
}
p {
    text-align: justify;
    margin: 10px 0;
}

h3 {
    background-color: #15a9c0; /* Bright pink for headers */
    text-align: left;
    padding: 8px;
    color: white;
}

.section {
    margin-top: 20px;
    border-top: 1px solid #e2e2e2;
    padding-top: 20px;
}

#courses {
    height: 80vh;
}

/* Batch-SECTION */
.batch {
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    width: 300px;
    margin-right: 20px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.batch h1 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333; /* Dark color for titles */
    text-align: center;
}

.batch li {
    list-style-type: none;
    margin-bottom: 5px;
}

.batch li:first-child {
    font-weight: bold;
}

.batch .fees {
    color: #e74c3c; /* Red for fees */
    font-weight: bold;
}

.section .pdf a {
    background-color: #15a9c0; /* Bright pink for buttons */
    padding: 2%;
    color: white;
    font-weight: bold;
}

/* About-SECTION */
#About ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

/* Sub-section */
#About,
#courses,
#gallery,
#payment,
#feedback,
#contact,
#enquiry {
    border: 2px solid transparent;
}

.section img {
    max-width: 100%;
    margin-bottom: 10px;
}

.btn {
    margin-bottom: 20px;
    padding: 5px 20px;
    background-color: #15a9c0; /* Bright pink for buttons */
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
}

/* Form */
form input {
    width: 260px;
    margin: 5px;
    padding: 4px;
    border: 1px solid #ccc; /* Light border for inputs */
    border-radius: 5px; /* Rounded corners */
}

.submit {
    background-color: #15a9c0; /* Bright pink for submit button */
    color: white;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #FFB6C1; /* Light pink footer */
    margin-top: 50px;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 15px;
}

/* Navbar-section */
.navbar {
    position: fixed;
    padding: 10px 0;
    bottom: 0;
    height: 8%;
    width: 100%;
    background-color: #15a9c0; /* Bright pink for navbar */
    color: white;
}

.navbar ul {
    list-style-type: none;
    padding: 10px;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.navbar li {
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

.navbar ul i {
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e2e2e2;
}


/* Media Queries for Small Devices */
@media (max-width: 768px) {
    .card {
        width: 90%; /* Full width on small screens */
        padding: 15px;
    }

    .view {
        width: 100%; /* Full width button */
        margin: 0 auto; /* Centering */
    }

    .batch {
        width: 100%; /* Full width batch cards */
        margin-right: 0;
        margin-left: 0;
    }

    h2 {
        font-size: 1.5rem; /* Slightly larger for readability */
    }

    h1 {
        font-size: 1.5rem; /* Slightly larger for readability */
    }

    footer {
        font-size: 14px; /* Slightly smaller footer text */
    }

    /* Media Queries for Small Devices */
@media (max-width: 768px) {
    .navbar {
        padding: 5px; /* Adjust padding for smaller screens */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Prevent line breaks */
        scrollbar-width: thin; /* For Firefox (optional) */
    }

    .navbar::-webkit-scrollbar {
        height: 8px; /* Height of the scrollbar */
    }

    .navbar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.7); /* Color of the scrollbar thumb */
        border-radius: 10px; /* Rounded edges */
    }

    .navbar ul {
        display: flex; /* Ensure flex display for horizontal alignment */
        flex-direction: row; /* Horizontal layout */
        justify-content: flex-start; /* Align items to the start */
        margin: 0; /* Reset margin */
                    padding: 4px 46px;/* Reset padding */
    }

    .navbar li {
        padding: 10px; /* Adjust padding for better spacing */
        flex: 0 0 auto; /* Prevent items from shrinking */
        list-style: none; /* Remove default list styles */
    }

    .navbar ul i {
        font-size: 1.5rem; /* Adjust icon size if necessary */
    }
}

}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2rem; /* Smaller heading on extra small devices */
    }

    h1 {
        font-size: 1.2rem; /* Smaller heading on extra small devices */
    }

    .submit {
        width: 100%; /* Full width button on small screens */
    }
}
