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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --chrome-gradient: linear-gradient(145deg, #ffffff 0%, #c0c0c0 25%, #808080 50%, #c0c0c0 75%, #ffffff 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 50%, #4a4a4a 100%);
    border-radius: 6px;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6a6a6a 0%, #4a4a4a 50%, #6a6a6a 100%);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #8a8a8a 0%, #6a6a6a 50%, #8a8a8a 100%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #0a0a0a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: 
        radial-gradient(1px 1px at 10% 10%, white, transparent),
        radial-gradient(1px 1px at 20% 40%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 30% 70%, white, transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50% 80%, white, transparent),
        radial-gradient(2px 2px at 60% 30%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 70% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 90%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 90% 15%, white, transparent);
    background-size: 600px 600px;
    opacity: 0.3; 
    z-index: 0;
    pointer-events: none;
    animation: twinkle 6s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 15% 85%, white, transparent),
        radial-gradient(2px 2px at 25% 15%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 45% 45%, white, transparent),
        radial-gradient(2px 2px at 75% 35%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 85% 65%, white, transparent);
    background-size: 550px 550px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    animation: twinkle 4s ease-in-out infinite alternate-reverse; 
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.5; 
        transform: scale(1.05);
    }
}


img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.card img,
.service-card img,
.skill-card img,
.certification-card img,
.certification-item img,
.training-card img,
.timeline-content img,
.avatar-image,
.logo-slider img,
.info-icon img,
.choice-icon img,
.floating-image img,
.actor-card img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    cursor: pointer;
}

.card img:hover,
.service-card img:hover,
.skill-card img:hover,
.certification-card img:hover,
.certification-item img:hover,
.training-card img:hover,
.timeline-content img:hover,
.timeline-content img:hover,
.avatar-image:hover,
.logo-slider img:hover,
.info-icon img:hover,
.choice-icon img:hover,
.floating-image img:hover,
.actor-card img:hover {
    transform: translateY(-15px) scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(255, 255, 255, 0.4)) drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3)) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

main {
    padding-top: 140px;
}

.header {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    position: fixed; 
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1000px;
    margin: 0;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo-image {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transition: var(--transition);
}

.logo-image:hover {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    transform: scale(1.05);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-white);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-white);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-white);
}

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

.hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--chrome-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: chromeShine 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes chromeShine {
    to { background-position: 200% center; }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(145deg, #ffffff, #c0c0c0);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.avatar-glow {
    position: absolute;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1/1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.avatar {
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4))
            drop-shadow(0 0 60px rgba(255, 255, 255, 0.2));
    width: 100%;
    display: flex;
    justify-content: center;
}

.avatar-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
}

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

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--chrome-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: chromeShine 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    padding: 0 1rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    width: 100%;
}

.text-large {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.info-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h3 {
    color: var(--accent-white);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    padding: 2rem 0;
}

.options-grid .option-card:first-child {
    align-self: start;
}

.options-grid .option-card:last-child {
    align-self: end;
}

.floating-image {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.floating-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    filter: blur(30px);
    z-index: -1;
}

.floating-image img {
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

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

.option-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--chrome-gradient);
}

.option-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

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

.option-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #c0c0c0);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.option-icon svg {
    color: #000000;
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-white);
}

.option-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.option-list {
    list-style: none;
    margin-top: 0.75rem;
}

.option-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.option-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-white);
    font-weight: bold;
}

.option-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.choice-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.choice-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

.choice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-card h3 {
    color: var(--accent-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.choice-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding: 2rem 0;
    position: relative;
    font-size: 0.9rem;
}

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

.footer-section {
    margin: 0;
    padding: 0;
}

.footer-title, 
.footer-subtitle, 
.footer-year,
.footer-links {
    display: none;
}

.footer-section:first-child::before {
    content: "© 2026 Portfolio SISR";
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.footer-section:nth-child(2) .nav-menu {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.footer-section:last-child {
    text-align: right;
}

.footer-legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 2px;
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-white);
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--accent-white);
}

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

.footer-bottom {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    animation: modalSlideIn 0.3s ease;
    z-index: 10000;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--accent-white);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.4);
}

.modal-title {
    font-size: 2rem;
    color: var(--accent-white);
    margin-bottom: 2rem;
    background: var(--chrome-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: chromeShine 3s linear infinite;
}

.modal-body {
    color: var(--text-secondary);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    color: var(--accent-white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.timeline-content:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-white);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    z-index: 1;
}

.timeline-content h3 {
    color: var(--accent-white);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--chrome-gradient);
}

.cert-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

.cert-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card h3 {
    color: var(--accent-white);
    margin-bottom: 0.5rem;
}

.cert-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cert-skills {
    color: var(--text-secondary);
    line-height: 1.8;
}

.carousel {
    overflow: hidden;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
}

.carousel-item {
    flex-shrink: 0;
    text-align: center;
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 120px;
}

.carousel-item img {
    margin: 0 auto;
    display: block;
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.carousel-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.carousel-item:hover img {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.skills-description {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
}

.github-section {
    text-align: center;
    margin-top: 3rem;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(145deg, #ffffff, #c0c0c0);
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.github-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.company-section {
    margin-bottom: 3rem;
}

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

.role-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.role-card h3 {
    color: var(--accent-white);
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-section {
    margin-bottom: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.project-card h3 {
    color: var(--accent-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-details {
    margin: 1.5rem 0;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-download {
    display: inline-flex;      
    align-items: center;        
    gap: 0.5rem;                
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.veille-section {
    margin-bottom: 3rem;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    position: sticky;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}


.actor-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.actor-card img {
    margin: 0 auto;
    display: block;
}

.actor-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.sources-list {
    list-style: none;
    margin-top: 1rem;
}

.sources-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.sources-list li::before {
    content: '🔗';
    position: absolute;
    left: 0;
}

.sources-list a {
    color: var(--accent-white);
    text-decoration: none;
    transition: var(--transition);
}

.sources-list a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6),
                0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2),
                0 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #c0c0c0);
    border-radius: 50%;
}

.contact-icon svg {
    color: #000000;
}

.contact-card h3 {
    color: var(--accent-white);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    main {
        padding-top: 110px;
    }

    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding-top: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .avatar-container {
        order: -1;
    }

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

    .options-grid .option-card:first-child,
    .options-grid .option-card:last-child {
        align-self: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 20px;
    }
}

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

    .burger {
        display: flex;
    }

    .header .nav-menu {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }


    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .avatar-container {
        order: -1;
    }

    

    .avatar-image {
        width: 280px;
        height: 280px;
    }
    
    .avatar-glow {
        width: 320px;
        height: 320px;
    }


    .floating-image img {
        max-width: 250px;
    }


    .info-icon img, .choice-icon img {
        width: 120px !important;
        height: 120px !important;
    }

    .options-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .option-card {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }


    .footer {
        margin-top: 2rem;
        padding: 2rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        text-align: center;
    }


    .footer .nav-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer .nav-link {
        font-size: 0.9rem;
        padding: 0.2rem 0;
        width: auto;
        display: inline-block;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }

    .footer-section:last-child {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        width: 95%;
        border-radius: 20px;
        margin-top: 0.5rem;
    }

    .nav {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }


    .content-card, .option-card, .choice-card, .project-card, .cert-card {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}

