* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: poppins, sans-serif;
    text-decoration: none;
    color: #000000;
}

body {
    overflow-x: hidden;
}

.header {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #ffffff;
}

.wrapper {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    z-index: 1;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    background-color: #ffffff;
    background-image: radial-gradient(circle, #4485bd 0%, #001d3e 100%);
    padding-left: 5%;
    padding-right: 2%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    cursor: pointer;
    padding-left: 1%;   
}

.logo img {
    /* contoh styling */
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.logo .logo-text {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
}

nav .togglebtn{
    background-color: #133052 opacity(0.1);
    width: 35px;
    height: 35px;
    right: 7%;
    top: 26px;
    z-index: 5;
    cursor: pointer;
    position: absolute;
    border-radius: 3px;
    align-content: center;
    justify-content: center;
    display: none;
}

nav .togglebtn span {
    display: block;
    background-color: #ffffff;
    margin: 6px 0px;
    height: 4px;
    width: 100%;
    transition: ease-in-out 0.2s;
    transition-property: transform, opacity;
}

nav .navlinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    position: relative;
    z-index: 2;
}

nav .navlinks li {
    display: flex;
    margin: 0px;
    padding-right: 20px;
    font-size: 1.1rem;
}

nav .navlinks li a{
    color: #ffffff;
    margin-right: 1.5rem;
}

.container {
    display: flex;
    align-items: center;    
    justify-content: center;
    padding-top: 3rem;
    gap: 11%;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1800px;
    padding-left: 8%;
    padding-right: 5%;
    
}

.container .pic {
    width: min(300px, 25vw);
    height: min(300px, 25vw);
    min-width: 200px;
    min-height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid transparent;
    background: radial-gradient(circle, #ffffff 0%, #012e63 100%);
    box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
}

.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.pic img:hover {
    transform: scale(1.1);
}

.text {
    flex: 1;
    max-width: 900px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
}

.text p {
    line-height: 1.6;
    color: #333;
}

.text h3 {
    color: #000000;
    margin-top: 0;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.button-group .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-group .btn.active {
    background-color: #4169E1;
    background-image: linear-gradient(to right, #001d3e, #4485bd);
    color: #fff;
}

.button-group .btn.active:hover {
    background-color: #fff;
    background-image: linear-gradient(to right, #000000, #011123);
}

.button-group .btn {
    background-color: #4169E1;
    color: #fff;
    background-image: linear-gradient(to right, #001d3e, #4485bd);
}

.button-group .btn:hover {
    background-color: #fff;
    background-image: linear-gradient(to right, #000000, #011123);
}

.copyright {
    line-height: 200px;
}

.social {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    line-height: 80px;
    font-size: 2.2rem;
}

@media (max-width: 1200px) {
    .logo .logo-text {
        font-size: 1.2rem;
    }
    nav .togglebtn {
        display: initial;
    }
    
    .click {
        top: 45px;  
    }
    .click span {
        position: absolute;
        margin-top: 12px;
    }
    .click span:first-child{
        transform: rotate(-45deg);
        top: 10px;
    }
    .click span:nth-child(2){
        opacity: 0;
        margin: 0;
    }
    .click span:last-child{
        transform: rotate(45deg);
        top: 10px;
    }
    
    nav .navlinks {
        position: absolute;
        top: 90px;
        right: -100%;
        width: 50%;
        bottom: 0;
        height: 32vh;
        background-color: #012f63e6;
        border-radius: 0px 0px 0px 20px;
        z-index: 3;
        transition: right 0.7s ease-in-out;
        flex-direction: column;
        justify-content: center;
    }
    
    nav .navlinks li {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 1.2rem;
        transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.7s;

    }
    
    nav .navlinks li a {
        display: block;
        color: #ffffff;
        text-align: center;
        margin-top: 5px;
    }

    nav .navlinks.open {
        right: 0;
    }

    /* Container adjustments - use flexible spacing */
    .container {
        flex-direction: column;
        align-items: center;
        padding-top: clamp(50px, 8vh, 100px);
        padding-left: 5%;
        padding-right: 5%;
    }
    
    /* Image sizing with flexible dimensions */
    .container .pic {
        width: clamp(200px, 35vw, 300px);
        height: clamp(200px, 35vw, 300px);
    }
    
    /* Text container with responsive sizing */
    .text {
        width: 100%;
        max-width: none;
        text-align: justify;
        align-items: center;
        padding: 0;
        margin-top: 20px;
    }
    
    .text p {
        line-height: 1.6;
        max-width: 100%;
        margin: 0;
        padding: 0 clamp(20px, 5vw, 50px);
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }
    
    h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .text h3 {
        padding-top: 0;
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Button group with flexible spacing */
    .button-group {
        padding: 0 clamp(20px, 5vw, 50px);
        justify-content: center;
        gap: clamp(10px, 3vw, 20px);
        flex-wrap: wrap;
        margin-top: clamp(15px, 3vh, 25px);
        align-items: center;
    }
    
    .button-group .btn {
        padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        min-width: 120px;
        text-align: center;
    }
    
    .button-group .btn.active {
        background-color: #4169E1;
        background-image: linear-gradient(to right, #001d3e, #4485bd);
        color: #fff;
        text-align: center;
    }
    
    .button-group .btn.active:hover {
        background-color: #fff;
        background-image: linear-gradient(to right, #000000, #011123);
    }
    
    /* Social media icons with responsive sizing */
    .social {
        text-align: center;
    }
    
    .social a {
        display: inline-block;
        padding: 0 clamp(5px, 2vw, 10px);
    }
    
    .social a i {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        color: #000000;
        transition: color 0.3s;
    }
    
    .social a:hover i.fa-github {
        color: #333;
    }
    
    .social a:hover i.fa-instagram {
        color: #E1306C;
    }
    
    .social a:hover i.fa-facebook {
        color: #1877F3;
        transform: rotate(360deg);
    }
    
    .social a:hover i.fa-linkedin {
        color: #0A66C2;
    }
    
    /* Copyright with responsive text */
    .copyright {
        text-align: center;
    }
    
    .copyright p {
        text-align: center;
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        color: #000000;
        margin-bottom: clamp(15px, 3vh, 20px);
        padding: 0 20px;
    }
}