
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg: #080b12;
    --card: #111722;
    --cyan: #00d9ff;
    --white: #ffffff;
    --gray: #a1aab8;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

/* NAVBAR */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 18, 0.88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 10%;
}

.logo {
    font-size: 27px;
    letter-spacing: 3px;
    font-weight: 800;
}

.logo span,
span {
    color: var(--cyan);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.navbar a {
    color: #c5cbd5;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--cyan);
}

/* HERO */

.hero {
    min-height: 88vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 80px 10%;
    background:
        radial-gradient(circle at 80% 45%, rgba(0,217,255,0.09), transparent 32%);
}

.hero-content {
    max-width: 600px;
    animation: slideUp 1s ease;
}

.greeting {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero h3 {
    color: #aeb8c7;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 22px;
}

.hero-content p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 15px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 28px;
    background: var(--cyan);
    color: #061017;
    text-decoration: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,217,255,0.25);
}

/* PROFILE IMAGE */

.hero-image {
    width: 340px;
    height: 440px;
    flex-shrink: 0;
    position: relative;
    animation: fadeIn 1.2s ease;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(0,217,255,0.45);
    border-radius: 20px;
    transform: rotate(4deg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 15px;
    position: relative;
    border: 1px solid #283746;
}

/* SECTIONS */

.section {
    padding: 100px 10%;
    text-align: center;
}

.section h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.section p {
    max-width: 750px;
    margin: auto;
    color: var(--gray);
    line-height: 1.9;
    font-size: 15px;
}

/* PROJECT */

.project-card {
    background: linear-gradient(145deg, #151e2b, #0e131d);
    padding: 40px;
    border-radius: 15px;
    margin: 35px auto 0;
    max-width: 750px;
    border: 1px solid #263343;
    text-align: left;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--cyan);
}

.project-card h3 {
    color: var(--cyan);
    margin-bottom: 18px;
    font-size: 22px;
}

.project-card p {
    margin: 0;
}

/* CONTACT */

#contact {
    background: #0d121c;
}

/* FOOTER */

footer {
    background: #080b12;
    text-align: center;
    padding: 30px;
    color: #727d8d;
    border-top: 1px solid #202936;
    font-size: 13px;
}

/* ANIMATIONS */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 65px 7%;
        gap: 45px;
    }

    .hero-image {
        width: 270px;
        height: 350px;
    }

    .hero-content {
        max-width: 100%;
    }

    .navbar {
        padding: 20px 6%;
    }

    .navbar ul {
        gap: 17px;
    }

    .section {
        padding: 75px 7%;
    }
}

@media (max-width: 500px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .navbar ul {
        gap: 17px;
    }

    .navbar a {
        font-size: 12px;
    }

    .hero-image {
        width: 230px;
        height: 300px;
    }

    .hero h3 {
        font-size: 17px;
    }

    .section h2 {
        font-size: 30px;
    }

    .project-card {
        padding: 25px;
    }
}

.hero {
    width: 100%;
    max-width: 1200px;
    min-height: 85vh;
    margin: auto;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.2;
    margin: 15px 0;
}

.hero-content h3 {
    margin-bottom: 18px;
}

.hero-content p {
    line-height: 1.8;
    max-width: 500px;
}

.hero-image {
    width: 350px;
    height: 450px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #00d9ff;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Tampilan HP */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 50px 20px;
        gap: 35px;
    }

    .hero-image {
        width: min(280px, 85vw);
        height: 350px;
    }

    .hero-content p {
        margin: auto;
    }
}

/* ABOUT SECTION */

.about-section {
    padding: 100px 8%;
    background: #0b0f18;
}

.about-container {
    max-width: 1100px;
    margin: auto;
}

.about-heading {
    max-width: 750px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-subtitle {
    color: #00d9ff;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.about-heading h2,
.skills-heading h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-heading h2 span,
.skills-heading h2 span {
    color: #00d9ff;
}

.about-description {
    color: #b8c0cc;
    font-size: 16px;
    line-height: 1.9;
}

.about-description strong {
    color: white;
}

.skills-heading {
    text-align: center;
    margin-bottom: 30px;
}

.skills-heading p {
    color: #929baa;
    margin-top: -8px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.skill-card {
    background: #111a29;
    border: 1px solid #1d3045;
    border-radius: 15px;
    padding: 28px;
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #00d9ff;
}

.skill-card h3 {
    color: #00d9ff;
    font-size: 19px;
    margin-bottom: 18px;
}

.skill-card p {
    color: #c4ccd8;
    margin: 10px 0;
    font-size: 15px;
}

.strength-card {
    margin-top: 25px;
    padding: 30px;
    background: #111a29;
    border-left: 3px solid #00d9ff;
    border-radius: 12px;
}

.strength-card h3 {
    color: white;
    margin-bottom: 12px;
}

.strength-card p {
    color: #b8c0cc;
    line-height: 1.9;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .about-section {
        padding: 70px 6%;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-heading h2,
    .skills-heading h2 {
        font-size: 30px;
    }
}

/* CONTACT SECTION */

.contact-section {
    padding: 100px 8%;
    background: #080b12;
    text-align: center;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
}

.contact-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.contact-section h2 span {
    color: #00d9ff;
}

.contact-description {
    color: #aeb8c7;
    line-height: 1.8;
    margin-bottom: 45px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    text-decoration: none;
    color: white;
    background: #111722;
    border: 1px solid #263548;
    border-radius: 16px;
    padding: 35px 20px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: #00d9ff;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.12);
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 15px;
    background: #00d9ff;
    color: #080b12;
    font-size: 19px;
    font-weight: bold;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-card p {
    color: #aeb8c7;
    margin-bottom: 20px;
}

.contact-card span {
    color: #00d9ff;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-section h2 {
        font-size: 30px;
    }
}

/* CONTACT BRAND ICONS */

.contact-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: #192638;
    color: #00d9ff;
    transition: 0.3s ease;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.whatsapp-icon {
    color: #25D366;
}

.instagram-icon {
    color: #E4405F;
}

.tiktok-icon {
    color: #ffffff;
}

.contact-card:hover .contact-icon {
    transform: scale(1.12);
    background: #20364b;
}

/* FOOTER */

.footer {
    background: #080b12;
    border-top: 1px solid #1d3045;
    padding: 55px 8% 25px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: auto;
}

.footer h2 {
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer h2 span {
    color: #00d9ff;
}

.footer-content > p {
    color: #929baa;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.footer-links a {
    color: #c4ccd8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d9ff;
}

.footer-line {
    height: 1px;
    background: #1d3045;
    margin: 25px 0;
}

.footer .copyright {
    font-size: 13px;
    color: #687587;
}

/* ANIMASI SCROLL */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* PROJECTS SECTION */

.projects-section {
    background: #0b0f18;
    padding: 100px 8%;
}

.projects-container {
    max-width: 1100px;
    margin: auto;
}

.projects-section > div > h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 18px;
}

.projects-section h2 span {
    color: #00d9ff;
}

.projects-section .section-subtitle {
    text-align: center;
}

.projects-description {
    color: #929baa;
    text-align: center;
    margin-bottom: 45px;
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: #111722;
    border: 1px solid #263548;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: #00d9ff;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #152235;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00d9ff;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 4px;
}

.project-info {
    padding: 25px;
}

.project-category {
    color: #00d9ff;
    font-size: 11px;
    letter-spacing: 2px;
}

.project-info h3 {
    font-size: 23px;
    margin: 13px 0;
}

.project-info p {
    color: #aeb8c7;
    font-size: 14px;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.project-tags span {
    background: #1b293a;
    color: #00d9ff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.project-link {
    display: inline-block;
    color: #00d9ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}

.project-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-section {
        padding: 70px 6%;
    }

    .projects-section > div > h2 {
        font-size: 30px;
    }
}

/* PROJECTS - POLISH */

.project-card {
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.15);
}

.project-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 12px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* RESPONSIVE UNTUK HP */

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-image {
        height: 210px;
    }

    .project-card {
        width: 100%;
    }
}

/* FINAL DESIGN IMPROVEMENT */

/* ABOUT */
.about-section {
    padding: 80px 8% 90px;
}

.about-heading {
    margin-bottom: 45px;
}

.about-description {
    max-width: 760px;
    margin: auto;
}

.skills-heading {
    margin-top: 35px;
    margin-bottom: 25px;
}

.skills-grid {
    align-items: stretch;
}

.skill-card {
    height: 100%;
    padding: 30px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.08);
}

.strength-card {
    margin-top: 30px;
}

/* PROJECTS */
.projects-grid {
    align-items: stretch;
    gap: 28px;
}

.projects-grid .project-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.projects-grid .project-image {
    height: 230px;
    border-radius: 0;
    flex-shrink: 0;
}

.projects-grid .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-grid .project-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-tags {
    margin-top: auto;
    padding-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-section {
        padding: 65px 6%;
    }

    .about-heading {
        margin-bottom: 35px;
    }

    .skills-heading {
        margin-top: 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .projects-grid .project-image {
        height: 220px;
    }
}

@media (max-width: 500px) {
    .skill-card {
        padding: 23px;
    }

    .projects-grid .project-info {
        padding: 22px;
    }
}

/* HOME SECTION - FINAL POLISH */

.hero {
    max-width: 1200px;
    min-height: 85vh;
    padding: 80px 40px;
    gap: 55px;
}

.hero-content {
    max-width: 620px;
}

.hero-content .greeting {
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-content h3 {
    font-size: 21px;
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.9;
    color: #aeb8c7;
}

.hero .btn {
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.12);
    transition: all 0.3s ease;
}

.hero .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.hero-image {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.12);
    transition: 0.4s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.22);
}

/* RESPONSIVE HOME */

@media (max-width: 850px) {
    .hero {
        padding: 60px 7%;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 50px 20px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content h3 {
        font-size: 17px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* FUTURISTIC TECHNOLOGY BACKGROUND */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(0, 145, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 15%,
            rgba(0, 217, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #080b12,
            #0b1424,
            #080b12
        );
}

/* GRID TECHNOLOGY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(0, 217, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 217, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 55px 55px;
    opacity: 0.35;
    pointer-events: none;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 35%,
        black
    );
}

/* BLUE LIGHT EFFECT */
.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: 8%;
    top: 20%;
    z-index: -1;

    background: rgba(0, 160, 255, 0.12);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

/* KEEP CONTENT ABOVE BACKGROUND */
.hero > * {
    position: relative;
    z-index: 1;
}

/* PREMIUM FUTURISTIC NAVBAR */

header {
    background: rgba(8, 11, 18, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.12);
    transition: 0.3s ease;
}

.navbar {
    max-width: 1300px;
    margin: auto;
    padding: 20px 40px;
}

.logo {
    transition: 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.navbar ul {
    align-items: center;
}

.navbar a {
    position: relative;
    padding: 8px 0;
    color: #c5cbd5;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00d9ff;
    box-shadow: 0 0 10px #00d9ff;
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: #00d9ff;
}

.navbar a:hover::after,
.navbar a:focus-visible::after {
    width: 100%;
}

/* RESPONSIVE NAVBAR */

@media (max-width: 500px) {
    .navbar {
        padding: 18px 15px;
    }

    .navbar ul {
        gap: 20px;
    }
}
