/* ===================================================== 
   SCHOOL POLICIES 
===================================================== */


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

.policies-hero{
    min-height: 600px;

    padding-top: 100px;

    background:

        linear-gradient(
            90deg,
            rgba(11,55,103,1) 0%,
            rgba(11,55,103,1) 30%,
            rgba(11,55,103,.96) 40%,
            rgba(11,55,103,.82) 50%,
            rgba(11,55,103,.45) 60%,
            rgba(11,55,103,0) 72%
        ),

        linear-gradient(
            rgba(0,0,0,.18),
            rgba(0,0,0,.18)
        ),

        url("../images/hero-contact-1.png");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom bottom;
    background-attachment: fixed;

    display: flex;
    align-items: center;
}


.policies-hero .container{
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 1rem 5%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    min-height: 600px;
}


.policies-hero-content{
    width: 52%;
    max-width: 700px;

    margin: 0;
    padding: 0;

    text-align: left;
}


.policies-hero-content .section-subtitle{

    display: block;

    margin-bottom: 1rem;

    color: var(--gold);

    font-size: .95rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.policies-hero-content h1{

    max-width: 600px;

    color: var(--white);

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.05;

    margin-bottom: 1.5rem;
}


.policies-hero-content .section-divider{

    margin-bottom: 1.75rem;
}


.policies-hero-content > p{

    max-width: 520px;

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

    font-size: 1.05rem;

    line-height: 1.8;
}

/* =====================================================
   POLICIES SECTION
===================================================== */

.policies-section {

    padding: 7rem 0;

    background: var(--surface);
}


.policies-header {

    max-width: 700px;

    margin: 0 auto 3.5rem;

    text-align: center;
}


.policies-header .section-subtitle {

    display: block;

    margin-bottom: .7rem;

    color: var(--gold);

    font-family: var(--font-body);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.policies-header h2 {

    margin: 0;

    color: var(--navy);

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

    line-height: 1.15;
}


/* =====================================================
   POLICY GRID
===================================================== */

.policies-grid {

    display: grid;

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

    gap: 1.5rem;

    max-width: 1100px;

    margin: 0 auto;
}


/* =====================================================
   POLICY CARD
===================================================== */

.policy-card {

    display: flex;

    align-items: flex-start;

    gap: 1.25rem;

    padding: 2rem;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.policy-card:hover {

    transform: translateY(-4px);

    border-color: rgba(11,55,103,.18);

    box-shadow: var(--shadow-md);
}


/* =====================================================
   POLICY ICON
===================================================== */

.policy-icon {

    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(253,188,89,.12);

    border: 1px solid rgba(253,188,89,.35);

    border-radius: 50%;

    color: var(--gold);

    font-size: 1.25rem;

    transition:
        background .3s ease,
        color .3s ease;
}


.policy-card:hover .policy-icon {

    background: var(--gold);

    color: var(--navy);
}


/* =====================================================
   POLICY CONTENT
===================================================== */

.policy-content {

    flex: 1;

    min-width: 0;
}


.policy-content h3 {

    margin: 0 0 .7rem;

    color: var(--navy);

    font-family: var(--font-heading);

    font-size: 1.25rem;

    line-height: 1.3;
}


.policy-content p {

    margin: 0 0 1.25rem;

    color: var(--gray-dark);

    font-size: .9rem;

    line-height: 1.7;
}


/* =====================================================
   DOWNLOAD BUTTON
===================================================== */

.policy-download {

    display: inline-flex;

    align-items: center;

    gap: .6rem;

    color: var(--navy);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .03em;

    text-transform: uppercase;

    transition:
        color .3s ease,
        gap .3s ease;
}


.policy-download i {

    color: var(--gold);

    font-size: .95rem;

    transition: transform .3s ease;
}


.policy-download:hover {

    color: var(--gold);

    gap: .75rem;
}


.policy-download:hover i {

    transform: translateY(2px);
}


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

.policies-contact {

    padding: 6rem 0;

    margin-bottom: 0;

    background: var(--burgundy);

    text-align: center;
}


.policies-contact-content {

    max-width: 700px;

    margin: 0 auto;
}


.policies-contact-content .section-subtitle {

    display: block;

    margin-bottom: .75rem;

    color: var(--gold);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.policies-contact-content h2 {

    margin-bottom: 1.25rem;

    color: var(--white);

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

    line-height: 1.15;
}


.policies-contact-content p {

    max-width: 600px;

    margin: 0 auto 2rem;

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

    line-height: 1.8;
}


.policies-contact-content .btn-nav {

    display: inline-flex;
}


/* =====================================================
   REMOVE SPACE BEFORE FOOTER
===================================================== */

.policies-contact {
    margin-bottom: 0 !important;
}

.footer {
    margin-top: 0 !important;
}

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

@media (max-width: 900px) {

    .policies-intro {

        min-height: 550px;

        background-attachment: scroll;
    }


    .policies-intro .container {

        min-height: 550px;
    }


    .policies-intro-content {

        width: 60%;
    }


    .policies-section {

        padding: 5rem 0;
    }


    .policies-grid {

        grid-template-columns: 1fr;

        max-width: 750px;
    }


    .policies-contact {

        padding: 5rem 0;
    }

}


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

@media (max-width: 767px) {

    .policies-intro {

        min-height: 520px;

        padding-top: 80px;

        background:

            linear-gradient(
                90deg,
                rgba(11,55,103,.98) 0%,
                rgba(11,55,103,.95) 45%,
                rgba(11,55,103,.75) 75%,
                rgba(11,55,103,.35) 100%
            ),

            linear-gradient(
                rgba(0,0,0,.18),
                rgba(0,0,0,.18)
            ),

            url("../images/hero-contact-1.png");

        background-repeat: no-repeat;

        background-size: cover;

        background-position: center;

        background-attachment: scroll;
    }


    .policies-intro .container {

        min-height: 520px;

        padding: 1rem;
    }


    .policies-intro-content {

        width: 100%;

        max-width: 100%;

        margin-top: 0;

        text-align: left;
    }


    .policies-intro-content .section-subtitle {

        margin-bottom: .7rem;

        font-size: .78rem;

        letter-spacing: .1em;
    }


    .policies-intro-content h1 {

        max-width: 100%;

        margin-bottom: 1.25rem;

        font-size: clamp(2.5rem, 11vw, 3.5rem);

        line-height: 1.05;
    }


    .policies-intro-content .section-divider {

        margin-bottom: 1.4rem;
    }


    .policies-intro-content p {

        max-width: 500px;

        margin-bottom: .7rem;

        font-size: .9rem;

        line-height: 1.7;
    }


    /* POLICIES */

    .policies-section {

        padding: 4rem 0 5rem;
    }


    .policies-header {

        margin-bottom: 2.5rem;

        padding: 0 1rem;
    }


    .policies-header h2 {

        font-size: 2rem;
    }


    .policies-grid {

        display: flex;

        flex-direction: column;

        gap: 1rem;

        padding: 0 1rem;
    }


    /* CARDS */

    .policy-card {

        gap: 1rem;

        padding: 1.5rem;
    }


    .policy-icon {

        width: 46px;

        height: 46px;

        font-size: 1.05rem;
    }


    .policy-content h3 {

        margin-bottom: .55rem;

        font-size: 1.1rem;
    }


    .policy-content p {

        margin-bottom: 1rem;

        font-size: .85rem;

        line-height: 1.65;
    }


    .policy-download {

        font-size: .75rem;
    }


    /* CONTACT */

    .policies-contact {

        padding: 4.5rem 1rem;
    }


    .policies-contact-content h2 {

        font-size: 2rem;
    }


    .policies-contact-content p {

        font-size: .9rem;

        line-height: 1.7;
    }

}


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

@media (max-width: 480px) {

    .policies-intro {

        min-height: 500px;

        padding-top: 75px;

        background-position: center;
    }


    .policies-intro .container {

        min-height: 500px;

        padding: 1rem;
    }


    .policies-intro-content h1 {

        font-size: 2.5rem;
    }


    .policies-intro-content p {

        font-size: .85rem;

        line-height: 1.65;
    }


    /* POLICIES */

    .policies-section {

        padding: 3.5rem 0 4rem;
    }


    .policies-grid {

        padding: 0 .85rem;

        gap: .85rem;
    }


    .policy-card {

        padding: 1.25rem;

        gap: .9rem;
    }


    .policy-icon {

        width: 42px;

        height: 42px;

        font-size: .95rem;
    }


    .policy-content h3 {

        font-size: 1rem;
    }


    .policy-content p {

        font-size: .82rem;
    }


    .policy-download {

        font-size: .7rem;
    }


    /* CONTACT */

    .policies-contact {

        padding: 4rem 1rem;
    }


    .policies-contact-content h2 {

        font-size: 1.9rem;
    }

}