:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.profile-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    transition: transform 0.3s ease;
    border-bottom-left-radius: 30%;
    border-bottom-right-radius: 30%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

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

/* Buttons */
.btn-primary-custom {
    background-color: white;
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary-custom:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Skills Section */
.skills-section {
    background-color: var(--bg-light);
}

.skill-badge {
    display: inline-block;
    background-color: white;
    color: var(--text-dark);
    padding: 10px 20px;
    margin: 6px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skill-badge:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Experience Section */
.experience-card {
    border-left: 4px solid var(--secondary-color);
    padding-left: 25px;
    margin-bottom: 40px;
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--bg-light);
}

.experience-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.experience-card .company {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.experience-card .period {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    display: inline-block;
    background-color: var(--bg-light);
    padding: 4px 12px;
    border-radius: 15px;
}

.experience-card ul {
    margin-top: 1rem;
}

.experience-card li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.skills-list {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.team-info {
    background-color: var(--bg-light);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-info {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.3rem;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    .hero-summary {
        font-size: 1rem;
    }

    .profile-image {
        display: none;
    }

    .hero .col-lg-8 {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        margin-top: 0;
    }

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

    section {
        padding: 60px 0;
    }
}
