* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f9ff;
    color: #0a2540;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e4b8f;
    border-radius: 12px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVBAR ===== */
nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 20px rgba(0, 20, 50, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(30, 75, 143, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a2b44, #1c6ea9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-logo span {
    color: #1e4b8f;
    background: none;
}

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

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1e3a5f;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #0f6bc2;
    border-bottom: 2px solid #0f6bc2;
    padding-bottom: 0.2rem;
}

.btn-outline-light {
    border: 1.5px solid #1e4b8f;
    padding: 0.45rem 1.2rem;
    border-radius: 40px;
    background: transparent;
    font-weight: 600;
    color: #1e4b8f;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline-light:hover {
    background: #1e4b8f;
    color: white;
    border-color: #1e4b8f;
}

.menu-icon {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1e4b8f;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    background: #f4f9ff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(30, 75, 143, 0.06) 0%, rgba(30, 75, 143, 0.02) 100%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.bubble:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-duration: 25s;
}

.bubble:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 10%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 40%;
    right: -50px;
    animation-duration: 22s;
    animation-delay: 5s;
}

.bubble:nth-child(4) {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    animation-duration: 30s;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.2;
}

.badge {
    background: linear-gradient(135deg, #e6f0ff, #d4e4fc);
    color: #1e4b8f;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 75, 143, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #0a2540;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #1e4b8f, #2c7bc0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-content h1 .username {
    color: #1e4b8f;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.typing-wrapper {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e4b8f;
    margin: 0.8rem 0 0.5rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.typing-wrapper i {
    font-size: 1.3rem;
    color: #0f6bc2;
}

#typedText {
    background: #eef3fc;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    display: inline-block;
    min-width: 190px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #2c4c6e;
    max-width: 550px;
    margin: 1.2rem 0;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 1.5rem 0;
}

.btn-primary {
    background: linear-gradient(135deg, #1e4b8f, #0f3a6e);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(30, 75, 143, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 75, 143, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #1e4b8f;
    color: #1e4b8f;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: #1e4b8f;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e4b8f;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #4f7ea3;
    font-weight: 500;
}

.stat-icon {
    font-size: 1.8rem;
    color: #6ab0f5;
    opacity: 0.7;
}

/* ===== ROUND LOGO / AVATAR ===== */
.hero-avatar {
    flex: 0.9;
    display: flex;
    justify-content: center;
    position: relative;
}

.avatar-circle {
    background: linear-gradient(145deg, #ffffff, #e9f2fa);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 45px -12px rgba(30, 75, 143, 0.25);
    border: 5px solid white;
    position: relative;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-circle i {
    font-size: 8rem;
    color: #1c6ea9;
    filter: drop-shadow(4px 6px 12px rgba(0, 0, 0, 0.1));
}

.floating-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #1e4b8f;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Other sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: #1e4b8f;
    border-radius: 4px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3rem;
}

.skill-card {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    font-weight: 500;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #dceaf5;
    color: #1e4b8f;
    transition: 0.2s;
    font-size: 1rem;
    cursor: default;
}

.skill-card i {
    margin-right: 8px;
    color: #0f6bc2;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: #1e4b8f;
    background: #f9fcff;
}

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

.project-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow: 0 12px 28px -8px rgba(0, 32, 64, 0.08);
    transition: all 0.25s;
    border: 1px solid rgba(30, 75, 143, 0.15);
    cursor: default;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #8bb9e5;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.project-icon {
    background: #eef3fc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1.2rem;
}

.project-icon i {
    font-size: 1.8rem;
    color: #1e4b8f;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #0f2c44;
}

.project-card p {
    color: #3b5e7e;
    margin-bottom: 1.4rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.project-tags span {
    background: #eef3fc;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e4b8f;
}

.project-link {
    text-decoration: none;
    font-weight: 600;
    color: #1e4b8f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.timeline {
    margin-top: 2rem;
}

.timeline-item {
    background: white;
    border-left: 4px solid #1e4b8f;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.timeline-item h3 {
    font-size: 1.3rem;
    color: #0a2540;
}

.timeline-date {
    color: #4f7ea3;
    font-size: 0.85rem;
    margin: 0.3rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2edf9;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin: 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    width: 32px;
    color: #1e4b8f;
    font-size: 1.3rem;
}

.social-links a {
    background: #eef3fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    margin-right: 0.8rem;
    color: #1e4b8f;
    transition: 0.2s;
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
}

.social-links a:hover {
    background: #1e4b8f;
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
}

.input-group {
    width: 100%;
    margin-bottom: 1rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cddfee;
    border-radius: 60px;
    font-family: inherit;
    background: #fdfdfe;
    user-select: text;
}

.input-group textarea {
    border-radius: 24px;
    resize: vertical;
}

button[type="submit"] {
    background: #1e4b8f;
    border: none;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== ENHANCED FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0a2640 0%, #0d2f4a 100%);
    color: #bdd4ec;
    padding: 3rem 0 1.5rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e4b8f, #6ab0f5, #1e4b8f);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #6ab0f5;
    border-radius: 2px;
}

.footer-col p {
    color: #bdd4ec;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #bdd4ec;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #6ab0f5;
    transform: translateX(5px);
}

.footer-col ul li i {
    width: 25px;
    color: #6ab0f5;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdd4ec;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #1e4b8f;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #8da3c0;
}

.footer-bottom .heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8da3c0;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #6ab0f5;
}

/* Responsive */
@media (max-width: 850px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        gap: 1rem;
        z-index: 999;
    }

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

    .menu-icon {
        display: block;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .section-title {
        display: block;
        text-align: center;
    }

    .contact-flex {
        flex-direction: column;
    }

    .avatar-circle {
        width: 240px;
        height: 240px;
    }

    .avatar-circle i {
        font-size: 6rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .typing-wrapper {
        justify-content: center;
        font-size: 1.1rem;
    }

    .floating-badge {
        bottom: 5px;
        right: 5px;
        padding: 0.3rem 0.7rem;
        font-size: 0.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        justify-content: center;
    }
}