/* Root Variables */
:root {
    --primary-color: #0f2027; /* Deep Navy */
    --secondary-color: #203a43; /* Lighter Navy */
    --accent-color: #c5a059; /* Gold/Bronze */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2.2rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.text-white {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.center-text {
    text-align: center;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.section-header .line.light {
    background-color: var(--text-light);
}

.section-header.left-align {
    text-align: left;
}

.section-header.left-align .line {
    margin: 10px 0 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #b08d4b;
}

.btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(15, 32, 39, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-nav {
    background-color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 4px;
    color: white !important;
}

.btn-nav:hover {
    background-color: #b08d4b;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 700px;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 200px; /* Greatly increased padding to push content down */
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.profile-img-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

#hero h1 {
    color: white;
    margin-bottom: 10px;
}

#hero h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

#hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-content p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-content p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

/* Experience Section - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 41px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent-color);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.timeline-content .date {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.timeline-content .company {
    display: block;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.timeline-content ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.skill-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.skill-card h4 {
    margin-bottom: 15px;
}

.skill-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Initiatives */
.initiatives-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.initiative-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.initiative-card h4 {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.initiative-card ul {
    list-style: none;
}

.initiative-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.initiative-card ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Education & Languages */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.edu-item {
    display: flex;
    margin-bottom: 30px;
}

.edu-item .year {
    min-width: 100px;
    font-weight: 600;
    color: var(--accent-color);
}

.edu-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.language-list li {
    margin-bottom: 20px;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.lang-name {
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--accent-color);
}

/* Volunteering */
.volunteering-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.vol-item {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    max-width: 400px;
}

.vol-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #0b161b;
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

footer h2 {
    color: white;
    margin-bottom: 10px;
}

footer p {
    color: #999;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 10px 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.location {
    color: #999;
    margin-bottom: 40px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 11px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: var(--secondary-color);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hamburger {
        display: block;
    }

    #hero {
        padding-top: 140px;
        min-height: auto;
    }
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #b08d4b;
    transform: translateY(-3px);
}

.scroll-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}