
/* Hero section*/

/*About Section*/
.education-page .about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 18px;
}
/* ===== Fix About Section Buttons Wrapping ===== */

.education-page .about-content .mt-4 {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap; 
}

.education-page .about-content .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ===== Scroll Fix for Fixed Header (Education Page Only) ===== */
.education-page #registration #courses {
    scroll-margin-top: 65px;  /* header height ke hisaab se adjust ho jayega */
}
.education-page #courses {
    scroll-margin-top: 45px;  /* header height ke hisaab se adjust ho jayega */
}


/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/*Scholarship info section*/
/* Tooltip container */
.tooltip-container{
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip-text{
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background:#0d2d56;
    color:#fff;
    padding:6px 12px;
    border-radius:6px;
    font-size:13px;
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
}

/* Tooltip arrow */
.tooltip-text::after{
    content:"";
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    border-width:6px;
    border-style:solid;
    border-color:#0d2d56 transparent transparent transparent;
}

/* Hover only on button */
.tooltip-container button:hover + .tooltip-text{
    opacity:1;
}

/*------ Program Section-------*/

.program-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #eef1f6;
    transition: all 0.4s ease;
}

/* Soft Premium Hover */
.program-card:hover {
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(13, 45, 86, 0.08);
    border: 1px solid #dbe7ff;
}

/* Elegant Top Accent Line */
.program-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d2d56, #4f8cff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover::after {
    opacity: 1;
}

/* Button Styling */
.apply-btn {
    border-radius: 30px;
    padding: 8px 22px;
    transition: 0.3s ease;
}

.apply-btn {
    border-radius: 30px;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

/* Button Hover Strong Effect */
.apply-btn:hover {
    background-color: #0d2d56;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(13, 45, 86, 0.2);
}
/*Knoww more botton*/
.know-btn {
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 22px;
    border: 1px solid #2c3e50;
    color: #2c3e50;
    background: #ecf0f4;
    transition: all 0.3s ease;
}

.know-btn:hover {
    background-color: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}