/**
 * STYLE ULTRA MODERNE POUR SITE ÉDUCATIF
 * Design professionnel avec animations et effets modernes
 */

/* ============================================
   VARIABLES CSS ULTRA MODERNES
   Palette Professionnelle Académique
   ============================================ */
:root {
    /* Palette de couleurs personnalisée */
    --primary: #1F4E79;           /* Bleu royal - Logos, titres */
    --primary-dark: #163a5f;      /* Bleu royal foncé */
    --primary-light: #2d6ba8;     /* Bleu royal clair */
    --secondary: #C9A13B;         /* Or doux - Accents */
    --secondary-dark: #a68530;    /* Or foncé */
    --secondary-light: #d4b05f;   /* Or clair */
    --accent: #A7C7A9;            /* Vert menthe doux */
    --accent-dark: #8ab58d;       /* Vert menthe foncé */
    
    /* Couleurs fonctionnelles */
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --info: #17a2b8;
    
    /* Couleurs de texte */
    --text-primary: #1F4E79;      /* Bleu royal pour le texte principal */
    --text-secondary: #5a6c7d;    /* Gris-bleu pour texte secondaire */
    --text-light: #8794a1;        /* Gris clair pour texte léger */
    --text-white: #FFFFFF;
    --text-gold: #C9A13B;         /* Or pour les accents de texte */
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;        /* Blanc pur */
    --bg-secondary: #F3F3F3;      /* Gris clair */
    --bg-dark: #1F4E79;          /* Bleu royal */
    --bg-gradient: linear-gradient(135deg, #1F4E79 0%, #2d6ba8 100%);
    --bg-gradient-gold: linear-gradient(135deg, #C9A13B 0%, #d4b05f 100%);
    --bg-gradient-accent: linear-gradient(135deg, #1F4E79 0%, #A7C7A9 100%);
    --bg-gradient-elegant: linear-gradient(135deg, #1F4E79 0%, #C9A13B 50%, #A7C7A9 100%);
    
    /* Borders */
    --border-color: #dce1e6;
    --border-light: #F3F3F3;
    --border-gold: #C9A13B;
    --border-primary: #1F4E79;
    
    /* Shadows - Profondeur élégante */
    --shadow-sm: 0 1px 3px 0 rgba(31, 78, 121, 0.08);
    --shadow: 0 4px 12px -2px rgba(31, 78, 121, 0.12);
    --shadow-md: 0 8px 20px -4px rgba(31, 78, 121, 0.15);
    --shadow-lg: 0 16px 32px -8px rgba(31, 78, 121, 0.18);
    --shadow-xl: 0 24px 48px -12px rgba(31, 78, 121, 0.22);
    --shadow-2xl: 0 32px 64px -16px rgba(31, 78, 121, 0.25);
    --shadow-gold: 0 8px 24px -4px rgba(201, 161, 59, 0.3);
    --shadow-glow: 0 0 40px rgba(201, 161, 59, 0.4);
    
    /* Radius - Moderne et élégant */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;
    
    /* Transitions fluides */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espacements harmonieux */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
    --spacing-2xl: 5rem;
    
    /* Typography - Cairo partout */
    --font-sans: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY MODERNE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ============================================
   HEADER MODERNE AVEC EFFET GLASSMORPHISM
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
}

.logo i {
    font-size: 2rem;
    background: var(--bg-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(201, 161, 59, 0.3));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--bg-gradient-gold);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.75rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    color: var(--text-primary);
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(201, 161, 59, 0.1), rgba(167, 199, 169, 0.1));
    transform: translateX(-5px);
    box-shadow: var(--shadow-sm);
}

.dropdown-menu a i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.dropdown-menu a span {
    flex: 1;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--bg-gradient-gold);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.dropdown-menu a:hover::before {
    height: 70%;
}

/* Animation d'apparition des items du dropdown */
.dropdown-menu li {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu li:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.05s;
}

.dropdown:hover .dropdown-menu li:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.dropdown:hover .dropdown-menu li:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.dropdown:hover .dropdown-menu li:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ============================================
   HERO SECTION ULTRA MODERNE
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1F4E79 0%, #2d6ba8 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201, 161, 59, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(167, 199, 169, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: white;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: white;
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(201, 161, 59, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 161, 59, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 4px 12px rgba(201, 161, 59, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.hero-title span {
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.6s ease-out 0.6s both;
}

.hero-image {
    position: relative;
    animation: slideLeft 0.8s ease-out 0.4s both;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 600px;
}

.hero-image img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

/* ============================================
   BUTTONS MODERNES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #C9A13B 0%, #d4b05f 100%);
    color: #1F4E79;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #d4b05f 0%, #C9A13B 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    transform: translateY(-3px);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-login-gold {
    background: linear-gradient(135deg, #C9A13B, #d4b05f);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(201, 161, 59, 0.3);
    transition: all 0.3s ease;
}

.btn-login-gold:hover {
    background: linear-gradient(135deg, #d4b05f, #e5c06f);
    box-shadow: 0 6px 20px rgba(201, 161, 59, 0.5);
    transform: translateY(-2px);
}

.btn-login-gold:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================================
   SECTION CONTAINER
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-light {
    background-color: var(--bg-primary);
}

.section-dark {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.625rem 1.75rem;
    background: linear-gradient(135deg, rgba(201, 161, 59, 0.1) 0%, rgba(167, 199, 169, 0.1) 100%);
    color: var(--secondary);
    border: 1px solid rgba(201, 161, 59, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   FEATURES GRID MODERNE
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: translate(30%, -30%) scale(2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 2.25rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--bg-gradient-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation au scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-height: 400px;
    }
    
    .hero-image img {
        max-height: 400px;
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #1F4E79 0%, #163a5f 100%);
        padding: 6rem 0 2rem;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 1.25rem 2rem;
        color: white;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(201, 161, 59, 0.15);
        color: white;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu a {
        padding: 1rem 2rem 1rem 3rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .dropdown-menu a:hover {
        background: rgba(201, 161, 59, 0.2);
        transform: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .hero-content {
        padding: 6rem 1.5rem 4rem;
        gap: 2.5rem;
    }
    
    .hero-image img {
        max-height: 350px;
    }
    
    .hero-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.875rem 1rem;
    }
    
    .logo {
        font-size: 1.375rem;
        gap: 0.75rem;
    }
    
    .logo img {
        max-width: 140px;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .hero-content {
        padding: 5rem 1rem 3rem;
        gap: 2rem;
    }
    
    .hero-image {
        max-height: 280px;
    }
    
    .hero-image img {
        max-height: 280px;
    }
    
    .hero-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .hero-badge i {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-footer {
        margin-top: 2rem;
    }
}

