*{
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),
    rgba(4,9,30,0.7)), url(images/background.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 210px;
    height: 100px;
    object-fit: contain;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-family: Arial, sans-serif;
}
/* Animated red underline effect for hover.*/
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #D41736;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}
/* Center text box */
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Main heading */
.text-box h1{
    font-size: 62px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Paragraph */
.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
/* Hero section button styling */
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 14px;
    background: transparent;
    position: relative;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.5s;
}

.hero-btn:hover{
    background: #D41736;
    border: 1px solid #D41736;
}
/*Hidden close icon for larger screen (laptop) */
nav .fa{
    display: None;
}

/* ------------ ABOUT SECTION ------------ */

.about{
    width: 85%;
    margin: auto;
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.about-left h5{
    color: #A6192E;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.about-left h1{
    font-size: 42px;
    line-height: 1.2;
    color: #222;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-left h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin-top: 18px;
    border-radius: 2px;
}

.about-left p{
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-right{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.about-card{
    background: #fff;
    border-radius: 16px;
    padding: 30px 22px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-left: 4px solid #D41736;
}

.about-card:hover{
    transform: translateY(-7px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.13);
}

.about-card i{
    width: 55px;
    height: 55px;
    background: rgba(212, 23, 54, 0.1);
    color: #D41736;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 25px;
}

.about-card h3{
    font-size: 17px;
    color: #222;
    font-weight: 800;
    line-height: 1.4;
}

/* Mobile */
@media(max-width: 900px){

    .about{
        grid-template-columns: 1fr;
        width: 90%;
        padding: 75px 0;
    }

    .about-left h1{
        font-size: 32px;
    }

    .about-right{
        grid-template-columns: 1fr;
    }
}

/* ------------ CURRICULUM SECTION ------------ */

.curriculum{
    width: 90%;
    margin: auto;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.curriculum h1{
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.curriculum h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.curriculum-intro{
    text-align: center;
    color: #666;
    max-width: 750px;
    margin: 20px auto 70px;
    line-height: 1.7;
}

.curriculum-timeline{
    position: relative;
}

.curriculum-timeline::before{
    content: '';
    position: absolute;
    left: 38px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e5e5;
}

.curriculum-item{
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    margin-bottom: 48px;
}

.week-number{
    width: 52px;
    height: 52px;
    border: 3px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.curriculum-item.active .week-number{
    background: #A6192E;
    border-color: #A6192E;
    color: #fff;
}

.curriculum-card{
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.curriculum-item.active .curriculum-card{
    border-color: #D41736;
}

.curriculum-card h5{
    color: #A6192E;
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 10px;
}

.curriculum-card h2{
    color: #222;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.topic-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-tags span{
    border: 1px solid #ddd;
    background: #fafafa;
    color: #555;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

/* CURRICULUM Mobile */
@media(max-width: 700px){

    .curriculum{
        width: 92%;
        padding: 70px 0;
    }

    .curriculum h1{
        font-size: 30px;
    }

    .curriculum-timeline::before{
        left: 25px;
    }

    .curriculum-item{
        grid-template-columns: 55px 1fr;
        gap: 15px;
        margin-bottom: 35px;
    }

    .week-number{
        width: 46px;
        height: 46px;
        font-size: 14px;
    }

    .curriculum-card{
        padding: 24px 18px;
    }

    .curriculum-card h2{
        font-size: 20px;
    }

    .topic-tags span{
        font-size: 13px;
        padding: 7px 10px;
    }
}
/* ------------ OUTCOME SECTION ------------ */

.outcome{
    width: 85%;
    margin: auto;
    padding: 100px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.outcome h1{
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.outcome h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.outcome-intro{
    color: #666;
    max-width: 760px;
    margin: 20px auto 60px;
    line-height: 1.7;
}

.outcome-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.outcome-card{
    background: #fff;
    padding: 38px 28px;
    border-radius: 18px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-top: 4px solid #D41736;
}

.outcome-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.13);
}

.outcome-card i{
    width: 62px;
    height: 62px;
    background: rgba(212, 23, 54, 0.1);
    color: #D41736;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
}

.outcome-card h3{
    font-size: 21px;
    color: #222;
    margin-bottom: 12px;
    font-weight: 800;
}

.outcome-card p{
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Mobile */
@media(max-width: 700px){

    .outcome{
        width: 90%;
        padding: 70px 0;
    }

    .outcome h1{
        font-size: 30px;
    }

    .outcome-card{
        padding: 32px 22px;
    }
}

/* ------------ PEOPLE SECTION ------------ */

.people{
    width: 85%;
    margin: auto;
    padding: 100px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.people h1{
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.people h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.people-intro{
    color: #666;
    max-width: 700px;
    margin: 20px auto 60px;
    line-height: 1.7;
}

/* Grid layout */
.people-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual card */
.person-card{
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: left;
}

.person-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* Faculty image */
.person-card img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #D41736;
}

/* Name */
.person-card h2{
    font-size: 24px;
    color: #222;
    margin-bottom: 5px;
}

/* Role */
.person-card h4{
    color: #D41736;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Subheadings */
.info h3{
    color: #D41736;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 8px;
}

/* Text */
.info p{
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

/* PHONE Mobile */
@media(max-width: 700px){

    .people h1{
        font-size: 28px;
    }

    .person-card{
        text-align: center;
    }

    .person-card img{
        margin: auto auto 20px;
    }
}
/* ------------ PROJECT SECTION ------------ */

.project{
    width: 100%;
    padding: 110px 0;
    background: #f8f8f8;
    font-family: 'Poppins', sans-serif;
}

.project-header{
    width: 85%;
    margin: auto;
    text-align: center;
    margin-bottom: 60px;
}

.project-header h5{
    color: #A6192E;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
}

.project-header h1{
    font-size: 44px;
    color: #222;
    font-weight: 800;
    margin-bottom: 15px;
}

.project-header h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 18px auto 0;
    border-radius: 2px;
}

.project-header p{
    max-width: 760px;
    margin: 22px auto 0;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.project-container{
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.project-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    border: 1px solid #eee;
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.project-img{
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

.project-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f1f1f1;
}

.project-card:hover .project-img img{
    transform: scale(1.08);
}

.project-content{
    padding: 28px;
    text-align: left;
}

.project-content span{
    display: inline-block;
    background: rgba(166, 25, 46, 0.1);
    color: #A6192E;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.project-content h3{
    color: #222;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.project-content p{
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

@media(max-width: 700px){
    .project{
        padding: 75px 0;
    }

    .project-header,
    .project-container{
        width: 90%;
    }

    .project-header h1{
        font-size: 32px;
    }

    .project-img{
        height: 190px;
    }
}

/* ------------ FAQ Section ------------ */
.faq{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.faq h1{
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 50px;
    position: relative;
}

/* Red underline effect */
.faq h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* FAQ container */
.faq-box{
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Individual question card */
.faq-item{
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: left;
}

.faq-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.faq-item h3{
    color: #D41736;
    margin-bottom: 10px;
    font-size: 20px;
}

.faq-item p{
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}
/* ------------ APPLY SECTION ------------ */

.apply{
    background: linear-gradient(135deg, #A6192E 0%, #7A0019 100%);
    padding: 95px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
}

.apply-left{
    color: #fff;
    position: sticky;
    top: 40px;
}

.apply-left h5{
    letter-spacing: 3px;
    font-size: 14px;
    color: #d9d9d9;
    margin-bottom: 25px;
    font-weight: 700;
}

.apply-left h1{
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 28px;
    color: #fff;
    font-weight: 800;
}

.apply-left h1 span{
    color: #fff;
    font-style: italic;
}

.apply-left > p{
    font-size: 17px;
    line-height: 1.8;
    color: #f2d8dc;
    max-width: 650px;
    margin-bottom: 45px;
}

.apply-steps{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.step{
    display: flex;
    align-items: center;
    gap: 18px;
}

.step span{
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step p{
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* FORM CARD */

.apply-card{
    background: #fff;
    border-radius: 22px;
    padding: 48px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.28);
}

.apply-card h2{
    font-size: 32px;
    color: #111;
    margin-bottom: 10px;
    font-weight: 800;
}

.apply-card > p{
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.apply-card form{
    display: flex;
    flex-direction: column;
}

.apply-card h3{
    margin: 35px 0 18px;
    color: #111;
    font-size: 24px;
    font-weight: 800;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
}

.apply-card label{
    font-size: 13px;
    font-weight: 800;
    color: #A6192E;
    margin-bottom: 8px;
    letter-spacing: 0.7px;
}

.apply-card input,
.apply-card select,
.apply-card textarea{
    padding: 0 16px;
    margin-bottom: 22px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    transition: 0.3s;
}

.apply-card input,
.apply-card select{
    height: 56px;
}

.apply-card textarea{
    min-height: 120px;
    padding-top: 16px;
    resize: vertical;
}

.apply-card input:focus,
.apply-card select:focus,
.apply-card textarea:focus{
    border-color: #A6192E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(166,25,46,0.12);
}

/* CHECKBOX */

.checkbox-line{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #444 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.6;
}

.checkbox-line input{
    width: auto;
    height: auto;
    margin: 4px 0 0;
}

/* FILE INPUT */

.apply-card input[type="file"]{
    height: auto;
    padding: 14px 16px;
}

/* BUTTON */

.apply-card button{
    height: 60px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.apply-card button:hover{
    background: #A6192E;
    transform: translateY(-2px);
}

/* Apply Mobile */
@media(max-width: 700px){

    .apply{
        padding: 60px 6%;
        gap: 40px;
    }

    .apply-left h5{
        font-size: 12px;
        margin-bottom: 18px;
    }

    .apply-left h1{
        font-size: 34px;
        line-height: 1.15;
    }

    .apply-left > p{
        font-size: 15px;
        margin-bottom: 30px;
    }

    .step{
        align-items: flex-start;
    }

    .step span{
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .step p{
        font-size: 14px;
    }

    .apply-card{
        padding: 26px 20px;
        border-radius: 16px;
    }

    .apply-card h2{
        font-size: 26px;
    }

    .apply-card > p{
        font-size: 14px;
    }

    .apply-card h3{
        font-size: 20px;
        margin-top: 28px;
    }

    .apply-card label{
        font-size: 12px;
    }

    .apply-card input,
    .apply-card select,
    .apply-card textarea{
        font-size: 14px;
        padding-left: 14px;
        padding-right: 14px;
        margin-bottom: 18px;
    }

    .apply-card input,
    .apply-card select{
        height: 50px;
    }

    .apply-card textarea{
        min-height: 110px;
    }

    .checkbox-line{
        font-size: 13px !important;
        gap: 10px;
    }

    .apply-card button{
        height: 54px;
        font-size: 15px;
        margin-top: 10px;
    }
}

/* ------------ CONTACT SECTION ------------ */

.contact{
    width: 85%;
    margin: auto;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.contact h1{
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.contact h1::after{
    content: '';
    width: 80px;
    height: 4px;
    background: #D41736;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-intro{
    text-align: center;
    color: #666;
    max-width: 750px;
    margin: 20px auto 60px;
    line-height: 1.7;
}

.contact-container{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item{
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.08);
    border-left: 4px solid #D41736;
}

.contact-item i{
    width: 52px;
    height: 52px;
    background: rgba(212, 23, 54, 0.1);
    color: #D41736;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h3{
    color: #222;
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 800;
}

.contact-item p{
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form{
    background: #fff;
    padding: 38px;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: #fafafa;
    box-sizing: border-box;
}

.contact-form textarea{
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: #A6192E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(166,25,46,0.12);
}

.contact-form button{
    height: 56px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover{
    background: #A6192E;
    transform: translateY(-2px);
}

/* Contact Mobile */
@media(max-width: 900px){

    .contact{
        width: 90%;
        padding: 75px 0;
    }

    .contact-container{
        grid-template-columns: 1fr;
    }

    .contact h1{
        font-size: 32px;
    }

    .contact-form{
        padding: 28px;
    }
}
.contact-success-message{
    display: none;
    margin-top: 16px;
    background: #28a745;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 800;
    text-align: center;
}

/* Mobile responsive design for triple bar.*/
@media(max-width: 700px){

    .text-box h1{
        font-size: 20px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: absolute;
        background: #D41736;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s
    }
    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
}
/* ===== Featured Achievement Badges ===== */

.info p span {
    display: inline-block;
    background: #f0f7ff;
    border: 1px solid #d4e4ff;
    border-radius: 999px;
    padding: 8px 14px;
    margin: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0b3d91;
    line-height: 1.4;
}
