:root {
    --primaryTextColor: #232e35;
    --secondaryTextColor: #656d72;

    --borderColor: #f1f1f1;
    --lineColor: #d9d9d9;

    --primaryBackgroundColor: #fff;
    --secondaryBackgroundColor: #fbfbfb;
    --thirdBackgroundColor: #f5f3fe;

    --primaryIconColor: #7e74f1;
    --primaryIconColorHover: #5d51e8;

    --sectionPadding: 6rem 0;

    --itemBorderRadius: 0.7rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
}
h1,h2,h3,h4,h5,h6 strong {
    color: var(--primaryTextColor)
}
p {
    font-size: 1rem;
    line-height:1.9rem;
}
p, span,label, input, textarea, li {
    color: var(--secondaryTextColor)
}
a {
    text-decoration: none;
}
.main-container {
    width: 1200px;
    margin: 0 auto; 
} 
@media screen and (max-width: 1200px) {
    .main-container {
        width: 90%;
    }
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.5);
    height: 40px; /* Sesuaikan tinggi tombol dengan menu */
    line-height: 1;
}
.btn:hover{
    background: linear-gradient(45deg, #f107a3, #7b2ff7);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(241, 7, 163, 0.5);
}
.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
}
.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}
.pre-title {
    text-transform: uppercase;
    letter-spacing: .5rem;
    color: var(--secondaryTextColor);
    position: relative;
    padding-left: 40px;
    width: fit-content;
    font-weight: 400;
    font-size: 0.9rem;
}
.pre-title::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--lineColor);
    position: absolute;
    display: block;
    left: 0;
    top: 50%;
}
.nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    align-items: center;
    border-bottom: 2px solid #ddd; /* Garis bawah warna abu-abu */
    padding-bottom: 10px; /* Spasi agar tidak terlalu mepet */
    position: fixed; /* Tetap di atas */
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* Sesuaikan dengan desain */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; /* Atur padding agar tidak terlalu mepet */
    height: 80px;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}
.nav ul li a {
    color: var(--primaryTextColor);
    font-weight: 600;
    text-decoration: none;
}

.logo {
    width: 40px; /* Sesuaikan ukuran logo */
    height: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;

}
.logo a {
    color: var(--primaryTextColor);
}
nav ul li {
    display: flex;
    alig-items: center;
}
nav ul li a {
    color: var(--primaryTextColor);
}
.burger div {
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 7px;
    transition: all .3s;
    z-index: 99;
}
.burger {
    display: none;
    z-index: 99;
    position: fixed;
    top: 33px;
    right: 35px;
}
.hero {
    height: 720px;
    display:grid;
    grid-template-columns: 1fr 1fr ;
    align-items: center;
}
.hero-name { 
    font-size: 3rem;
    font-weight: 700;
    margin: .5rem 0 1rem;
}
.hero-name span {
    color: var(--primaryIconColor);
}
.hero-right img {
    width: 400px; /* Sesuaikan ukuran lingkaran */
    height: 400px; /* Harus sama dengan width agar lingkaran sempurna */
    border-radius: 50%; /* Membuat bentuk lingkaran */
    object-fit: cover; /* Memastikan gambar tetap proporsional */
    transition: transform 0.3s ease-in-out;
    animation: neonGlow 3s infinite alternate ease-in-out;
}
.hero-right {
    justify-content: center;
    display: flex;
}
.hero-right img:hover {
    transform: scale(1.1); /* Efek memperbesar saat hover */
}
@keyframes neonGlow {
    0% { box-shadow: 0 0 10px red; }
    20% { box-shadow: 0 0 15px orange; }
    40% { box-shadow: 0 0 15px yellow; }
    60% { box-shadow: 0 0 15px green; }
    80% { box-shadow: 0 0 15px blue; }
    100% { box-shadow: 0 0 15px violet; }
}
.services {
    background-color: var(--secondaryBackgroundColor);
    padding: var(--sectionPadding);
}
.services .pre-title {
    margin: 0 auto;
}
.services-title {
    text-align: center;
}
.section-title {
    font-size: 2rem;
    margin: 1rem 0 4rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}
.service {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--primaryBackgroundColor);
    border-radius: var(--itemBorderRadius);
}
.service h4 {
    margin: 1.5rem 0;
    font-weight: 500;
    font-size:1.05rem
}
.service-icon {
    background: var(--thirdBackgroundColor);
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 1.3rem;
    border-radius: 0.5rem
}
.primary-icon svg {
    fill: var(--primaryIconColor);
}
#portofolios {
    padding: var(--sectionPadding);
}
.portofolio {
    border-radius: var(--itemBorderRadius);
    overflow: hidden;
    border: 1px solid var(--borderColor);
}
.portofolio-cover {
    height: 250px;
}
.portofolio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portofolio-info {
    padding: 2rem 1.5rem;
}
.portofolio-title {
    display: flex;
   justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.portofolio h4 {
    font-weight: 500;
    font-size: 1.05rem;
}
.portofolio-title a svg:hover {
    fill: var(--primaryIconColor);
}
.portofolio-title a svg{
    transition: 0.2s ease-in-out;
}
.portfolio-tags {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 ;
}
.portfolio-tags div {
    font-size: 0.9rem;
    border: 1 solid var(--borderColor);
    padding: 0.4rem 1rem;
    color: var(--secondaryTextColor);
}
.pre-title {
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin: 1rem 0 4rem;
    text-align: center;
}
#skills {
    padding: var(--sectionPadding);
    background: var(--secondaryBackgroundColor);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    gap: 3rem;
}
.education {
    display: flex;
    gap: 2rem;
}
.education .line {
    padding: 0 0.7rem;
}
.education .line div {
    width: 2px;
    height: 100%;
    background: var(--borderColor);
    position: relative;
}
.education-info p {
    margin: 0.6rem 0 1.4rem;
}
.education-years {
    margin-bottom: 3rem;
}
.education .line div:before {
    content: "";
    width: 15px;
    height: 15px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    left: -6px;
}
.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 1.5rem;
}
.skills-right {
    line-weight: 2rem;
    padding: 0.1rem
}
#contact {
    padding: var(--sectionPadding);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    gap: 3rem;
}
.contact-form div {
    margin-bottom: 1.4rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.7rem 1.3rem;
    font-family: sans-serif;
    background: var(--secondaryBackgroundColor);
    border: 1px solid var(--borderColor);
    border-radius: 3px;
    resize: none;
}
.contact-form input, .contact-form textarea{
    background: #f1f1f1;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #9d9fa1;
}
.contact-form input::focus, .contact-form textarea::focus {
    border:1px solid  #7d7d7d;
    outline: none;
}
.btn-submit {
    width: 100%;
    padding: 0.7rem 1.3rem;
    background-color: var(--primaryIconColor);
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.btn-submit:hover {
    background: var(--primaryIconColorHover);
}
.contact-item-icon {
    background: var(--thirdBackgroundColor);
    width: 53px;
    height: 53px;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-item-icon svg {
    fill: var(--primaryIconColor);
}
.contact-item-detail h4 {
    margin-bottom: 0.6rem;
}
.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
footer {
    padding: 4rem 0;
    background: var(--secondaryBackgroundColor);
    text-align: center;
}
.footer-icons {
    margin-bottom: 1rem;
}
.footer-icons a {
    margin: 0.5rem;
}
.footer-icons svg {
    fill: #3e3f40;
}
.footer-icons svg:hover {
    fill: #000;
}


