:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --muted-text: #6c757d;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
}

/* Navbar */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

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

.nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-contact {
    background: var(--accent-color);
    border: none;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--muted-text);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.bio-text p {
    margin-bottom: 1.25rem;
}

/* Accordion Section */
.skills-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--accent-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c3e50'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.accordion-body {
    padding: 1.5rem;
    background: #fff;
}

.accordion-body ul {
    margin: 0;
    padding-left: 1.25rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.6;
}

.accordion-item {
    border: none !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Profile Image */
.profile-image {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

@media (max-width: 767.98px) {
    .profile-image {
        width: 200px;
        height: 200px;
    }
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background: #fff;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 1;
}

.timeline-card {
    background: var(--light-bg);
    border: none;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.timeline-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.timeline-text strong {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin: 0 0.35rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 7px;
    }
    .timeline-dot {
        left: -2.5rem;
    }
}

/* Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }