*,
*::before,
*::after {
    box-sizing: border-box;
}
/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: lightboxZoom 0.3s ease-out;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s;
}

.lightbox-close:hover {
    color: #3498db;
    transform: scale(1.2);
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s ease-out;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    color: #333;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg);
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
    letter-spacing: 2px;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

.sticky-cta {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #1f1f1f;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    box-shadow: 0 12px 30px rgba(250, 208, 196, 0.45);
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 1200;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.sticky-cta i {
    font-size: 1.4rem;
}

.sticky-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sticky-cta:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 16px 35px rgba(250, 208, 196, 0.55);
}

.metrics-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Light mode: override wrapper color for metric cards (when data-theme is not set or is "light") */
:root:not([data-theme]) .metrics-wrapper .metric-card,
[data-theme="light"] .metrics-wrapper .metric-card {
    color: #1a1a1a !important;
}

:root:not([data-theme]) .metrics-wrapper .metric-card *,
[data-theme="light"] .metrics-wrapper .metric-card * {
    color: inherit !important;
}

.metrics-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.metrics-heading {
    color: white;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.metric-card {
    text-align: center;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.metric-number--dynamic {
    font-variant-numeric: tabular-nums;
}

.metric-number--text {
    font-size: 2.1rem;
    white-space: normal;
}

.metric-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.metric-subtitle {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 6px;
}

.metrics-footnote {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 28px;
    text-align: center;
}

:root:not([data-theme]) .metrics-wrapper .metric-card,
[data-theme="light"] .metrics-wrapper .metric-card {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    color: #1a1a1a !important;
}

:root:not([data-theme]) .metrics-wrapper .metric-number,
:root:not([data-theme]) .metrics-wrapper .metric-number--dynamic,
:root:not([data-theme]) .metrics-wrapper .metric-number--text,
[data-theme="light"] .metrics-wrapper .metric-number,
[data-theme="light"] .metrics-wrapper .metric-number--dynamic,
[data-theme="light"] .metrics-wrapper .metric-number--text {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

:root:not([data-theme]) .metrics-wrapper .metric-number,
:root:not([data-theme]) .metrics-wrapper .metric-number--dynamic,
[data-theme="light"] .metrics-wrapper .metric-number,
[data-theme="light"] .metrics-wrapper .metric-number--dynamic {
    font-weight: 800 !important;
}

:root:not([data-theme]) .metrics-wrapper .metric-label,
[data-theme="light"] .metrics-wrapper .metric-label {
    color: #333333 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

:root:not([data-theme]) .metrics-wrapper .metric-subtitle,
[data-theme="light"] .metrics-wrapper .metric-subtitle {
    color: #555555 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

[data-theme="light"] .metrics-heading {
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .metrics-footnote {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .metric-card {
    background: rgba(18, 23, 48, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .metrics-footnote {
    opacity: 0.8;
}

[data-theme="dark"] .metric-number--text {
    color: rgba(255, 255, 255, 0.92);
}

.contact-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
    display: flex;
    gap: 30px;
    align-items: stretch;
    flex-wrap: wrap;
}

.contact-info-card,
.contact-form-card {
    flex: 1 1 280px;
    min-width: 0;
    background: var(--card-bg, #fff);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.1), transparent 55%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 255, 136, 0.2);
}

.contact-info-card:hover::before {
    opacity: 1.2;
}

.contact-fast-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 25px 0;
}

.contact-fast-facts div {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.contact-fast-facts strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5161c7;
    margin-bottom: 6px;
}

.contact-fast-facts span {
    font-size: 0.95rem;
    color: var(--text-color, #222);
}

.contact-form-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color, #1f1f1f);
}

.contact-form-subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: var(--text-color, #222);
    opacity: 0.75;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.contact-field span {
    font-weight: 600;
    color: var(--text-color, #1f1f1f);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(34, 34, 34, 0.55);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.4);
    background: var(--card-bg, #ffffff);
    color: var(--text-color, #1f1f1f);
    font-size: 0.95rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.contact-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    background-color: var(--card-bg, #ffffff);
    color: var(--text-color, #1f1f1f);
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 32px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-submit:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 35px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00cc6a 0%, #00a855 100%);
}

.contact-submit:hover::before {
    left: 100%;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-feedback {
    min-height: 20px;
    font-size: 0.9rem;
    margin-top: -10px;
}

.contact-feedback.success {
    color: #1e7e34;
}

.contact-feedback.error {
    color: #c0392b;
}

.contact-privacy {
    font-size: 0.85rem;
    color: var(--text-color, #222);
    opacity: 0.6;
}

.extra-links a {
    color: #2c3e50;
    transition: color 0.2s ease, transform 0.2s ease;
}

.extra-links a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-form-card {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .contact-form-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.12));
    border: 1px solid rgba(118, 75, 162, 0.35);
}

[data-theme="dark"] .contact-fast-facts div {
    background: rgba(102, 126, 234, 0.18);
    border-color: rgba(102, 126, 234, 0.35);
}

[data-theme="dark"] .contact-field input,
[data-theme="dark"] .contact-field select,
[data-theme="dark"] .contact-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.6);
    color: var(--text-color, #e4e4e4);
}

[data-theme="dark"] .contact-field select {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-color, #e4e4e4);
}

[data-theme="dark"] .contact-field input::placeholder,
[data-theme="dark"] .contact-field textarea::placeholder {
    color: rgba(228, 228, 228, 0.6);
}

[data-theme="dark"] .contact-form-subtitle,
[data-theme="dark"] .contact-privacy {
    color: rgba(228, 228, 228, 0.7);
    opacity: 0.75;
}

[data-theme="dark"] .contact-submit {
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .contact-submit:hover {
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .extra-links a {
    color: rgba(228, 228, 228, 0.85);
}

[data-theme="dark"] .extra-links a:hover {
    color: #8fa2ff;
}

[data-theme="dark"] .contact-info-card a {
    color: #9bb4ff;
}

[data-theme="dark"] .contact-info-card a:hover {
    color: #c9d7ff;
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 110px; /* Above back-to-top button (80px + 30px spacing) */
        width: calc(100% - 40px);
        max-width: 320px;
        padding: 14px 24px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .sticky-cta.visible {
        transform: translateX(-50%) translateY(0);
    }

    /* Ensure buttons don't overlap on mobile */
    .back-to-top {
        bottom: 75px; /* Above theme toggle (20px + 55px button height) */
    }

    .theme-toggle {
        bottom: 15px; /* Ensure enough space from edge */
        left: 15px;
    }

    /* Presentation toggle positioning handled in language-toggle media queries below */

    .contact-wrapper {
        gap: 20px;
    }

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

    .contact-info-card,
    .contact-form-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .sticky-cta {
        bottom: 100px; /* Above back-to-top */
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .back-to-top {
        bottom: 65px; /* Above theme toggle */
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .theme-toggle {
        bottom: 12px;
        left: 12px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* Presentation toggle positioning handled in language-toggle media queries below */

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .contact-fast-facts {
        grid-template-columns: 1fr;
    }
}

/* Back to top mobile styles moved to main mobile section above */
}

/* Particles.js Background */
.section.about {
    position: relative;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1 !important;
    pointer-events: none;
}

#about-text {
    position: relative;
    z-index: 1 !important;
}

/* Horizontal Timeline Styles */
.timeline {
    position: relative;
    margin: 60px 0;
    padding: 40px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.5) transparent;
}

.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: transparent;
}

.timeline::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #2980b9, #667eea, #764ba2);
    border-radius: 2px;
    z-index: 0;
}

.timeline {
    display: flex;
    gap: 32px;
    padding: 0 24px;
    align-items: flex-start;
}

.timeline-item {
    position: relative;
    flex: 0 0 420px;
    min-width: 420px;
    padding-top: 60px;
}

.timeline-marker {
    position: absolute;
    top: 60px;
    left: 0;
    width: 24px;
    height: 24px;
    background: #667eea;
    border: 4px solid var(--bg-color, #fff);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    z-index: 1;
    transform: translateY(-50%);
}

[data-theme="dark"] .timeline-marker {
    border-color: var(--bg-color, #1a1a1a);
}

.timeline-content {
    background: var(--card-bg, #fff);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .timeline-content {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
}

.timeline-content:hover::before {
    transform: scaleX(1);
}

.timeline-date {
    color: #00ff88;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.timeline-content:hover .timeline-date {
    color: #00cc6a;
}

.timeline-title {
    color: var(--text-color, #222);
    font-size: 1.4rem;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.3;
}

.timeline-company {
    color: var(--text-light, #666);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-color, #404040);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

[data-theme="dark"] .timeline-description {
    color: rgba(228, 228, 228, 0.9);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.timeline-tag {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00cc6a 0%, #00a855 100%);
}

/* Mobile Timeline styles moved to main mobile section above */

/* Skill Badges Animados */
.skill-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.skill-badge.visible {
    animation: badgeFadeIn 0.5s ease forwards;
}

.skill-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.skill-badge i {
    font-size: 1.2rem;
}

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

/* Dark Mode Variables */
:root {
  --bg-color: #ffffff;
  --text-color: #222;
  --card-bg: #fff;
  --primary-color: #667eea;
  --primary-dark: #5568d3;
  --accent-color: #764ba2;
  --text-light: #666;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-color: #0a0a0a;
  --text-color: #e4e4e4;
  --card-bg: #141414;
  --text-light: #999;
  --border-color: rgba(255, 255, 255, 0.1);
}

/* Services Horizontal Scroll */
.services-horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.services-horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.services-horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.5);
  border-radius: 4px;
}

.services-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.7);
}

.services-horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.5) transparent;
  padding: 0 0 16px 0;
  margin-bottom: 40px;
}

.services-horizontal-scroll .blog-post {
  flex: 0 0 280px;
  min-width: 280px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* Offset for fixed navbar */
}
body {
  min-width: 0;
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  max-height: 100%;
}

/* Top Navigation Bar - DevFolio Style */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.top-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

[data-theme="dark"] .top-navbar {
  background: rgba(26, 26, 26, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color, #222);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--primary-color, #667eea);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color, #222);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: #00ff88;
  transform: translateY(-1px);
}

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

.nav-cta {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #00cc6a 0%, #00a855 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-color, #222);
  transition: all 0.3s ease;
}

/* Hero Section - DevFolio Style */
.head {
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0a1a0a 0%, #001a0f 50%, #0a0a0a 100%);
  padding-top: 72px;
  overflow: hidden;
}

[data-theme="dark"] .head {
  background: linear-gradient(135deg, #0a1a0a 0%, #001a0f 50%, #0a0a0a 100%);
}

[data-theme="light"] .head {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #00a855 100%);
}

/* Animated Background Effects - Enhanced DevFolio Style - Behind text */
.head::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: slide 20s linear infinite;
  opacity: 0.5;
  z-index: -1 !important;
}

.head::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 30%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(0, 255, 136, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(102, 126, 234, 0.1) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1 !important;
}

/* Decorative Geometric Shapes - Behind text */
.hero-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1 !important;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  opacity: 0.15;
  filter: blur(40px);
  animation: floatShape 15s ease-in-out infinite;
  z-index: -1 !important;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
  z-index: -1 !important;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.4), transparent);
  top: 10%;
  left: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.4), transparent);
  top: 60%;
  right: 15%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation-delay: 2s;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.3), transparent);
  bottom: 20%;
  left: 20%;
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

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

.head-inner-wrap {
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  position: relative;
  z-index: 1 !important;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1 !important;
}

.hero-content .profile-pic-div {
  margin-bottom: 32px;
}

.hero-content .profile-pic {
  width: 180px;
  height: 180px;
  border: 4px solid rgba(0, 255, 136, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 255, 136, 0.4),
    inset 0 0 20px rgba(0, 255, 136, 0.1);
  transition: all 0.4s ease;
  animation: profileGlow 3s ease-in-out infinite;
  position: relative;
  z-index: 1 !important;
}

@keyframes profileGlow {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(0, 255, 136, 0.4),
      inset 0 0 20px rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.6);
  }
  50% {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 60px rgba(0, 255, 136, 0.6),
      inset 0 0 30px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.9);
  }
}

.hero-content .profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 255, 136, 0.7),
    inset 0 0 40px rgba(0, 255, 136, 0.3);
  border-color: rgba(0, 255, 136, 1);
}

.head-title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #ffffff;
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1 !important;
  cursor: default;
}

.hero-title-visible {
  display: inline;
}

.hero-title-expandable {
  display: none;
}

.hero-title-toggle {
  background: none;
  border: none;
  color: #00ff88;
  cursor: pointer;
  font-size: 0.7em;
  padding: 0 4px;
  margin-left: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  vertical-align: middle;
  font-family: inherit;
  line-height: 1;
}

.hero-title-toggle:hover {
  color: #00cc6a;
  transform: scale(1.1);
}

.head-title .highlight {
  color: #00ff88;
  border-bottom: 3px solid rgba(0, 255, 136, 0.5);
  padding-bottom: 2px;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  transition: all 0.3s ease;
}

.head-title .highlight:hover {
  border-bottom-color: rgba(0, 255, 136, 0.8);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.7);
}

.head-punchline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.9;
  position: relative;
  z-index: 1 !important;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-top: 32px;
  animation: bounce 2s infinite;
  cursor: pointer;
  position: relative;
  z-index: 1 !important;
  transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
  color: #00ff88;
  transform: translateY(5px);
}

.hero-scroll-indicator svg {
  margin-top: 4px;
  transition: transform 0.3s ease;
}

.hero-scroll-indicator:hover svg {
  transform: translateY(5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-color, #fff);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Ensure nav-actions (WhatsApp) doesn't conflict with presentation toggle */
  .nav-actions {
    gap: 12px;
  }

  .whatsapp-button {
    width: 46px;
    height: 46px;
  }
  
  .whatsapp-button i {
    font-size: 1.25rem;
  }

  /* Hero Section Mobile */
  .hero-content .profile-pic {
    width: 140px;
    height: 140px;
  }

  .head-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    margin-bottom: 20px;
  }

  .head-punchline {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 32px;
  }

  .hero-scroll-indicator {
    margin-top: 40px;
    font-size: 0.85rem;
  }

  /* Section Wrapper Mobile */
  .section-wrapper {
    padding: 80px 20px;
  }

  /* Timeline Mobile */
  .timeline-item {
    flex: 0 0 calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 380px;
  }

  .timeline {
    gap: 20px;
    padding: 0 20px;
  }

  /* Skills Cards Mobile */
  .skill-section-card {
    flex: 0 0 calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 360px;
  }

  .skill-chart-card {
    flex: 0 0 calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 320px;
  }

  /* Projects Cards Mobile */
  .projects-wrapper {
    grid-auto-columns: minmax(280px, 380px);
  }
  .projects-wrapper .project-card,
  .projects-wrapper .wrapper {
    min-width: 0;
  }

  /* Services Cards Mobile */
  .services-horizontal-scroll .blog-post {
    flex: 0 0 calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: 280px;
  }

  /* Metrics Grid Mobile */
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .metric-card {
    padding: 20px;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  .metric-number--text {
    font-size: 1.8rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero-content .profile-pic {
    width: 120px;
    height: 120px;
  }

  .head-title {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
    margin-bottom: 16px;
  }

  .head-punchline {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 24px;
  }

  .section-wrapper {
    padding: 60px 16px;
  }

  .section-heading {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 32px;
  }

  .timeline-item {
    flex: 0 0 calc(100vw - 64px);
    min-width: calc(100vw - 64px);
  }

  .skill-section-card {
    flex: 0 0 calc(100vw - 64px);
    min-width: calc(100vw - 64px);
    padding: 20px;
  }

  .skill-chart-card {
    flex: 0 0 calc(100vw - 64px);
    min-width: calc(100vw - 64px);
  }

  .projects-wrapper {
    grid-auto-columns: minmax(280px, calc(100vw - 64px));
  }

  .services-horizontal-scroll .blog-post {
    flex: 0 0 calc(100vw - 64px);
    min-width: calc(100vw - 64px);
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric-card {
    padding: 18px;
  }

  .metric-number {
    font-size: 2rem;
  }

  .nav-container {
    padding: 0 16px;
  }

  .head-inner-wrap {
    padding: 0 16px;
  }

  .whatsapp-button {
    width: 44px;
    height: 44px;
  }

  .whatsapp-button i {
    font-size: 1.3rem;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
  .hero-content .profile-pic {
    width: 100px;
    height: 100px;
  }

  .head-title {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
  }

  .section-wrapper {
    padding: 50px 12px;
  }

  .timeline-item,
  .skill-section-card,
  .skill-chart-card,
  .services-horizontal-scroll .blog-post {
    flex: 0 0 calc(100vw - 48px);
    min-width: calc(100vw - 48px);
  }

  .projects-wrapper {
    grid-auto-columns: minmax(260px, calc(100vw - 48px));
  }

  /* Ensure enough space for all fixed buttons */
  .sticky-cta {
    bottom: 95px;
  }

  .back-to-top {
    bottom: 60px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .theme-toggle {
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
/* Old .head-title styles removed - using new .hero-content .head-title */
.animated {
  animation: fade-in-down 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

@-webkit-keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Old .head-punchline styles removed - using new .hero-content .head-punchline */
.head-buttons {
  position: absolute;
  top: 32px;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}
.head-icon {
  font-size: 32px;
  font-size: 2rem;  
  margin: 0 5px;
}
.head-buttons a {
  color: inherit;
}
/* Old .head-menu-wrap styles removed - using new top navigation */
.justify-text {
  text-align: justify;
}
/* Technical content wrapper removed - using horizontal scroll layout */

.progress-bars {
  margin-top: 20px;
}

/* Skill charts container removed - charts are now individual cards in horizontal scroll */

.skill-chart-card {
  background: var(--card-bg, #ffffff);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  flex: 0 0 400px;
  min-width: 400px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.skill-chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .skill-chart-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.skill-chart-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 255, 136, 0.2);
}

.skill-chart-card:hover::before {
  transform: scaleX(1);
}

.skill-chart-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color, #222);
  text-align: center;
}

.skill-chart-subtitle {
  font-size: 0.9rem;
  text-align: center;
  color: rgba(64, 64, 64, 0.75);
  margin: 0 auto;
  max-width: 240px;
}

.skill-chart-card canvas {
  width: 100% !important;
  height: 240px !important;
  max-height: 260px !important;
}

/* Dark mode styles for skill-chart-card already defined above */

[data-theme="dark"] .skill-chart-subtitle {
  color: rgba(228, 228, 228, 0.75);
}

.presentation-toggle {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-color, #222222);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: calc(100vw - 40px);
}

[data-theme="dark"] .presentation-toggle {
  background: rgba(26, 26, 26, 0.9);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.presentation-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 255, 136, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .presentation-toggle:hover {
  background: rgba(26, 26, 26, 0.95);
}

.presentation-toggle i {
  font-size: 1.1rem;
}

.presentation-toggle span {
  white-space: normal;
  text-align: center;
}

body.presentation-mode-active {
  overflow: hidden;
}

#presentation-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(12, 16, 32, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

#presentation-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.presentation-dialog {
  width: min(960px, 95vw);
  max-height: 90vh;
  background: var(--card-bg, #ffffff);
  color: var(--text-color, #222222);
  border-radius: 28px;
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.45);
  padding: 36px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.presentation-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.15);
  color: var(--text-color, #222222);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.presentation-close:hover {
  transform: rotate(90deg);
  background: rgba(102, 126, 234, 0.25);
}

.presentation-progress {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.presentation-slide-container {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 4px;
}

.presentation-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  animation: presentation-slide-in 0.35s ease;
}

.presentation-slide.is-active {
  display: flex;
}

.presentation-slide-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.presentation-slide-summary {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 680px;
  color: rgba(64, 64, 64, 0.85);
}

[data-theme="dark"] .presentation-slide-summary {
  color: rgba(228, 228, 228, 0.82);
}

.presentation-slide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 680px;
}

.presentation-slide-list li {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.22);
  text-align: left;
  font-weight: 500;
}

[data-theme="dark"] .presentation-slide-list li {
  background: rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.38);
  color: #f0f3ff;
}

.presentation-view-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(102, 126, 234, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.presentation-view-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(102, 126, 234, 0.4);
}

.presentation-controls {
  display: flex;
  gap: 16px;
}

.presentation-controls button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.12);
  color: var(--text-color, #222222);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .presentation-controls button {
  background: rgba(102, 126, 234, 0.28);
  color: #f0f3ff;
}

.presentation-controls button:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

.presentation-controls button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.presentation-hint {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(64, 64, 64, 0.65);
}

[data-theme="dark"] .presentation-hint {
  color: rgba(228, 228, 228, 0.65);
}

.presentation-empty {
  display: none;
  text-align: center;
  font-size: 1rem;
  color: rgba(64, 64, 64, 0.75);
  padding: 40px 0;
}

[data-theme="dark"] .presentation-empty {
  color: rgba(228, 228, 228, 0.75);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.custom-cursor-spark {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='9' cy='9' r='8' fill='%23ffcb2b'/%3E%3Ccircle cx='9' cy='9' r='4' fill='%23ff6b6b'/%3E%3C/svg%3E") 6 6, pointer;
}

body.konami-activated::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(102, 126, 234, 0.45), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(118, 75, 162, 0.35), transparent 55%);
  opacity: 0;
  animation: konamiGlow 0.6s forwards;
  pointer-events: none;
  z-index: 1200;
}

.konami-confetti-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2100;
}

.konami-confetti-piece {
  position: absolute;
  top: -10vh;
  left: var(--confetti-left);
  width: 12px;
  height: 18px;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  border-radius: 999px;
  animation: konamiConfetti var(--confetti-duration) linear infinite;
  animation-delay: var(--confetti-delay);
  transform: rotate(0deg);
  opacity: 0;
}

.konami-confetti-piece:nth-child(odd) {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.konami-confetti-piece:nth-child(3n) {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.konami-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #f8fafc;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 18px 30px rgba(31, 41, 55, 0.35);
  z-index: 2200;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.konami-banner.fade-out,
.konami-confetti-container.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

.mini-game-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2300;
  padding: 40px 20px;
}

.mini-game-card {
  position: relative;
  width: min(420px, 92vw);
  background: var(--card-bg, #ffffff);
  color: var(--text-color, #222222);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.mini-game-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.1);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-game-close:hover {
  transform: rotate(90deg);
  background: rgba(102, 126, 234, 0.25);
}

.mini-game-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.mini-game-instruction {
  font-size: 0.95rem;
  margin: 0;
}

.mini-game-score {
  font-weight: 600;
  font-size: 1rem;
}

.mini-game-arena {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.18) 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(15, 23, 42, 0.15);
}

.mini-game-target {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 30% 30%, #ffd166, #f4a261);
  box-shadow: 0 12px 25px rgba(244, 162, 97, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mini-game-target.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mini-game-start {
  align-self: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 18px 30px rgba(102, 126, 234, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-game-start:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(102, 126, 234, 0.45);
}

.mini-game-start[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.mini-game-feedback {
  min-height: 20px;
  font-weight: 600;
  color: #2f855a;
}

[data-theme="dark"] .mini-game-card {
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mini-game-feedback {
  color: #68d391;
}

body.mini-game-active {
  overflow: hidden;
}

@keyframes konamiGlow {
  to {
    opacity: 1;
  }
}

@keyframes konamiConfetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .mini-game-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .mini-game-arena {
    height: 180px;
  }

  .mini-game-target {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}

@keyframes presentation-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .presentation-dialog {
    padding: 30px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  /* Presentation toggle positioning handled in language-toggle media queries */
  .presentation-toggle {
    font-size: 0.85rem;
    padding: 8px 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
  }

  .presentation-dialog {
    padding: 24px;
    border-radius: 20px;
  }

  .presentation-controls {
    flex-direction: column;
  }
}
 
/* Skills Horizontal Scroll Layout */
.skills-horizontal-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.5) transparent;
  padding: 0 0 16px 0;
  margin-top: 30px;
}

.skills-horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.skills-horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.skills-horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.5);
  border-radius: 4px;
}

.skills-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.7);
}

.skill-section-card {
  flex: 0 0 420px;
  min-width: 420px;
  background: var(--card-bg, #fff);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-section-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 255, 136, 0.2);
}

.skill-section-card:hover::before {
  transform: scaleX(1);
}

[data-theme="dark"] .skill-section-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.technical-skills {
  width: 100%;
  margin: 0;
}

/* Skills mobile styles moved to main mobile section above */
.center-align {
  text-align: center;
}
.projects-wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 420px;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 234, 0.5) transparent;
  padding: 0 0 16px 0;
}

.projects-wrapper::-webkit-scrollbar {
  height: 8px;
}

.projects-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.projects-wrapper::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.5);
  border-radius: 4px;
}

.projects-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.7);
}

.projects-wrapper .project-card {
  min-width: 0;
}

.projects-wrapper .wrapper {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-width: 0;
}
.full-width {
  width: 100%;
  max-width: 100%;
}
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease-out;
}
.section.skills > div {
  width: 100%;
}
.skills-subsection {
  font-size: 20.8px;
  font-size: 1.3rem;
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #222;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading:hover::after {
  width: 120px;
}

[data-theme="dark"] .section-heading {
  color: #e4e4e4;
}
.nav-links {
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  font-weight: bold;
}
/* Section Wrapper - DevFolio Style */
.section-wrapper {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: transform 0.3s ease-out;
}

.section-wrapper:nth-child(odd) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.section-wrapper:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="dark"] .section-wrapper:nth-child(odd) {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-theme="dark"] .section-wrapper:nth-child(odd)::before {
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

.section-wrapper:nth-child(odd) .section-heading {
  color: #222;
}

[data-theme="dark"] .section-wrapper:nth-child(odd) .section-heading {
  color: #e4e4e4;
}

.section-wrapper:nth-child(odd) .skills-subsection {
  color: #222;
}

[data-theme="dark"] .section-wrapper:nth-child(odd) .skills-subsection {
  color: #e4e4e4;
}

.section-wrapper:nth-child(odd) .paragraph-text {
  color: #404040;
}

[data-theme="dark"] .section-wrapper:nth-child(odd) .paragraph-text {
  color: rgba(228, 228, 228, 0.9);
}
.paragraph-text {
  font-family: 'PT Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 24px auto;
  color: #404040;
  line-height: 1.8;
  max-width: 800px;
}

[data-theme="dark"] .paragraph-text {
  color: rgba(228, 228, 228, 0.9);
}
.paragraph-text-normal {
  font-family: 'PT Sans', sans-serif;
  color: #404040;
}
.pt-sans-font {
  font-family: 'PT Sans', sans-serif;
}
.skill-grid-item {
  transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  display: flex;
          align-items: center;
          justify-content: center;
}
.projects-grid {
  
  display: grid;
  grid-template-columns: auto auto;
      grid-template-columns: auto auto;
  grid-auto-rows: auto;
  grid-row-gap: 20px;
  grid-column-gap: 10px;
          justify-content: space-evenly;
}
.footer {
  background-color: #444;
  display: flex;
          justify-content: center;
          align-items: center;
  min-height: 35px;
  color: #fff;
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  background: url(../images/background.png);
  background-repeat: repeat;
  background-attachment: fixed;
}
.footer-text a {
  color: inherit;
}
.technologies-grid-item {
  width: 96.6666px;
  height: 96.6666px;
  background-color: #fff;
}
.project-card {
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #222;
  background: var(--card-bg, #fff);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 255, 136, 0.2);
}

.project-card:hover::before {
  transform: scaleX(1);
}

[data-theme="dark"] .project-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.project-title {
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-family: 'PT Sans', Arial, sans-serif;
  margin: 0 0 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color, #222);
  line-height: 1.3;
}

.project-link {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #00ff88;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.project-link:hover {
  color: #00cc6a;
  gap: 10px;
  transform: translateX(4px);
}

.project-link:hover::after {
  width: 100%;
}
.project-tags {
  margin: 20px 0;
}
.project-tag-item {
  background-color: #444;
  border-radius: 3px;
  padding: 5px;
  color: #fff;
}
.post-date {
  float: right;
}
.blog-item {
  padding: 10px;
  transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}
.blog-title {
  font-size: 17.6px;
  font-size: 1.1rem;
  color: inherit;
  transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}
.more-blogs {
  font-size: 16px;
  font-size: 1rem;
  margin: 15px 0 20px;
}
.slightly-smaller-text {
  font-size: 14.4px;
  font-size: 0.9rem;
}
.extra {
  margin-bottom: 0px;
}
.experience-title {
  font-size: 22.4px;
  font-size: 1.4rem;
  font-weight: bold;
}
.profile-pic {
  border-radius: 50%;
  width: 170px;
  height: 170px;
  border: solid 2px white;
  transition: all 0.3s ease;
}

.profile-pic:hover {
  box-shadow: 0 0px 16px 0 rgba(255,255,255,0.5);
  transform: scale(1.05);
}
.profile-pic-div {
  display: flex;
          justify-content: center;
  margin-bottom: 20px;
}
.experience-details {
  font-size: 20.8px;
  font-size: 1.3rem;
  display: flex;
          justify-content: space-between;
          align-items: center;
}
.experience-date {
  float: right;
  font-size: 17.6px;
  font-size: 1.1rem;
}
/* Hero background removed - using gradient in .head */
a {
  color: #222;
}
.extra-links {
  display: flex;
          align-items: center;
          justify-content: center;
  margin-top: 80px;
}
.head-inner-wrap {
}
.bottom-link {
  margin: 0 5px;
}
.project-technologies {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  width: 100%;
}
.project-technology {
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 6px;
  margin: 0 5px;
  padding: 4px 10px;
  background: rgba(0, 255, 136, 0.05);
  color: var(--text-color, #222);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.project-technology:hover {
  background: rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 255, 136, 0.2);
}
.project-technology:first-child {
  margin-left: 0px;
}
.project-technology:last-child {
  margin-right: 0px;
}
/* Here follow all the media queries */
@media screen and (max-width: 850px) {
  .section {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (max-width: 775px) {
  .project-technologies {
    justify-content: center;
    gap: 8px;
  }
}
/* Old media query rules removed - using new mobile-first responsive design above */
@media screen and (max-height: 450px) and (max-width: 600px) {
  .head {
    min-height: 525px;
  }
}
/* Old media query removed - using new responsive design above */
@media screen and (max-height: 525px) {
  .head {
    min-height: 500px;
  }
  .head-menu-wrap {
    bottom: 15px;
  }
}
/* Dark Mode Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  background: #2980b9;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Theme toggle mobile styles moved to main mobile section above */

/* Focus toggle removed - no longer needed */

/* WhatsApp Button - Pulsing Effect */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.whatsapp-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button i {
  font-size: 1.5rem;
  z-index: 1;
}

/* Pulsing Animation */
.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: pulse 2s infinite;
  z-index: 0;
}

.whatsapp-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: pulse 2s infinite 0.5s;
  z-index: 0;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* WhatsApp button mobile styles moved to main mobile section above */

.language-toggle {
  max-width: calc(100vw - 32px) !important;
}

/* Tablet/iPad: Language toggle positioned below navbar to avoid WhatsApp button */
@media (min-width: 769px) and (max-width: 1024px) {
  .language-toggle {
    top: 82px !important;
    right: 20px !important;
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    z-index: 1001 !important;
  }
  
  /* Presentation toggle moved further down to avoid language toggle */
  .presentation-toggle {
    top: 130px !important;
    right: 20px !important;
  }
}

/* Mobile: Language toggle positioned below navbar to avoid WhatsApp button */
@media (max-width: 768px) {
  .language-toggle {
    top: 82px !important;
    right: 20px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    z-index: 1001 !important; /* Above presentation toggle (1000) */
  }
  
  /* Presentation toggle moved further down to avoid language toggle */
  .presentation-toggle {
    top: 130px !important; /* Below language toggle */
    right: 20px !important;
  }
}

@media (max-width: 480px) {
  .language-toggle {
    top: 80px !important;
    right: 15px !important;
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    z-index: 1001 !important;
  }
  
  .presentation-toggle {
    top: 125px !important; /* Below language toggle */
    right: 15px !important;
  }
}

@media (max-width: 360px) {
  .language-toggle {
    top: 78px !important;
    right: 12px !important;
    padding: 6px 8px !important;
    z-index: 1001 !important;
  }
  
  .presentation-toggle {
    top: 120px !important; /* Below language toggle */
    right: 12px !important;
  }
}

@media (max-width: 520px) {
  .presentation-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 10px;
    justify-content: center;
    gap: 0;
    /* Position handled in language-toggle media queries */
  }

  .presentation-toggle span {
    display: none;
  }

  .presentation-toggle i {
    font-size: 1.15rem;
  }

    .whatsapp-button {
      width: 42px;
      height: 42px;
    }

    .whatsapp-button i {
      font-size: 1.15rem;
    }
  }
}

body.focus-mode .language-toggle,
body.focus-mode .theme-toggle,
body.focus-mode .back-to-top,
body.focus-mode .sticky-cta,
body.focus-mode .presentation-toggle {
  display: none !important;
}

body.focus-mode #particles-js,
body.focus-mode .konami-confetti-container,
body.focus-mode .konami-banner {
  display: none !important;
}

body.focus-mode {
  scroll-behavior: auto;
}

body.focus-mode *,
body.focus-mode *::before,
body.focus-mode *::after {
  animation: none !important;
  transition: none !important;
}

body.focus-mode .section,
body.focus-mode .animated,
body.focus-mode .is-visible,
body.focus-mode .skill-badge,
body.focus-mode .project-card,
body.focus-mode .timeline-item,
body.focus-mode .faq-answer,
body.focus-mode .skill-chart-card,
body.focus-mode .blog-post,
body.focus-mode .contact-info-card,
body.focus-mode .contact-form-card {
  opacity: 1 !important;
  transform: none !important;
}

body.focus-mode .skill-badge {
  box-shadow: none;
}

body.focus-mode .mini-game-overlay {
  display: none !important;
}
