/* BASE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background: #0a0e27;
    color: #e8eaed;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: #00d9ff;
    color: #0a0e27;
}


/* SHARED UTILITIES */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #00d9ff, transparent);
}

.about::before,
.skills::before,
.projects::before,
.achievements::before,
.contact::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d9ff, transparent);
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-one {
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    color: #0a0e27;
}

.btn-one:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    opacity: 0.9;
}

.btn-two {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-two:hover {
    background: #10b981;
    color: #0a0e27;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-three {
    background: transparent;
    color: #ec4899;
    border: 2px solid #ec4899;
}

.btn-three:hover {
    background: #ec4899;
    color: #0a0e27;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.btn-outline {
    background: transparent;
    color: #e8eaed;
    border: 2px solid #a8b2d1;
}

.btn-outline:hover {
    border-color: #00d9ff;
    color: #00d9ff;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    color: #0a0e27;
    border: none;
    cursor: pointer;
    font-family: 'Archivo', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    opacity: 0.9;
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);                               
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);            
    transition: all 0.3s ease;                                      
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;                            
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-bracket {
    color: #00d9ff;
}

.logo-text {
    margin: 0 0.25rem;
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;                             
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #a8b2d1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;                                
    position: relative;                          
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d9ff;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #00d9ff;
}

.nav-link:hover::after {
    width: 100%;
}


/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 9rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #05071a, #0d0f2b, #0a0e27);
}



.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    width: fit-content;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}


.hero-heading {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
}

.hero-heading-name {
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8eaed;
}

.hero-role-bracket {
    color: #00d9ff;
}

.hero-desc {
    font-size: 1.05rem;
    color: #a8b2d1;
    line-height: 1.75;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.hero-social {
    display: flex;
    gap: 0.875rem;
    margin-top: 0.25rem;
}

.hero-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 217, 255, 0.18);
    color: #a8b2d1;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-social .social-link:hover {
    background: #00d9ff;
    border-color: #00d9ff;
    color: #0a0e27;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.35);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-ring {
    position: relative;
    width: 340px;
    height: 340px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #00d9ff;
    border-bottom-color: #00d9ff;
    animation: ringRotate 4s linear infinite;
}

.hero-image-inner {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1f3e;
}

.hero-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@keyframes ringRotate {
    0%  { transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    background: rgba(13, 16, 48, 0.9);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 20px;
    padding: 1.75rem 3rem;
    max-width: 900px;
    width: 95%;
    margin: 3rem auto 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 800;
    color: #00d9ff;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: #a8b2d1;
    font-weight: 500;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(0, 217, 255, 0.5), transparent);
    flex-shrink: 0;
}


/* ABOUT */

.about {
    padding: 6rem 0 6rem 6rem;
    position: relative;
}

.about .container {
    margin-left: 7rem;
    margin-right: auto;
    padding-left: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 4rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #a8b2d1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.25rem;
    color: #e8eaed;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #1a1f3e;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    border-color: #00d9ff;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.15);
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-text h4 {
    color: #00d9ff;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.highlight-text p {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin: 0;
}

.about-education h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #00d9ff;
}

.education-timeline {
    position: relative;
    padding-left: 2rem;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00d9ff, #7c3aed);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #00d9ff;
    border-radius: 50%;
    border: 3px solid #0a0e27;
    box-shadow: 0 0 0 4px #1a1f3e;
}

.timeline-content {
    background: #1a1f3e;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #00d9ff;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.15);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #00d9ff;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #e8eaed;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #a8b2d1;
    font-size: 1rem;
    margin: 0;
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #00d9ff;
    color: #0a0e27;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}


/* SKILLS */

.skills {
    padding: 6rem 0;
    background: #111633;
    position: relative;
}

.skills .container {
    max-width: 1400px;
    padding: 0 2rem 0 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skill-card {
    background: #1a1f3e;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.15);
    transform: translateY(-3px);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.skill-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    border-radius: 8px;
    flex-shrink: 0;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8eaed;
    flex: 1;
}

.skill-percent {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00d9ff;
}

.skill-bar {
    height: 5px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #7c3aed, #ec4899);
    border-radius: 50px;
    transition: width 1.5s ease;
}


/* PROJECTS */

.projects {
    padding: 6rem 0;
    position: relative;
}

.projects .container {
    max-width: 1400px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: #1a1f3e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #00d9ff;
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.2);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.25rem;
    color: #e8eaed;
    margin-bottom: 0.5rem;
}

.project-sub {
    color: #6b7694;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.project-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-points li {
    color: #a8b2d1;
    font-size: 0.9rem;
    padding-left: 1.25rem;
    position: relative;
}

.project-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00d9ff;
    font-size: 0.85rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.375rem 0.75rem;
    background: #111633;
    color: #00d9ff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #00d9ff;
}

.project-btns {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.project-btn-outline,
.project-btn-live {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-btn-outline {
    background: transparent;
    color: #e8eaed;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-btn-outline:hover {
    border-color: #00d9ff;
    color: #00d9ff;
    transform: translateY(-2px);
}

.project-btn-live {
    background: linear-gradient(135deg, #00d9ff, #7c3aed, #ec4899);
    color: #0a0e27;
    border: none;
}

.project-btn-live:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.projects-cta {
    text-align: center;
    margin-top: 4rem;
}




/* CONTACT */

.contact {
    padding: 6rem 0;
    position: relative;
}

.contact .container {
    max-width: 1400px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text h3 {
    font-size: 2rem;
    color: #00d9ff;
    margin-bottom: 2rem;
}

.contact-text p {
    font-size: 1.125rem;
    color: #a8b2d1;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1f3e;
    border-radius: 8px;
    color: #00d9ff;
}

.contact-details h4 {
    color: #e8eaed;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: #00d9ff;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #e8eaed;
}

.contact-details p {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin: 0;
}

.contact-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #1a1f3e;
    color: #e8eaed;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #00d9ff;
    color: #0a0e27;
    border-color: #00d9ff;
    transform: translateY(-2px);
}

.contact-form-wrapper {
    background: #1a1f3e;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #e8eaed;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    background: #111633;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    color: #e8eaed;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* FOOTER */

.footer {
    background: #111633;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copy {
    color: #6b7694;
    font-size: 0.875rem;
    text-align: center;
}

/* TABLET */

@media (max-width: 1024px) {

    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image-ring {
        width: 260px;
        height: 260px;
    }

    .hero-cta,
    .hero-social {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto;
    }

    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-stats {
        padding: 1.25rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 5rem 0;
    }

    .about .container {
        margin-left: auto;
        padding-left: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid,
    .certificates-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }


    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.25rem;
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .nav-container {
        padding: 0.875rem 1.25rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 7rem 1.25rem 3rem;
    }

    .hero-heading {
        font-size: 1.875rem;
    }

    .hero-role {
        font-size: 0.95rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-image-ring {
        width: 200px;
        height: 200px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex-direction: row;
        gap: 0.75rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.875rem;
        white-space: normal;
    }

    .section-header {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .about,
    .skills,
    .projects,
    .contact {
        padding: 4rem 0;
    }

    .highlight-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .highlight-item:hover {
        transform: none;
    }

    .contact-socials {
        justify-content: center;
    }

    .footer-brand {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1.25rem;
    }

}
