/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #4338ca;
    --accent-color: #6366f1;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.page-transitioning .main-content {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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


.main-content {
    animation: fadeIn 0.5s ease-out;
    opacity: 1;
}

body.page-loading .main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* Navigation */
.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1rem 0;
}

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

.logo h2 {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo h2 {
    color: var(--primary-color);
    text-shadow: none;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.navbar:not(.scrolled) .nav-menu a {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar:not(.scrolled) .nav-menu a:hover,
.navbar:not(.scrolled) .nav-menu a.active {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
    background: white;
}

/* Hero Section */
.hero {
    background: var(--gradient-blue);
    color: white;
    padding: 8rem 2rem 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
}

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

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.tech-icons .icon {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.tech-icons .icon:nth-child(2) {
    animation-delay: 0.5s;
}

.tech-icons .icon:nth-child(3) {
    animation-delay: 1s;
}

.tech-icons .icon:nth-child(4) {
    animation-delay: 1.5s;
}

.tech-icons .icon:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: var(--gradient-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* About Preview Section */
.about-preview-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.about-preview-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.about-preview-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-preview-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.preview-card {
    background: var(--gradient-blue);
    color: white;
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.preview-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.preview-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.preview-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Technologies Section */
.technologies-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.tech-item {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.tech-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Projects Preview Section */
.projects-preview-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Carrousel des projets */
.projects-carousel-wrapper {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 3rem;
}

.projects-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    padding: 1.5rem 0;
}

.projects-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 3rem;
    padding: 0 2.5rem;
}

.carousel-slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.project-preview-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-preview-card:hover::before {
    left: 100%;
}

.project-preview-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.project-preview-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.project-preview-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.project-preview-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.project-preview-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 1;
    font-size: 1.05rem;
}

.project-preview-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    margin-top: auto;
}

.project-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

/* Boutons de navigation du carrousel */
.carousel-btn {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicateurs du carrousel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-indicator:hover {
    transform: scale(1.2);
    background: var(--primary-color);
    opacity: 0.7;
}

.carousel-indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
    transform: scale(1);
}

.projects-preview-cta {
    text-align: center;
}

/* Testimonial Section */
.testimonial-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.testimonial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

.feature-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Page Header */
.page-header {
    background: var(--gradient-blue);
    color: white;
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-light) 100%);
    pointer-events: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.page-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.about-intro-card {
    background: var(--gradient-blue);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.intro-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.about-intro-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.intro-text {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.presentation-card,
.bts-card,
.interests-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.presentation-card {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.bts-card {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.interests-card {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.presentation-card:hover,
.bts-card:hover,
.interests-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.card-header h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.card-body {
    padding: 2.5rem;
}

.card-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

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

.card-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: start;
    transition: var(--transition);
}

.highlight-box:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.options-intro {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin-bottom: 1.5rem !important;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.option-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.option-sisr:hover {
    border-color: #4f46e5;
}

.option-slam:hover {
    border-color: #7c3aed;
}

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

.option-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.option-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.option-full-name {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
}

.option-description {
    color: var(--text-light) !important;
    line-height: 1.7 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.summary-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.summary-box p {
    margin: 0 !important;
    color: var(--text-dark) !important;
    line-height: 1.8 !important;
}

.summary-box strong {
    color: var(--primary-color);
}

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

.interest-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.interest-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.interest-icon {
    font-size: 2.5rem;
}

.interest-item p {
    margin: 0 !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.interests-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.interests-list-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.interest-item-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.interest-item-compact:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.interest-item-compact .interest-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.interest-item-compact p {
    margin: 0 !important;
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 120px;
    align-self: start;
}

.profile-card {
    background: var(--gradient-blue);
    color: white;
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.profile-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(79, 70, 229, 0.4);
}

.profile-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.profile-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.profile-role {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0.25rem;
}

.profile-option {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.profile-badge {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-badge span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-card p {
    position: relative;
    z-index: 1;
}

/* Badges Section */
.badges-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.badges-container {
    margin-top: 2rem;
}

.credly-instructions {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.credly-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.credly-instructions ol {
    margin-left: 1.5rem;
    color: var(--text-dark);
    line-height: 2;
}

.credly-instructions li {
    margin-bottom: 0.5rem;
}

.credly-instructions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.credly-instructions code {
    background: rgba(79, 70, 229, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.credly-profile-link {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
}

.credly-profile-link p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.credly-link-btn {
    display: inline-block;
    margin-left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.credly-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.credly-note {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.95rem;
}

.credly-note code {
    background: rgba(79, 70, 229, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.credly-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.credly-note a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.credly-note-small {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

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

.credly-badge-item {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.credly-badge-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.badge-placeholder {
    padding: 2.5rem 2rem;
    text-align: center;
}

.badge-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.badge-placeholder h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.badge-placeholder p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.badge-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

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

.credly-badge-card {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.credly-badge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.badge-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.badge-image-container {
    width: 100%;
    padding-top: 100%; /* Ratio 1:1 */
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.badge-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: var(--transition);
}

.credly-badge-card:hover .badge-image {
    transform: scale(1.05);
}

.badge-info {
    padding: 1.5rem;
    text-align: center;
}

.badge-info h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-issuer {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.badge-view-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.05);
}

.credly-badge-card:hover .badge-view-link {
    background: var(--gradient-blue);
    color: white;
    transform: translateX(4px);
}

/* Skills Section */
.skills-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.skill-category {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.skill-category:hover::before {
    transform: scaleY(1);
}

.skill-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    font-weight: 500;
}

.skill-tag:hover {
    background: var(--gradient-subtle);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-blue);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

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

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.timeline-content h4 {
    color: var(--text-light);
    font-weight: normal;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Certifications Section */
.certifications-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.cert-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--gradient-subtle) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover::after {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Objectives Section */
.objectives-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

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

.objective-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid;
    border-image: var(--gradient-blue) 1;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.objective-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.objective-card ul {
    list-style: none;
    padding-left: 0;
}

.objective-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.objective-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

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

.project-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-header {
    background: var(--gradient-blue);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.project-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.project-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.project-header h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.project-content {
    padding: 2rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    font-weight: 500;
}

.tech-tag:hover {
    background: var(--gradient-subtle);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Accordion */
.project-details-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.details-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
}

.accordion-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header h3 {
    color: var(--primary-color);
}

.accordion-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

/* Veille Section */
.veille-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.veille-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.veille-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.veille-intro p {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.method-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.method-card ul {
    list-style: none;
    padding-left: 0;
}

.method-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.method-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.topic-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-left: 5px solid;
    border-image: var(--gradient-blue) 1;
}

.topic-card:hover {
    transform: translateX(8px) translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.topic-card p {
    color: var(--text-light);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.article-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.article-link:hover {
    text-decoration: underline;
}

/* Styles RSS */
.rss-header {
    margin-bottom: 2rem;
}

.rss-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rss-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rss-filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.rss-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rss-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.rss-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rss-refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.rss-refresh-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rss-refresh-btn:active {
    transform: translateY(0);
}

.rss-refresh-btn svg {
    animation: none;
}

.rss-refresh-btn:hover svg {
    animation: spin 1s linear infinite;
}

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

.rss-status {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.rss-status.updated {
    color: var(--primary-color);
}

.rss-article {
    position: relative;
}

.rss-article .article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rss-article .article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.rss-article .article-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text-dark);
}

.rss-article .article-category.cyber {
    background: #fee2e2;
    color: #991b1b;
}

.rss-article .article-category.reseau {
    background: #dbeafe;
    color: #1e40af;
}

.rss-article .article-category.systemes {
    background: #dcfce7;
    color: #166534;
}

.rss-article .article-source {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.rss-article .article-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.rss-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.rss-error {
    text-align: center;
    padding: 4rem 2rem;
    color: #dc2626;
    background: #fee2e2;
    border-radius: 15px;
    border: 2px solid #fecaca;
}

.rss-error p {
    margin: 0;
    font-weight: 600;
}

/* Responsive pour RSS */
@media (max-width: 768px) {
    .rss-controls {
        flex-direction: column;
    }
    
    .rss-filters {
        justify-content: center;
    }
    
    .rss-filter-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .rss-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    
    .rss-refresh-btn {
        width: 100%;
        justify-content: center;
    }
    
    .rss-article .article-header {
        flex-direction: column;
    }
    
    .rss-article .article-source {
        align-self: flex-start;
    }
}

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

.resource-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.resource-card ul {
    list-style: none;
    padding-left: 0;
}

.resource-card li {
    padding: 0.5rem 0;
}

.resource-card a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.resource-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Locations Section */
.locations-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.location-header {
    background: var(--gradient-blue);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.location-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.location-icon-wrapper {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.location-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-header-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.location-header-text h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.location-type {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.location-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-info {
    margin-bottom: 1.5rem;
}

.location-name {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-address {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.location-address svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--primary-color);
}

.location-address span {
    flex: 1;
}

.location-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.05);
    width: fit-content;
}

.location-map-link:hover {
    background: var(--gradient-blue);
    color: white;
    transform: translateX(4px);
}

.location-map-link svg {
    width: 16px;
    height: 16px;
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    margin-top: auto;
}

.location-card:hover .map-container {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* Styles spécifiques pour chaque type de lieu */
.location-work .location-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
}

.location-school .location-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

/* Contact Banner */
.contact-banner {
    background: var(--gradient-blue);
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.contact-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-white) 100%);
    pointer-events: none;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.banner-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.banner-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-banner {
    white-space: nowrap;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.contact-form-container {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.contact-form-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-group input,
.form-group textarea {
    padding: 1.1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.15);
    background: var(--bg-white);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.btn-submit {
    width: 100%;
    padding: 1.35rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: var(--transition);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit:disabled:hover {
    box-shadow: none;
}

.form-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    margin-top: 1.5rem;
    display: none;
    animation: slideIn 0.3s ease;
    position: relative;
    padding-left: 3rem;
}

.form-message::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #6ee7b7;
    display: block;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.form-message.success::before {
    background: #10b981;
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #fca5a5;
    display: block;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.form-message.error::before {
    background: #ef4444;
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

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

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid;
    border-image: var(--gradient-blue) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    max-width: 100%;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient-blue);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.social-link svg {
    flex-shrink: 0;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateX(6px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-contact svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.footer-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.8rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 4rem;
        min-height: 500px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .navbar.scrolled {
        padding: 0.75rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: relative;
        top: 0;
    }

    .about-intro-card {
        padding: 2rem 1.5rem;
    }

    .about-intro-card h2 {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .intro-icon {
        font-size: 3rem;
    }

    .card-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

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

    .card-body {
        padding: 1.5rem;
    }

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

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

    .profile-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
    }

    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-icons .icon {
        font-size: 2.5rem;
        padding: 1.5rem;
    }

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

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

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

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

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

    .location-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .location-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }

    .location-header-text h3 {
        font-size: 1.5rem;
    }

    .location-content {
        padding: 1.5rem;
    }

    .location-name {
        font-size: 1.1rem;
    }

    .map-container iframe {
        height: 250px;
    }

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

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-text h2 {
        font-size: 1.5rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .about-preview-content {
        grid-template-columns: 1fr;
    }

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

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

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

.projects-carousel-wrapper {
    padding: 0 1rem;
}

.projects-carousel-container {
    position: relative;
    gap: 1rem;
}

.projects-carousel {
    padding: 0.5rem 0;
    margin: 0 -0.5rem;
}

.projects-carousel-track {
    gap: 1.5rem;
    padding: 0 1rem;
}

.carousel-slide {
    width: 100%;
    min-width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.carousel-btn-prev {
    left: 0.25rem;
}

.carousel-btn-next {
    right: 0.25rem;
}
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .project-preview-card {
        padding: 2rem 1.5rem;
    }
    
    .project-preview-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-preview-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .project-preview-card h3 {
        font-size: 1.5rem;
    }
    
    .project-preview-card p {
        font-size: 0.95rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

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

