/* 
   CONFIDENTIAL AND PROPRIETARY

   This software and its source code are the property of Exodus Software Development Team.
   Unauthorized use, copying, or distribution is strictly prohibited.

   Team Members:
   Fuertez
   Bundalian
   Arevalo
   De Vera
   De Jesus
   Orendain 
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #F4F6FF;
}

.header {
    display: flex;
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
    justify-content: space-between;
    margin: auto;
    align-items: center;
}

.header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open.hidden {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 70px;
    margin-top: 10px;
}

.logo {
    height: 50px;
}

.site-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    display: block;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    padding: 24px 20px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.nav-list li a:hover {
    color: #f9f9f9 !important;
    background-color: #007bff7e;
    border-radius: 8px;
}

.nav-list li.active a {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 70px;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #007bff;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: rgb(238, 238, 238);
    border-radius: 20px;
    padding: 1px;
    margin-right: 10px;
}

.search-icon {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.search-icon.active {
    width: 25px;
    height: 25px;
    margin-left: 8px;
    transform: scale(0.8);
}


.search-input {
    width: 0;
    height: 35px;
    border-style: none;
    transition: width 0.3s ease-in-out;
    background-color: transparent;
    outline: none;
}

.search-input.open {
    width: 200px;
    margin-left: 5px;
}

.search-input:focus {
    outline: none;
}

.search-results {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-results li:last-child {
    border-bottom: none;
}

.search-results a {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    display: block;
    transition: color 0.2s ease;
}

.search-results li:hover {
    background-color: #f1f4fc;
}

.search-results li:hover a {
    color: #007bff;
}

.search-results li.active {
    background-color: #007bff;
}

.search-results li.active a {
    color: white;
}

@media screen and (max-width: 480px) {
    .search-results {
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
    }
}


.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 60px;
    width: 100%;
    left: 0;
    padding: 10px 0;
    z-index: 999;
    transform: translateY(-150%);
    transition: transform 0.5s ease-in-out;
}

.mobile-menu.open {
    transform: translateY(0);
}

.spin {
    animation: spin 0.7s ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.mobile-menu ul {
    list-style: none;
    padding-top: 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;

}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 100px;
    display: block;
    text-align: center;

}

.mobile-menu ul li a:hover {
    color: #f9f9f9 !important;
    background-color: #007bff7e;
    border-radius: 8px;
}


@media screen and (max-width: 1245px) {

    .logo-container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin-left: 0;
    }

    .logo {
        margin-left: 100px;
        margin-right: 10px;
        height: 40px;
    }

    .site-name {
        display: none;
    }

    .nav {
        display: none;
    }


    .mobile-menu.open {
        display: block;
    }


    .hamburger-menu {
        position: absolute;
        display: block;
        left: 40px;
    }

    .avatar {
        position: absolute;
        margin: 0;
        right: 40px;
    }

    .search-container {
        position: relative;
        margin-left: 40px;
        right: 50px;

    }

    .search-icon {
        position: relative;
        margin: 0;
        z-index: 1002;
    }

    .search-input {
        position: relative;
        margin-right: 0;
        z-index: 1001;
    }

    .search-input.open {
        width: 170px;
    }


}

@media screen and (max-width: 480px) {
    .logo {
        margin-left: 50px;
    }
}


.hero-section {
    color: white;
    text-align: center;
    padding: 200px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1.5s ease-in-out, opacity 1.5s ease-in-out;
    height: 100vh;
    max-width: 1600px;
    margin: auto;
}



.hero-section.fade-in {
    opacity: 1;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-section h1 .highlight {
    color: yellow;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out forwards;
}

.cta-button {
    text-decoration: none;
    background-color: yellow;
    color: #333;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: fadeIn 1.5s ease-out forwards;
}

.cta-button:hover {
    background-color: #e0a800;
    color: #9a7403;
    transform: translateY(-3px);
}


.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 15px;

}

.section-title hr {
    flex-grow: 1;
    border: 3px solid #007bff;
    margin: 0;
}

.section-title h2 {
    white-space: nowrap;
    font-size: 1.5em;
    text-align: center;
    font-size: 30px;
}


#educational-programs {
    position: relative;
    top: -25px;
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
    border-radius: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.education-programs-sub {
    margin-left: 70px;
    margin-right: 70px;
}

#educational-programs::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F4F6FF;
    border-radius: 15px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    z-index: -1;
}

#educational-programs h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: #007bff;

}

.programs-container {
    margin-top: 45px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.program-card {
    background: #F4F6FF;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    max-width: 300px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    font-size: 100px;
    color: #007bff;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 0.9rem;
    color: #555;
}


#about-us h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: #007bff;
}

.why-choose-zcaf-m {
    background-color: #f9f9f9;
    max-width: 1600px;
    margin: auto;
}

#why-choose-zcaf {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;

}

#why-choose-zcaf .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
}

#why-choose-zcaf hr {
    width: 4rem;
    height: 3px;
    border: none;
    background-color: #007bff;
}

#why-choose-zcaf .text-content {
    flex: 1 1 500px;
    text-align: justify;
    padding: 20px;
}

#why-choose-zcaf hr {
    color: #555;
}

#why-choose-zcaf h3 {
    text-align: left !important;
}

#why-choose-zcaf h3 .highlight {
    color: #007bff !important;
}

#why-choose-zcaf .text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

#why-choose-zcaf .text-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

#why-choose-zcaf .enroll-button {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 14px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.2);
}

#why-choose-zcaf .enroll-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.25),
        -6px -6px 12px rgba(255, 255, 255, 0.25);
}

#why-choose-zcaf .image-container {
    flex: 1 1 450px;
    text-align: center;
}

#why-choose-zcaf .image-container img {
    max-width: 100%;
    border-radius: 10px;
}


#about-us {
    padding: 50px 0;
    background-color: #F4F6FF;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
}

#about-us .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
}

#about-us hr {
    font-size: 1.8rem;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: thin;
    color: #007bff;
}

#about-us .text-content {
    flex: 1 1 500px;
    text-align: justify;
    padding: 20px;
}

#about-us h3 .highlight {
    color: #007bff;
}


#about-us .text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: left !important;

}

#about-us .text-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

#about-us .see-more-button {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 14px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.2);
}

#about-us .see-more-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.25),
        -6px -6px 12px rgba(255, 255, 255, 0.25);
}

#about-us .image-container {
    flex: 1 1 450px;
    text-align: center;
}

#about-us .image-container img {
    max-width: 100%;
    border-radius: 10px;
}


#contact-us {
    background-color: #f9f9f9;
    max-width: 1600px;
    border-radius: 15px;
    margin: auto;
}

.section-container {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    margin: 0 auto;

}


.section-header {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: thin;
    color: #007bff;

}

.contact-title {
    font-size: 78px;
    font-weight: 400;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 85%;
    margin: 50px auto;
}



.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
    text-align: left;
}

.contact-info hr {
    width: 4rem;
    height: 3px;
    border: none;
    background-color: #007bff;
}

.contact-info h3 {
    font-size: 3.30em;
    margin-bottom: 20px;
}

.contact-info .highlight {
    color: #007bff;
}

.contact-info p {
    font-size: 1em;
    line-height: 1.5;
    color: #555;

}

.contact-info .reach-out {
    font-weight: bold;
    margin: 20px 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;

}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
    text-decoration: underline;
}

.contact-info i {
    margin-right: 10px;
    color: #555;
}

.contact-info a {
    color: #555;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: left;
}

.contact-form form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.contact-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    background-color: #f4f6ff;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}



.contact-form .form-row {
    display: flex;
    gap: 10px;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form button {
    font-weight: bold;
    padding: 12px 24px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.footer {
    background-color: #F4F6FF;
    padding: 0px 70px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 40px auto;
}

.footer hr {
    width: 4rem;
    height: 3px;
    border: none;
    background-color: #007bff;
    margin: 5px -70px;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 300px;
}

.footer-section:nth-child(2) {
    text-align: center;

}

.footer-links {
    display: inline-block;
    text-align: left;
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin-top: 8px;
    margin-left: 20px;

}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-logo {
    display: flex;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.footer-logo-text h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.footer-logo-text p {
    margin: 5px -70px;
    font-size: 0.9em;
    color: #666;
}

.footer-contact {
    list-style-type: none;
    padding: 0;
}

.footer-contact li {
    margin: 8px 0;
}

.footer-contact i {
    margin-right: 10px;
    color: #333;
}

.footer-contact a {
    color: #555;
}


.footer-bar {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin: 0 auto;
    font-size: 0.5em;
    max-width: 1600px;
}

.footer-bar p {
    margin: 0;
}


@media (max-width: 1050px) {
    .footer {
        flex-direction: column;
        padding: 0px 30px;
    }

    .footer-links {
        display: block;
    }


    .footer-section:nth-child(2) {
        text-align: left;

    }

    .footer-links li {
        margin: 8px auto;

    }
}



@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        margin-bottom: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 768px) {

    .about-card {
        flex-direction: column;
        text-align: center;
    }

    .about-card img {
        margin: 0 auto 15px auto;
        display: block;
    }


    .programs-container {
        flex-direction: column;
        gap: 15px;
    }

    .program-card {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }

}

.carousel-section {
    padding: 50px 20px;
    text-align: center;
    max-width: 1600px;
    margin: 50px auto;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y;
}

.carousel-section .section-title {
    color: #007bff;
    margin-bottom: 50px;
}

.carousel-item {
    flex: 0 0 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.carousel-card {
    background: #F4F6FF;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 480px;
    min-width: 480px;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.carousel-card img {
    width: 127%;
    height: 300px;
    margin-bottom: 20px;
    object-fit: cover;
    position: relative;
    top: -20px;
    left: -20px;
    right: -20px;
}

.carousel-card h2 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 10px;
    text-align: left;
}

.carousel-card p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.carousel-card .date {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 40px);
    align-items: center;
}

.carousel-card .date a {
    font-size: 0.8rem;
    color: #007bff;
    text-decoration: none;
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 40px);
        margin: 0 20px;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 20px);
        margin: 20px;
    }

    .carousel {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .carousel-card {
        width: 82%;
        min-width: 200px;
    }
}