@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

.premium-scholarship-section {
    position: relative;
    padding: 40px 20px;
    background-color: #fafbfc;
    /* Geometric background: clean grid */
    background-image: 
        linear-gradient(rgba(3, 47, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 47, 94, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
    font-family: 'Outfit', sans-serif;
    color: #333333;
    overflow: hidden;
    z-index: 1;
}

/* Bold geometric accent shape */
.premium-scholarship-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(3, 47, 94, 0.04), rgba(255, 215, 0, 0.06));
    transform: rotate(45deg);
    z-index: -1;
}

.premium-scholarship-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(3, 47, 94, 0.05);
    transform: rotate(15deg);
    z-index: -1;
}

.premium-scholarship-section .container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.premium-scholarship-content {
    /* padding: 20px 40px; */
    position: relative;
    text-align: center;
}

.premium-scholarship-text {
    font-size: 17px;
    line-height: 1.8;
    color: #000;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .premium-scholarship-content {
        padding: 20px 15px;
    }
    .premium-scholarship-text {
        font-size: 1rem;
    }
}

/* --- Career Benefits Section --- */
.career-benefits-section {
    padding: 80px 20px;
    background-color: #ffffff;
    /* Geometric background: subtle dot pattern */
    background-image: radial-gradient(rgba(3, 47, 94, 0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Background accent */
.career-benefits-section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    z-index: 0;
}
.career-benefits-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(3, 47, 94, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.career-benefits-section .container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-title {
    text-align: center;
    font-size: 2.5rem;
    color: #032f5e;
    margin-bottom: 60px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 cards per row */
    gap: 25px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 25px 25px 25px 75px; /* Huge left padding to indent all text */
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* Accent line on hover */
.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #032f5e, #ffd700);
    transition: width 0.4s ease;
}
.benefit-card:hover::after {
    width: 100%;
}

.benefit-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.3rem;
    color: #032f5e;
    background: rgba(3, 47, 94, 0.08);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 15px 0; /* Smooth inner curve */
    margin: 0;
}

.benefit-content h3 {
    font-size: 17px; /* Better heading size */
    color: #032f5e;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.benefit-content p {
    font-size: 14px; /* Better readability */
    line-height: 1.6;
    color: #000;
    margin: 0;
    font-weight: 400;
}



@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefits-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .benefit-card {
        padding: 25px 20px 25px 65px; /* Maintained left padding to prevent text overlapping the absolute icon */
    }
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    .benefit-content h3 {
        font-size: 1.05rem;
    }
}

/* --- Banner Section --- */
.career-merit-banner {
    width: 100%;
    margin-top: 0;
    padding: 0;
}
.career-merit-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Application Process Section --- */
.application-process-section {
    padding: 40px 20px;
    background-color: #f4f7fb;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(3, 47, 94, 0.02),
        rgba(3, 47, 94, 0.02) 2px,
        transparent 2px,
        transparent 15px
    );
    position: relative;
    font-family: 'Outfit', sans-serif;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.process-title {
    text-align: center;
    font-size: 2.5rem;
    color: #032f5e;
    margin-bottom: 70px;
    font-weight: 700;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 33px; /* Center of 70px height circle, accounting for borders */
    left: 9%;
    right: 9%;
    height: 4px;
    background: linear-gradient(90deg, #032f5e, #ffd700);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 3px solid #032f5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #032f5e;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    background: #032f5e;
    color: #ffffff;
    border-color: #ffd700;
    transform: scale(1.1);
}

.step-content {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    width: 100%;
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-content {
    transform: translateY(-5px);
    border-color: rgba(3, 47, 94, 0.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.step-content h3 {
    font-size: 1.05rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    .timeline-line {
        width: 4px;
        height: 100%;
        bottom: 0;
        top: 0;
        left: 53px; /* 20px padding + 35px radius - 2px half-line width */
        right: auto;
        background: linear-gradient(180deg, #032f5e, #ffd700);
    }
    .timeline-step {
        width: 100%;
        flex-direction: row;
        margin-bottom: 30px;
        text-align: left;
    }
    .step-number {
        margin-bottom: 0;
        margin-right: 25px;
        flex-shrink: 0;
    }
    .step-content {
        max-width: 400px;
    }
}

/* --- Scholarship Modal --- */
.banner-clickable {
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.banner-clickable:hover {
    opacity: 0.95;
}

.scholarship-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    font-family: 'Outfit', sans-serif;
    padding: 50px 15px; /* Important for scrollable spacing */
}

.scholarship-modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 40px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto; /* Removed vertical margin since parent has padding */
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
    border-top: 6px solid #032f5e;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scholarship-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.scholarship-modal-close:hover {
    color: #d9534f;
}

.modal-title {
    color: #032f5e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #5a6268;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.scholarship-form .modal-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.scholarship-form .modal-flex-row {
    display: flex;
    gap: 15px;
}

.scholarship-form .modal-flex-row .modal-form-group {
    flex: 1;
}

.scholarship-form label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.scholarship-form .required {
    color: #d9534f;
}

.scholarship-form input,
.scholarship-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.scholarship-form input:focus,
.scholarship-form select:focus {
    outline: none;
    border-color: #032f5e;
    box-shadow: 0 0 0 3px rgba(3, 47, 94, 0.1);
}

.modal-btn-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.scholarship-submit-btn {
    flex: 2;
    padding: 15px;
    background: linear-gradient(90deg, #032f5e, #ffd700);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scholarship-submit-btn:hover {
    background: linear-gradient(90deg, #ffd700, #032f5e);
    box-shadow: 0 5px 15px rgba(3, 47, 94, 0.3);
    transform: translateY(-2px);
}

.scholarship-close-btn {
    flex: 1;
    padding: 15px;
    background: #f4f7fb;
    color: #5a6268;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scholarship-close-btn:hover {
    background: #e2e8f0;
    color: #032f5e;
}

@media (max-width: 576px) {
    .scholarship-form .modal-flex-row,
    .modal-btn-row {
        flex-direction: column;
        gap: 0;
    }
    .modal-btn-row {
        gap: 10px;
    }
    .scholarship-modal-content {
        padding: 30px 20px;
        margin: 20px auto;
    }
}

/* --- Eligible Institutions Section --- */
.eligible-institutions-section {
    padding: 40px 20px;
    background-color: #f4f7fb;
    font-family: 'Outfit', sans-serif;
    text-align: center;
}

.eligible-institutions-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #032f5e;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.eligible-institutions-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #ffd700;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.institutions-slider .item {
    background: #ffffff;
    padding:0 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institutions-slider .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.institutions-slider .item img {
    max-height: 120px;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    /* filter: grayscale(100%) opacity(0.8); */
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.institutions-slider .item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Customizing Owl Carousel Navigation Arrows */
.institutions-slider .owl-nav {
    margin-top: 30px !important;
}

.institutions-slider .owl-nav button.owl-prev,
.institutions-slider .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    background: #032f5e !important;
    color: #ffffff !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.institutions-slider .owl-nav button.owl-prev:hover,
.institutions-slider .owl-nav button.owl-next:hover {
    background: #ffd700 !important;
    color: #032f5e !important;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .eligible-institutions-section {
        padding: 40px 15px;
    }
    .eligible-institutions-header h2 {
        font-size: 26px;
    }
    .institutions-slider .item {
        height: 110px;
    }
    .institutions-slider .item img {
        max-height: 70px;
    }
    .institutions-slider .owl-nav button.owl-prev,
    .institutions-slider .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
    }
}

/* --- Contact Us Section --- */
.contact-us-section {
    padding: 80px 20px;
    background-color: #f4f7fb;
    font-family: 'Outfit', sans-serif;
}

.contact-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-container {
    padding: 50px;
}

.contact-form-container .form-title {
    color: #032f5e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 0;
}

.page-contact-form .scholarship-submit-btn {
    width: 100%;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 40px 25px;
    }
}

/* Ensure SweetAlert confirmation button text is always white */
.swal2-styled.swal2-confirm {
    color: #ffffff !important;
}


/* --- Circular Floating CTA on Right --- */
.floating-circle-cta {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: #ffd700;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #032f5e !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    text-decoration: none !important;
    z-index: 99999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-circle-cta:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffb700 0%, #ffd700 100%);
}

/* Circular Pulse Animation */
.floating-circle-cta::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    z-index: -1;
    animation: circlePulse 2s infinite;
}

@keyframes circlePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .floating-circle-cta {
        right: 10px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}
