/* ==============================
   GENERAL
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --blue-gradient: linear-gradient(to right, #001B55, #0036A7);
    --blue: #0036A7;
    --orange: #F27500;
    --yellow: #F7DF4B;
}

body {
    background: radial-gradient(circle at 20% 15%, #FFF28E 0%, #FEF8D6 45%, #FDF3B4 100%);
    background-attachment: fixed;
    color: #171717;
    transition: background 0.4s ease, color 0.4s ease;
}

body[data-theme="dark"] {
    background: radial-gradient(circle at 80% 15%, #0B1938 0%, #050B1B 50%, #02050D 100%);
    background-attachment: fixed;
    color: #F8FAFC;
}

section {
    min-height: 100vh;
    width: 100%;
    padding: 8rem 12%;
    scroll-margin-top: 70px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}


/* ==============================
   HEADER
============================== */

.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    max-width: calc(100% - 100px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 0.7rem 1.5rem;
    border-radius: 3rem;

    background: #000000;
    color: #FFFFFF;
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.28);

    z-index: 1000;
    transition: 0.3s ease;
}

/* Dark mode navbar */
body[data-theme="dark"] .header {
    background: #FFFFFF;
    color: #000000;
    box-shadow: 0 12px 35px -5px rgba(255, 255, 255, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: inherit;
    position: relative;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    left: 0;
    top: 25px;
    border-radius: 1rem;
    background: var(--orange);
    transition: 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}


/* ==============================
   VISIT GITHUB
============================== */

.visit-btn {
    background-color: var(--orange);
    color: #000000;
    border-radius: 2.5rem;
    padding: 0.45rem 1.15rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;

    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

body[data-theme="dark"] .visit-btn {
    color: #FFFFFF;
}

.visit-btn:hover {
    transform: scale(1.05);
}

.visit-btn i {
    font-size: 1.85rem;
    line-height: 1;
    color: inherit;
    display: flex;
    align-items: center;
}

.visit-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.1;
    color: inherit;
}

.visit-text span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==============================
   THEME TOGGLE
============================== */

.theme-toggle {
    position: fixed;
    top: 1.1rem;
    right: 3%;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: #000000;
    color: var(--orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);

    font-size: 1.3rem;
    cursor: pointer;

    z-index: 1001;
    transition: 0.3s ease;
}

body[data-theme="dark"] .theme-toggle {
    background: #FFFFFF;
    color: var(--orange);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.theme-toggle:hover {
    transform: rotate(25deg) scale(1.08);
}


/* ==============================
   ABOUT
============================== */

.about {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    width: 100%;
}

.profile-img {
    width: 30vw;
    max-width: 380px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

body[data-theme="dark"] .profile-img {
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.text h3 {
    font-size: 1.5rem;
    opacity: 0.7;
}

.text h1 {
    font-size: 3.5rem;
}

.gradient-text {
    display: inline-block;
    font-size: 1.8rem;

    background: var(--blue-gradient);
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
}


/* ==============================
   ABOUT DROPDOWNS
============================== */

.about-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.7rem;
    text-align: left;
}

.about-details details {
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 1rem;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

body[data-theme="dark"] .about-details details {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.35);
}

.about-details details:hover {
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.1);
}

.about-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.about-details summary::-webkit-details-marker {
    display: none;
}

.about-details summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--orange);
}

.about-details details[open] summary::after {
    content: "−";
}

.about-details ul {
    padding: 0.8rem 0 0 1.5rem;
}

.about-details li {
    list-style: disc;
    font-size: 0.85rem;
    margin: 0.4rem 0;
}

/* ==============================
   EDUCATION CONTENT
============================== */

.education-content {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body[data-theme="dark"] .education-content {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.edu-univ {
    font-size: 1.05rem;
    font-weight: 700;
}

.edu-loc {
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.edu-loc i,
.edu-date i {
    color: var(--orange);
    font-size: 0.75rem;
}

.edu-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.edu-major {
    opacity: 0.9;
    font-weight: 600;
}

.edu-date {
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.edu-footer {
    margin-top: 0.4rem;
}

.custom-badge,
.edu-gpa {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.85rem;
    border-radius: 2rem;
    background-color: #212121;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

.badge-text,
.edu-gpa-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
}

.badge-text i,
.edu-gpa-text i {
    color: #FFFFFF;
    font-size: 0.8rem;
}

.badge-text strong,
.edu-gpa-text strong {
    color: #FFFFFF;
}

/* Dark Mode (Blue Background) */
body[data-theme="dark"] .custom-badge,
body[data-theme="dark"] .edu-gpa {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(135deg, #001B55, #0036A7) border-box;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .badge-text,
body[data-theme="dark"] .edu-gpa-text {
    background: linear-gradient(to right, #001B55, #0036A7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #001B55;
}

body[data-theme="dark"] .badge-text i,
body[data-theme="dark"] .badge-text strong,
body[data-theme="dark"] .edu-gpa-text i,
body[data-theme="dark"] .edu-gpa-text strong {
    color: inherit;
    -webkit-text-fill-color: transparent;
}


/* ==============================
   SKILLS & INTERESTS TAGS
============================== */

.skills-tags,
.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .skills-tags,
body[data-theme="dark"] .interests-tags {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.skills-tags .tag,
.interests-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.skills-tags .tag i,
.interests-tags .tag i {
    color: var(--orange);
    font-size: 0.78rem;
}

.skills-tags .tag:hover,
.interests-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-color: var(--orange);
}

body[data-theme="dark"] .skills-tags .tag,
body[data-theme="dark"] .interests-tags .tag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] .skills-tags .tag:hover,
body[data-theme="dark"] .interests-tags .tag:hover {
    border-color: var(--orange);
    box-shadow: 0 6px 14px rgba(242, 117, 0, 0.2);
}


/* ==============================
   BUTTONS
============================== */

.btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn {
    border: 1.5px solid currentColor;
    border-radius: 3rem;
    padding: 0.6rem 1.5rem;

    color: inherit;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;
    transition: 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.btn:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .btn {
    background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .btn:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: inherit;
    font-size: 1.8rem;
    transition: 0.3s ease;
}

.socials a:hover {
    color: var(--orange);
    transform: scale(1.1);
}


/* ==============================
   EXPERIENCE
============================== */

.experience-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    flex: 1;
}

.experience-card {
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;

    transition: 0.3s ease;
    cursor: pointer;
}

body[data-theme="dark"] .experience-card {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.exp-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.exp-category {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.exp-category i {
    font-size: 1.6rem;
    color: var(--orange);
}

.category-label {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.exp-role {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
    transition: color 0.3s ease;
}

body[data-theme="dark"] .exp-role {
    color: var(--yellow);
}

.exp-company {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.85;
    line-height: 1.3;
}

.experience-card p {
    font-size: 0.85rem;
    line-height: 1.65;
    opacity: 0.9;
}

.experience-card:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

.experience-card:hover .exp-role {
    color: var(--yellow);
}

body[data-theme="dark"] .experience-card:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.15);
}

body[data-theme="dark"] .experience-card:hover .exp-role {
    color: #000000;
}

/* ==============================
   EXPERIENCE GALLERY (FLOATING CIRCLES)
============================== */

.experience-gallery {
    width: 440px;
    height: 440px;
    position: relative;
    flex-shrink: 0;
}

.exp-circle {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: none;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

body[data-theme="dark"] .exp-circle {
    border: none;
    box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75);
}

.exp-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.exp-circle:hover img {
    transform: scale(1.12);
}

/* Sinar Lewat Tipis (Shimmer / Light Beam) */
.exp-circle::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 38%,
        rgba(255, 255, 255, 0.35) 48%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0.35) 52%,
        transparent 62%
    );
    transform: rotate(25deg) translateX(-180%);
    pointer-events: none;
    border-radius: 50%;
}

/* Circle 1 - Top Center (Yellow Jacket UI) */
.circle-1 {
    width: 220px;
    height: 220px;
    top: 0;
    left: 50%;
    margin-left: -110px;
    z-index: 2;
    animation: floatTop 5.2s ease-in-out infinite;
}

.circle-1::after {
    animation: lightSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Circle 2 - Bottom Left (PLN Icon Plus) */
.circle-2 {
    width: 230px;
    height: 230px;
    bottom: 5px;
    left: 0;
    z-index: 1;
    animation: floatLeft 6.4s ease-in-out infinite 0.7s;
}

.circle-2::after {
    animation: lightSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite 2s;
}

/* Circle 3 - Bottom Right (Brick Wall) */
.circle-3 {
    width: 240px;
    height: 240px;
    bottom: 0;
    right: 0;
    z-index: 3;
    animation: floatRight 5.8s ease-in-out infinite 1.4s;
}

.circle-3::after {
    animation: lightSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite 4s;
}

/* Floating Keyframes */
@keyframes floatTop {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-11px);
    }
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(1deg);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Sinar Lewat Keyframes */
@keyframes lightSweep {
    0%, 25% {
        transform: rotate(25deg) translateX(-180%);
        opacity: 0;
    }
    27% {
        opacity: 1;
    }
    45% {
        transform: rotate(25deg) translateX(180%);
        opacity: 1;
    }
    47%, 100% {
        transform: rotate(25deg) translateX(180%);
        opacity: 0;
    }
}


/* ==============================
   PROJECTS
============================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;

    padding: 2rem;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

body[data-theme="dark"] .project-card {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.project-card img {
    width: 100%;
    aspect-ratio: 4454 / 3058;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.1rem 0;
}

.project-card p {
    font-size: 0.85rem;
    line-height: 1.65;
    opacity: 0.9;
    flex-grow: 1;
}

.project-card .btn-group {
    flex-wrap: wrap;
    margin-top: auto;
}

.project-card:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] .project-card:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.15);
}


/* ==============================
   CONTACT
============================== */

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.input {
    position: relative;
    width: 100%;
    max-width: 650px;
}

.input input {
    width: 100%;
    padding: 1.5rem 5rem 1.5rem 2rem;

    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 3rem;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.06);
    color: inherit;

    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

body[data-theme="dark"] .input input {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.35);
}

.input input:focus {
    border-color: var(--orange);
    box-shadow: 0 10px 30px -5px rgba(242, 117, 0, 0.25);
}

.input input::placeholder {
    color: inherit;
    opacity: 0.6;
}

.input button {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);

    background: transparent;
    color: var(--orange);

    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==============================
   FOOTER
============================== */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem;
}

.footer nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer nav a {
    color: inherit;
    position: relative;
}

.footer nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 3px;

    background: #000000;
    transition: 0.3s ease;
}

body[data-theme="dark"] .footer nav a::after {
    background: var(--yellow);
}

.footer nav a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}


/* ==============================
   SCROLLBAR
============================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #E5E5E5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,
            #001B55,
            #0036A7,
            #F27500);

    border-radius: 2rem;
}


/* ==============================
   RESPONSIVE: TABLET
============================== */

@media (max-width: 1280px) {

    section {
        padding: 8rem 7%;
    }

    .header {
        gap: 1.2rem;
    }

    .about-container,
    .experience-info {
        gap: 2rem;
    }
}


/* ==============================
   RESPONSIVE: MOBILE
============================== */

@media (max-width: 768px) {

    section {
        padding: 8rem 6% 5rem;
    }

    .header {
        width: calc(100% - 100px);
        max-width: none;
        padding: 0.7rem 1rem;
        gap: 1rem;
    }

    .logo img {
        width: 65px;
    }

    .visit-btn {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        display: none;

        flex-direction: column;
        align-items: center;
        gap: 1.5rem;

        top: 115%;
        left: 0;

        width: 100%;
        padding: 1.5rem;

        border-radius: 1.5rem;

        background: #000000;
        color: #FFFFFF;
    }

    body[data-theme="dark"] .nav-links {
        background: #FFFFFF;
        color: #000000;
    }

    .nav-links.active {
        display: flex;
    }

    .theme-toggle {
        right: 3%;
        top: 1.1rem;
        width: 48px;
        height: 48px;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .profile-img {
        width: 60vw;
    }

    .text h1 {
        font-size: 2.5rem;
    }

    .gradient-text {
        font-size: 1.4rem;
    }

    .experience-info {
        flex-direction: column;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .experience-gallery {
        width: 320px;
        height: 330px;
        margin: 2.5rem auto 0;
    }

    .circle-1 {
        width: 160px;
        height: 160px;
        margin-left: -80px;
    }

    .circle-2 {
        width: 170px;
        height: 170px;
    }

    .circle-3 {
        width: 180px;
        height: 180px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .input input {
        padding: 1.2rem 4rem 1.2rem 1.5rem;
        font-size: 0.8rem;
    }
}


/* ==============================
   RESPONSIVE: SMALL MOBILE
============================== */

@media (max-width: 480px) {

    .btn-group {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .footer nav {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .about-details {
        width: 100%;
    }

    .text h1 {
        font-size: 2rem;
    }

}