:root{
    --primary: #6e2c00;
    --primary-light: #53181231;
    --primary-lighter: #9eeba7fa;
    --background: #F4F4F5;
    --white: #ffffff;
    --dark: #222222;
}

/* GENERAL STYLING */
body{
    background: var(--background);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar{
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand{
    color: var(--primary);
    font-size: 1.4rem;
}

.nav-link{
    color: var(--dark);
    font-weight: 500;
    margin-left: 10px;
    transition: 0.3s;
}

.nav-link:hover{
    color: var(--primary);
}

.portal-btn{
    background: var(--primary);
    color: var(--white);
    border-radius: 5px;
    padding: 10px 18px;
    text-decoration: none;
    transition: 0.3s;
}

.portal-btn:hover{
    background: #4d1f00;
    color: var(--white);
}

/* HERO SECTION */
.hero{
    min-height: 90vh;
    background:
        /*linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),***
        linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)),*/
        linear-gradient(rgba(110,44,0,0.75), rgba(110,44,0,0.75)),
        url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero h1{
    font-size: 3.5rem;
    font-weight: bold;
    /*color: var(--primary);*/
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero p{
    font-size: 1.2rem;
    margin-top: 20px;
}

.apply-btn{
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    transition: 0.3s;
}

.apply-btn:hover{
    background: #4d1f00;
    color: var(--white);
}

/* MOBILE RESPONSIVENESS */
@media(max-width:768px){

    .hero h1{
        font-size: 2.3rem;
    }

    .hero p{
        font-size: 1rem;
    }

    .navbar-brand{
        font-size: 1rem;
    }

}
/* ABOUT SECTION */
.about-section{
    background: var(--white);
    padding: 80px 0;
}

.section-title{
    color: var(--primary);
    font-weight: bold;
    font-size: 2rem;
}

.about-section p{
    line-height: 1.8;
    color: #555;
}

.learn-btn{
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.learn-btn:hover{
    background: #4d1f00;
    color: var(--white);
}

/* PROGRAMMES SECTION */
.programmes-section{
    background: var(--background);
}

.programme-card{
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.programme-card:hover{
    transform: translateY(-5px);
}

.programme-icon{
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.programme-card h4{
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.programme-card p{
    color: #555;
    line-height: 1.7;
}

/* ADMISSION SECTION */
.admission-section{
    background: var(--white);
}

.admission-card{
    background: var(--background);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
}

.admission-card:hover{
    transform: translateY(-5px);
}

.step-number{
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.admission-card h4{
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.admission-card p{
    color: #555;
    line-height: 1.7;
}

/* NEWS SECTION */
.news-section{
    background: var(--background);
}

.news-card{
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.news-card:hover{
    transform: translateY(-5px);
}

.news-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content{
    padding: 25px;
}

.news-content small{
    color: var(--primary);
    font-weight: 600;
}

.news-content h4{
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: bold;
}

.news-content p{
    color: #555;
    line-height: 1.7;
}

.read-more{
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover{
    color: #4d1f00;
}

/* CONTACT SECTION */
.contact-section{
    background: var(--white);
}

.contact-info{
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    height: 100%;
}

.contact-info h4{
    margin-bottom: 25px;
    font-weight: bold;
}

.contact-info p{
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-info i{
    margin-right: 10px;
}

.social-links a{
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover{
    background: var(--white);
    color: var(--primary);
}

.contact-form{
    background: var(--background);
    padding: 40px;
    border-radius: 10px;
}

.form-control{
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus{
    box-shadow: none;
    border-color: var(--primary);
}

/* FOOTER */
.footer{
    background: #1f1f1f;
    color: #ccc;
    padding: 70px 0 20px;
}

.footer h4,
.footer h5{
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links{
    list-style: none;
    padding: 0;
}

.footer-links li{
    margin-bottom: 10px;
}

.footer-links a{
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover{
    color: var(--white);
}

/* PROGRAMME TOGGLE BUTTON */
.read-toggle-btn{
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.read-toggle-btn i{
    margin-left: 5px;
}

/* FOR APPLICATION */
/* APPLICATION FORM */
.application-section{
    background: var(--background);
    min-height: 100vh;
}

.application-title{
    color: var(--primary);
    font-weight: bold;
}

.application-card{
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* STEP INDICATOR */
.step-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item{
    text-align: center;
    flex: 1;
    position: relative;
}

.step-circle{
    width: 60px;
    height: 60px;
    background: #ddd;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}

.step-item.active .step-circle{
    background: var(--primary);
    color: var(--white);
}

.step-item p{
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* FORM STEPS */
.form-step{
    display: none;
}

.active-step{
    display: block;
}

/* BUTTONS */
.next-btn,
.prev-btn,
.submit-btn{
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    transition: 0.3s;
}

.next-btn:hover,
.prev-btn:hover,
.submit-btn:hover{
    background: #4d1f00;
}

/* TABLE */
.table th{
    background: var(--primary);
    color: var(--white);
    vertical-align: middle;
    font-size: 0.9rem;
}

.table td{
    vertical-align: middle;
}

/* REVIEW BOX */
.review-box{
    background: var(--primary-light);
    padding: 30px;
    border-radius: 10px;
}

/* INPUTS */
.application-card .form-control{
    padding: 12px;
}

.application-card label{
    margin-bottom: 8px;
    font-weight: 600;
}

/* MOBILE */
@media(max-width:768px){

    .application-card{
        padding: 20px;
    }

    .step-wrapper{
        flex-direction: column;
    }

    .step-item{
        width: 100%;
    }

}

/* PAYMENT CARD */
.payment-card{
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.payment-card h2{
    color: var(--primary);
    font-weight: bold;
}