/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #050816;
    --bg2: #0b1020;
    --card: rgba(255, 255, 255, 0.05);
    --nav: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text2: #cbd5e1;
    --primary: #00d4ff;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 212, 255, 0.25);
}

body.light {
    --bg: #f5f7fb;
    --bg2: #ffffff;
    --card: #ffffff;
    --nav: rgba(255, 255, 255, 0.85);
    --text: #111827;
    --text2: #374151;
    --primary: #2563eb;
    --border: #e5e7eb;
    --shadow: rgba(37, 99, 235, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

body.is-loading {
    overflow: hidden;
}

.loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(5, 8, 22, 0.96);
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    position: relative;
    width: 110px;
    height: 110px;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    position: absolute;
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.4));
}

.loader p {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.18), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.18), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(0, 255, 170, 0.12), transparent 30%);
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

body::after {
    content: "";
    position: fixed;
    width: 480px;
    height: 480px;
    background: rgba(0, 212, 255, 0.18);
    filter: blur(120px);
    border-radius: 50%;
    top: -140px;
    right: -100px;
    animation: blob 12s infinite alternate;
    z-index: -2;
    pointer-events: none;
}

body::selection {
    background: rgba(0, 212, 255, 0.35);
    color: white;
}

body.light::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.12), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(0, 255, 170, 0.08), transparent 30%);
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2147483647;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.45);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

::selection {
    background: rgba(0, 212, 255, 0.35);
    color: white;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), #5f6fff);
    border-radius: 20px;
}

nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1200px);
    max-width: calc(100vw - 24px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 24px;
    background: var(--nav);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 18px;
    z-index: 999;
    transition: all 0.35s ease;
    gap: 12px;
}

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

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
    min-height: 42px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.nav-links a {
    padding: 6px 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-actions.mobile-actions {
    display: none;
}

.nav-actions.desktop-actions {
    display: flex;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(0, 212, 255, 0.18);
}

.resume-btn,
.btn-primary,
.btn-secondary,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.resume-btn,
.btn-primary,
.btn {
    background: linear-gradient(135deg, var(--primary), #5f6fff);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.resume-btn:hover,
.btn-primary:hover,
.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 212, 255, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 120px 10% 80px;
}

.hero-left {
    width: 55%;
}

.hello {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 10px 0 16px;
    font-weight: 700;
}

.hero-left h1 span {
    color: var(--primary);
}

.hero-left h2 {
    color: var(--text2);
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    margin-bottom: 20px;
    min-height: 2.2em;
}

.hero-left p {
    color: var(--text2);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 650px;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social {
    margin-top: 28px;
    display: flex;
    gap: 14px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.social a:hover {
    transform: translateY(-3px);
    color: var(--primary);
    border-color: var(--primary);
}

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

.profile-card {
    width: min(100%, 380px);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    padding: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.35), rgba(95, 111, 255, 0.25));
    border: 2px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    position: relative;
    animation: float 5s infinite ease-in-out;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.profile-card img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    display: block;
}

.floating {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(5, 8, 22, 0.85);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.25);
    animation: orbit 5s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flutter { top: -14px; left: 40%; }
.php { right: -14px; top: 40%; }
.html { bottom: -10px; left: 45%; }
.css { left: -14px; top: 40%; }
.js { top: 16%; right: 18%; }
.database { bottom: 18%; left: 18%; }

section {
    padding: 100px 10%;
}

.title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 56px;
    color: var(--primary);
    font-weight: 700;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -20px;
}

.stat,
.skill-card,
.card {
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat:hover,
.skill-card:hover,
.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px var(--shadow);
}

.stat {
    text-align: left;
    padding: 34px 24px;
    background: linear-gradient(135deg, rgba(0,212,255,0.14), rgba(95,111,255,0.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 40px rgba(0,0,0,0.15);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.stat::before {
    content: "";
    position: absolute;
    inset: auto -12px -12px auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
    pointer-events: none;
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat h2 {
    font-size: 2.35rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.stat p {
    margin-top: 4px;
    color: var(--text2);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(95, 111, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.about-grid img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.about-grid h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-grid p {
    color: var(--text2);
    margin-bottom: 24px;
}

.info {
    display: grid;
    gap: 14px;
}

.info div {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.info strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.skill-card {
    text-align: center;
    font-weight: 600;
    color: var(--text);
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 22px;
    min-height: 74px;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(0, 212, 255, 0.14) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.skill-item:hover::before {
    transform: translateX(100%);
}

.skill-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.14);
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1rem;
}

.skill-label {
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tool-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 22px;
    min-height: 74px;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(95, 111, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(95, 111, 255, 0.16);
    color: #8fb9ff;
    flex-shrink: 0;
    font-size: 1rem;
}

.tool-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    display: block;
    text-decoration: none;
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px var(--shadow);
}

.project-card::after {
    content: "↗";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.project-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), #5f6fff);
    color: #fff;
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.project-card p {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 18px;
}

footer {
    padding: 30px 20px;
    text-align: center;
    background: rgba(9, 13, 24, 0.9);
    color: #9ca3af;
    margin-top: 40px;
}

.hidden {
    opacity: 0;
    transform: translateY(80px);
    transition: 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.cursor-glow {
    width: 25px;
    height: 25px;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(0, 212, 255, 0.32);
    transform: translate(-50%, -50%);
    filter: blur(12px);
    z-index: 9999;
}

.top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 22px;
    cursor: pointer;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.35);
    transition: transform 0.3s ease;
}

.top-btn:hover {
    transform: scale(1.12);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes blob {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(140px) rotate(180deg); }
}

@keyframes float {
    50% { transform: translateY(-18px); }
}

@keyframes orbit {
    50% { transform: translateY(-15px) scale(1.08); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-left {
        width: 100%;
    }

    .hero-buttons,
    .social {
        justify-content: center;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    nav {
        padding: 12px 14px;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links-wrap {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .nav-links a {
        display: block;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .resume-btn {
        padding: 10px 16px;
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    section {
        padding: 80px 6%;
    }

    nav {
        top: 12px;
        padding: 12px 14px;
    }

    nav ul {
        gap: 10px 14px;
        font-size: 0.95rem;
    }

    .nav-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .resume-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

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

    .hero-left h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .title {
        font-size: 1.8rem;
    }

    .profile-card {
        width: 280px;
    }

    .resume-btn,
    .btn-primary,
    .btn-secondary,
    .btn {
        width: 100%;
    }

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

/* ==========================================
   EXTRA RESPONSIVE DESIGN
==========================================*/

/* Images */
img{
    max-width:100%;
    height:auto;
    display:block;
}

/* Container */
section{
    width:100%;
    overflow:hidden;
}

/* Hero */
.hero{
    width:100%;
}

.hero-left,
.hero-right{
    flex:1;
}

.hero-right img{
    width:100%;
    max-width:420px;
    margin:auto;
}

/* Buttons */

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-buttons a{
    min-width:180px;
}

/* About */

.about-grid img{
    max-width:450px;
    margin:auto;
}

/* Skills */

.skill-grid{
    grid-template-columns:
        repeat(auto-fit,minmax(180px,1fr));
}

/* Stats */

.stats{
    width:100%;
}

/* Navbar */

nav{
    overflow:hidden;
}

.nav-links{
    flex-wrap:wrap;
}

/* Footer */

footer{
    padding:30px 15px;
}

/* Prevent horizontal scroll */

html,
body{
    overflow-x:hidden;
}

/* ==========================================
      LARGE DESKTOPS
==========================================*/

@media (min-width:1600px){

.hero{

max-width:1500px;

margin:auto;

}

section{

max-width:1500px;

margin:auto;

}

}

/* ==========================================
      LAPTOPS
==========================================*/

@media(max-width:1200px){

.hero{

padding:140px 7% 80px;

gap:50px;

}

.about-grid{

gap:40px;

}

}

/* ==========================================
      TABLETS
==========================================*/

@media(max-width:992px){

.hero{

flex-direction:column-reverse;

text-align:center;

gap:50px;

}

.hero-left,

.hero-right{

width:100%;

}

.hero-buttons,

.social{

justify-content:center;

}

.profile-card{

margin:auto;

}

.about-grid{

grid-template-columns:1fr;

text-align:center;

}

.info{

text-align:left;

}

.stats{

grid-template-columns:repeat(2,1fr);

}

}

/* ==========================================
      MOBILE
==========================================*/

@media(max-width:768px){

nav{

padding:15px;

top:10px;

}

.nav-brand{

width:100%;

justify-content:center;

margin-bottom:10px;

}

.nav-links-wrap{

width:100%;

}

.nav-links{

width:100%;

align-items:center;

}

.nav-links li{

width:100%;

text-align:center;

}

.nav-links a{

padding:8px;

display:block;

width:100%;

}

.nav-actions{

justify-content:center;

width:100%;

}

.hero{

padding-top:180px;

}

.hero-left h1{

font-size:2.5rem;

}

.hero-left h2{

font-size:1.3rem;

}

.hero-left p{

font-size:1rem;

}

.profile-card{

max-width:300px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.hero-buttons a{

width:100%;

max-width:280px;

}

.stats{

grid-template-columns:1fr;

}

.skill-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* ==========================================
      SMALL PHONES
==========================================*/

@media(max-width:480px){

.hero{

padding-top:210px;

}

.logo{

font-size:24px;

}

.hero-left h1{

font-size:2rem;

}

.hero-left h2{

font-size:1.1rem;

}

.hero-left p{

font-size:.95rem;

}

.title{

font-size:1.7rem;

}

.profile-card{

max-width:240px;

}

.skill-grid{

grid-template-columns:1fr;

}

.resume-btn,

.btn-primary,

.btn-secondary{

font-size:15px;

padding:12px;

}

.social{

gap:10px;

}

.social a{

width:40px;

height:40px;

}

.stat{

padding:22px;

}

.info div{

font-size:14px;

}

.top-btn{

width:45px;

height:45px;

right:15px;

bottom:15px;

}

}

/* ==========================================
      VERY SMALL DEVICES
==========================================*/

@media(max-width:360px){

.hero{

padding-top:230px;

}

.hero-left h1{

font-size:1.8rem;

}

.profile-card{

max-width:200px;

}

.nav-links a{

font-size:15px;

}

.resume-btn{

font-size:14px;

}

} 

/* ===========================
   Hamburger
=========================== */

.menu-toggle{
	display:none;
font-size:28px;
cursor:pointer;
color:var(--text);

}

/* Mobile */

@media (max-width:768px){

nav{

flex-direction:column;
align-items:stretch;

}

.nav-brand{

display:flex;
justify-content:space-between;
align-items:center;
width:100%;
margin-bottom:0;

}

.logo-img{
    height: 44px;
}

.menu-toggle{
	display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border-radius:50%;
background:rgba(255,255,255,0.08);
flex-shrink:0;

}

.nav-links-wrap{
	display:none;
width:100%;
margin-top:15px;
animation:fadeDown .3s ease;

}

.nav-links-wrap.active{
	display:flex;
flex-direction:column; 

}

.nav-links{

flex-direction:column;
width:100%;
align-items:center;

}

.nav-links li{

width:100%;
text-align:center;

}

.nav-links a{

display:block;
padding:12px 0;

}

.nav-actions.mobile-actions{
	display:flex;
justify-content:center;
width:100%;
margin-top:15px;
flex-wrap:wrap;
}

.nav-actions.desktop-actions{
	display:none;
}

.resume-btn{

width:100%;
max-width:250px;

}

}

@keyframes fadeDown{

from{

opacity:0;
transform:translateY(-15px);

}

to{

opacity:1;
transform:translateY(0);

}

}