/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #f3f3f3;
}

.subbut {
    background-color: #e80007;
}

.text-box-popup {
    background-color: #1a191929;
    height: 40px;
    margin-bottom: 20px;
    border: 0 !important;
    padding: 0px 15px;
}

.popupform label.error {
    display: flex;
    position: absolute;
    margin-top: -20px;
}

.model_form_chat {
    z-index: 9999999999 !important;
}
/* Header Styles */
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.contact-info marquee {
    font-size: 14px;
}

.apply-now-button {
    background: #e80007;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
}

.Magnify {
    font-size: 24px;
    color: #333;
}

/* Course Cards */
.course {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    background: #d12023;
    color: white;
}

/* Form Styles */
.text-box-popup {
    background-color: #f8f9fa;
    height: 40px;
    border: 1px solid #ced4da !important;
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
    }

    .hero-section img {
        max-width: 100%;
    }
}

/* Additional Styles from Body */
.subbut {
    background-color: #e80007;
}

.text-box-popup {
    background-color: #1a191929;
}

.popupform label.error {
    position: absolute;
    margin-top: -20px;
}

.model_form_chat {
    z-index: 9999999999 !important;
}

.offer-button-close {
    position: absolute;
    right: 0;
    top: -45px;
    background-color: white;
    border: 1px solid;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    font-size: 15px;
}

.main-banner {
    padding-inline: 5%;
    margin-top: 70px;

    .banner-head {
        background-color: #ffffff;
        display: flex;
        align-items: center;
        border-radius: 10px;
        padding: 10px;
        gap: 10%;
        justify-content: start;

        .logo {
            width: 230px;

            img {
                width: 1000%;
            }
        }
    }

    .banner-content {
        display: grid;
        grid-template-columns: 3fr 1fr;
        margin-top: 10px;
        position: relative;
        gap: 10px;
        overflow: hidden;

        .content {
            /* width: 70%; */

            .banner-image {
                width: 300px;
                position: absolute;
                top: 1%;
                right: 30%;
                z-index: -1;

                img {
                    width: 100%;
                }
            }

            .banner-rows {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center;
                background-color: #fff;
                border-radius: 12px;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                padding: 10px;
                margin-top: 30px;

                .banner-card {
                    flex: 1;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    .image {
                        width: 100px;

                        img {
                            width: 100%;
                        }
                    }
                }

                .content {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }

                .content img {
                    max-height: 50px;
                    max-width: 50px;
                    object-fit: contain;
                    border: 1px solid red;
                }

                .text {
                    text-align: left;
                }

                .text .Ranked {
                    color: #333;
                    font-size: 8px;
                    font-weight: 600;
                    margin: 0;
                }

                .text .Top {
                    color: #d32323;
                    font-size: 13px;
                    font-weight: bold;
                    margin: 0;
                }

                .text .subtext {
                    color: #666;
                    font-size: 9px;
                    margin: 0;
                }

                .divider {
                    width: 1px;
                    background-color: #e0e0e0;
                    height: 60px;
                }

                @media (max-width: 992px) {
                    .banner-rows {
                        flex-direction: column;
                        gap: 20px;
                    }
                    .divider {
                        display: none;
                    }
                }

                @media (max-width: 502px) {
                    .banner-card {
                        justify-content: start;
                        .image {
                            width: 100px;

                            img {
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }

        .form {
            /* width: 30%; */
            background-color: #ffffff;
            border-radius: 10px;

            * {
                font-size: small;
            }

            .Request-call-back {
                padding: 4px;
                text-align: center;
                background-color: #2b2a29;
            }

            .form-check {
                display: flex;
            }

            .form-check-input {
                appearance: none;
                width: 10px;
                height: 10px;
                border: 2px solid #ccc;
                border-radius: 4px;
                background-color: #fff;
                cursor: pointer;
                transition: background-color 0.3s;
                position: relative;
            }

            .form-check-input:checked {
                background-color: #007bff;
                border-color: #007bff;
            }

            input,
            select {
                border: none;
                outline: none;
                background-color: #efefef;
                padding-inline: 10px;
                padding-block: 6px;
            }
            button[type="submit"] {
                background-color: red;
                font-size: small;
                padding-inline: 10px;
                padding-block: 5px;
            }
        }
    }

    @media (max-width: 765px) {
        .banner-content {
            grid-template-columns: 1fr;
            .content {
                .banner-image {
                    top: 1%;
                    right: 10%;
                }
            }
        }
    }

    @media (max-width: 502px) {
        .banner-content {
            .content {
                .banner-image {
                    width: 200px;
                    top: 1%;
                    right: 1%;
                }
            }
        }
    }

    .about {
        margin-block: 6%;

        @media (max-width: 502px) {
            .about-img {
                margin-inline: auto;
                width: 300px;
            }
        }
    }

    .magnify {
        font-size: large;
    }
    .custom-banner {
        background-color: #f5f5f5;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .custom-item {
        justify-content: center;
        text-align: center;
        padding: 10px;
    }

    .custom-item img {
        max-height: 80px;
        margin-right: 10px;
    }

    .custom-item .Top {
        color: #d32323;
        font-weight: bold;
        font-size: 20px;
    }

    .custom-item .Ranked {
        color: #333;
        font-weight: 600;
    }

    .custom-item p {
        margin: 0;
        line-height: 1.2;
        font-size: 14px;
    }

    .border-end {
        border-right: 1px solid #e0e0e0;
    }
}

.top-college {
    background-image: url("./public/bg-1.png");
    padding-block: 2%;

    .top-college-header {
        margin-block: 1%;
    }

    .college-card {
        width: 300px;
        background: #fff;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .college-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }

    .college-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 7px;
    }

    .college-content {
        padding: 15px;
    }

    .college-name {
        font-size: 20px;
        color: #333;
        margin: 0;
        font-weight: bold;
    }

    .college-description {
        color: #666;
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.5;
    }

    .college-info-link {
        background: #e80007;
        color: white;
        padding: 8px 20px;
        border-radius: 5px;
        text-decoration: none;
    }
}

.top-course {
    padding-block: 2%;

    .top-course-header {
        margin-block: 1%;
    }
    .course-card {
        width: 320px;
        padding: 10px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        text-align: center;
    }

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }

    .course-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 7px;
    }

    .course-content {
        padding: 15px;
    }

    .course-name {
        font-size: 18px;
        color: #e0181e;
        margin: 0;
        font-weight: bold;
    }

    .course-description {
        color: #666;
        font-size: 14px;
        margin: 10px 0;
        line-height: 1.5;
    }

    .enroll-button {
        background-color: black;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s;
        font-size: 14px;
    }

    .enroll-button:hover {
        background-color: rgb(22, 22, 22);
    }
}

.recruiters {
    background-color: white;

    padding-inline: 5%;

    .carousel-container {
        padding-block: 5%;
        padding-inline: 10%;
    }

    .carousel {
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
        width: calc(220px * 6);
    }

    .carousel-item {
        width: 220px;
        flex-shrink: 0;
        margin: 10px;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#Highlights {
    padding-block: 5%;

    .highlights-row {
        padding: 3px;
    }

    .highlight {
        border: 1px solid #d2d2d2;
    }

    .highlight:nth-child(-n + 3) {
        border-top: none;
    }

    .highlight:nth-child(n + 4) {
        border-bottom: none;
    }

    .highlight:nth-child(1),
    .highlight:nth-child(4) {
        border-left: none;
    }

    .highlight:nth-child(3),
    .highlight:nth-child(6) {
        border-right: none;
    }
    @media (max-width: 502px) {
        .highlight-img {
            width: 300px;
        }
    }
}

.academicians {
    padding-block: 2%;

    h2 {
        padding-block: 1%;
    }

    .cards-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Card Styles */
    .card {
        width: 300px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    /* Red Card Styles */
    .card:hover {
        background-color: #e53935;
        color: #fff;
    }

    .red-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    /* White Card Styles */
    .white-card {
        background-color: #fff;
        color: #333;
    }

    /* Image Styles */
    .profile-img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
    }

    /* Text Styles */
    .description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #b76386;
    }
    .card:hover .description {
        color: white;
    }

    .name {
        font-weight: bold;
        font-size: 18px;
        color: #e33136;
    }
    .card:hover .name {
        color: white;
    }

    .red-name {
        color: #e53935;
    }

    .qualification,
    .date {
        font-size: 14px;
        margin-top: 5px;
    }

    @media (max-width: 502px) {
        .card {
            width: 100%;
        }
    }
}

#Admission-Process {
    background-image: url("./public/bg-2.svg");
    background-repeat: no-repeat;
    background-size: cover;

    .container {
        padding-block: 5%;
    }
}

#offered-Package {
    padding-block: 5%;

    .testimonials {
        max-width: 1200px;
        text-align: center;
    }

    h2 {
        font-size: 32px;
        text-align: center;
        margin-bottom: 40px;
    }

    .highlight {
        color: #e53935;
        font-weight: bold;
    }

    /* Testimonial Container */
    .testimonial-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Testimonial Card ---------------------------------------------*/
    .testimonial {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        width: 450px;
        position: relative;
        text-align: left;
        box-sizing: border-box;
        transition: transform 0.3s;
    }

    .testimonial:hover {
        transform: scale(1.02);
    }

    .profile-img {
        width: 80px;
        height: 80px;
        /* border-radius: 50%; */
        object-fit: cover;
        border: 4px solid #fff;
        position: absolute;
        top: -10px;
        right: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    h3 {
        color: #333;
        font-weight: bold;
        margin: 0;
    }

    .company {
        color: #e53935;
        font-weight: bold;
        margin: 5px 0;
    }

    .description {
        color: #555;
        line-height: 1.6;
        font-size: 14px;
        margin-top: 10px;
    }

    @media (max-width: 502px) {
        .testimonial {
            width: 80%;
        }
    }
}

#Next-Step {
    background-color: #dc161c;
    padding-block: 5%;
}

.form-section {
    background-color: #c62828;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.form-section h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-section p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.next-step-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.next-step-form input[type="text"],
.next-step-form input[type="email"],
.next-step-form input[type="tel"],
.next-step-form select {
    width: 240px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.next-step-form input::placeholder {
    color: #fff;
}

.next-step-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.next-step-form select option {
    color: #000;
}

.checkbox-container {
    text-align: left;
    color: #fff;
    font-size: 12px;
    max-width: 240px;
}

.checkbox-container input {
    margin-right: 5px;
}

.next-step-form button {
    background-color: #333;
    color: #fff;
    padding-block: none !important;
    padding-inline: 3%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.next-step-form button:hover {
    background-color: #555;
}

.next-step-form select {
    position: relative;
    width: 240px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.next-step-form select option {
    color: #000;
}

#footer {
    color: #9fd4ff;
    background-color: #2b2a29;
    font-size: large;
    padding: 1%;
}

@media (max-width: 502px) {
    .footer {
        font-size: small;
    }
}
