/* ======================================================
   ADMISSIONS PAGE
   Stella Maris College QC
====================================================== */

/* ---------- Variables ---------- */

:root{

    --primary:#041EB1;
    --secondary:#2346D3;
    --accent:#FFD54F;
    --white:#ffffff;
    --light:#F5F7FB;
    --gray:#666;
    --shadow:0 10px 30px rgba(0,0,0,.08);

}

/* ======================================================
   HERO
====================================================== */

.page-hero{

    margin-top:78px;

    background:
        linear-gradient(
            rgba(4,30,177,.85),
            rgba(35,70,211,.85)
        ),
        url("../images/smchero4.jfif");

    background-size:cover;
    background-position:center;

    color:white;

    text-align:center;

    padding:120px 20px;

}

.page-hero h1{

    font-size:clamp(2.5rem,5vw,4rem);

    margin-bottom:20px;

}

.page-hero p{

    max-width:720px;

    margin:auto;

    font-size:1.1rem;

    line-height:1.8;

}

/* ======================================================
   SHARED COMPONENTS
====================================================== */

.section-tag{

    display:inline-block;

    color:#041EB1;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

    font-size:.85rem;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    width:100%;

    border-radius:22px;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

    object-fit:cover;

}

.about-content h2{

    color:#041EB1;

    font-size:2.3rem;

    margin-bottom:22px;

}

.about-content p{

    color:#555;

    line-height:1.9;

    margin-bottom:20px;

}

/* ======================================================
   ADMISSION INTRO
====================================================== */

.admission-intro{

    padding:100px 0;

    background:#fff;

}

.intro-highlights{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:35px;

}

.highlight-item{

    display:flex;

    align-items:center;

    gap:12px;

    background:#F7F9FC;

    padding:18px 20px;

    border-radius:14px;

    font-weight:600;

    color:#444;

    transition:.3s;

}

.highlight-item:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.highlight-item span{

    width:34px;

    height:34px;

    border-radius:50%;

    background:#041EB1;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1rem;

    flex-shrink:0;

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:900px){

.about-grid{

    grid-template-columns:1fr;

}

.about-content{

    text-align:center;

}

.intro-highlights{

    grid-template-columns:1fr;

}

}

/* ======================================================
   ADMISSION PROCESS
====================================================== */

.admission-process{

    padding:100px 0;

    background:#F7F9FC;

}

.section-heading{

    text-align:center;

    max-width:760px;

    margin:auto auto 60px;

}

.section-heading h2{

    color:#041EB1;

    font-size:clamp(2rem,4vw,3rem);

    margin-bottom:18px;

}

.section-heading p{

    color:#666;

    line-height:1.9;

}

.steps-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.step-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    border-top:5px solid transparent;

}

.step-card:hover{

    transform:translateY(-10px);

    border-top:5px solid #041EB1;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.step-number{

    width:70px;

    height:70px;

    margin-bottom:25px;

    border-radius:50%;

    background:#041EB1;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    font-weight:700;

}

.step-card h3{

    color:#041EB1;

    margin-bottom:18px;

}

.step-card ul{

    padding-left:20px;

}

.step-card li{

    color:#555;

    margin-bottom:12px;

    line-height:1.7;

}

.step-card p{

    color:#555;

    line-height:1.8;

    margin-bottom:15px;

}

/* ======================================================
   DOWNLOADABLE FORMS
====================================================== */

.download-section{

    padding:100px 0;

    background:#fff;

}

.forms-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.form-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    text-decoration:none;

    color:inherit;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    border:2px solid transparent;

    display:flex;

    flex-direction:column;

}

.form-card:hover{

    transform:translateY(-8px);

    border-color:#041EB1;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.form-icon{

    width:70px;

    height:70px;

    border-radius:18px;

    background:#041EB1;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    margin-bottom:25px;

}

.form-card h3{

    color:#041EB1;

    margin-bottom:12px;

    font-size:1.35rem;

}

.form-card p{

    color:#666;

    line-height:1.7;

    flex:1;

    margin-bottom:25px;

}

.form-card span{

    color:#2346D3;

    font-weight:600;

    transition:.3s;

}

.form-card:hover span{

    padding-left:8px;

}

/* ======================================================
   REQUIREMENTS
====================================================== */

.requirements-section{

    padding:100px 0;

    background:#F7F9FC;

}

.requirements-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.requirement-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.requirement-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.requirement-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:#041EB1;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

}

.requirement-card h3{

    color:#041EB1;

    margin-bottom:15px;

    font-size:1.35rem;

}

.requirement-card p{

    color:#666;

    line-height:1.8;

}


/* ======================================================
   APPLY NOW
====================================================== */

.apply-now{

    text-align:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

}

.apply-now h2{

    font-size:clamp(2rem,4vw,3rem);

    margin-bottom:20px;

}

.apply-now p{

    max-width:700px;

    margin:0 auto 35px;

    line-height:1.8;

    font-size:1.05rem;

}

/* Button */

.apply-now .btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 38px;

    background:var(--accent);

    color:#222;

    text-decoration:none;

    font-weight:600;

    border-radius:999px;

    transition:.35s;

}

.apply-now .btn:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/* ======================================================
   ANIMATIONS
====================================================== */

.step-card{

    opacity:0;

    transform:translateY(35px);

    animation:fadeUp .8s ease forwards;

}

.step-card:nth-child(2){

    animation-delay:.15s;

}

.step-card:nth-child(3){

    animation-delay:.30s;

}

.step-card:nth-child(4){

    animation-delay:.45s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ======================================================
   HOVER BORDER
====================================================== */

.step-card::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:20px;

    border:2px solid transparent;

    transition:.35s;

    pointer-events:none;

}

.step-card:hover::after{

    border-color:rgba(35,70,211,.18);

}

/* ======================================================
   ACCESSIBILITY
====================================================== */

.btn:focus{

    outline:3px solid var(--accent);

    outline-offset:5px;

}

/* ======================================================
   TABLET
====================================================== */

@media(max-width:1024px){

.steps-grid{

    grid-template-columns:repeat(2,1fr);

}

.page-hero{

    padding:100px 20px;

}

}

/* ======================================================
   MOBILE
====================================================== */

@media(max-width:768px){

.steps-grid{

    grid-template-columns:1fr;

}

.section-title{

    margin-bottom:40px;

}

.admission-process,
.requirements,
.apply-now{

    padding:70px 0;

}

.requirements-card{

    padding:30px;

}

.page-hero{

    padding:80px 20px;

}

.page-hero h1{

    font-size:2.5rem;

}

.page-hero p{

    font-size:1rem;

}

}

/* ======================================================
   SMALL PHONES
====================================================== */

@media(max-width:480px){

.requirements-card{

    padding:22px;

}

.requirements-card li{

    font-size:.95rem;

}

.apply-now .btn{

    width:100%;

}

}

/* ======================================================
   FOOTER
====================================================== */

footer{

    background:linear-gradient(
        135deg,
        var(--primary),
        #0826c9
    );

    color:#ffffff;

    text-align:center;

    padding:60px 20px;

}

footer h3{

    font-size:1.8rem;

    margin-bottom:15px;

    font-weight:700;

    color:#ffffff;

}

footer p{

    color:rgba(255,255,255,.9);

    margin:8px 0;

    line-height:1.8;

}


section{
    background:white;
    padding:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    margin-bottom:30px;
}

h2{
    color:#2346D3;
    margin-bottom:20px;
    border-bottom:2px solid #dbe4ff;
    padding-bottom:10px;
}

h3{
    color:#1f4ed8;
    margin-bottom:10px;
}

.step{
    margin-bottom:25px;
}

.step ul{
    margin-left:20px;
}

.step p{
    text-align:justify;
}

.policy-box{
    background:#f8faff;
    padding:20px;
    border-left:5px solid #2346D3;
    border-radius:8px;
}

.policy-box ul{
    margin-top:15px;
    margin-left:20px;
}

.forms{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.forms a{
    text-decoration:none;
    color:#2346D3;
    background:#f8faff;
    padding:15px;
    border-radius:8px;
    transition:.3s;
    border:1px solid #dbe4ff;
}

.forms a:hover{
    background:#e8efff;
    transform:translateX(5px);
}

