/* ========================================
GOOGLE FONT
======================================== */

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

/* ========================================
ROOT VARIABLES
======================================== */

:root {
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #475569;
    --white: #ffffff;
    --success: #10b981;
}

/* ========================================
GLOBAL STYLES
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

section {
    padding: 100px 0;
}

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

.navbar {
    background: rgba(15, 23, 42, .9) !important;
    backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: white !important;
    margin-left: 15px;
    font-weight: 500;
    transition: .3s;
}

.nav-link:hover {
    color: #818cf8 !important;
}

/* ========================================
HERO SECTION
======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hero-tag {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4338ca;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
}

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

.hero-subtitle {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #64748b;
}

.hero-description {
    margin-top: 25px;
    max-width: 650px;
    line-height: 1.9;
    font-size: 1.05rem;
}

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

.hero-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    transition: .4s;
    display: block;
    margin: auto;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-stats h2 {
    font-weight: 700;
    color: var(--primary);
}

.hero-stats p {
    margin-top: 5px;
}

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

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: .3s;
}

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

.project-buttons,
.internship-buttons,
.internship-project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-buttons .btn,
.internship-buttons .btn,
.internship-project-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* ========================================
SECTION TITLE
======================================== */

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary);
    display: block;
    margin: 15px auto;
    border-radius: 10px;
}

/* ========================================
CARDS & SECTIONS
======================================== */

.card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    transition: .4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

#about .card,
#education .card {
    padding: 30px;
    background: white;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-badge {
    background: white;
    color: var(--dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
}

.skill-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.project-card {
    height: 100%;
    background: white;
}

#certificates .card {
    background: white;
    text-align: center;
}

/* ========================================
CONTACT & FORMS
======================================== */

.form-control {
    border-radius: 15px;
    padding: 14px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .15);
}

.alert {
    border-radius: 15px;
    font-weight: 500;
}

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

footer {
    background: var(--dark);
    color: white;
    padding: 60px 0;
    margin-top: 50px;
}

footer a {
    color: white;
    margin: 0 10px;
    transition: .3s;
}

footer a:hover {
    color: var(--primary);
}

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

@media(max-width:992px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .hero-image {
        width: 280px;
        height: 280px;
        margin-top: 40px;
    }
}

@media(max-width:768px) {
    section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }

    .btn {
        width: 100%;
    }

    .hero-image {
        width: 220px;
        height: 220px;
        margin-top: 30px;
    }

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