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

: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/smchero2.JPG");

    background-size:cover;

    background-position:center;

    color:#fff;

    text-align:center;

    padding:120px 20px;

}

.page-hero h1{

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

    margin-bottom:20px;

}

.page-hero p{

    max-width:700px;

    margin:auto;

    line-height:1.8;

}

/* ======================================================
   CONTACT INFO
====================================================== */

.contact-info{

    padding:90px 0;

    background:#fff;

}

.section-title{

    text-align:center;

    color:var(--primary);

    margin-bottom:60px;

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

}

.contact-grid{

    display:grid;

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

    gap:30px;

}

.contact-card{

    background:white;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-10px);

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

}

.icon{

    width:75px;

    height:75px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:2rem;

}

.contact-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.contact-card p{

    color:var(--gray);

    line-height:1.8;

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

.section-tag{

    display:inline-block;

    color:#041EB1;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.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;

}

/* ======================================================
   CONTACT INTRO
====================================================== */

.contact-intro{

    padding:100px 0;

    background:#fff;

}

.contact-highlights{

    display:grid;

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

    gap:18px;

    margin-top:35px;

}

.highlight-item{

    display:flex;

    align-items:center;

    gap:15px;

    background:#F7F9FC;

    padding:18px 20px;

    border-radius:14px;

    font-weight:600;

    color:#444;

    transition:.3s;

}

.highlight-item:hover{

    transform:translateY(-5px);

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

}

.highlight-item span{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#041EB1;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    font-size:1rem;

}

/* ======================================================
   CONTACT INFORMATION
====================================================== */

.contact-info{

    padding:100px 0;

    background:#F7F9FC;

}

.section-heading{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

}

.section-heading h2{

    color:#041EB1;

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

    margin-bottom:18px;

}

.section-heading p{

    color:#666;

    line-height:1.8;

}

.contact-grid{

    display:grid;

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

    gap:30px;

}

.contact-card{

    background:#fff;

    border-radius:22px;

    padding:35px;

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

    transition:.35s;

    text-align:center;

}

.contact-card:hover{

    transform:translateY(-10px);

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

}

.contact-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#041EB1;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

}

.contact-card h3{

    color:#041EB1;

    margin-bottom:20px;

    font-size:1.35rem;

}

.contact-card p{

    color:#555;

    line-height:1.8;

    margin-bottom:12px;

}

.social-links{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:15px;

}

.social-links a{

    text-decoration:none;

    color:#2346D3;

    font-weight:600;

    transition:.3s;

}

.social-links a:hover{

    color:#041EB1;

    transform:translateX(6px);

}

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

@media(max-width:900px){

    .about-grid{

        grid-template-columns:1fr;

    }

    .about-content{

        text-align:center;

    }

    .contact-highlights{

        grid-template-columns:1fr;

    }

}

/* =====================================
   MAP SECTION
===================================== */

.map{

    margin:80px 0 0;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.map iframe{

    width:100%;

    height:500px;

    border:none;

    display:block;

}

/* =====================================
   OFFICE HOURS
===================================== */

.office-hours{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.office-hours p{

    margin:0;

    color:#555;

    line-height:1.8;

}

.office-hours strong{

    color:#041EB1;

}

/* =====================================
   SOCIAL LINKS
===================================== */

.card a{

    display:inline-block;

    color:#2346D3;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.card a:hover{

    color:#041EB1;

    transform:translateX(6px);

}

.card a::after{

    content:" ↗";

    font-size:.9rem;

}

/* =====================================
   CARD ENTRY ANIMATION
===================================== */

.card{

    opacity:0;

    transform:translateY(40px);

    animation:fadeUp .7s ease forwards;

}

.card:nth-child(2){

    animation-delay:.1s;

}

.card:nth-child(3){

    animation-delay:.2s;

}

.card:nth-child(4){

    animation-delay:.3s;

}

.card:nth-child(5){

    animation-delay:.4s;

}

.card:nth-child(6){

    animation-delay:.5s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

footer{

    background:linear-gradient(
        135deg,
        #041EB1,
        #0826c9
    );

    color:#fff;

    text-align:center;

    padding:65px 20px;

}

footer h3{

    font-size:1.9rem;

    margin-bottom:15px;

    font-weight:700;

}

footer p{

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

    line-height:1.8;

    margin:8px 0;

}

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

@media(max-width:992px){

.contact-grid{

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

}

.map iframe{

    height:420px;

}

}

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

@media(max-width:768px){

.page-hero{

    padding:85px 20px;

}

.page-hero h1{

    font-size:2.5rem;

}

.page-hero p{

    font-size:1rem;

}

section{

    padding:28px;

}

.contact-grid{

    grid-template-columns:1fr;

    gap:22px;

}

.card{

    padding:25px;

}

.card h3{

    font-size:1.2rem;

}

.card p{

    font-size:.95rem;

}

.map{

    border-radius:18px;

}

.map iframe{

    height:320px;

}

footer{

    padding:55px 20px;

}

}

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

@media(max-width:480px){

.page-hero h1{

    font-size:2rem;

}

.page-hero p{

    font-size:.95rem;

}

section{

    padding:22px;

}

.card{

    padding:22px;

}

.card h3{

    font-size:1.1rem;

}

.card p{

    font-size:.9rem;

}

.map iframe{

    height:260px;

}

footer h3{

    font-size:1.5rem;

}

footer p{

    font-size:.9rem;

}

}

/* =====================================
   CONTACT GRID
===================================== */

.contact-grid{

    display:grid;

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

    gap:50px;

}

/* Tablet */

@media(max-width:992px){

    .contact-grid{

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

    }

}

/* Mobile */

@media(max-width:768px){

    .contact-grid{

        grid-template-columns:1fr;

    }

}

.card{
    background:#f8fbff;
    border-left:5px solid #2346D3;
    padding:25px;
    border-radius:10px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.card h3{
    color:#2346D3;
    margin-bottom:15px;
}

.card a{
    color:#2346D3;
    text-decoration:none;
}

.card a:hover{
    text-decoration:underline;
}

/* Main */
section{
    background:#fff;
    padding:35px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    margin-bottom:35px;
}

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