/* ====================================
   Style 1: Clean & Minimalist Design
   ==================================== */

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

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #ecf0f1;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Navigation Bar */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

.style-toggle {
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.style-toggle:hover {
    background-color: #2980b9;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.profile-picture {
    margin-bottom: 2rem;
}

.profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    border: 4px solid var(--accent-color);
}

/* Portfolio Hero */
.portfolio-hero,
.qualifications-hero,
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.portfolio-hero h1,
.qualifications-hero h1,
.service-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.portfolio-hero p,
.qualifications-hero p,
.service-hero p {
    font-size: 1rem;
    opacity: 0.95;
}

/* About Section */
.about h2,
.portfolio-content h2,
.resume-section h2,
.skills-section h2,
.education-section h2,
.interests-section h2,
.service-content h2,
.values-section h2,
.professional-links h2,
.volunteer-resources h2,
.quick-links h2,
.resources h2,
.additional-resources h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.about p,
.service-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.intro {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Highlight Box */
.highlight-box {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
    margin-top: 2rem;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-box ul {
    list-style-position: inside;
    color: #555;
}

.highlight-box li {
    margin-bottom: 0.5rem;
}

/* Link Grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
    margin-bottom: 0.5rem;
}

.link-card h3 a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.3rem;
}

.link-card h3 a:hover {
    text-decoration: underline;
}

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

/* Projects */
.project {
    background-color: var(--light-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.project-header {
    margin-bottom: 1rem;
}

.project h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.project-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
}

.project p {
    color: #555;
    margin-bottom: 1rem;
}

.project-details {
    list-style-position: inside;
    color: #666;
    margin: 1rem 0;
}

.project-details li {
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-category {
    margin-bottom: 2rem;
}

.skills-category h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.skill-list li {
    list-style: none;
    padding: 0.5rem;
    background-color: var(--light-bg);
    border-radius: 5px;
    color: #555;
}

/* Education */
.education-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.education-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #555;
    margin-bottom: 0.5rem;
}

.date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.95rem;
}

/* Certifications */
.certification-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.certification-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.certification-item p {
    color: #555;
    margin-bottom: 0.5rem;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.interest-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
}

.interest-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.interest-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.value-card h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Service Items */
.service-group {
    margin-bottom: 2.5rem;
}

.service-group:last-of-type {
    margin-bottom: 0;
}

.service-group-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.service-item {
    background-color: var(--light-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.service-group .service-item:last-child {
    margin-bottom: 0;
}

.service-item h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.service-item p {
    color: #555;
    margin-bottom: 1rem;
}

.service-details {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.service-details h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-details ul {
    list-style-position: inside;
    color: #666;
}

.service-details li {
    margin-bottom: 0.5rem;
}

/* Resume Viewer */
.resume-viewer {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.resume-viewer p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.resume-viewer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.resume-viewer a:hover {
    text-decoration: underline;
}

.download-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.download-btn:hover {
    background-color: #2980b9;
    text-decoration: none !important;
}

/* External Links */
.external-links {
    list-style: none;
    padding-left: 0;
    color: #555;
    margin-top: 1rem;
}

.external-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.external-links .item-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.external-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.external-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .link-grid,
    .interests-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .skill-list {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .portfolio-hero h1,
    .qualifications-hero h1,
    .service-hero h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}
