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

body {
    font-family: Arial, sans-serif;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    height: 10vh;
    padding: 10px;
    z-index: 1000;
}

nav{
    display: flex;
    justify-content: space-between;
}

.logo img{
    width: 100%;
    max-width: 125px;
    padding: 10px;
    margin-left: 30px;
    border-radius: 20px;
}

.nav-links{
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 60px;
    margin-top: 20px;
}

.nav-links li a{
    text-decoration: none;
    color: white;
}

.nav-links li a:hover{
    border-bottom: 4px solid red;
    padding-bottom: 7px;
    transition: all 1s ease;
    transform: scale(1.08) translateX(-5px);
}

.hamburger{
    display: none;
}

@media (max-width: 1200px){
    header{
        height: 5vh;
    }
}

@media (max-width: 1024px){
    header{
        height: 13vh;
    }
}

@media (max-width: 820px){
    header{
        height: 8vh;
        padding: 10px;
    }
}

@media (max-width: 768px){
    header{
        height: 9vh;
        padding-top: 20px;
    }
}

@media (max-width: 480px){
    header{
        height: 8vh;
    }

    .logo{
        margin-top: -9px;
    }

    .logo p{
        font-size: 20px;
        margin-left: 10px;
    }

    .logo span{
        font-size: 20px;
    }

    .nav-links{
        display: none;
    }

    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        font-size: 24px;
        top: 50px;
        right: -60px;
        background-color: black;
        padding: 20px;
        width: 200px;
        z-index: 1000;
    }

    .hamburger{
        display: block;
        font-size: 40px;
        margin-right:20px;
        margin-top: -10px;
        cursor: pointer;
    }
}

@media (max-width: 400px){
    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 47px;
        right: -50px;
        background-color: black;
        padding: 10px;
        width: 200px;
        z-index: 1000;
    }
}

/* ── Landscape: navbar ── */
@media (max-height: 500px) and (orientation: landscape){
    header{
        height: 12vw;
    }

    .hamburger{
        display: block;
        font-size: 30px;
        margin-right: 20px;
        cursor: pointer;
    }

    .nav-links{
        display: none;
    }

    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        font-size: 18px;
        top: 45px;
        right: 0;
        background-color: black;
        padding: 15px;
        width: 180px;
        z-index: 1000;
    }
}

/* hero Section */
.sec{
    padding: 30px;
    margin-top: 10%;
}

.hero{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 30px;
}

.sec1{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px;
    margin-top: 30px;
}

.story{
    font-size: 30px;
}

.sec1-hero{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec1-hero1{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    letter-spacing: 1px;
}

.image img{
    display: flex;
    margin: auto;
    border-radius: 50%;
    width: 100%;
    max-width: 450px;
    height: 60vh;
}

.sec2{
    padding: 20px;
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.sec2 h1{
    font-size: 50px;
}

.sec2 p{
    font-size: 20px;
}

.sec3{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 8%;
}

.sec3-card{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    border: 1px solid white;
    border-radius: 10px;
    height: 30vh;
    width: 100%;
    max-width: 300px;
    padding-top: 20px;
    box-shadow: 2px 4px 6px rgb(207, 203, 203);
    transition: all 0.5s ease;
}

.sec3-card:hover{
    transform: scale(1.08) translateX(-5px);
}

.sec3-card i{
    font-size: 35px;
    color: blue;
    border-radius: 10px;
}

.sec3-word{
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sec4{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 5%;
    padding: 20px;
    margin-left: 10%;
}

.sec4-word{
    display: flex;
    gap: 20px;
    border: 1px solid white;
    border-radius: 10px;
    height: 7vh;
    padding: 20px;
    box-shadow: 2px 4px 6px rgb(199, 197, 197);
}

@media (max-width: 1200px){
    .image img{
        height: 30vh;
        border: none;
    }

    .sec3-card{
        height: 15vh;
        font-size: 18px;
    }

    .sec4-word{
        height: 5vh;
        padding: 25px;
        place-items: center;
        margin-right: 10%;
        font-size: 20px;
    }
}

@media (max-width: 1024px){
    .image img{
        height: 60vh;
        border: none;
    }
    .sec3-card{
        height: 45vh;
    }

    .sec4-word{
        height: 25vh;
    }

    footer{
        margin-top: 10%;
    }
}

@media (max-width: 820px){
     .hero{
        margin-top: 10%;
    }

    .image img{
        max-width: 600px;
        border: none;
    }

    .sec3{
        flex-wrap: wrap;
        gap: 40px;
    }

    .sec3-card{
        height: 22vh;
    }

    .sec4-word{
        height: 10vh;
    }
}

@media (max-width: 768px){
    .sec{
        margin-top: 25%;
    }

    .sec2 p{
        font-size: 18px;
    }

    .image img{
        border: none;
        max-width: 600px;
    }

    .sec3{
        flex-wrap: wrap;
        gap: 20px;
    }

    .sec3-card{
        height: 25vh;
    }

    .sec4{
        display: grid;
        grid-template-columns: 1fr;
    }

    .sec4-word{
        height: 10vh;
    }
}

@media (max-width: 480px){
    .hero, .story{
        font-size: 20px;
    }

    .image img{
        height: 40vh;
        max-width: 350px;
    }

    .sec2 p{
        font-size: 17px;
    }

    .sec2 h1{
        font-size: 30px;
    }

    .sec3-card{
        height: 35vh;
    }

    .sec4-word{
        height: 17vh;
    }
}

@media (max-width: 400px){
    .image img{
        max-width: 250px;
    }
}

/* ── Landscape: about page content ── */
@media (max-height: 500px) and (orientation: landscape){
    .sec{
        margin-top: 15vw;
        padding: 15px;
    }

    .hero{
        font-size: 18px;
        gap: 6px;
    }

    .hero h1{
        font-size: 36px;
    }

    .sec1{
        padding: 20px;
        margin-top: 15px;
        gap: 12px;
    }

    .story{
        font-size: 22px;
    }

    .sec1-hero1{
        font-size: 14px;
    }

    .image img{
        height: 70vh;
        max-width: 500px;
    }

    .sec2{
        margin-top: 5%;
    }

    .sec2 h1{
        font-size: 28px;
    }

    .sec2 p{
        font-size: 14px;
    }

    .sec3{
        margin-top: 4%;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .sec3-card{
        height: auto;
        min-height: 150px;
        max-width: 220px;
        padding: 15px;
        gap: 10px;
    }

    .sec3-card i{
        font-size: 24px;
    }

    .sec4{
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 3%;
        margin-left: 3%;
    }

    .sec4-word{
        height: auto;
        min-height: 50px;
        padding: 12px;
        font-size: 13px;
    }
}

/* ── Extra small phones (320px) ── */
@media (max-width: 320px){
    .logo p{
        font-size: 16px;
    }

    .logo span{
        font-size: 16px;
    }

    .sec{
        margin-top: 30%;
        padding: 15px;
    }

    .hero h1{
        font-size: 28px;
    }

    .hero{
        font-size: 14px;
    }

    .sec1{
        padding: 15px;
    }

    .sec1-hero1{
        font-size: 14px;
    }

    .image img{
        max-width: 250px;
        height: 30vh;
    }

    .sec2 h1{
        font-size: 24px;
    }

    .sec2 p{
        font-size: 14px;
    }

    .sec3{
        flex-direction: column;
        align-items: center;
    }

    .sec3-card{
        height: auto;
        min-height: 150px;
        max-width: 280px;
    }

    .sec4{
        grid-template-columns: 1fr;
        margin-left: 3%;
    }

    .sec4-word{
        height: auto;
        min-height: 50px;
        font-size: 13px;
    }

    .footer-hero, .footer-hero1{
        flex-direction: column;
        gap: 30px;
    }

    .logo2{
        margin-left: 3%;
    }

    .time{
        margin-left: 3%;
    }
}

/* FOOTER SECTION*/

footer{
    background-color: black;
    color: white;
    padding: 20px;
}

.footer-hero, .footer-hero1{
    display: flex;
    flex-direction: row;
    gap: 10%;
    margin-top: 50px;
}

.logo2{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    margin-left: 7%;
}

.logo3{
    font-size: 30px;
}

.logo3 span{
    font-size: 30px;
    font-style: italic;
}

.logo4{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-footer{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-footer1{
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
    margin-top: 15px;
}

.nav-footer1 li a{
    color: white;
    text-decoration: none;
}

.cont{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-left: 5%;
}

.cont1{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cont2{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.cont2 i{
    background-color: transparent;
    border: none;
    font-size: 17px;
}

.time{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0px;
    margin-left: 18%;
}

.social-icons i {
    position: static;
    font-size: 24px;
    background-color: transparent;
    border: none;
    width: auto;
    height: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    color: white;
}

.fa-brands, .fa-solid, .fa-regular {
    font-family: "Font Awesome 6 Brands";
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: white;
    font-size: 14px;
}

@media (max-width: 480px){
    .footer-hero, .footer-hero1{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .nav-footer{
        margin-left: 10%;
    }

    .time{
        margin-left: 10%;
    }
}

/* ── Landscape: footer ── */
@media (max-height: 500px) and (orientation: landscape){
    .footer-hero, .footer-hero1{
        gap: 5%;
        margin-top: 20px;
    }

    .logo2{
        margin-left: 3%;
    }

    .time{
        margin-left: 5%;
    }

    .cont{
        margin-left: 2%;
        padding: 10px;
    }
}