/* GLOBAL */

* {
    padding: 0;
    margin: 0;
}

html, body {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

a, a:visited {
    text-decoration: none;
    color:black;
    cursor: pointer;
}

button {
    cursor: pointer;
}

/* LOGO */
#logo {
    height: 50px;
}

#logoFooter {
    height: 210px;
}

/* [DESKTOP] MENU */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1001;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-name {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

.desktop-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 15px;
}

.desktop-menu nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-menu nav ul li {
    position: relative;
}

.desktop-menu nav ul li a {
    display: block;
    padding: 1.25rem 1.5625rem;
    color: black;
    text-decoration: none;
    text-align: center;
}

.desktop-menu nav ul li ul.dropdown {
    width: 170%;
    background: white;
    position: absolute;
    z-index: 999;
    display: none;
}

.desktop-menu nav ul li a:hover {
    background: #F6F6F6;
}

.desktop-menu nav ul li:hover ul.dropdown {
    display: block;
}

/* [MOBILE] SIDEBAR MENU */

/* SIDEBAR STYLING */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: white;
    color: black;
    padding-top: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.open {
    right: 0;
}

.sidebar nav ul {
    list-style: none;
    padding-left: 0;
}

.sidebar nav ul li {
    position: relative;
    border-bottom: 1px solid #ddd;
}

.sidebar nav ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: black;
    text-decoration: none;
    font-size: 15px;
}

.sidebar nav ul li a:hover {
    background: #F6F6F6;
}

/* DROPDOWN MENU */
.sidebar nav ul li ul.dropdown {
    width: 100%;
    background: white;
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 0;
}

.sidebar nav ul li .dropdown.open {
    display: block;
    max-height: 200px;
}

/* SIDEBAR TOGGLE BUTTON */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

/* INTRODUCTION */

.introduction {
    text-align: center;
    padding: 0 4rem;
    margin-bottom: 5rem;
}

/* BANNER (HOMEPAGE) */

.banner-home {
    background-image: url('/Images/Banners/Banner - Homepage.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 75vh;
    padding-left: 70px;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

.banner-home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
    max-width: 60%;
}

.banner-home-text {
    font-size: 4.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 20px;
    padding-top: 5rem;
}

.banner-button {
    display: flex;
    padding: 0.5rem 5rem;
    background-color: #0D2D62;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    border-radius: 20px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.banner-button a {
    text-decoration: none;
    outline: none;
}

.banner-button a:hover {
    text-decoration: none;
    outline: none;
}

/* BANNER */

.banner {
    background-image: url('/Images/Placeholder.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-wrap:balance;
    color: #ffffff;
    max-width: 60%;
}

.banner-head {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align:center;
    padding-top: 5rem;
}

.banner-text {
    font-size: 4.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align:center;
}

.banner-text-solo {
    padding-top: 5rem;
    font-size: 4.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align:center;
}

.banner-home {
    background-image: url('/Images/Banners/Banner - Homepage.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 75vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#whoWeAre {
    background-image: url('/Images/Banners/Banner - Who We Are.JPG');
    background-size: cover;
    background-position: center 250%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#welcomeMessage {
    background-image: url('/Images/Banners/Banner - Welcome Message.JPG');
    background-position: 50% 45%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#missionVisionValues {
    background-image: url('/Images/Banners/Banner - Mission, Vision, & Values.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#onsitebanner {
    background-image: url('/Images/Banners/Banner - Berean Onsite.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#onlinebanner {
    background-image: url('/Images/Banners/Banner - Berean Online.jpg');
    background-position: center 80%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#homeschoolbanner {
    background-image: url('/Images/Banners/Banner - Berean Homeschool.jpg');
    background-position: center 170%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#admissions {
    background-image: url('/Images/Banners/Banner - Admissions.jpg');
    background-position: center 170%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#contact {
    background-image: url('/Images/Banners/Banner\ -\ Contact.JPG');
    background-position: center 170%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

#feature {
    background-image: url('/Images/Banners/Banner\ -\ Feature.JPG');
    background-position: center 150%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 100%;
    margin-bottom: 6rem;
    overflow-x: hidden;
}

/* [DESKTOP] VALUES (HOMEPAGE) */

.value-box {
    position: relative;
    display: flex;
    bottom: 200px;
    margin-bottom: -7rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 50rem;
    height: 13rem;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.value-box h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    text-align: center;
}

.value-box p {
    font-size: 1rem;
    color: #666666;
    text-align: center;
}

#value-img-home {
    width: 100px;
}

/* [MOBILE] VALUES (HOMEPAGE) */

.value-box-small {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 6rem;
    width: 100%;
}
.value-individual-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 90%;
    width: 90%;
    text-align: center;
}

.value-individual-small img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* VALUES (MISSION, VISION, & VALUES) */

.values {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
    width: 100%;
}

.value-individual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 80%;
}

.values img {
    max-width: 40%;
    height: auto;
    display: block;
}

.values p {
    font-size: 1rem;
    color: black;
    text-align: left;
    flex: 1;
}

/* DESCRIPTION */

.description-center {
    text-align: center;
    padding: 0 4rem;
    margin-bottom: 6rem;
}

.description-center h2 {
    margin-bottom: 10px;
}

.description {
    padding: 0 4rem;
    margin-bottom: 5rem;
}

/* PROGRAMS (HOMEPAGE) */

.programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
    color: white;
    margin-bottom: 5rem;
}

.programs a {
    display: block;
    text-decoration: none;
    color: white;
}

.programs h3 {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    font-size: 20px;
    margin-bottom: 1rem;
}

.onsite, .online, .homeschool {
    padding: 5rem;
}

.onsite {
    background-color: #1B76BA;
}

.online {
    background-color: #F0B348;
}

.homeschool {
    background-color: #D13B62;
    padding-bottom: 6rem;
}


/* PROGRAM OVERVIEW */

.overview {
    padding: 4rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 0 4rem;
    color: white;
    margin-bottom: 6rem;
}

.overview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#onsite {
    background-color: #1B76BA;
}

#online {
    background-color: #F0B348;
}

#homeschool {
    background-color: #D13B62;
}

.introduction a {
    text-decoration: underline;
}

/* GALLERY */

.gallery {
    background-color: #F6F6F6;
    margin-bottom: 6rem;
}

.gallery-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center center;
    justify-content: space-between;
    padding: 3rem;
    gap: 1rem;
}

.gallery-images img {
    aspect-ratio: 1 / 1;
    width: 300px;
    object-fit: cover;
}

/* FEATURE ARTICLE PREVIEW */

.feature {
    display: flex;
    gap: 5rem;
    margin-bottom: 6rem;
    background-color: #0D2D62;
}

.feature img {
    height: 400px;
}

.feature-text {
    padding: 4rem;
    color: #ffffff;
}

.feature-text h2{
    margin-bottom: 1.5rem;
}

.feature-text p {
    margin-bottom: 1rem;
}

.feature-text p:last-of-type {
    margin-bottom: 0;
    font-style: italic;
}

/* FEATURE ARTICLE */

.article {
    margin: 0 auto;
    padding-bottom: 6rem;
    width: 70%;
}

.article img {
    margin: 1rem 0;
    width: 100%;
}

/* SIGNATURES */

.signatures {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4rem;
    gap: 10rem;
    margin-bottom: 5rem;
}

.mrcaguin {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mrscaguin {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.signaturetext {
    display: flex;
    flex-direction: column;
}

.mrcaguin img, .mrscaguin img {
    height: 100px;
}

/* ADMISSION PROCESS */

.admission-process {
    padding: 0 4rem;
    margin-bottom: 5rem;
}

.admission-process h2 {
    text-align: center;
}

.admission-process li {
    margin-left: 1.5em;
}

.admission-process li:last-child {
    margin-bottom: 1em;
}

.admission-process h4 {
    font-size: 17px;
}

/* PAYMENT METHODS */

.payment-methods {
    padding: 0 4rem;
    margin-bottom: 5rem;
}

.payment-methods li {
    margin-left: 1.5em;
}

.payment-methods h2 {
    text-align: center;
}

.admission-process p, .payment-methods p {
    margin-bottom: 1rem;
}

.payment-method-individual {
    margin-bottom: 1rem;
}

/* CONTACT FORM & INFORMATION */
.form-info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem;
    margin: 0 auto;
    max-width: 1100px;
    margin-bottom: 5rem;
}

.contact-form,
.contact-information {
    flex: 1; 
    min-width: 320px;
    max-width: 500px;
    width: 50%;
}

/* CONTACT FORM */
.contact-form {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

/* CONTACT FORM STYLING */
.contact-form h2 {
    margin-bottom: 1rem;
}

.contact-form label {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 1rem;
    width: 100%;
    padding: 10px;
    max-width: 100%; 
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    font-family: 'Poppins', sans-serif;
    background-color: #0D2D62;
    color: white;
    width: 7rem;
    height: 2.5rem;
    font-size: 16px;
    border: none;
    border-radius: 10px;
}

/* CONTACT INFORMATION */
.contact-information {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.contact-information hr {
    margin-bottom: 1.5rem;
}

#phone-icon {
    margin-bottom: 2em;
}

/* FORM SUCCESS */

.form-success {
    text-align: center;
    margin: 5rem;
}

.form-success img {
    max-width: 80%;
}

.form-success a {
    text-decoration: underline;
}

/* [DESKTOP] FOOTER */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    margin-bottom: 3rem;
}

.footer-left {
    display: flex;
}

.footer-middle, .footer-right {
    display: flex;
    flex-direction: column;
}

.footer-email, .footer-map, .footer-facebook {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-phone, .footer-instagram {
    display: flex;
    gap: 20px;
}

/* [MOBILE] FOOTER */

.footer-mobile {
    display: none;
}

.footer-logo {
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.footer-item img {
    max-width: 24px;
    height: auto;
}

.footer-item:last-of-type {
    margin-bottom: 5rem;
}

.footer-item p, .footer-item a {
    font-size: 1rem;
    color: black;
    text-decoration: none;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* COPYRIGHT */

.copyright {
    text-align: center;
    color: white;
    background-color: #0D2D62;
    padding: 1rem;
}

/* MEDIA QUERIES */

@media (max-width: 1156px) {
    .banner-home {
        justify-content: center;
        align-items: center;
        padding-left: 0;
        height: 55vh;
    }

    .banner-home-content {
        justify-content: center;
        align-items: center;
        max-width: 90%;
    }

    .banner-home-text {
        font-size: 3rem;
        text-align: center;
    }

    .banner-button {
        padding: 0.5rem 7rem;
    }
}

@media (max-width: 1105px) {
    .programs {
        display: flex;
        flex-direction: column;
    }

    .feature {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 1065px) {
    .desktop-menu {
        display: none;
    }

    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 830px) {
    .value-box {
        display: none;
    }

    .value-box-small {
        display: flex;
    }

    .values p {
        text-align: center;
    }
}

@media (max-width: 810px) {
    .footer {
        display: none;
    }

    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 4rem;
        background-color: white;
        color: black;
    }
}

@media (max-width: 768px) {
    .form-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-form, 
    .contact-information {
        max-width: 90%;
    }

    .value-individual {
        flex-direction: column; 
        text-align: center;
        gap: 2rem; 
    }

    .values img {
        max-width: 80%;
    }

    .values p {
        text-align: center;
    }
}

@media (max-width: 734px) {
    .banner {
        height: 35vh;
    }
    
    .banner-text {
        font-size: 3.5rem;
    }

    .banner-text-solo {
        font-size: 3.5rem;
    }
}

@media (max-width: 705px) {
    .gallery-images {
        justify-content: center;
    }
}

@media (max-width: 612px) {
    .contact-information {
        padding: 0 4rem;
    }

    .contact-form {
        padding: 0 4rem;
    }
}

@media (max-width: 589px) {
    .signatures {
        justify-content: center;
        align-items: center;
    }
    
    .mrcaguin, .mrscaguin {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .signaturetext {
        display: flex;
        flex-direction: column;
        text-align: center;
    }    
}

@media (max-width: 500px) {
    .copyright {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner-home {
        justify-content: center;
        align-items: center;
        padding-left: 0;
        height: 50vh;
    }

    .banner-home-content {
        justify-content: center;
        align-items: center;
        max-width: 90%;
    }

    .banner-home-text {
        font-size: 2.5rem;
        text-align: center;
    }

    .banner-button {
        padding: 0.5rem 5rem;
    }

    .banner-text {
        font-size: 2.5rem;
    }

    .banner-text-solo {
        font-size: 2.5rem;
    }

    .contact-form {
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .value-individual-small img {
        max-width: 300px;
    }
}
