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

:root {
    --primary: #7dd3ae;
    --primary-dim: #5fb896;
    --bg-dark: #0a0e1a;
    --bg-card: #151b2d;
    --bg-card-hover: #1a2235;
    --text: #ffffff;
    --text-dim: #a8b2c1;
    --border: #252d3f;
    --accent-green: #7dd3ae;
}

/* Light mode variables */
[data-theme="light"] {
    --primary: #2d5a47;
    --primary-dim: #1e3d32;
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f4;
    --text: #1a1a1a;
    --text-dim: #5f6368;
    --border: #dadce0;
    --accent-green: #2d5a47;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation - Enhanced */
nav {
    position: fixed;
    top: 1.5rem;
    right: 5%;
    background: rgba(21, 27, 45, 0.8);
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    z-index: 1000;
    border: 1px solid rgba(125, 211, 174, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 4rem;
    background: rgba(21, 27, 45, 0.8);
    border: 1px solid rgba(125, 211, 174, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.theme-toggle:hover {
    background: rgba(125, 211, 174, 0.1);
    color: var(--primary);
    transform: scale(1.1);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

/* Light mode adjustments for nav and toggle */
[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 90, 71, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 90, 71, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
    padding: 0.4rem 1.2rem;
    background: rgba(21, 27, 45, 0.95);
}

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

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    background: rgba(125, 211, 174, 0.1);
}

/* Main Container */
.container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 3.8rem 5%;
    min-height: 100vh;
}

/* Mobile-first approach for better responsiveness */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        padding: 3.5rem 4%;
    }
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 260px 1fr;
        gap: 1.8rem;
        padding: 3.2rem 3%;
    }
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 0.1rem;
    height: fit-content;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 2px solid var(--border);
}

.profile-card h1 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.profile-card .title {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cv-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.cv-button:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-info {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

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

.contact-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text);
    font-size: 0.85rem;
}

/* Main Content */
.main-content {
    padding-top: 1rem;
}

section {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.9rem;
    font-weight: 600;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    margin-left: 1rem;
}

/* About Section */
.about-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.news-section {
    margin-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
}

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

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(125, 211, 174, 0.2);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.timeline-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.project-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(125, 211, 174, 0.15);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.project-card p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1.2rem;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--primary-dim);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skills-section {
    margin-top: 2.5rem;
}

.skills-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skills-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.skill-category {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.skill-category h3,
.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(125, 211, 174, 0.1);
    border: 1px solid var(--border);
    border-radius: 15px;
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.experience-item {
    margin-bottom: 2rem;
    position: relative;
}

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

.experience-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.experience-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.experience-meta {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.experience-item ul {
    list-style: none;
    color: var(--text-dim);
}

.experience-item li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.experience-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1rem;
}

/* Education Section - Subsections */
.subsection {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.subsection:first-of-type {
    margin-top: 2.5rem;
}

.subsection h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.subsection h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.award-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(125, 211, 174, 0.15);
    border-color: var(--primary);
}

.award-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: grayscale(0.3);
}

.award-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.award-content p {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    padding: 1.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(125, 211, 174, 0.15);
    border-color: var(--primary);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cert-card:last-child {
    margin-bottom: 0;
}

.cert-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    flex: 1;
}

.cert-link {
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.8;
}

.cert-link:hover {
    opacity: 1;
    transform: translateX(3px);
}

.cert-issuer {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cert-details {
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 3%;
    }

    .sidebar {
        position: relative;
        top: 0;
        order: 2;
    }

    nav {
        top: 1rem;
        right: 50%;
        transform: translateX(50%);
        padding: 0.5rem 1rem;
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 2%;
        gap: 1rem;
    }

    nav {
        top: 0.8rem;
        right: 50%;
        transform: translateX(50%);
        padding: 0.5rem 1rem;
        max-width: 90vw;
    }

    nav ul {
        gap: 0.8rem;
        flex-wrap: nowrap;
    }

    nav a {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
    }

    .theme-toggle {
        top: 0.8rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .sidebar {
        margin-bottom: 1rem;
    }

    .profile-card {
        padding: 1.5rem;
        text-align: center;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-card h1 {
        font-size: 1.2rem;
    }

    .profile-card .title {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .skills-section {
        margin-top: 2rem;
    }

    .skills-section h3 {
        font-size: 1.2rem;
    }

    .skills-grid {
        gap: 1rem;
    }

    .skill-category {
        padding: 1.2rem;
    }

    .skill-category h4 {
        font-size: 1rem;
    }

    .skill-tags {
        gap: 0.6rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .timeline-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-date {
        font-size: 0.85rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .awards-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .award-item,
    .cert-card {
        padding: 1.2rem;
    }

    .subsection {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .mapbox iframe {
        height: 250px;
    }

    .contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-item {
        gap: 0.8rem;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-title {
        font-size: 0.8rem;
    }

    .contact-link,
    address {
        font-size: 0.9rem;
    }
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Contact Section Styles */
.mapbox {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.mapbox iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
}

.contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-dim);
}

/* Hide all sections by default */
section {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

/* Show only the active one */
section.active-section {
    display: block;
}

/* Highlight active nav link */
nav a.active {
    color: var(--primary);
    font-weight: bold;
}

/* Awards & Recognition Section - Enhanced */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.award-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.award-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(125, 211, 174, 0.15);
}

.award-content a {
    text-decoration: none;
}

.award-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.award-content a:hover h4 {
    color: var(--primary);
}

.award-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.award-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.award-image {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    margin-top: 0.8rem;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* === CONTACT SECTION === */
.contacts-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--bg-card-hover);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.3rem;
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.icon-box:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-title {
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-link,
address {
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary);
}

.site-footer {
    text-align: center;
    padding: 16px 0;
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Dark mode support (if you are using theme toggle) */
body.dark .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #aaa;
}

.award-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.slider {
    position: relative;
}

.slider img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 8px;
}

.caption {
    margin-top: 15px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000080;
    border: none;
    color: white;
    font-size: 28px;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 6px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.project-link {
    background: none;
    border: none;
    color: #63c29f;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    gap: 10px;
}