body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    background: #F8F7F0;
    color: #333333;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Typography hierarchy */
h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #333333;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #333333;
}
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333333;
}

/* Text readability */
.intro-content p, .case-study-phase p, #about-me p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card spacing */
.competency-card, .timeline-item {
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.competency-card:hover, .timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

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

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    width: 3px;
    height: 0;
    background-color: #014421;
    transition: height 1.5s ease-out;
}

.timeline.is-visible .timeline-line {
    height: 100%;
}

/* Footer Styles */
footer {
    background-color: #3A5A20;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3A5A20;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #709050;
}

.button:hover {
    background-color: #2A4A10;
    color: #FFFFFF;
    border-color: #709050;
    transform: translateY(-2px);
}
.hero-bg {
    background: #3A5A20;
}

/* --- Full Page Abstract Shapes --- */
.shape-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

header, main, footer {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    animation: float 25s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -250px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -200px;
    animation-duration: 30s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 40%;
    animation-duration: 20s;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-40px) translateX(20px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* --- Minimalist Modern Header --- */
.site-header {
    /* Sticky Header Effect */
    position: sticky;
    top: 0;
    z-index: 1000;

    /* Styling */
    background-color: rgba(248, 247, 240, 0.8); /* Semi-transparent beige */
    padding: 1rem 5%; /* Spacing around the header */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Subtle separator line */
    backdrop-filter: blur(10px); /* Frosted glass effect for modern feel */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Or your site's max-width */
    margin: 0 auto;
}

/* Your Name / Brand */
.brand-name {
    font-family: 'Playfair Display', serif; /* Your elegant heading font */
    font-size: 1.5rem;
    font-weight: 700;
    color: #3A5A20; /* Your forest green color */
    text-decoration: none;
}

/* Navigation Links */
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2rem; /* Space between links */
}

.main-nav a {
    font-family: 'Montserrat', sans-serif; /* Your clean body font */
    text-decoration: none;
    color: #333333; /* Your dark text color */
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

/* Modern Hover Effect */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #709050; /* Your olive green accent color */
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Intro Content Styles */
.intro-content {
    text-align: center;
    padding: 4rem 5% 2rem 5%;
}

.intro-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    color: #2F4F4F;
}

.intro-content p {
    font-size: 1.125rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    line-height: 1.75;
    color: #2F4F4F;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.button-primary {
    display: inline-block;
    background-color: #3A5A20;
    color: #FFFFFF;
    border: 2px solid #709050;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.button-primary:hover {
    background-color: #2A4A10;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.button-primary:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: none;
}

.button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #3A5A20;
    border: 2px solid #3A5A20;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.button-secondary:hover {
    background-color: #3A5A20;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.button-secondary:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: none;
}
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #E49B0F;
    border-radius: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-in-out;
}

.modal-header {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #014421;
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
