/* =========================
   GLOBAL RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Segoe UI',sans-serif;

    background:
        linear-gradient(
            to bottom,
            #f4f7fb,
            #eef2ff
        );

    overflow-x:hidden;

    color:#222;
}


/* =========================
   HEADER
========================= */

#collegeHeader{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 50px;

    background:white;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.08);

    animation:
        fadeDown 0.8s ease;

}

.logo{
    height:90px;
}

.accreditations img{

    height:105px;

    margin-left:10px;

    transition:0.3s;
}

.accreditations img:hover{

    transform:scale(1.08);

}


/* =========================
   MAIN TITLE
========================= */

h1{

    text-align:center;

    color:#24295d;

    margin:30px 0;

    font-size:2.5rem;

    animation:
        fadeUp 1s ease;

}


/* =========================
   VISION MISSION LOGIN
========================= */

.vision-mission-container{

    width:95%;

    max-width:1400px;

    margin:40px auto;

    display:flex;

    gap:30px;

    align-items:stretch;

    justify-content:center;

    flex-wrap:nowrap;

}


.info-box,
#loginContainer{

    flex:1;

    min-width:320px;

    max-width:420px;

    background:white;

    padding:25px;

    border-radius:18px;

    border-top:6px solid #24295d;

    box-shadow:
        0 6px 20px rgba(0,0,0,0.08);

    transition:0.3s;

    animation:
        fadeUp 0.8s ease;
}

.info-box:hover,
#loginContainer:hover{

    transform:translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.12);

}

.info-box h3,
#loginContainer h3{

    color:#24295d;

    margin-bottom:15px;

    text-align:center;

    border-bottom:1px solid #ddd;

    padding-bottom:10px;

}

.info-box p{

    line-height:1.8;

    font-size:0.95rem;

}


/* =========================
   INPUTS
========================= */

input,
select{

    width:100%;

    padding:12px;

    margin:10px 0;

    border-radius:10px;

    border:1px solid #ccc;

    outline:none;

    transition:0.3s;

    font-size:1rem;

}

input:focus,
select:focus{

    border-color:#3b82f6;

    box-shadow:
        0 0 10px rgba(59,130,246,0.2);

}


/* =========================
   BUTTONS
========================= */

button{

    width:100%;

    padding:12px;

    margin-top:10px;

    border:none;

    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            #24295d,
            #3b82f6
        );

    color:white;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

}

button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0,0,0,0.15);

}


/* =========================
   SECURITY NOTE
========================= */

.security-note{

    color:#16a34a;

    font-size:0.95rem;

    margin-top:12px;

    text-align:center;

}

.forgot-password-text{

    margin-top:10px;

    text-align:center;

    color:#1f2a74;

    font-size:17px;

    font-weight:bold;

    line-height:1.5;

}




/* =========================
   FOOTER
========================= */

/* 5. FOOTER STYLING */
.main-footer {
    background-color: #24295d; 
    color: #ffffff;
    padding: 50px 0 0 0;
    margin-top: 60px;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px 40px 10px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
    margin: 10px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-col p, .footer-col ul {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #d1d5db;
    list-style: none;
}

.footer-col ul li a {
    text-decoration: none;
    color: #d1d5db;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}





.footer-bottom {
    background-color: #000000;
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff;
    width: 100%;
}

.modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

.modal-content{
    background:white;
    width:400px;
    padding:25px;
    border-radius:15px;
    margin:120px auto;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.modal-content h2{
    text-align:center;
    color:#1f2c74;
}

.modal-content input{
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
}

.modal-content button{
    padding:12px;
    border:none;
    border-radius:8px;
    background:#1f2c74;
    color:white;
    cursor:pointer;
}

.close-btn{
    float:right;
    font-size:24px;
    cursor:pointer;
}


.forgot-links{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:12px;

    margin-top:15px;

}

.forgot-links a{

    display:block;

    width:fit-content;

    color:#2d3a8c;

    font-weight:700;

    font-size:18px;

    text-decoration:underline;

}
.forgot-links a{

    color:#2d3a8c;

    font-weight:700;

    text-decoration:underline;

    font-size:18px;

    transition:all 0.3s ease;

}

.forgot-links a:hover{

    color:#0d6efd;

    transform:translateY(-2px);

    text-shadow:0 2px 8px rgba(13,110,253,0.3);

}

.password-wrapper{

    position:relative;

    width:100%;

}

.password-wrapper input{

    width:100%;

    padding-right:45px;

}

.password-toggle{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#666;

    font-size:16px;

    transition:0.3s;

}

.password-toggle:hover{

    color:#2d3a8c;

}