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

body {
    font-family: 'Poppins', sans-serif;
    background: #0a192f;
    color: white;
    scroll-behavior: smooth;
}

/* ================= TOPBAR ================= */

.topbar {
    background: #0f1c2e;
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 8%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Left Side */
.topbar-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-left i {
    color: #00c6ff;
    margin-right: 6px;
}

/* Divider */
.topbar-left .divider {
    opacity: 0.4;
}

/* Right Side */
.topbar-right {
    display: flex;
    gap: 15px;
}

.topbar-right a {
    color: #cbd5e1;
    font-size: 14px;
    transition: 0.3s ease;
}

.topbar-right a:hover {
    color: #00c6ff;
    transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .topbar {
        padding: 8px 5%;
        font-size: 12px;
    }

    .topbar-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .topbar-left {
        justify-content: center;
    }

    .topbar-right {
        justify-content: center;
    }
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 17, 40, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 15px 8%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #00c3ff;
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cv-btn {
    background: linear-gradient(45deg, #ff4da6, #ff0066);
    padding: 8px 18px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.cv-btn:hover {
    transform: translateY(-3px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: white;
}

/* ================= HOME ================= */

/* ================= PREMIUM HERO ================= */

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, #0f2b55, #051128 60%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

/* LEFT SIDE IMAGE */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Glowing animated circle */
.glow-circle {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,195,255,0.6), transparent 70%);
    animation: pulseGlow 4s infinite alternate;
    filter: blur(20px);
}

@keyframes pulseGlow {
    from { transform: scale(1); opacity: 0.7; }
    to { transform: scale(1.1); opacity: 1; }
}

.image-wrapper {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #00c3ff;
    box-shadow: 0 0 60px rgba(0,195,255,0.5);
    animation: floatImage 5s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT CONTENT */
.hero-content {
    flex: 1;
    padding-left: 40px;
}

.hero-content h4 {
    font-weight: 400;
    font-size: 18px;
    color: #cbd5e1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
}

.hero-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.typing {
    color: #00c3ff;
    font-weight: 600;
}

.hero-content p {
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #94a3b8;
}

/* SOCIAL ICONS */
/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 15px;
    margin: 25px 0 30px 0;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00c3ff;
    border-radius: 8px;
    color: #00c3ff;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #00c3ff;
    color: #051128;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,195,255,0.3);
}

/* BUTTON GROUP */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.3s ease;
}

.primary {
    background: #00c3ff;
    color: #051128;
}

.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,195,255,0.4);
}

.outline {
    border: 2px solid #00c3ff;
    color: #00c3ff;
}

.outline:hover {
    background: #00c3ff;
    color: #051128;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,195,255,0.08);
    animation: floatShape 10s infinite linear;
}

.shape1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.shape2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
}

@keyframes floatShape {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0px); }
}

/* Fade-in animation */
.fade-in {
    animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 992px){

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    .image-wrapper img {
        width: 230px;
        height: 230px;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}

/* ================= PREMIUM ABOUT SECTION ================= */

.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 10%;
    background: linear-gradient(135deg, #061b3a, #051128);
    text-align: center;
    overflow: hidden;
}

/* Background glow effect */
.about-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,195,255,0.2), transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(60px);
    animation: glowMove 6s infinite alternate ease-in-out;
}

@keyframes glowMove {
    from { transform: translateX(-50%) scale(1); }
    to { transform: translateX(-50%) scale(1.1); }
}

/* Glass card container */
.about-container {
    position: relative;
    max-width: 850px;
    padding: 60px 50px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 40px rgba(0,195,255,0.1);
    z-index: 2;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title span {
    color: #00c3ff;
}

.about-subtitle {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* BUTTON CONTAINER */
.about-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* BUTTON STYLE */
.about-btn {
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

/* Primary */
.primary-btn {
    background: linear-gradient(45deg, #00c3ff, #009ad6);
    color: #051128;
    box-shadow: 0 0 20px rgba(0,195,255,0.4);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0,195,255,0.7);
}

/* Outline */
.outline-btn {
    border: 2px solid #00c3ff;
    color: #00c3ff;
}

.outline-btn:hover {
    background: #00c3ff;
    color: #051128;
    transform: translateY(-5px);
}

/* Fade Animation */
.fade-up {
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= STATS SECTION ================= */

.stats-section {
    background: #04182f;
    padding: 60px 8%;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-item h2 {
    font-size: 36px;
    color: #00c3ff;
    font-weight: 700;
}

.stat-item p {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 8px;
}

.divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
}

/* ================= TIMELINE SECTION ================= */

.timeline-section {
    padding: 120px 8%;
    background: linear-gradient(135deg, #051128, #0a192f);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
}

/* Center Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: #00c3ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

/* Timeline Item */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

/* Left */
.timeline-item.left {
    left: 0;
}

/* Right */
.timeline-item.right {
    left: 50%;
}

/* Circle Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background: #00c3ff;
    border: 4px solid #051128;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -9px;
}

/* Content Box (Glass Effect like 2nd image) */
.timeline-content {
    padding: 30px;
    background: rgba(255,255,255,0.05);
    position: relative;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 25px rgba(0,195,255,0.1);
    transition: 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 35px rgba(0,195,255,0.4);
}

.timeline-content h3 {
    font-size: 20px;
    color: #ffffff;
}

.timeline-content h4 {
    font-size: 16px;
    color: #00c3ff;
    margin: 8px 0;
}

.timeline-content .year {
    display: inline-block;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

/* ================= RESPONSIVE ================= */

@media screen and (max-width: 900px) {

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item::after {
        left: 15px;
    }
}

/* ================= SKILLS SECTION ================= */

.skills-section {
    padding: 120px 8%;
    background: linear-gradient(135deg, #071c3a, #051128);
}

.skills-header {
    text-align: center;
    margin-bottom: 60px;
}

.skills-header h2 {
    font-size: 36px;
    color: white;
}

.skills-header span {
    color: #00c3ff;
}

.skills-header p {
    color: #94a3b8;
    margin-top: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* CARD */
.skill-card {
    background: rgba(255,255,255,0.04);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0,195,255,0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,195,255,0.08);
    transition: 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 45px rgba(0,195,255,0.3);
}

.skill-card h3 {
    color: #00c3ff;
    margin-bottom: 25px;
}

/* SKILL */
.skill {
    margin-bottom: 22px;
}

.skill-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: white;
    margin-bottom: 6px;
}

.progress-bar {
    height: 7px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00c3ff, #009ad6);
    border-radius: 20px;
    transition: width 1.5s ease;
}

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

.contact-section {
    padding: 100px 8%;
    background: linear-gradient(135deg, #061c2f, #0a2742);
}

.contact-container {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
    min-width: 300px;
}

.contact-left h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-left span {
    color: #00c6ff;
}

.contact-left p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Info Cards */
.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(0,198,255,0.15);
    transition: 0.3s ease;
}

.info-card:hover {
    border-color: #00c6ff;
    box-shadow: 0 0 20px rgba(0,198,255,0.3);
    transform: translateY(-3px);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(0,198,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #00c6ff;
    font-size: 18px;
}

.info-card h4 {
    margin: 0;
    font-size: 15px;
}

.info-card p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.7);
}

/* RIGHT SIDE */
.contact-right {
    flex: 1;
    min-width: 320px;
    background: rgba(255,255,255,0.04);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(0,198,255,0.15);
}

.contact-right h3 {
    margin-bottom: 25px;
    color: #00c6ff;
}

/* Form */
.input-row {
    display: flex;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00c6ff;
}

/* Button */
.send-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,198,255,0.4);
}

/* Responsive */
@media(max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .input-row {
        flex-direction: column;
    }
}

/* =========================================
   PROJECT SECTION (FULL FIXED VERSION)
========================================= */

.projects-section {
    padding: 100px 6%;
    background: linear-gradient(135deg, #061c2f, #0c2d4a);
    overflow: hidden;
}

/* Prevent global horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Section Title */
.projects-section .section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
    color: #fff;
}

.projects-section .section-title span {
    color: #00c6ff;
}

/* =========================================
   SLIDER
========================================= */

.project-slider {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.project-slider::-webkit-scrollbar {
    display: none;
}

.project-track {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
}

/* =========================================
   PROJECT CARD
========================================= */

.project-card {
    flex: 0 0 360px;
    max-width: 360px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(0,198,255,0.15);
    scroll-snap-align: start;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(0,198,255,0.3);
}

/* =========================================
   MOCKUP FIX
========================================= */

.mockup-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    padding-top: 20px;   /* extra safe top spacing */
}

/* Laptop frame */
.laptop-frame {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.laptop-frame img {
    width: 100%;
    display: block;
}

/* Mobile frame */
.mobile-frame {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 30%;
    background: #111;
    padding: 6px;
    border-radius: 22px;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.7),
        inset 0 0 0 2px #333;
    transition: 0.3s ease;
}

.mobile-frame img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.project-card:hover .mobile-frame {
    transform: scale(1.05);
}

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

.project-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tech-stack span {
    background: rgba(0,198,255,0.12);
    color: #00c6ff;
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 20px;
}

/* Buttons */
.project-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-buttons .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
}

.btn.secondary {
    border: 1px solid #00c6ff;
    color: #00c6ff;
}

.btn:hover {
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE FIX
========================================= */

@media (max-width: 768px) {

    .project-card {
        flex: 0 0 90%;
        max-width: 90%;
    }

    .mobile-frame {
        width: 35%;
        top: 8%;
        right: 3%;
    }

    .project-buttons {
        flex-direction: column;
    }

    .project-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .project-card {
        flex: 0 0 95%;
        max-width: 95%;
    }

    .mobile-frame {
        width: 38%;
        top: 6%;
        right: 2%;
    }
}

/* =========================================
   SLIDER ARROWS FIXED
========================================= */

.slide-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,198,255,0.15);
    border: 1px solid rgba(0,198,255,0.4);
    color: #00c6ff;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

/* Keep arrows INSIDE section */
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slide-btn {
        display: none;
    }
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
}

/* Live Demo Button */
.btn.primary {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.5);
}

/* View Code Button */
.btn.secondary {
    border: 1px solid #00c6ff;
    color: #00c6ff;
    background: transparent;
}

.btn.secondary:hover {
    background: #00c6ff;
    color: #ffffff;
    transform: translateY(-3px);
}

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

@media (max-width: 992px) {
    .project-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .projects-section {
        padding: 80px 6%;
    }

    .section-title {
        font-size: 28px;
    }

    .mobile-img {
        width: 35%;
        right: 4%;
        bottom: -15px;
    }

    .project-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {

    .mobile-img {
        width: 40%;
        right: 2%;
        bottom: -10px;
    }

    .project-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

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

.whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    padding: 14px;
    border-radius: 50%;
    font-size: 22px;
    color: white;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00c3ff;
    padding: 12px;
    border-radius: 50%;
    border: none;
    display: none;
    color: white;
}

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

.footer {
    background: #081b29;
    text-align: center;
    padding: 20px;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px) {

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: #051128;
        width: 250px;
        height: 100vh;
        padding: 40px;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .cv-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* =========================
   HERO MOBILE FIX
========================= */

@media (max-width: 768px) {

    .hero {
        padding: 60px 6% 80px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    /* Fix image circle */
    .hero-image {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Fix content */
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* Buttons full width */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

}

.hero-image {
    border-radius: 50%;
    overflow: hidden;
}