  :root {
    --primary: #f4a462;
    --secondary: #e76e50;
    --accent: #5bc0eb;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
    color: var(--dark);
    overflow-x: hidden;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Floating particles background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite linear;
}

.particle:nth-child(2n) {
    background: var(--secondary);
}

.particle:nth-child(3n) {
    background: var(--accent);
}

/* Header with 3D effect */
header {
    background: rgba(0, 0, 0, 0.247);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid transparent;
    transition: all 0.5s ease;
    transform: translateZ(20px);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid var(--primary);
    padding: 1rem 5%;
}

/* Logo Styles to match existing code */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-image {
    width: 150px;
    height: 150px;
    margin-top: -50px;
    margin-bottom: -50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
}

/* Logo effects when header is scrolled */
header.scrolled .logo-image {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform: scale(0.95);
}

/* Logo hover effects */
.logo-image:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transform: scale(1.05) rotate(5deg);
}

/* Logo animation to match your particle theme */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) 
                drop-shadow(0 0 5px rgba(231, 110, 80, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) 
                drop-shadow(0 0 15px rgba(231, 110, 80, 0.6));
    }
}

/* Optional: Add subtle glow animation to match your gradient theme */
.logo-image.glow {
    animation: logoGlow 3s ease-in-out infinite;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    transition: all 0.3s ease;
    display: block;
}

header.scrolled nav ul li a {
    color: black;
}

nav ul li a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

nav ul li a:hover::after {
    width: 100%;
}

.login-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(231, 110, 80, 0.4);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.login-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(231, 110, 80, 0.6);
}

.login-btn:hover::before {
    opacity: 1;
}

/* Hero Section with Fullscreen Background */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(../img/hero-bg01.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.hero h1 span {
    display: block;
    font-size: 5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: white;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(231, 110, 80, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hero-btn.secondary {
    background: white;
    color: var(--secondary);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.hero-btn:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(231, 110, 80, 0.7);
}

.hero-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-btn.secondary:hover {
    color: white;
}

/* Why Choose Section - Fun version for kids with your color palette */
.why-choose {
    padding: 120px 5%;
    background: linear-gradient(135deg, #fef9f7 0%, #f0f9f8 50%, #fefaf0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(231, 110, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 157, 144, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(244, 164, 98, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #274754;
    position: relative;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #e76e50, #2a9d90, #f4a462);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 3rem auto 60px;
    color: #666;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.features-grid {
    padding: 100px 50px;
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(39, 71, 84, 0.1),
        0 5px 15px rgba(244, 164, 98, 0.2);
    border: 3px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(39, 71, 84, 0.15),
        0 15px 30px rgba(244, 164, 98, 0.3);
}
#feature-card1:hover {
    border-color: #e76e50;
}
#feature-card2:hover {
    border-color: #2a9d90;
}  
#feature-card3:hover {
    border-color: #f9c54e;
}


.feature-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    background: #2a9d90;
    box-shadow: 
        0 8px 20px rgba(42, 157, 144, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-card:nth-child(1) .feature-icon {
    background: #e76e50;
    box-shadow: 0 8px 20px rgba(231, 110, 80, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: #2a9d90;
    box-shadow: 0 8px 20px rgba(53, 211, 192, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: #f4a462;
    box-shadow: 0 8px 20px rgba(244, 164, 98, 0.3);
}

.feature-icon i {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 
        0 12px 25px rgba(0,0,0,0.25);
}

.feature-card h4 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #274754;
    font-weight: 700;
    transition: all 0.3s ease;
}

#feature-card1:hover h4 {
    color: #e76e50;
}
#feature-card2:hover h4 {
    color: #2a9d90;;
}
#feature-card3:hover h4 {
    color: #f4a462;
}

.feature-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.fun-decoration {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.feature-card:hover .fun-decoration {
    opacity: 0.8;
    animation: gentleFloat 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .fun-decoration {
    top: -10px;
    right: -10px;
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) .fun-decoration {
    bottom: -10px;
    left: -10px;
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) .fun-decoration {
    top: -10px;
    left: -10px;
    animation-delay: 0.3s;
}

/* Animations douces */
@keyframes gentleFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    50% { 
        transform: translate(3px, -3px) rotate(3deg); 
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 3.2rem;
        padding: 15px;
    }
}

/* Video Section - Fun version */
.video-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #fef9f7 0%, #f0f9f8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(231, 110, 80, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(42, 157, 144, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(39, 71, 84, 0.2),
        0 10px 30px rgba(244, 164, 98, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 4px solid #fff;
    background: #274754;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.video-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(39, 71, 84, 0.3),
        0 20px 40px rgba(244, 164, 98, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    transition: all 0.5s ease;
    background-color: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(../img/illu2.png) no-repeat center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.5s ease;
    border-radius: 22px;
}

.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e76e50, #f4a462);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 
        0 15px 35px rgba(231, 110, 80, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f4a462, #e76e50);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.play-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 20px 45px rgba(231, 110, 80, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.play-btn:hover::before {
    opacity: 1;
}

.play-btn i {
    color: white;
    font-size: 2.5rem;
    margin-left: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
    pointer-events: none; /* Ensures the click registers on the parent .play-btn */
}

.video-text {
    text-align: center;
    color: white;
}

.video-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.video-decoration {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.decoration-item {
    font-size: 2rem;
    opacity: 0.3;
    animation: floatDecoration 4s ease-in-out infinite;
}

.decoration-item:nth-child(1) {
    animation-delay: 0s;
    transform: translateX(-20px);
}

.decoration-item:nth-child(2) {
    animation-delay: 1.3s;
    transform: translateY(10px);
}

.decoration-item:nth-child(3) {
    animation-delay: 2.6s;
    transform: translateX(20px);
}

/* Animations */
@keyframes floatDecoration {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
        opacity: 0.6;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .video-wrapper {
        border-radius: 20px;
    }
    
    .play-btn {
        width: 80px;
        height: 80px;
    }
    
    .play-btn i {
        font-size: 2rem;
    }
    
    .video-text h3 {
        font-size: 1.5rem;
    }
    
    .decoration-item {
        font-size: 1.5rem;
    }
}

/* Services Section */
.services {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: #274754;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #e76e50, #2a9d90, #f4a462);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

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

.service-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e76e50, #2a9d90, #f4a462);
    transition: left 0.4s ease;
}

.service-box:hover::before {
    left: 0;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(39, 71, 84, 0.1);
}
#service-box1:hover {
    border-color: #e76e50;
}
#service-box2:hover {
    border-color: #2a9d90;
}
#service-box3:hover {
    border-color: #f4a462;
}



.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #2a9d90, #274754);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-box:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #e76e50, #f4a462);
}

.service-box:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #2a9d90, #50b3a7);
}

.service-box:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #f4a462, #f9c54e);
}

.service-icon i {
    color: white;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-title {
    margin-bottom: 15px;
    position: relative;
}

.service-title a {
    color: #274754;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0000006c;
    transition: width 0.3s ease;
}

#service-box1:hover #service-title1 a, #service-box1 h6 {
    color: #e76e50;
}
    #service-box2:hover #service-title2 a, #service-box2 h6 {
        color: #2a9d90;
    }
    #service-box3:hover #service-title3 a, #service-box3 h6 {
    color: #f4a462;
}

#service-box1:hover #service-title1 a::after {
    width: 100%;
}
#service-box2:hover #service-title2 a::after {
    width: 100%;
}
#service-box3:hover #service-title3 a::after {
    width: 100%;
}

.service-box h6 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
}

.service-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
}

/* Animation pour l'underline du titre principal */
@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 120px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-box {
        padding: 30px 20px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.7rem;
    }
}




/* Values Section */
/* Values Simple Items */
.values-simple {
    padding: 100px 50px;
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.value-simple-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(39, 71, 84, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-simple-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #e76e50, #f4a462);
    transition: width 0.4s ease;
}

.value-simple-item:nth-child(2)::before {
    background: linear-gradient(135deg, #2a9d90, #274754);
}

.value-simple-item:hover::before {
    width: 8px;
}

.value-simple-item:hover {
    transform: translateX(15px);
    box-shadow: 0 20px 50px rgba(39, 71, 84, 0.15);
    border-color: #f0f0f0;
}

.value-simple-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e76e50, #f4a462);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(231, 110, 80, 0.3);
}

.value-simple-item:nth-child(2) .value-simple-icon {
    background: linear-gradient(135deg, #67c0b6, #50b3a7);
    box-shadow: 0 10px 25px rgba(42, 157, 144, 0.3);
}

.value-simple-item:hover .value-simple-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(231, 110, 80, 0.4);
}

.value-simple-item:nth-child(2):hover .value-simple-icon {
    box-shadow: 0 15px 35px rgba(42, 157, 144, 0.4);
}

.value-simple-icon i {
    color: white;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.value-simple-text {
    flex: 1;
}

.value-simple-text h4 {
    color: #274754;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.value-simple-item:hover .value-simple-text h4 {
    color: #e76e50;
}

.value-simple-item:nth-child(2):hover .value-simple-text h4 {
    color: #2a9d90;
}

.value-simple-text p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.value-simple-item:hover .value-simple-text p {
    color: #555;
}

/* Values Cards (gardé du précédent mais avec animation delay) */
.values-cards {
    padding: 100px 50px;
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(39, 71, 84, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    transform: scale(0.95);
    opacity: 0.8;
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.6s ease-out forwards;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

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

.value-card:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 25px 60px rgba(39, 71, 84, 0.2);
    z-index: 10;
}

/*#va-card1:hover { border-color: #e76e50; }
#va-card1:hover .card-title a { color: #e76e50; }

#va-card2:hover { border-color: #2a9d90; }
#va-card2:hover .card-title a { color: #2a9d90; }

#va-card3:hover { border-color: #f9c54e; }
#va-card3:hover .card-title a { color: #f9c54e; }*/

#va-card1:hover { 
    border-color: #e76e50;
    box-shadow: 0 25px 60px rgba(39, 71, 84, 0.2), 0 0 20px rgba(231, 110, 80, 0.4);
}
#va-card1:hover .card-title a { color: #e76e50; }

#va-card2:hover { 
    border-color: #2a9d90;
    box-shadow: 0 25px 60px rgba(39, 71, 84, 0.2), 0 0 20px rgba(42, 157, 144, 0.4);
}
#va-card2:hover .card-title a { color: #2a9d90; }

#va-card3:hover { 
    border-color: #f9c54e;
    box-shadow: 0 25px 60px rgba(39, 71, 84, 0.2), 0 0 20px rgba(249, 197, 78, 0.4);
}
#va-card3:hover .card-title a { color: #f9c54e; }

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e76e50, #f4a462);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.value-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #79ccc2, #50b3a7);
}

.value-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #f4a462, #f9c54e);
}

.value-card:hover .card-icon {
    transform: scale(1.15) rotate(15deg);
}

.card-icon i {
    color: white;
    font-size: 1.7rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-title {
    margin-bottom: 15px;
    position: relative;
}

.card-title a {
    color: #274754;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.card-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

#card1 a::after {
    background: #e76e50;
}
#card2 a::after {
    background: #79ccc2;
}
#card3 a::after {
    background: #f9c54e;
}

#card1 a:hover {
    color: #e76e50;
}
#card2 a:hover {
    color: #79ccc2;
}
#card3 a:hover {
    color: #f9c54e;
}

.card-title a:hover::after {
    width: 100%;
}

#card1:hover .card-title a:hover::after {
    color: #070707;
}

.card-text {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .card-text {
    color: #444;
}

/* Animations */
@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0) scale(0.95);
    }
}

@keyframes simpleItemAppear {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Appliquer l'animation aux items simples */
.value-simple-item {
    animation: simpleItemAppear 0.8s ease-out forwards;
    opacity: 0;
}

.value-simple-item:nth-child(1) {
    animation-delay: 0.1s;
}

.value-simple-item:nth-child(2) {
    animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .values-simple {
        gap: 20px;
    }
    
    .value-simple-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .value-simple-icon {
        align-self: center;
    }
    
    .values-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
}


.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}





/* Statistiques */
.stats {
    padding: 100px 5%;
    text-align: center;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
    transform: scale(1);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(231, 110, 80, 0.2);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 600;
}

/* Middle Login Section */
.login-section {
    padding: 120px 5%;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85);
}

.login-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.login-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.login-content p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.login-btn-center {
    background: white;
    color: var(--secondary);
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.login-btn-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
    text-decoration: none;
}

.login-btn-center:hover {
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: white;
}

.login-btn-center:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Témoignage */
.testimonial {
    padding: 100px 5%;
    background: white;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    transform: rotateZ(0deg);
    transition: transform 0.5s ease;
}

.testimonial-content:hover {
    transform: rotateZ(1deg);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 8rem;
    color: rgba(231, 110, 80, 0.1);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    color: var(--dark);
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary);
}

.testimonial-role {
    color: var(--gray);
    font-size: 1.1rem;
}


/* Testimonials Section */
.testimonials {
    padding: 100px 5%;
    background: linear-gradient(135deg, #fef9f7 0%, #f0f9f8 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(231, 110, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(42, 157, 144, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 50px rgba(39, 71, 84, 0.1),
        0 10px 30px rgba(244, 164, 98, 0.15);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e76e50, #2a9d90, #f4a462);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-slide.active .testimonial-content::before {
    opacity: 1;
    animation: borderGlow 3s ease-in-out infinite;
}

.quote-icon {
    font-size: 3rem;
    color: #f4a462;
    margin-bottom: 25px;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.testimonial-slide.active .quote-icon {
    animation: bounceIn 0.6s ease;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #274754;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-slide.active .testimonial-text {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.testimonial-author {
    margin-top: 25px;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e76e50;
    margin-bottom: 5px;
    transition: all 0.4s ease;
}

.testimonial-slide.active .author-name {
    animation: slideInUp 0.6s ease 0.4s both;
}

.author-role {
    font-size: 1rem;
    color: rgb(112, 102, 12);
    font-weight: 600;
    transition: all 0.4s ease;
}

.testimonial-slide.active .author-role {
    animation: slideInUp 0.6s ease 0.5s both;
}

/* Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #e76e50;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(231, 110, 80, 0.2);
}

.dot:hover {
    background: #2a9d90;
    transform: scale(1.2);
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(39, 71, 84, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #274754;
}

.testimonial-nav:hover {
    background: #e76e50;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 110, 80, 0.4);
}

.testimonial-prev {
    left: 20px;
}

.testimonial-next {
    right: 20px;
}

.testimonial-nav i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes borderGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auto-rotation indicator */
.testimonials-slider::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e76e50, #2a9d90, #f4a462);
    border-radius: 2px;
    opacity: 0.7;
    animation: progressBar 8s linear infinite;
}

@keyframes progressBar {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 5%;
    }
    
    .testimonial-content {
        padding: 40px 25px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-prev {
        left: 10px;
    }
    
    .testimonial-next {
        right: 10px;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
}



/* Contact Section - Ultra Simple */
.contact {
    padding: 100px 5%;
    background: white;
    text-align: center;
}

.contact-center {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-simple {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.contact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(39, 71, 84, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 450px;
}

/*.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(39, 71, 84, 0.15);
}*/
#contact1:hover {
    border-color: #e76e50;
}
#contact2:hover {
    border-color: #2a9d90;
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e76e50, #f4a462);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #2a9d90, #50b3a7);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    color: white;
    font-size: 1.8rem;
}

.contact-content h3 {
    color: #274754;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-content p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(231, 110, 80, 0.1);
    border-radius: 15px;
    display: inline-block;
}
#contact-link1 {
    color: #e76e50;
    background: rgba(122, 104, 100, 0.151);
    box-shadow: inset 1px 2px 5px rgba(134, 121, 121, 0.253);
}

#contact-link2 {
    color: #2a9d90;
    background: rgba(94, 124, 122, 0.151);
    box-shadow: inset 1px 2px 5px rgba(121, 149, 143, 0.253);
}

#contact-link1:hover {
    color: white;
    background: #e76e50;
}
#contact-link2:hover {
    color: white;
    background: #2a9d90;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-simple {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .contact-item {
        max-width: 300px;
        width: 100%;
    }
}
.contact-content p {
    word-break: break-all;
}
/* Footer with wave animation */
footer {
    background: var(--dark);
    color: white;
    padding: 100px 5% 30px;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%232c3e50" opacity="1"/></svg>');
    background-size: 1200px 100px;
    animation: wave 10s linear infinite;
}

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

.footer-col h4 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-col p {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-7px) scale(1.1);
}

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

.footer-col ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.footer-col ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-col ul li:hover::before {
    opacity: 1;
    left: 0;
}

.footer-col ul li:hover a {
    color: var(--primary);
    padding-left: 10px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 164, 98, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(244, 164, 98, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 164, 98, 0);
    }
}

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

@keyframes logoSpin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

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

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes logoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* Parallax effect for sections */
[data-parallax] {
    transition: transform 0.3s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h1 span {
        font-size: 3.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero {
        padding: 150px 5% 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 span {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .login-content h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 span {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .platform-card {
        padding: 30px 20px;
    }
    
    .login-content h2 {
        font-size: 2rem;
    }
    
    .login-content p {
        font-size: 1.1rem;
    }
    
    .login-btn-center {
        padding: 16px 40px;
        font-size: 1.1rem;
        text-decoration: none;
    }
}