body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
    background: url(../Images/backgroundbdy.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #00357a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

.logo img {
    width: 60px;
    height: auto;
}

.navLinks {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navLinks a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 550;
    transition: color 0.3s ease-in-out;
}

.navLinks a:hover {
    color: #cc4e00;
    transform: scale(1.05);
}

#CTO {
    display: flex;
    padding: 10px 15px;
    background: #cc4e00;
    border-radius: 5px;
}

#CTO:hover {
    background: #ffffff;
}

.icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 1100;
    color: #ffffff;
}

.icon i {
    font-size: 24px;
    text-decoration: none;
    color: #ffffff;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.icon i:hover {
    color: #ffffff;
    transform: scale(1.05);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6.5%;
}

.intro {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    background-color: #cc4e00e7;
    width: 100%;
    height: auto;
    padding: 20px;
    gap: 30px;
}

.intro h1 {
    text-align: left;
    color: #ffffff;
    font-size: 2.3rem;
    font-family: 'Cinzel', serif;
    font-weight: 300;
}


.history h1, .mission h1 {
    padding-top: 10px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: left;
    font-size: 2.5rem;
    color: #cc4e00;
    font-family: 'Cinzel', serif;
}

.history p, .mission p {
    padding-top: 10px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: justify;
    font-size: 1.3rem;
    color: black;
}

.aboutImg img {
    width: 400px;
    height: auto;
    border-radius: 25px;
}

.leaders {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-left: 10%;
    padding-right: 10%;
    gap: 20px;
}

.leaders h1 {
    font-size: 2.5rem;
    color: #cc4e00;
    text-align: left;
    font-family: 'Cinzel', serif;
}

.leaders p {
    font-size: 1.3rem;
    text-align: justify;
    color: black;
}

.slider {
    position: relative;
    width: 80%;
    max-width: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.slides {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #cc4e00;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.btn.prev {
    left: 10px;
}

.btn.next {
    right: 10px;
}

@media (max-width: 1030px) {
    main {
        padding-top: 18%;
    }

    .intro h1 {
        font-size: 1.3rem;
        text-align: right;
    }

    .aboutImg img {
        max-width: 500px;
        width: 80%;
        height: auto;
    }

    .history h1, .mission h1, .leaders h1 {
        font-size: 2rem;
    }

    .history p, .mission p, .leaders p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo img{
        width: 40px;
        height: auto;
    }

    .navLinks.show {
        display: flex;
    }

    .icon {
        display: block; /* Show hamburger */
        color: #cc4e00;
        z-index: 1000;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        background: #fcfcfce8;
        position: absolute;
        top: 80px;
        right: 10px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .navLinks a {
        color: #cc4e00;
        padding: 8px 0;
        font-size: 0.8rem;
        text-decoration: none
    }
    
    #CTO {
        width: 100%;
        color: #ffffff;
    }

    main {
        padding-top: 100px;
    }

    .intro h1 {
        font-size: 1.3rem;
        text-align: right;
    }

    .aboutImg img {
        width: 200px;
        height: auto;
    }

    .history h1, .mission h1, .leaders h1 {
        font-size: 1.3rem;
    }

    .history p, .mission p, .leaders p {
        font-size: 0.9rem;
    }
}
