@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

a{
    text-decoration: none;
    color: #000;
}

img{
    object-fit: cover;
}

body{
    background-color: #f1f1f1;
}

nav{
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

nav a.logo{
    font-size: 33px;
    color: #0f2182;
    font-weight: 600;
}

nav .links a:not(:last-child){
    margin-right: 20px;
}

nav .social a{
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    font-size: 30px;
}

header{
    padding: 0 80px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .left{
    width: 700px;
}

header .left h1{
    font-size: 80px;
}

header .left h1 span{
    color: #0f2182;
}

header .left p{
    font-size: 40px 0;
    color: #777;
    padding: 20px;
}

header .left a{
    display: flex;
    align-items: center;
    background: #000;
    width: 180px;
    padding: 8px;
    border-radius: 60px;
}

header .left a i{
    background-color: #fff;
    font-size: 24px;
    border-radius: 50%;
    padding: 8px;
    margin-left: 15px;
}

header .left a span{
    color: #fff;
    margin-left: 10px;
    font-size: 20px;
}

header img{
    width: 600px;
}
h1{
    font-size: 100px;
}

h2.separator{
    padding: 0 80px;
    font-size: 40px;
    margin-top: 40px;
}
h3{
    font-size: 35px;
    padding-top: 10px;
    padding-left: 10px;
    
}

.learn-chosen{
    padding: 0 80px;
    margin: 50px 0 80px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.learn-chosen .item{
    padding: 20px;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.learn-chosen .item:hover{
    box-shadow: none;
}

.learn-chosen .item .header{
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-chosen .item .header i{
    font-size: 40px;
}

.learn-chosen .item .header h5{
    font-size: 17px;
    font-family: 'Noto Sans TC', sans-serif;
}

.learn-chosen .item p{
    margin-top: 10px;
    padding: 0 4px;
    flex-grow: 1;
}

footer{
    background-color: #000;
    color: #fff;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer h3{
    font-size: 48px;
}
footer .right{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 26px;   
}

footer .right links{
    display: flex;
    gap: 40px;
}

footer .right .links a{
    color: #989898;
    transition: color 0.3 ease;
    margin-right: 10px;
}

footer .right .links a:hover{
    color: #fff;
}

footer .right p{
    font-size: 13px;
    color: #777;
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    nav {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    nav a.logo {
        position: relative;
        font-size: 24px;
        margin-bottom: 10px;
        top: 10px;
    }

    nav .links {
        display: none; /* Hide navigation links on mobile */
    }

    nav .social a {
        position: relative;
        font-size: 24px;
        left: 280px;
        bottom: 25px;

    }

    header {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        height: auto;
    }


    header .left {
        position: relative;
        width: 100%;
        top: 200px;
    }

    header .left h1 {
        font-size: 60px;
    }

    header .left h3 {
        position: relative;
        font-size: 20px;
        padding: 10px;;
        right: 5px;
    }

    header img {
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
    }

    .learn-chosen {
        padding: 0 20px;
        flex-direction: column;
    }

    .learn-chosen .item {
        margin-bottom: 20px;
    }

    footer {
        position: relative;
        padding: 50px 20px;
        flex-direction: column;
        align-items: flex-start;
        top: 468px;
    }

    footer h3 {
        position: relative;
        font-size: 32px;
        margin-bottom: 20px;
        right: 15px;
    }

    footer a{
        font-size: 20px;
    }

    footer .right {
        width: 100%;
        align-items: flex-start;
    }

    footer .right .links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Tablet Styles */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    nav {
        padding: 0 40px;
    }

    nav a.logo {
        font-size: 28px;
    }

    nav .social a {
        font-size: 28px;
    }

    header {
        padding: 0 40px;
    }

    header .left h1 {
        font-size: 60px;
    }

    header .left p {
        font-size: 30px;
    }

    header img {
        width: 500px;
    }

    .learn-chosen {
        padding: 0 40px;
        gap: 20px;
    }

    footer {
        padding: 80px 40px;
    }

    footer h3 {
        font-size: 40px;
    }
}