/* === GLOBAL RESETS === */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Urbanist", sans-serif;
}
* {
    font-family: "Urbanist", sans-serif;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    padding: 0 20px;
    z-index: 1000;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
}

#colab-logo {
    width: 150px;
    height: 100px;
    background: #fff;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 80px;
    text-decoration: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #4f82ae;
    font-size: 20px;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* === PARALLAX SHARED CLASS === */
.parallax {
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

/* === PAGE 4 === */
#page4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 400px;
    background-image: url('../UpdatePhotos/Blue.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
    padding-left: 50px;
    box-sizing: border-box;
}

#page4 h1, #page4 h2 {
    margin-left: 150px;
    margin-top: 0;
    font-weight: bold;
    font-size: 6em;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#page4 h1 {
    position: absolute;
    top: 260px;
    left: 10%;
    color: #79a164;
    font-size: 6em;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

#page4 h2 {
    position: absolute;
    top: 350px;
    left: 10%;
    color: #4f82ae;
    font-size: 6em;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

/* === CEO Section === */
.CEO {
    margin-top: 200px;
    background-color: #4c84b1;
    width: 1100px;
    height: 700px;
}

.Name {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    height: auto;
}

.Name h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.Name h1:hover {
    font-size: 3em;
    color: #4be353;
}

.Name h2{
    font-size: 20px;
    font-weight: normal;
    margin-top: -18px;
}
.Name h3{
    font-size: 20px;
    font-weight: normal;
    margin-top: -15px;
}

.Name h4 {
    border-bottom: 5px solid white;
    width: 700px;
}
.Name a{
    color: white;
    text-decoration: none;
}
#ceo-name-link {
    text-decoration: none; 
    color: white;          
}

.Seperator {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 45px;
}
.Message{
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
    align-items: center;
}

.Message p {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 900px;
    text-align: justify;
    margin-left: 350px;
    padding-right: 20px;
}

.Picture {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.Picture img {
    width: 350px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* === Location Section === */
.Location {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 150px;
    padding: 0 20px;
    gap: 40px;
    flex-wrap: wrap;
}

.Location img {
    height: 300px;
    width: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.Location p {
    flex: 1;
    max-width: 600px;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
}

.Location b {
    color: #3e73a0;
}

/* === Card Section === */
.page5 {
    margin: 0;
    display: flex
;
    justify-content: center;
    align-items: flex-start;
    margin-top: 450px;
}

.container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #3e73a0;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-content: flex-end;
    height: 300px;
    gap: 100px;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 2px solid #3e73a0;
    flex: 1;
    min-width: 280px;
}

.card h2 {
    color: #5b9b5a;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.card p {
    color: #666666;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 20px;
}

.card .read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid #3e73a0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    color: #3e73a0;
}

.card .read-more:hover {
    background-color: #6a95b7;
    color: #ffffff;
}

/* === Footer === */
.sub-footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 50px 20px;
    gap: 40px;
    margin-top: 100px;
    flex-wrap: wrap;
}

.sub-footer img {
    width: 350px;
    height: 250px;
    object-fit: contain;
}

.sub-footer p {
    max-width: 500px;
    text-align: center;
    line-height: 1.5;
}

.sub-footer h2 {
    border: solid black 1px;
    margin: 20px 0;
    width: 500px;
}

.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social {
    display: flex;
    margin-top: 20px;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
}

.social-icon {
    font-size: 30px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #007bff;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.mail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    gap: 10px;
}

.mail img {
    width: 70px;
    height: 40px;
    object-fit: contain;
}

.mail p {
    margin: 0;
    min-width: 200px;
}

footer {
    background-color: #3e73a0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: white;
    font-weight: 500;
    margin-top: 40px;
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 15px;
        width: 400px;
    }

    #colab-logo {
        width: 120px;
        height: 70px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        margin-right: 0;
    }

    .nav-links.active {
        right: 0;
        height: 300px;
    }

    .nav-links li {
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

#page4 {
    background-attachment: scroll;
    height: 300px;
}
    #page4 h1{
        font-size: 50px;
        margin-top: 100px;
    }
            #page4 h2{
        font-size: 50px;
        margin-top: 50px;
    }

    .CEO{
        width: 380px;
        height: auto;
        margin-top: 100px;
    }
    .Name h1{
        font-size: 25px;
    }
    
    .Name a{
    text-decoration: none;
    color: white;
    }

    .Seperator{
        display: flex;
        flex-direction: column-reverse;
    }

    .Message {
        min-width: auto;
        width: 100%;
    }

   .Message p{
        width: 90%;
        margin-left: 0;
        padding-right: 0;
        font-size: 16px;
    }

    .Picture {
        min-width: auto;
        width: 100%;
    }

    .Picture img {
        width: 250px;
        height: 300px;
    }

    .Location {
        flex-direction: column;
        margin-top: 80px;
        text-align: center;
        width: 380px;
    }

    .Location img {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }

    .Location p {
        width: 100%;
        max-width: 100%;
        font-size: 1em;
        text-align: center;
        margin-top: 20px;
    }

    .page5 {
        margin-top: 80px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        padding: 30px 15px;
        width: 380px;
    }

    .card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }

    .card h2 {
        font-size: 1.5em;
    }

    .card p {
        font-size: 0.9em;
    }

    .sub-footer {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        margin-top: 50px;
    }

    .sub-footer img {
        width: 250px;
        height: 180px;
    }

    .sub-footer p {
        width: 100%;
        font-size: 0.9em;
    }

    .contact {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .mail {
        max-width: 100%;
        justify-content: center;
    }

    .mail p {
        font-size: 0.9em;
        min-width: auto;
    }
}

/* === SMALL MOBILE RESPONSIVENESS === */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
        padding: 0 10px;
    }

    #colab-logo {
        width: 100px;
        height: 60px;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        padding-top: 40px;
    }


    .CEO {
        padding: 20px 10px;
        width: auto;
    }

    .Name h1 {
        font-size: 1.5em;
    }

    .Name h2, .Name h3 {
        font-size: 1em;
        margin: auto;
    }

    .Message p {
        font-size: 0.9em;
        padding: 0 5px;
    }

    .Picture img {
        width: 200px;
        height: auto;
    }
        .Location{
        display: flex;
        flex-direction: column;
        width: auto;
    }
    .Location p{
        width: 100%;
        text-align: center;
        margin-bottom: 400px;
    }
        .Location img{
        width: 300px;
        height: 200px;
        margin-top: -50px;
    }
        .container {
        background-color: white;
        flex-wrap: nowrap;
        display: flex;
        flex-direction: column;
        width: 380px;
        margin-top: 100px;
    }
   .card{
        height: 350px;
    }
   .card h2{
        font-size: 25px;
        margin-bottom: 0;
    }
    .card p{
        margin-bottom: 0;
    }
    .card img {
        width: 200px;
    }
.sub-footer {
        display: flex;
        flex-direction: column;
        width: auto;
        margin-top: 600px;
    }    
    .sub-footer h2{
        width: 380px;
    }
    .foot{
        width: 100%;
    }
        .foot p{
        width: 100%;
        display: flex;
    }
    .Name h4{
        width: 380px;
    }
    

    .contact {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
        margin-bottom: 20px;
    }
    .mail img{
        width: 80px;
        height: auto;
    }
}
