:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.text-primary { color: var(--primary-color) !important; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Navbar Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
}
.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Section Spacing */
section { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Hero Section */
#about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    padding-top: 80px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}
.hero-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 8px solid white;
}
.btn-custom {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid #e5e7eb;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}
.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.timeline-subtitle {
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Skills */
.skill-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f3f4f6;
}
.dev-icons i {
    font-size: 2.5rem;
    color: #4b5563;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s;
}
.dev-icons i:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}
.skill-badge {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}
.skill-badge:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Projects */
.project-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.project-img-wrapper {
    overflow: hidden;
    position: relative;
}
.project-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card-body { padding: 2rem; }

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}
