/* General Body and HTML Styling (No Change) */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff, #e6e6fa); /* Light pastel gradient */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styling (No Change) */
header {
    background: linear-gradient(90deg, #6a5acd, #483d8b); /* Deeper purple gradient */
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header nav ul li {
    margin: 0 1.5rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content Area (No Change) */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

h1, h2, h3 {
    color: #483d8b; /* Dark Slate Blue */
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

p {
    margin-bottom: 1rem;
}

/* Home Page Specifics - MODIFIED COLORS */
.home-page .hero {
    /* Changed from soft orange to a vibrant teal/aqua gradient */
    background: linear-gradient(45deg, #81D4FA, #00BCD4); /* Light Blue to Cyan */
    text-align: center;
    padding: 3rem 0;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.home-page .hero-content .profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    animation: zoomIn 1s ease-out;
}

.home-page .hero-content h1 {
    font-size: 3em;
    color: #E0FFFF; /* Dark Teal */ /* Changed color for contrast */
    margin-bottom: 0.5rem;
}

.home-page .hero-content h2 {
    font-size: 1.5em;
    color: #00796B; /* Teal */ /* Changed color for contrast */
    margin-top: 0;
}

.home-page .hero-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1em;
    color: #333; /* Darker text for readability on light background */
}

.about-me {
    /* Changed from light grey to a warm, inviting yellow/orange pastel */
    background-color: #FFFDE7; /* Light Yellow */
    border-left: 5px solid #FFC107; /* Amber border */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.about-me h3 {
    color: #F57C00; /* Dark Orange */ /* Changed color for contrast */
    font-size: 2em;
}

/* Certifications Page Specifics (No Change) */
.certifications-page .education-section,
.certifications-page .certifications-section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #fdf5e6; /* Old Lace */
    border-left: 5px solid #daa520; /* Goldenrod */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.certifications-page .education-section h2,
.certifications-page .certifications-section h2 {
    color: #8b4513; /* Saddle Brown */
    margin-top: 0;
    text-align: left;
}

.certifications-page .education-item,
.certifications-page .certification-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certifications-page .education-item:hover,
.certifications-page .certification-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certifications-page .edu-logo,
.certifications-page .cert-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 1.5rem;
    border-radius: 5px;
    flex-shrink: 0;
}

.certifications-page .edu-logo.large-logo {
    width: 120px;
    height: auto;
}

.certifications-page .certification-item h3 {
    margin: 0;
    font-size: 1.2em;
    text-align: left;
}

.certifications-page .certification-item a {
    color: #4682b4; /* Steel Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.certifications-page .certification-item a:hover {
    color: #5f9ea0; /* Cadet Blue */
    text-decoration: underline;
}

/* Examples Page Specifics (No Change - this page already has vibrant colors) */
.examples-page .example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.examples-page .example-item {
    background-color: #e0ffff; /* Light Cyan */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.examples-page .example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.examples-page .example-item h3 {
    color: #2f4f4f; /* Dark Slate Gray */
    margin-top: 0;
    text-align: left;
    font-size: 1.4em;
}

.examples-page .example-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1;
}

.examples-page .example-item button {
    background-color: #4682b4; /* Steel Blue */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.examples-page .example-item button:hover {
    background-color: #5f9ea0; /* Cadet Blue */
    transform: translateY(-2px);
}

.markdown-viewer {
    background-color: #282c34; /* Dark background for code */
    color: #abb2bf; /* Light text for code */
    padding: 2rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95em;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.markdown-viewer pre {
    background-color: #1c1f24;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.markdown-viewer code {
    background-color: #1c1f24;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Testimonials Page Specifics (No Change) */
.testimonials-page .testimonial-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonials-page .testimonial-item {
    background-color: #f5f5dc; /* Beige */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #b8860b; /* Dark Goldenrod */
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0; /* Hidden by default for animation */
}

.testimonials-page .testimonial-item:nth-child(even) {
    border-left: 8px solid #a0522d; /* Sienna */
    animation: slideInRight 0.8s ease-out forwards;
}

.testimonials-page blockquote {
    margin: 0;
    font-style: italic;
    color: #4a4a4a;
    font-size: 1.1em;
}

.testimonials-page blockquote p {
    margin-bottom: 1rem;
}

.testimonials-page cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-weight: bold;
    color: #8b4513; /* Saddle Brown */
}

/* Contact Page Specifics (No Change) */
.contact-page .contact-details,
.contact-page .clearance-profiles {
    background-color: #e6e6fa; /* Lavender */
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-right: 5px solid #6a5acd; /* Slate Blue */
}

.contact-page .contact-details p,
.contact-page .clearance-profiles p,
.contact-page .clearance-profiles ul {
    font-size: 1.1em;
    color: #444;
}

.contact-page .contact-info a {
    color: #483d8b; /* Dark Slate Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-page .contact-info a:hover {
    color: #6a5acd; /* Slate Blue */
    text-decoration: underline;
}

.contact-page .clearance-profiles ul {
    list-style: disc;
    margin-left: 20px;
}

.contact-page .clearance-profiles ul li a {
    color: #483d8b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-page .clearance-profiles ul li a:hover {
    color: #6a5acd;
    text-decoration: underline;
}

/* Footer Styling (No Change) */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: linear-gradient(90deg, #483d8b, #6a5acd); /* Deeper purple gradient */
    color: #fff;
    margin-top: auto;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

/* Responsive Design (No Change) */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 0.5rem 0;
    }

    main {
        margin: 1rem;
        padding: 1rem;
    }

    .home-page .hero-content h1 {
        font-size: 2.5em;
    }

    .home-page .hero-content h2 {
        font-size: 1.2em;
    }

    .certifications-page .education-item,
    .certifications-page .certification-item {
        flex-direction: column;
        text-align: center;
    }

    .certifications-page .edu-logo,
    .certifications-page .cert-img {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .examples-page .example-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations (No Change) */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}