body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(150deg, #ff7e5f, #feb47b); /* Updated gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background 0.5s; /* Smooth transition for background change */
}

.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: 100px;
    text-align: center;
    font-size: 14px;
    padding: 6px 12px;
    background: #ff6b6b; /* Updated button color */
    color: white;
    border-radius: 25px;
    margin: 0 auto; /* Centering the button */
}

.slider-container {
    position: relative;
}

.slider {
    display: flex;
    overflow-x: hidden;
}

.slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.msg-details.logo {
    width: 170px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 50%;
    height: auto;
    max-height: 100%;
}

.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: #ff6b6b; /* Match button color */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.msg-details {
    display: inline;
    text-align: center;
    padding: 4px 14px;
}

.msg-details a {
    text-decoration: none;
    color: inherit;
}

.msg-details .con {
    background: #ff6b6b; /* Updated button color */
    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: #ff6b6b; /* Updated icon color */
    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);
}

h2 {
    text-align: center;
    color: #333;
}

p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}

a {
    color: #ff6b6b; /* Consistent link color */
    text-decoration: none;
}

#About p {
    text-align: justify;
}

h2 {
    margin: 10px 0;
}

p {
    text-align: justify;
    margin: 10px 0;
}

h3 {
    background-color: #1865d8; /* Updated header color */
    text-align: left;
    padding: 8px;
    color: white;
}

.section {
    margin-top: 20px;
    border-top: 1px solid #e2e2e2;
    padding-top: 20px;
}

#courses {
    height: 80vh;
}

.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;
    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: #1865d8; /* Updated button color */
    padding: 2%;
    color: white;
    font-weight: bold;
}

#About ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

#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: #1865d8; /* Updated button color */
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
}

form input {
    width: 260px;
    margin: 5px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit {
    background-color: #1865d8; /* Updated submit button color */
    color: white;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

footer {
    background-color: #1865d8; /* Updated footer color */
    margin-top: 50px;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 15px;
}

.navbar {
    position: fixed;
    padding: 10px 0;
    bottom: 0;
    height: 8%;
    width: 100%;
    background-color: #fffefd; /* Updated navbar color */
    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: rgb(9, 8, 8);
}

.navbar ul i {
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
}

@media (max-width: 768px) {
    .card {
        width: 90%;
        padding: 15px;
    }

    .view {
        width: 100%;
        margin: 0 auto;
    }

    .batch {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    footer {
        font-size: 14px;
    }

    .navbar {
        padding: 5px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .navbar::-webkit-scrollbar {
        height: 8px;
    }

    .navbar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
    }

    .navbar ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        margin: 0;
        padding: 0 33px;
    }

    .navbar li {
        padding: 10px;
        flex: 0 0 auto;
        list-style: none;
    }

    .navbar ul i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    .submit {
        width: 100%;
    }
}

