:root {
    --primary-color: #144780;
    --secondary-color: #1d6491;
    --background-color: #f8f9fa;
    --accent-color: #e74c3c;
    --text-color: #111111;
    --nav-bg: #f8f9fa;
    --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-color: #144780;
    --light-bg: #f8f9fa;
    --dark-bg: #144780;
}


[data-theme="dark"] {
    --primary-color: #1A1A2E;
    --background-color: #1A1A2E;
    --text-color: rgb(2, 2, 2);
    --hover-color: #1A1A2E;
    --dark-bg: #1A1A2E;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

* {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.theme-toggle {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(12deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar {
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--nav-shadow);
    }
    
    .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .theme-toggle {
        margin: 1rem auto 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.profile-image {
    width: 160px;
    border-radius: 3%;
    object-fit: cover;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.skill-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.contact-section {
    background-color: var(--light-bg);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.contact-section {
    background-color: var(--light-bg);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

footer {
    background-color: var(--dark-bg);
    color: white;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

