﻿/* Lucknow Campus Heading */
.campus-heading {
    font-size: 24px;
    font-weight: bold;
    color: #0A1E50;
    position: absolute;
    top: -80px; /* Square boxes ke beech main center karne ke liye */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px 15px;
    border-radius: 10px;
}
.bottom-borderr {
    width: 100%;
    height: 5%;
    background-color: #2316ebf0; /* Light Blue Color */
    margin-top: 20px; /* Thoda gap rakhnay ke liye */
}
#square-box-section {
    display: flex;
    flex-wrap: wrap; /* Ensure boxes wrap properly */
    justify-content: center;
    gap: 20px; /* Adds space between boxes */
}

.square-box {
    width: calc(33.33% - 15px); /* Adjusted width */
    padding: 20px;
    border: 1px solid #194364;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative; /* This makes .circle-logo position relative to .square-box */
}
/* Square Box */
    .square-box.sec {
        width: calc(25% - 15px);
        height: 250px;
        background-color: #e2e6eb;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 20px;
        padding: 1px;
        color: #194364;
        margin-top: 40px; /* Heading se thoda neeche laya */
    }

/* Circular Logo */
.circle-logo {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

    /*.circle-logo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }*/


/* Responsive Design */
@media (max-width: 768px) {
    .square-box {
        width: 100%;
    }

    .col-md-8 {
        flex-direction: column;
        align-items: center;
    }

    .campus-heading {
        top: -20px;
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .square-box.sec {
        width: 100%;
    }

    .col-md-8 {
        flex-direction: column;
        align-items: center;
    }

    .campus-heading {
        top: -20px;
        font-size: 20px;
    }
}


.hero-title img {
    display: block;
    margin: 0 auto; /* Image ko horizontally center karne ke liye */
}
.hero-content {
    text-align: center; /* Content ko center align karne ke liye */
}
.feature-area {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    min-height: 100vh; /* Full viewport height */
}

.card {
    max-width: 700px; /* Form ki width ko set karna */
    margin: auto;
    margin-top:100px/* Form ko center karna */
}
.counter-area.first {
    margin-top: 0px;  
}
.image-container {
    display: flex;
    justify-content: center; /* Center images */
    align-items: center; /* Align images vertically */
    gap: 100px; /* Space between images */
    flex-wrap: wrap; /* Wrap on smaller screens */
}
.image-containe {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Equal spacing */
    flex-wrap: nowrap; /* Ensures all images stay in one row */
}

    .image-container img {
     /* Adjust width */
               object-fit: cover; /* Maintain aspect ratio */
        border-radius: 5px; /* Optional: Rounded corners */
        transition: transform 0.3s ease-in-out; /* Smooth hover effect */
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .image-container {
        gap: 15px; /* Reduce gap for medium screens */
    }
}

@media (max-width: 768px) {
    .image-container {
        flex-wrap: wrap; /* Allow wrapping */
        justify-content: center;
    }

        .image-container img {
            width: 50%; /* Two images per row */
            height: auto;
        }
}




.testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;margin-top:-100px;
    text-align: center;
}

    .testimonials-header img {
        width: 300px; /* Adjust size as needed */
    }

.testimonials-text {
    position: absolute;
    top: 15%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .image-container {
        flex-wrap: wrap;
        gap: 20px; /* Reduce gap for smaller screens */
    }

        .image-container img {
            width: 45%; /* Two images per row */
        }
}
.event-item {
    text-align: center;
    flex: 1; /* Equal width for all items */
}

    .event-item img {
        width: 300px; /* Fixed width */
        height: auto;
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }


.event-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #555;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .image-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .event-item img {
        width: 90%; /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .event-text {
        font-size: 16px;
    }

    .event-item img {
        width: 100%; /* Full width for mobile */
    }
}
.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensures equal height */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
      
    .enroll-a {
        background-color: #F5F5DC; /* Cream color */
    }
    .enroll-a .container {
        max-width: 1200px;
    }
    .about-areaa {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .left-img {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .left-img img {
        width: 250px;
        height: auto;
    }
    .right-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
            .right-content h4 {
                font-size: 24px;
                color: #0A1E50;
                font-weight: 900;
                margin-bottom: 15px;
            }
    .right-content ul {
        list-style-type: disc;
        padding-left: 20px;
    }
    .right-content ul li {
        font-size: 18px;
        color: black;
        font-weight: 400;
        margin-bottom: 5px;
    }
   @media (max-width: 768px) {
        .about-area {
            flex-direction: column;
        }
        .left-img img {
            width: 100%;
        }
        .right-content {
            align-items: center;
            text-align: center;
        }
        .right-content ul {
            text-align: left;
        }
    }
.enroll-area {
    background-color: #F5F5DC; /* Cream color */
    padding: 50px 0;
}



.left-img img {
    width: 100%;
    height: auto;
}

.right-content {
    flex: 2;
    color: white;
    font-size: 20px;
    font-weight: 400;
    padding-left: 30px;
}

    .right-content h2 {
        font-size: 25px;
        font-weight: 900;
        text-align: center;
        margin-bottom: 10px;
    }

.bank-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    width: 100%;
}

    .bank-details p {
        margin: 5px 0;
    }

.note-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.enroll-area.fifth {
    padding: 50px 0;
}

.about-area h3 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-single {
    background-size: cover;
    background-position: center;
    background-color: #6969d794;
    height: 80vh; /* Ensures proper height */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    text-align: center;
}

    .hero-content img {
        max-width: 100%;
        height: auto;
    }

.left-image,
.right-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ✅ Form Section Styling */
.feature-area {
    position: relative;
    z-index: 2;
    margin-top: -50px;
    display: flex;
    justify-content: center;
}

.card {
    background: white;
    z-index: 3;
    position: relative;
    width: 90%;
    max-width: 600px; /* Maximum form width */
    margin-top: -400px; /* Adjusted form position */
    padding: 20px;
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .left-image,
    .right-image {
        width: 80%; /* Ensure images are not too large */
    }

    .card {
        margin-top: -100px;
        width: 100%;
        padding: 15px;
    }

    @media (max-width: 768px) {
        .hero-section {
            height: auto !important;
            padding-bottom: 20px; /* Extra space to avoid overlap */
        }

        .hero-content {
            flex-direction: column; /* Stack elements vertically */
            gap: 20px;
        }

        .left-image, .right-image {
            padding: 0;
            text-align: center;
        }

        .feature-area {
            margin-top: 0 !important;
            padding-top: 20px; /* Ensure spacing */
            position: relative;
            z-index: 2;
        }

        .feature-wrapper .card {
            margin-bottom: 500px !important;
            width: 100%;
        }

        .counter-area {
            padding-top: 50px;
        }

     

        .row.align-items-center {
            flex-direction: column;
        }
    }
}

.bank-details p {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

/* Image container ko div ke bahar dikhane ka setup */
.col-md-5 {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
}
.image-containerr {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-66%);
    width: 130%;
    max-width: 400px;
}

    .image-containerr img {
        width: 420px;
        height: auto;
        display: block;
    }

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .row.align-items-center {
        flex-direction: column; /* Mobile pe column layout */
    }

    .bank-details {
        text-align: center;
        padding: 10px;
    }

    .image-containerr {
        position: static; /* Absolute hata diya mobile pe */
        width: 100%; /* Full width le mobile me */
        text-align: center;
        transform: none; /* Position reset */
        margin-top: 15px; /* Thoda gap de diya content aur image ke beech */
    }

        .image-containerr img {
            width: 100%; /* Mobile pe full width le */
            max-width: 300px; /* Max width limit */
            margin: 0 auto; /* Center me la diya */
        }
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
    .row.align-items-center {
        flex-direction: column-reverse; /* Image ko content ke niche lana */
        text-align: center;
    }

    .col-md-7, .col-md-5 {
        width: 100%;
    }

    .image-container {
        position: static;
        transform: none;
        width: 70%;
        max-width: 250px;
        margin-top: 20px;
    }
}
.po-list {
    list-style: none;
    padding: 0;
}

    .po-list li {
        text-align: justify;
        font-size: 16px;
        color: white;
        font-weight: 300;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .po-list span {
        font-weight: 700;
        color: #ffd700; /* Yellow highlight */
        margin-right: 5px;
    }

@media (max-width: 768px) {
    .counter-area .row {
        flex-direction: column-reverse; /* Image below text on mobile */
        text-align: center;
    }

    .po-list {
        padding: 10px;
    }

        .po-list li {
            font-size: 14px;
        }
}

/*yeh niche wala css reqired datalist thead admission ka aur picture ka*/

.document-heading {
    font-size: 24px;
    font-weight: bold;
    color: black;
    text-align: center;
    margin-bottom: 15px;
}

.document-list {
    font-size: 18px;
    font-weight: bold;
    color: black;
    text-align: center;
    list-style-position: inside;
}

    /* List ke items ke beech gap */
    .document-list li {
        margin-bottom: 10px;
    }

/* Mobile View */
@media (max-width: 768px) {
    .about-areaa {
        flex-direction: column-reverse; /* Image ko niche le aane ke liye */
        text-align: center;
    }

    .document-heading {
        font-size: 18px;
        text-align: center;
    }

    .document-list {
        font-size: 14px;
        padding-left: 0;
    }

        .document-list li {
            margin-bottom: 8px;
        }
}


/*yeh use kiya gya css acdemic courses*/


.course-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.course-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    padding: 10px;
    margin: auto;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.info-box {
    background-color: #0d6efd;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

    .info-box:hover {
        background-color: #004085;
    }

@media (max-width: 768px) {
    .course-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .course-section {
        grid-template-columns: repeat(1, 1fr);
    }

    .info-section {
        grid-template-columns: repeat(1, 1fr);
    }
}