/* ============================================
   BRAHIM HDIH - PORTFOLIO STYLES
   ============================================ */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #f8fafc;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
    --shadow: 0 10px 40px rgba(0,0,0,0.3);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--light);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-bracket {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

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

.hero-greeting {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--dark-lighter);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.hero-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Visual */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: var(--dark-light);
    border-radius: var(--radius);
    border: 1px solid var(--dark-lighter);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--dark-lighter);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-filename {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.code-body {
    padding: 20px;
    overflow-x: auto;
}

.code-body pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-keyword { color: #c678dd; }
.code-class { color: #e5c07b; }
.code-string { color: #98c379; }
.code-function { color: #61afef; }

.floating-card {
    position: absolute;
    background: var(--dark-light);
    border: 1px solid var(--dark-lighter);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 20px;
    color: var(--primary);
}

.card-1 { top: 10%; right: 0; animation-delay: 0s; }
.card-2 { bottom: 20%; left: -20px; animation-delay: 1s; }
.card-3 { bottom: 5%; right: 10%; animation-delay: 2s; }

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

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 60px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--dark-lighter);
    border-bottom: 1px solid var(--dark-lighter);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 48px;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   TECHNOLOGIES
   ============================================ */

.technologies {
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--dark-light);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.tech-icon.flutter { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.tech-icon.android { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.tech-icon.apple { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.tech-icon.state { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    background: var(--dark);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   COURSES
   ============================================ */

.latest-courses,
.courses-page,
.blog-page {
    padding: 100px 0;
}

.courses-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card,
.blog-card {
    background: var(--dark-light);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1);
}

.course-image,
.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-placeholder,
.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-content,
.blog-content {
    padding: 24px;
}

.course-date,
.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-tag {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.course-content h3,
.blog-content h2,
.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-content p,
.blog-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.course-link:hover {
    gap: 12px;
}

.no-courses,
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* Courses Filter */
.courses-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--dark-lighter);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

/* Blog Featured */
.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card.featured .blog-image {
    height: 100%;
    min-height: 300px;
}

.blog-card.featured .blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card.featured h2 {
    font-size: 28px;
}

.blog-card.featured .blog-excerpt {
    font-size: 16px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-bottom: 1px solid var(--dark-lighter);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-photo {
    position: relative;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid var(--dark-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary);
}

.photo-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-content h3 {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content strong {
    color: var(--text);
}

.about-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--dark-light);
    border: 1px solid var(--dark-lighter);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--dark-lighter);
    border-bottom: 1px solid var(--dark-lighter);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

.timeline-content {
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius);
    padding: 24px;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Skills */
.skills-section {
    padding: 80px 0;
}

.skills-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 600;
}

.skill-percent {
    color: var(--primary);
    font-weight: 700;
}

.skill-bar {
    height: 8px;
    background: var(--dark-light);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Vision */
.vision-section {
    padding: 80px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--dark-lighter);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.vision-content p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.vision-quote {
    margin-top: 48px;
    padding: 32px;
    background: var(--dark);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius);
    position: relative;
}

.vision-quote i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.vision-quote p {
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 16px;
}

.vision-quote span {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   MODAL
   ============================================ */

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-light);
    border: 1px solid var(--dark-lighter);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.modal-body .modal-date {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 24px;
    display: block;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--dark-lighter);
    padding: 60px 0 0;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--light);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-lighter);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description,
    .hero-buttons,
    .hero-socials {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        display: none;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-light);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--dark-lighter);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero h2 {
        font-size: 22px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid,
    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured .blog-image {
        min-height: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
    
    .courses-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 30px;
    }

    /* Le conteneur du logo */
.navbar .logo, 
.footer .footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* L'image du logo */
.logo-img {
    height: 40px; /* ⚠️ Ajustez cette valeur (30px, 40px, 50px...) selon la taille désirée */
    width: auto;
    display: block;
}

}
