:root {
    --primary-color: #AAB396;
    --secondary-color: #674636;
    --background-color: #FFF8E8;
    --text-color: #463E3F;
    --accent-color: #AAB396;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.page-container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 0 2rem;
}

.section-divider {
    width: 100vw;
    height: 8px;
    background-color: var(--accent-color);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    margin-bottom: 4rem;
}

nav {
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    color: white;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-img {
    flex: 1;
    text-align: center;
}

.profile-img img {
    max-width: 300px;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
}

.about-text {
    flex: 2;
    padding-right: 2rem;
}

.resume-actions {
    margin: 2rem 0;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.button:hover {
    background-color: var(--secondary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-section {
    margin-bottom: 4rem;
}

.skill-content {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.skill-image {
    flex: 0 0 400px;
}

.skill-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--accent-color);
}

.skill-details {
    flex: 1;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

.skill-experiences {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience {
    padding: 1.8rem;
    background-color: var(--background-color);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.timeline-item {
    border-left: 4px solid var(--accent-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

h3, h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.list-styled {
    list-style-type: none;
    padding: 0;
}

.list-styled li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.list-styled li:before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.bullet-list li:before {
    content: "•";
}

.arrow-list li:before {
    content: "→";
}

@media (max-width: 968px) {
    .skill-content {
        flex-direction: column;
    }

    .skill-image {
        flex: none;
        max-width: 100%;
    }
    
    .skill-details {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .skill-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-container {
        margin-top: 100px;
        padding: 0 1rem;
    }

    .about-content,
    .resume-and-skills {
        flex-direction: column;
    }
    
    nav ul {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .profile-img img {
        width: 150px;
        height: 150px;
    }
}

/* Skills Page Styles */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.skill-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.skill-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.skill-image {
    flex: 0 0 300px;
}

.skill-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.skill-experiences {
    flex: 1;
}

.experience {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.experience h3 {
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .skill-content {
        flex-direction: column;
    }

    .skill-image {
        flex: none;
        margin-bottom: 20px;
    }
}

/* Resume Section Fixes */
.resume-section {
    margin-bottom: 4rem;
}

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

.resume-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 0 1rem;
}

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

.highlight-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.highlight-card ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* Contact Section Fixes */
.contact-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-profile img {
    max-width: 200px;
    border-radius: 50%;
    margin: 1rem auto;
    display: block;
    border: 3px solid var(--accent-color);
}

.submit-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    width: 100%;
}

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

/* Footer and Page Padding */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

#about {
    margin-bottom: 4rem;
}

#resume {
    margin-bottom: 4rem;
}

#contact {
    margin-bottom: 4rem;
}

.skill-highlight {
    margin-bottom: 2rem;
    position: relative;
}

.skill-highlight:not(:last-child)::after {
    display: none;
}

.skill-card {
    position: relative;
    margin-bottom: 3rem;
}

.skill-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--accent-color),
        transparent
    );
}

/* Training Page Specific Styles */
.timeline-container {
    margin-bottom: 4rem;
}

.skill-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.highlight-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
    }
}

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

/* Add transition effects to interactive elements */
.nav-container a,
.button,
.resume-btn,
.submit-btn,
.skill-card,
.highlight-card {
    transition: all 0.3s ease-in-out;
}

/* Hover effects */
.skill-card:hover,
.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add these animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Add different delay classes for staggered animations */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }