:root {
    --primary: #1E3A8A;
    --secondary: #F59E0B;
    --accent: #10B981;
    --dark: #111827;
    --light: #F9FAFB;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    color: var(--dark);
    font-size: 0.9rem; 
    line-height: 1.6;
}

p, small, li, td, th, .step-content p, .node-content p, .flow-content p, .h-step span, .icon-content p, .download-text small {
    font-size: 0.9rem; 
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary);
}



.application-alert {
      background: linear-gradient(135deg, #d4a017, #f9d423, #d4a017); 
        color: #0F52BA;                         
        font-size: 1.3rem;                   
        font-weight: 700;
        text-align: center;
        padding: 0.7rem .5rem;              
        border-radius: 20px;                 
        max-width: 820px;
        margin: 2.5rem auto;
        letter-spacing: 0.6px;
        line-height: 1.4;
        
        
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.4),
            inset 0 2px 8px rgba(255, 255, 255, 0.3);
        
        border: 1px solid rgba(255, 215, 0, 0.6);
        position: relative;
        overflow: hidden;
        }

.section-title {
    position: relative;
    display: block;
    text-align: center;
    font-size: 2.1rem;
    margin: 0 auto 2.5rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    padding-bottom: 1rem;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), #ffb74d);
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(245,158,11,0.3);
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 2.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30,58,138,0.2), transparent);
    z-index: 0;
}

.section-title span {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    background: linear-gradient(180deg, transparent 60%, rgba(240,247,255,0.9) 60%);
}


.section-title-social {
    position: relative;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    margin: 0 auto 2.5rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    padding-bottom: .5rem;
    overflow: hidden;
}
/* HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(30,58,138,0.80), rgba(30,58,138,0.90)),
    url('admission-bg.jpg') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: white !important;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.badge-item {
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 1.1rem 0.75rem;
    font-weight: 600;
    font-size: .85rem;                     
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: none;
}


.form-card {
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.captcha-img {
    background: #f8f9fa;
    border: 2px dashed #ccc;
    padding: 12px;
    text-align: center;
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 6px;
    color: var(--primary);
    border-radius: 10px;
    user-select: none;
    width: 140px;
    flex-shrink: 0;
    
}

.btn-apply {
    background: var(--secondary);
    color: white;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(245,158,11,0.4);
    transition: all 0.4s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.btn-apply:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,158,11,0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245,158,11,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin: 0 auto;
    max-width: 800px;
}

.download-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 1rem 1.4rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 260px;
    max-width: 360px;
    flex: 1;
    text-decoration: none;
    color: var(--dark);
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.download-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(30,58,138,0.3);
}

.download-card:hover .download-icon {
    background: var(--secondary);
    transform: scale(1.1);
}

.download-text strong {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

/* PLACEMENT IMAGES */
.placement-images img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s;
}

.placement-images img:hover {
    transform: scale(1.03);
}

/* ADMISSION CELL CARDS */
.admission-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}


.why-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    background: white;
    height: 100%;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* STEPS TIMELINE */
.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

.step-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
}

.step-item.right {
    justify-content: flex-end;
    padding-right: 50px;
}

.step-item.left {
    justify-content: flex-start;
    padding-left: 50px;
}

.step-image-placeholder {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.step-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-content {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 300px;
    margin: 0 2rem;
    text-align: center;
}

.step-content h5 {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}


.h-compact-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.h-compact-flow::-webkit-scrollbar { display: none; }

.h-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    text-align: center;
    font-size: 0.85rem;
    animation: popIn 0.5s ease-out forwards;
    opacity: 0;
}

.h-step:nth-child(1) { animation-delay: 0.1s; }
.h-step:nth-child(3) { animation-delay: 0.2s; }
.h-step:nth-child(5) { animation-delay: 0.3s; }
.h-step:nth-child(7) { animation-delay: 0.4s; }
.h-step:nth-child(9) { animation-delay: 0.5s; }

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.h-icon {
    width: 40px; height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 3px 10px rgba(30,58,138,0.3);
    transition: all 0.3s ease;
}

.h-step.active .h-icon { background: var(--secondary); transform: scale(1.1); }
.h-step.done .h-icon { background: var(--accent); }

.h-step:hover .h-icon {
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 6px 15px rgba(30,58,138,0.4);
}

.h-line {
    flex: 1;
    height: 3px;
    background: #ddd;
    margin: 20px 0;
    position: relative;
}

.h-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: fillLine 1.5s ease-out forwards;
}

.h-step:nth-child(2) .h-line::after { animation-delay: 0.2s; }
.h-step:nth-child(4) .h-line::after { animation-delay: 0.4s; }
.h-step:nth-child(6) .h-line::after { animation-delay: 0.6s; }
.h-step:nth-child(8) .h-line::after { animation-delay: 0.8s; }

@keyframes fillLine {
    to { transform: scaleX(1); }
}

.h-step span {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}


.info-card {
    border: 1px solid rgba(30,58,138,0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--secondary);
}

.info-card h5 {
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.info-card ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.info-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}



.placement-highlight {
    background: linear-gradient(135deg, #1e3a8a 0%, #2c5282 100%);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30,58,138,0.3);
}

.placement-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23f59e0b" opacity="0.15"/><circle cx="50" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    background-size: 200px;
    animation: grain 8s steps(10) infinite;
    pointer-events: none;
}

.highlight-text {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 0.5rem 2rem;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(245,158,11,0.5);
    animation: shimmer 3s ease-in-out infinite, float 6s ease-in-out infinite;
    border: 3px solid transparent;
    border-image: linear-gradient(90deg, #f59e0b, #fbbf24) 1;
    border-radius: 12px;
    box-shadow: 
        0 0 20px rgba(245,158,11,0.4),
        inset 0 0 20px rgba(255,255,255,0.1);
}

.highlight-text::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(245,158,11,0.2), transparent);
    border-radius: 16px;
    animation: pulse-border 2s infinite;
    z-index: -1;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes pulse-border {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes grain {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}


.hover-lift {
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30,58,138,0.2) !important;
    background: var(--primary);
    color: white !important;
}

.letter-spacing-1 {
    letter-spacing: 1.5px;
}

.alumni-photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.alumni-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.alumni-photo img:hover {
    transform: scale(1.1);
}

.testimonial-card {
    background: #f8f9ff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30,58,138,0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30,58,138,0.15);
}


@media (max-width: 768px) {
    .steps-timeline::before {
        left: 30px;
    }
    .info-card {
        margin-bottom: 1.5rem;
    }
    .highlight-text {
        font-size: 1.6rem;
        padding: 0.4rem 1.5rem;
        letter-spacing: 1px;
    }
}


@media (min-width: 1200px) {
    .hero .col-lg-5 {
        flex: 0 0 420px;
        max-width: 420px;
        padding-right: 0;
        padding-left: 30px;
        margin-left: auto;
    }
    .hero .form-card {
        margin-left: auto !important;
        margin-right: 0;
        max-width: 100%;
    }
}



@media (max-width: 992px) {
    
    .hero { min-height: auto; padding: 80px 0; }
    .hero h1 { font-size: 2.8rem; }
    .form-card { margin: 1rem; padding: 1.5rem; }
    .captcha-img { width: 100%; font-size: 1.5rem; letter-spacing: 4px; }
    .info-para p { font-size: 0.82rem; }
    .bank-table, .bank-table th, .bank-table td { font-size: 0.78rem; }
    .row { flex-direction: column; }
    .col-lg-6:first-child { order: 2; margin-top: 1.5rem; }
    .h-compact-flow { justify-content: flex-start; padding: 0.5rem; }
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2rem;
    }
    .section-title::after {
        width: 160px;
    }
}



@media (max-width: 576px) {
    .hero h1 { font-size: 2.4rem; }
    .form-card { padding: 1.2rem; }
    .captcha-img { font-size: 1.3rem; }
    body { font-size: 0.82rem; }
    p, small, li, td, th, .step-content p, .node-content p, .flow-content p, .h-step span, .icon-content p, .download-text small {
        font-size: 0.82rem;
    }
    .download-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .download-card {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    
    .download-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .h-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .h-step { min-width: 60px; font-size: 0.75rem; }
    .h-line { margin: 18px 0; }
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.8rem;
        padding: 0 1rem;
    }
    .section-title::before {
        width: 60px;
        height: 4px;
    }
    .section-title::after {
        width: 120px;
    }
    .highlight-text {
        font-size: 1.35rem;
        padding: 0.4rem 1.2rem;
    }
    .placement-highlight {
        padding: 2rem 0;
    }



    .captcha-img {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 0.75rem;
    }


}