/* ===== Global Styles ===== */
:root {
    --primary: #6c63ff;
    --primary-dark: #5a52d5;
    --secondary: #ff6584;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Navbar ===== */
#mainNav {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 500;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.hero-role {
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.hero-description {
    color: #b0b0c0;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.btn-outline-light {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.hero-profile-pic {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid rgba(108, 99, 255, 0.5);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-icon-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.hero-icon-circle i {
    font-size: 5rem;
    color: #fff;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Stats ===== */
.stat-card {
    padding: 30px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* ===== Skills Section ===== */
.skill-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.1);
    border-color: var(--primary);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.skill-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.skill-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.skill-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Experience Section ===== */
.experience-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--primary);
}

.exp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.exp-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
}

.exp-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.exp-company {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.exp-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.exp-list {
    list-style: none;
    padding: 0;
}

.exp-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.exp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.exp-project {
    background: rgba(108, 99, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed rgba(108, 99, 255, 0.3);
}

.exp-project h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

/* ===== Tools Section ===== */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tool-badge {
    background: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.tool-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.1);
}

.tool-badge i {
    color: var(--primary);
}

/* ===== Education Section ===== */
.edu-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.1);
}

.edu-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.edu-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.edu-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.edu-university {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.edu-year {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem;
}

.edu-score {
    display: inline-block;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Contact Section ===== */
#contact .section-title {
    color: #fff;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.contact-card h6 {
    color: #ccc;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-card a {
    color: #fff;
    font-size: 0.9rem;
    word-break: break-all;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-card p {
    color: #b0b0c0;
    font-size: 0.9rem;
}

/* ===== Footer ===== */
footer {
    background: #000 !important;
}

footer p {
    color: #888;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-profile-pic {
        width: 200px;
        height: 200px;
    }

    .hero-icon-circle {
        width: 180px;
        height: 180px;
    }

    .hero-icon-circle i {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .experience-card {
        padding: 25px;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-cta .btn:first-child {
        margin-right: 0 !important;
    }

    .tools-grid {
        gap: 8px;
    }

    .tool-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
