@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

html,
body {
    overflow-x: hidden;
    /* color: #006632 !important; */
}

html {
    scrollbar-width: thin;
    scrollbar-color: #0b572b #e0e0e0;
}


body {
    padding-top: 85px;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
}

.enquiry-btn {
    background: #0b6b2a;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 5px;
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    white-space: nowrap;
    /* important */
    background: linear-gradient(87deg, #0b6b2a, #17a34a);
}

.mobile-call-btn i {
    font-size: 14px;
}

/* Responsive */
@media (max-width:991px) {

    .desktop-menu {
        display: none;
    }

    .mobile-call-btn {
        display: flex;
        font-size: 13px;
        padding: 6px 10px;
    }

    .navbar-brand img {
        height: 40px;
    }
}


/* ribbon section Css */


.top-ribbon {
    width: 100%;
    background: #ffd700;
    padding: 5px 0;
    text-align: center;
    font-weight: 700;
}

.ribbon-content {
    font-size: 15px;
    color: red;
}

.separator {
    color: red;
    /* margin:0 8px; */
    font-weight: bold;
}

#Enquiryform {
    scroll-margin-top: 100px;
}

/* ribbon section Css END*/

/* HERO Section Css*/

.hero-section {
    background: linear-gradient(98deg, #fff8d9, #b1fdab);
    padding: 60px 0;
}

/* << Section2 Css Start >> */
.legacy-section {
    background: #f5f8fc;
}

.legacy-title {
    font-size: 30px;
    font-weight: 700;
    /* color: #083b8a; */
}

.legacy-text {
    color: #555;
    line-height: 1.7;
}

.admission-card {
    /* background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1); */
    overflow: hidden;
}

.admission-header {
    /* background: #0b6b2a;
    color: white; */
    padding: 15px;
    text-align: center;
    /* font-weight: 800; */
}

.admission-body {
    padding: 0px 20px;
}

.admission-body input,
.admission-body select {
    margin-bottom: 12px;
    border: 1px solid #0b6b2a;
}

.submit-btn {
    background: #0b6b2a;
    color: white;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
}

.submit-btn:hover {
    background: #062c75;
}


.stack-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 20px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(-100%) translateY(0);
    transition: all 0.35s ease-in-out;
}

.stack-img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    border-radius: 20px;
}

.stack-card.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
    z-index: 2;
}

.stack-card.exit {
    opacity: 0;
    transform: translateX(0) translateY(100%);
    z-index: 1;
}

.carousel-indicators .active {
    background-color: #0b6b2a !important;
}

.carousel-indicators [data-bs-target] {
    background-color: #0b6b2a !important;
}

.admission-header h3 {
    font-size: 32px;
}

/* << Section2 Css End >> */

/* << Section3 Css Start >> */
.results-section {
    background: #f5faec;
}

/* Card Layout */
.result-card {
    display: flex;
    /* border-radius: 14px; */
    overflow: hidden;
    height: 100%;
    min-height: 100px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 80, 26, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(16, 80, 26, 0.18);
}

/* Left Label */
.result-left {
    width: 35%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    background: #10501a;
}

.result-left span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Right Content */
.result-right {
    width: 65%;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
}

/* Number */
.result-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #10501a;
}

/* Text */
.result-right p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #2d2d2d;
}

.overall-card {
    background: #10501a;
    color: #fff;
    /* border-radius: 14px; */
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(16, 80, 26, 0.25);

    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    text-align: left;
}


.overall-card .title {
    font-size: 22px;
    font-weight: 600;
}

.overall-card span {
    font-size: 42px;
    font-weight: 800;
    color: #fabd00;
    line-height: 1;
}


.overall-card small {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 4px;
}

.result-card::after {
    content: "";
    width: 6px;
    background: #fabd00;
}




/* << Section3 Css End >> */

/* << Section4 Css Start >> */
.rankrise-section {
    padding: 40px 0;
}

.aboutsection {
    background: #0b6b2a;
    padding: 10px 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    color: #fff;
    margin: 0px 100px 0px 0px;
}

.aboutsection1 {
    background: #0b6b2a;
    padding: 10px 40px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    color: #fff;
    margin: 0px 0px 0px 100px;
}

.step-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.step-left {
    display: flex;
    align-items: center;
}


.step-number {
    background: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 0 18px;
    height: 40px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.step-content {
    padding: 0px 25px;
    flex: 1;
}

.step-content h6 {
    margin: 0;
    font-weight: 700;
}

.step-content p {
    margin: 0px 0 0;
    font-size: 16px;
    font-weight: 700;
}

.bg-one {
    background: #E8F5E9;
}

.bg-two {
    background: #DDF0DF;
}

.bg-three {
    background: #C8E6C9;
}

.bg-four {
    background: #B7DDB8;
}

.bg-five {
    background: #A5D6A7;
}

.bg-six {
    background: #93CF96;
}

.bg-seven {
    background: #81C784;
}

.bg-eight {
    background: #72BE79;
}

.bg-nine {
    background: #66BB6A;
}

.bg-ten {
    background: #43A047;
}

.carousel-item {
    text-align: center;
}

.slider-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.slider-text {
    font-size: 15px;
    color: #555;
}

.offbg {
    background: #f5faec;
    padding: 50px 50px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

/* Responsive Fix */
@media (max-width: 768px) {

    .step-row {
        margin-bottom: 8px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        padding: 0;
        font-size: 20px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-content {
        padding: 10px 15px;
    }

    .step-content p {
        font-size: 14px;
        line-height: 1.3;
    }

    .step-left {
        min-width: 50px;
        justify-content: center;
    }

}

.content-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* Show 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-text.active {
    -webkit-line-clamp: unset;
}

.show-btn {
    border: none;
    background: #0b6b2a;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* << Section4 Css End >> */

/* << Section6 Css Start >> */

.testimonial-section {
    padding-bottom: 40px;
    background: #fff;
    position: relative;
}

.testimonial-title {
    font-size: 36px;
    font-weight: 700;
    color: #0b6b2a;
    margin-bottom: 40px;
    text-align: center;
}

.testimonial-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.testimonial-img {
    width: 140px;
    /* height: 140px; */
    border-radius: 12px;
    object-fit: cover;
}

.starticon {
    color: #fabd00;
}



.quote-icon {
    font-size: 40px;
    color: #0b6b2a;
}

.testimonial-text {
    font-size: 16px;
    color: #555;
    margin: 15px 0;
}

.client-name {
    font-weight: 700;
}

.arrow-btn {
    width: 70px !important;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #0b6b2a;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-btn:hover {
    background: #000;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.info-card {
    background: #e7f0df;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-img-small {
    width: -webkit-fill-available;
    object-fit: cover;
    border-radius: 8px;
    /* margin-right: 15px; */
}

.card-content h5 {
    font-weight: 800;
    margin-bottom: 6px;
}

.card-content p {
    margin-bottom: 8px;
    /* color: #6c757d; */
    font-size: 14px;
}

/* Enroll Button */
.enroll-btn {
    background-color: #0b6b2a;
    color: #fff;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s ease;
}

.enroll-btn:hover {
    background-color: #084298;
    color: #fff;
}

/* << Section6 Css End >> */

/* << Section7 Css Staet >> */

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.faq-answer {
    display: none;
    margin-left: 10px;
    margin-bottom: 15px;
    color: #555;
}

.faq-icon {
    transition: 0.3s;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

.viewbtns {
    color: #10501a;
    font-weight: 600;
}


.carousel-img {
    /* height: 350px; */
    object-fit: cover;
    border-radius: 16px;
    border-radius: 8px;
}

.branch-title {
    font-size: 22px;
    font-weight: 600;
    color: #10501a;
    margin-bottom: 15px;
}

.map-box {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border: 2px solid #0d7530 !important;
    border-radius: 10px;
}

.map-box iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
}

@media (max-width:768px) {

    .map-box iframe {
        height: 250px;
    }

    .branch-title {
        font-size: 18px;
    }

}

/* << Section7 Css End >> */

/* << Mobile Only Section >> */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-text {
    font-size: 16px;
    /* color: #555; */
    margin-bottom: 20px;
}

.section-img {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

/* << Mobile Only Section End >> */


/* <<<< Footer Section Start>>>> */


.footer-contact-top {
    background: #0a5a17;
    background-size: cover;
    background-position: center;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.footer-contact-top h2 {
    font-size: 42px;
    font-weight: 800;
}

.footer-contact-top span {
    color: #fff200;
}

.footer-contact-top p {
    font-size: 18px;
    margin-top: 10px;
}

.footer-contact-btn {
    background: #fff200;
    color: #10501a;
    font-weight: 700;
    padding: 8px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    /* margin-top:18px; */
}


/* ===== BOTTOM FOOTER ===== */

.footer-bottom {
    background: #f5faec;
    padding: 35px 0 10px;
    color: #0c4d16;
}

.footer-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 17px;
    line-height: 1.7;
}

.footer-icon {
    color: #0c4d16;
    margin-right: 8px;
}

.footer-divider {
    border-color: rgba(0, 0, 0, 0.15);
}


/* PHONE GRID */

.phone-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.phone-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
    font-weight: 700;
}


/* MOBILE CONTACT BAR */

.footer-contact-bar {
    display: flex;
    width: 100%;
}

.footer-contact-bar a {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.footer-call {
    background: #ffea00;
    color: #0c4d16;
}

.footer-whatsapp {
    background: #2ecc71;
    color: #fff;
}

.footer-contact-bar i {
    margin-right: 6px;
}

@media(max-width:576px) {

    .footer-contact-top h2 {
        font-size: 30px;
    }

    .footer-contact-top p {
        font-size: 16px;
    }

    .phone-numbers {
        font-size: 16px;
    }

}

.footer-row {
    display: flex;
    justify-content: space-between;
    /* align-items:center; */
    text-align: center;
}

.footer-box {
    padding: 20px;
}

.phone-list div {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 20px;
}

.footer-text {
    font-size: 17px;
    line-height: 1.7;

}

.footer-icon {
    margin-right: 6px;
}


/* MOBILE RESPONSIVE */

@media(max-width:768px) {

    .footer-row {
        flex-direction: column;
    }

    .footer-box {
        padding: 0px;
    }

}

/* <<<< Footer Section End>>>> */

/* dice Animation Css*/
.world {
    position: fixed;
    bottom: 65px;
    right: 30px;
    width: 180px;
    height: 110px;
    perspective: 800px;
    z-index: 999;
}

.die {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 85px;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    animation: spin 8s linear infinite;
}

.face {
    position: absolute;
    width: 150px;
    height: 85px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    line-height: 20px;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding: 8px;

    background: radial-gradient(circle at center,
            #4caf50 0%,
            #2e7d32 30%,
            #1b5e20 60%,
            #003300 100%);
}

/* Logo */
.logo {
    width: 40px;
}

.rankrise {
    font-size: 22px;
    color: yellow;
    font-weight: 900;
}

.short {
    color: yellow;
    font-size: 16px;
}

.admission {
    font-size: 18px;
}

.highlight {
    font-size: 24px;
    color: yellow;
}

/* Cube Faces */
.face:nth-child(1) {
    transform: rotateY(0deg) translateZ(75px);
}

.face:nth-child(2) {
    transform: rotateY(180deg) translateZ(75px);
}

.face:nth-child(3) {
    transform: rotateY(90deg) translateZ(75px);
}

.face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(75px);
}

.face:nth-child(5) {
    transform: rotateX(90deg) translateZ(42px);
}

.face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(42px);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotateY(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

/* dice Animation Css END*/