*{
    padding: 0px;
    margin: 0px;
    text-decoration: none;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
/* start point of header section */
header{
    background-color: #0a192f;
    padding: 1rem 0;
}

header img{
    width: 80px;
    height: 80px;
}

header .heads{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 50px;
    padding-right: 30px;
}

header .desktop-nav{
    display: flex;
    align-items: center;
    gap: 2rem;
}

header .desktop-nav a{
    color: white;
}

header button{
    color: white;
    background-color: rgb(36, 204, 204);
    width: 100px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header button:hover {
    background-color: rgb(28, 160, 160);
}

.image{
    display: none;
    padding: 0.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #e3e3e3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile navigation (hidden by default). JS toggles the `.open` class */
.mobile-nav{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px; /* below header */
    background-color: #0a192f;
    padding: 1rem;
    z-index: 1200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

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

.mobile-nav a{
    display: block;
    color: white;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-nav a:last-child{
    border-bottom: none;
}

.mobile-nav button{
    width: 100%;
    margin-top: 0.5rem;
}
/* start point of section one */
.main-descript{
    /* min-height: 100vh; */
    text-align: center;
    /* margin: 2rem auto;
    padding: 0 1rem; */
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main-descript h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-top: 120px;
    text-align: center;
}

.main-descript p{
    max-width: 800px;
    margin: 1rem auto;
}

.team{
    height: 220px;
    background-color: rgb(3, 3, 46);
    border-radius: 3px;
    overflow: hidden;
}

.team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team:hover img {
    transform: scale(1.05);
}

.main-body{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.main-body .teammate{
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
}

.main-body p{
    font-weight: lighter;
}


/* start point of section two */
.sect02{
    width: 100%;
    background-color: black;
    color: white;
    padding: 3rem 1rem;
}

/* span{
    background-color: red;
    border-radius: 8px;
    padding: 0 0.5rem;
} */

.foot01{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.foot01 h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.concept02{
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.bttn01, .bttn02{
    width: 120px;
    height: 40px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bttn01{
    color: black;
    background-color: white;
}

.bttn02{
    color: white;
    background-color: rgba(190, 188, 188, 0.24);
}

.bttn01:hover, .bttn02:hover {
    transform: translateY(-2px);
}

.foot02{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.foot02 > div {
    text-align: left;
}

.foot02 h3 {
    margin-bottom: 1rem;
}

.foot02 p {
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.typein{
    color: black;
    width: 200px;
    height: 32px;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    padding-left: 5px;
    margin-right: 0.5rem;
}

.btn{
    color: white;
    background-color: red;
    width: 100px;
    height: 32px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: darkred;
}

.line{
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.footer{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    font-size: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Media Queries */
@media screen and (min-width: 768px) {
    .foot01 {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .footer {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    header .desktop-nav {
        display: none;
    }

    .image {
        display: inline-flex;
    }

    header .heads {
        padding: 0 1rem;
    }

    .main-descript br {
        display: none;
    }

    .main-body {
        padding: 1rem;
        gap: 1rem;
        /* grid-template-columns: 1fr;    } */
}

@media screen and (max-width: 480px) {
    .concept02 {
        flex-direction: column;
        align-items: center;
    }

    .foot02 > div {
        text-align: center;
    }

    .typein, .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .main-descript h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .main-descript p {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin: 1rem 0;
    }

    .main-body {
        grid-template-columns: 2fr;
        padding: 1rem;
    }

    .team {
        height: 180px;
    }

    .teammate h4 {
        font-size: 1rem;
    }

    .teammate p {
        font-size: 0.85rem;
    }

    br {
        display: none;
    }
}
