/* Vision Section */

* {
    font-family: Arial, Helvetica, sans-serif !important;
}

.vision-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.custom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}


/* Header */

.vision-section .header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.vision-section .header span,
.section-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
}

.vision-section .header hr,
.section-title hr {
    width: 150px;
    height: 1px;
    background-color: #707070;
    border: none;
    margin-left: 10px;
}


/* Main Title */

.main-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: bold;
    color: #666;
    margin-bottom: 50px;
}

.vision-title {
    font-size: 5rem;
    /* Large text size for the title */
    font-weight: 700;
    color: transparent;
    background-image: linear-gradient(45deg, #6a1b9a, #43a047);
    /* Gradient color from purple to green */
    background-clip: text;
    -webkit-background-clip: text;
    line-height: 1.2;
    /* Adjust line height for spacing */
    margin-bottom: 20px;
    /* Space below the title */
}


/* Description */

.vision-section .description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}


/* Cards Section */

.cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 50px auto;
    gap: 20px;
}

.card {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 30px;
    border-radius: 24px;
    flex: 1;
    min-height: 250px;
    text-align: left;
}

.card:hover {
    box-shadow: 0 4px 36px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card p {
    margin: 0;
}


/* Small Heading */

.small-heading {
    font-size: 48px;
    color: #c7c7D1;
}


/* Main Text */

.main-text {
    font-size: 48px;
    color: #333;
}


/* CTA Button */

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    width: 40%;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #004696;
    color: #fff !important;
    border: 0 !important;
}


/* Testimonial Slider */

.testimonial-slider {
    background: #fff;
    padding: 80px 20px;
    min-height: 400px;
}

.testimonial-slider .header {
    background-color: #004696;
}

.testimonial-slider .slick-dots li button:before,
.testimonial-slider .slick-dots li.slick-active button:before,
.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
    color: #333 !important;
    /* Ensure specificity */
}

.build-with-us-bg {
    background: #004696;
    min-height: 400px;
}

.slide {
    padding: 40px 80px;
    text-align: center;
    color: white;
}

.header {
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.quote {
    font-size: 36px;
    line-height: 1.3;
    margin: 30px 0;
}

.slick-prev {
    left: 40px;
}

.slick-next {
    right: 40px;
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before {
    font-size: 12px;
    color: #fff;
}

.custom-section a {
    color: #f7f7f7;
}

.footer-section {
    display: grid;
    grid-template-columns: 20% 20% 60%;
}

.research-card {
    border: 0.5px solid #e0e0e0;
    border-radius: 24px;
    height: 310px;
}

.research-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    cursor: pointer;
}

.research-card h1 {
    color: #2e2e2e !important;
}

.contact-input {
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    width: 100%;
    margin-bottom: 20px;
}

.contact-input::placeholder {
    color: #31313158;
}


/* Overlay */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* Modal box */

.modal-box {
    position: relative;
    background: white;
    padding: 40px 30px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    color: white;
    text-align: center;
}

.modal-header-curvia {
    text-align: center;
    margin-top: 120px;
    margin-bottom: 80px;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.form-link {
    padding: 20px 40px;
    background: #021c3a;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 22px;
}

.stage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stage {
    flex: 1 1 45%;
    background: #f0f0f0 !important;
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
}

.stage-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: black;
}

.stage-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
    color: black;
}

.stage-text {
    font-size: 14px;
    color: black;
}

.university-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding: 40px;
    padding-right: 120px;
    border-radius: 12px;
    place-items: center;
}

.uni-logo {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
}

.transform-delay-5 {
    width: 500px;
}

.logo-carousel .logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-carousel {
    padding: 0 80px;
}

.slick-dots {
    bottom: -80px;
    margin-left: -80px;
}

.container {
    padding-left: 90px;
}

.stage {
    flex: 1 1 45%;
    background: #47474710 !important;
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
}

.contact-btn {
    background-color: #0093E4;
    color: #fff;
    padding: 10px;
    width: 100%;
    border-radius: 25px;
    border: 0.5px solid rgb(163, 163, 163);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: #16aeff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-slider-1 {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider-1 img {
    width: 60%;
    margin: 0 auto;
    border-radius: 24px;
}


/* Masonry Container */

.masonry-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Spacing between rows */
    justify-content: center;
    /* Center the grid horizontally */
    max-width: 1200px;
    /* Limit width for larger screens */
    margin: 0 auto;
    /* Center the container */
    margin: 120px auto;
    margin-top: 60px;
}


/* Rows */

.row {
    display: flex;
    gap: 20px;
    /* Spacing between cards in the same row */
    flex-wrap: wrap;
    /* Ensure cards wrap to the next row */
}


/* Media Query for Smaller Screens */

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        /* Stack cards vertically on smaller screens */
    }
    .card {
        min-width: 100%;
        /* Ensure cards take full width on smaller screens */
    }
}


/* Optional: Custom styling for cards */

.research-card img {
    cursor: pointer;
    /* Indicate clickable images */
    border-radius: 10px;
    /* Rounded corners */
    transition: transform 0.3s ease;
    /* Smooth hover effect */
}

.research-card img:hover {
    transform: scale(1.05);
    /* Slightly enlarge on hover */
}


/* Optional: Custom styling for modal */

.modal-content {
    border-radius: 15px;
    /* Rounded modal edges */
}

.modal-title {
    font-size: 1.5rem;
    /* Larger title */
}

#modal-description {
    font-size: 1rem;
    /* Adjust description font size */
}

.faculty-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

#modal-description {
    white-space: pre-line;
    /* Respects line breaks in the text */
    line-height: 1.6;
    /* Adjust line spacing */
}

.btn-primary {
    background-color: #021C3A;
    border: #021C3A;
}

.btn-primary:hover {
    background-color: #0055b7;
    border: #0055b7;
}


/* Optional: Custom styling for cards */

.research-card img {
    cursor: pointer;
    /* Indicate clickable images */
    border-radius: 10px;
    /* Rounded corners */
    transition: transform 0.3s ease;
    /* Smooth hover effect */
}

.research-card img:hover {
    transform: scale(1.05);
    /* Slightly enlarge on hover */
}


/* Image Overlay */

.image-overlay {
    position: relative;
    display: inline-block;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(181, 181, 181, 0.7);
    /* Semi-transparent black overlay */
    color: black;
    font-size: 0.8rem;
    opacity: 0;
    /* Hide by default */
    transition: opacity 0.3s ease;
    /* Smooth transition */
}

.image-overlay:hover .overlay-text {
    opacity: 1;
    /* Show on hover */
}

.pbmit-slider-three .pbmit-slider-content::before {
    background: none;
}

.image-overlay {
    height: 100%;
}

.join-btn {
    text-align: center;
    margin-top: 20px;
    background-color: #009fee;
    padding: 20px;
    border-radius: 24px;
}

.carousel-indicators {
    bottom: -20px;
}

.apply-button {
    text-align: right;
    margin-left: 20px;
}

.apply-button button {
    width: 120px;
    padding: 10px 0;
    font-size: 12px;
}

.postings {
    display: grid;
    grid-template-columns: 30% 60% 10%;
}

.postings ul {
    list-style-type: disc;
    margin-left: 10px;
}

.postings ul li {
    padding: 5px 0;
    font-size: 12px;
}

.full-menu-mb nav {
    left: -60px;
}

.full-menu nav {
    left: -50px;
}

.site-title img {
    padding-top: 20px;
    max-width: 110px;
    height: auto;
}

.stage-esp {
    width: 600px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .vision-section .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .vision-section .header span,
    .section-title {
        margin-bottom: 10px;
    }
    .vision-section .header hr,
    .section-title hr {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }
    .vision-section .description {
        font-size: 14px;
        line-height: 1.4;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .container {
        padding: 0;
    }
    .faculty-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .faculty-container .card {
        padding: 0;
        margin: 60px 0;
    }
    .modal {
        z-index: 99999999999999999999999;
    }
    .image-overlay {
        height: 400px;
    }
    .img-over-fix img {
        height: 400px;
    }
    .join-btn {
        margin-top: 100px;
        padding: 20px;
    }
    .join-btn button {
        margin-top: 10px;
    }
    .application-process-section {
        padding: 0 20px;
    }
    .vision-title {
        font-size: 3rem;
    }
    .masonry-container {
        padding: 0 40px;
    }
    .slide {
        padding: 0px;
    }
    .carousel-indicators {
        bottom: -60px;
    }
    .postings {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .postings ul li {
        margin-right: 5px;
        padding: 10px 10px;
        background-color: rgb(0 0 0 / 9%);
        font-size: 9px;
    }
    .apply-button {
        text-align: left;
    }
    .university-logos-grid {
        display: none !important;
    }
    .pbmit-slider-three .pbmit-slider-content .pbmit-title {
        font-size: 48px;
        padding: 10px;
    }
    .pbmit-slider-content {
        text-align: left !important;
        padding-left: 30px !important;
    }
    .stage-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 20px;
        gap: 20px;
    }
    .stage-esp {
        width: 100%;
        margin: 0 auto;
    }
    .container-fluid {
        margin-bottom: 30px;
    }
}