:root{
    --primary:#00356b;
    --primary-light:#1d4f8e;
    --secondary:#0f172a;
    --text:#334155;
    --border:#dbe2ea;
    --bg:#f5f8fc;
    --white:#ffffff;
    --shadow:0 10px 30px rgba(2,6,23,.08);
    --radius:20px;
    --transition:all .3s ease;
}

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter","Segoe UI",sans-serif;
    color:var(--text);
    overflow-x:hidden;
    background:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

.section-space{
    padding:35px 0;
}

/* =========================
   BREADCRUMB
========================= */

.custom-breadcrumb-wrap{
    background:#f0f4f8;
    border-bottom:1px solid #dbe2ea;
    padding:12px 0;
}

.custom-breadcrumb{
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
    color:#334155;
}

.custom-breadcrumb li{
    font-size:13px;
    font-weight:600;
}

.custom-breadcrumb a{
    color:var(--primary);
}

.custom-breadcrumb a:hover{
    text-decoration:underline;
}

.custom-breadcrumb li::after{
    content:">";
    margin-left:10px;
    opacity:.5;
}

.custom-breadcrumb li:last-child::after{
    display:none;
}

/* =========================
   HERO
========================= */

.hero-section{
    padding:40px 0 30px;
    background:linear-gradient(135deg,#eef5ff,#fff);
}

.hero-card{
    background:#fff;
    border-radius:32px;
    overflow:visible;
}
.hero-card .row{
    align-items:stretch;
}

.hero-content{
    padding:38px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(29,79,142,.08);
    color:var(--primary);
    padding:10px 18px;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
    margin-bottom:24px;
}

.hero-title{
    font-size:clamp(2rem,5vw,3.2rem);
    font-weight:800;
    line-height:1.2;
    color:var(--secondary);
    margin-bottom:20px;
}

.hero-subtitle{
    font-size:1.05rem;
    color:#475569;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.btn-primary-custom{
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:14px;
    padding:14px 24px;
    font-weight:700;
    transition:var(--transition);
}

.btn-primary-custom:hover{
    background:#001d3d;
    color:#fff;
    transform:translateY(-2px);
}

.btn-outline-custom{
    border:2px solid var(--primary);
    color:var(--primary);
    border-radius:14px;
    padding:12px 22px;
    font-weight:700;
    transition:var(--transition);
}

.btn-outline-custom:hover{
    background:var(--primary);
    color:#fff;
}

.hero-alert{
    margin-top:28px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    border-radius:14px;
    padding:16px 18px;
    font-weight:600;
    display:flex;
    gap:12px;
    align-items:center;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    position:sticky;
    top:90px;
}

.sidebar-card{
    background:#fff;
    border-radius:24px;
    padding:22px;
    box-shadow:var(--shadow);
    border:1px solid rgba(15,23,42,.06);
}

.sidebar-title{
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    color:var(--primary);
    margin-bottom:20px;
}

.sidebar-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-menu li{
    margin-bottom:10px;
}

.sidebar-menu a{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:14px;
    color:var(--text);
    font-weight:600;
    transition:var(--transition);
    border:1px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active{
    background:rgba(29,79,142,.08);
    border-color:rgba(29,79,142,.1);
    color:var(--primary);
    transform:translateX(3px);
}

/* =========================
   MOBILE SIDEBAR
========================= */

.mobile-sidebar-toggle{
    display:none;
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:999;
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    border:none;
    box-shadow:var(--shadow);
    font-size:20px;
}

.mobile-sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:9998;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.mobile-sidebar-overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-sidebar{
    position:fixed;
    top:0;
    left:-320px;
    width:300px;
    height:100vh;
    background:#fff;
    z-index:9999;
    overflow-y:auto;
    transition:.3s;
    padding:24px;
}

.mobile-sidebar.active{
    left:0;
}

/* =========================
   CONTENT
========================= */

.content-section{
    margin-bottom:35px;
    scroll-margin-top:100px;
}

.section-card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:var(--shadow);
    border:1px solid rgba(15,23,42,.06);
}

.section-heading{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:25px;
}

.section-icon{
    width:50px;
    height:50px;
    border-radius:14px;
    background:rgba(29,79,142,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:20px;
}

.section-heading h2{
    margin:0;
    font-size:clamp(1.4rem,2vw,2rem);
    font-weight:800;
    color:var(--secondary);
}

.section-card ul{
    padding-left:20px;
}

.section-card li{
    margin-bottom:12px;
}

/* =========================
   TABLE
========================= */

.custom-table{
    border-radius:18px;
    overflow:hidden;
    border:1px solid #dbe2ea;
}

.custom-table thead{
    background:var(--primary);
    color:#fff;
}

.custom-table th,
.custom-table td{
    padding:16px;
    vertical-align:middle;
}

.custom-table tbody tr:nth-child(even){
    background:#f8fbff;
}

/* =========================
   FAQ
========================= */

.accordion-item{
    border-radius:18px !important;
    overflow:hidden;
    margin-bottom:16px;
    border:1px solid #e2e8f0 !important;
}

.accordion-button{
    font-weight:700;
    padding:20px;
}

.accordion-button:not(.collapsed){
    background:rgba(29,79,142,.08);
    color:var(--primary);
}

/* =========================
   CONTACT
========================= */

.contact-card{
    background:linear-gradient(135deg,#0b2f57,#1d4f8e);
    color:#fff;
    border-radius:24px;
    padding:35px;
}

.contact-item{
    display:flex;
    gap:16px;
    margin-bottom:22px;
}

.contact-item i{
    margin-top:4px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .sidebar{
        display:none;
    }

    .mobile-sidebar-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .hero-content{
        padding:28px;
    }

    .section-card{
        padding:25px;
    }

    .hero-image{
        min-height:300px;
    }
}

@media(max-width:768px){

    .hero-buttons{
        flex-direction:column;
    }

    .btn-primary-custom,
    .btn-outline-custom{
        width:100%;
        text-align:center;
    }

    .section-space{
        padding:50px 0;
    }

    .hero-section{
        padding-top:35px;
    }

    .custom-table{
        font-size:14px;
    }
}
.floating-apply-btn{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#00356b;
    color:#fff;
    padding:14px 24px;
    border-radius:50px;
    font-weight:700;
    z-index:999;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

/*gradient color for head title*/
.hero-title-gradient{
    display:inline;
    background:linear-gradient(90deg,var(--primary) 0%,var(--primary-light) 55%,#c69b30 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
}

.floating-apply-btn:hover{
    color:#fff;
    background:#001d3d;
    transform:translateY(-2px);
    box-shadow:0 14px 36px rgba(0,0,0,.2);
}

/* ── Feature card brand accent ───────────────────────────── */
.section-card .border.rounded-4{
    border-color:rgba(0,53,107,.1) !important;
    border-top:3px solid var(--primary) !important;
    transition:var(--transition);
}

.section-card .border.rounded-4:hover{
    box-shadow:0 6px 20px rgba(0,53,107,.1);
    transform:translateY(-3px);
}

/* ── Fix step-number color (Bootstrap text-primary → IIT navy) ── */
.section-card .display-6{
    color:var(--primary) !important;
}

/* ── Mobile: offset floating button above sidebar toggle ─── */
@media(max-width:991px){
    .floating-apply-btn{
        bottom:90px;
    }
}

/* =========================
   XS / PHONE (< 576px)
========================= */

@media(max-width:575px){

    .hero-content{
        padding:20px 16px;
    }

    .hero-title{
        font-size:1.65rem;
        line-height:1.25;
    }

    .hero-badge{
        font-size:12px;
        padding:8px 13px;
    }

    .hero-subtitle{
        font-size:.95rem;
    }

    .hero-alert{
        flex-direction:column;
        gap:6px;
        font-size:.875rem;
    }

    .section-card{
        padding:18px 16px;
        border-radius:16px;
    }

    .section-heading{
        gap:10px;
        margin-bottom:18px;
    }

    .section-heading h2{
        font-size:1.2rem;
    }

    .section-icon{
        width:40px;
        height:40px;
        min-width:40px;
        font-size:16px;
        border-radius:10px;
    }

    .contact-card{
        padding:22px 18px;
        border-radius:16px;
    }

    .contact-item{
        gap:12px;
    }

    .sidebar-card{
        padding:16px;
    }

    .custom-breadcrumb-wrap{
        padding:10px 0;
    }

    .custom-breadcrumb li{
        font-size:12px;
    }

    .hero-section{
        padding:24px 0 20px;
    }

    .floating-apply-btn{
        padding:11px 18px;
        font-size:14px;
        bottom:80px;
        right:14px;
    }
}

/* =========================
   TABLET (576px – 767px)
========================= */

@media(min-width:576px) and (max-width:767px){

    .hero-content{
        padding:24px 20px;
    }

    .section-card{
        padding:22px 20px;
    }
}