:root {
    /*
       → Best for main titles, logos, and highlighted headings */
    --font-poppins: 'Poppins', sans-serif;

    /*
       → Ideal for section headings, banners, and call-to-action text */
    --font-montserrat: 'Montserrat', sans-serif;

    /*
       → Perfect for paragraphs, body text, and long descriptions */
    --font-lato: 'Lato', sans-serif;

    /*
       → Great for general content, navigation, and forms */
    --font-open-sans: 'Open Sans', sans-serif;
}

/* colors palette */
:root {
    --color-primary: #E63946;   /* Coral Red – Logo, Buttons, Highlights */
    --color-dark: #9B2226;      /* Deep Red – Headers, Navbar, Accents */
    --color-light: #FFB3B3;     /* Soft Blush – Backgrounds, Cards, Hovers */
    --color-accent: #457B9D;    /* Slate Blue – Links, Icons, Balance */
    --color-neutral: #F1FAEE;   /* Snow White – Text Background Contrast */
    --text-main: #1E1E1E;        /* Main body text – high contrast for readability */
    --text-secondary: #4A4A4A;   /* Secondary text – descriptions, muted details */
    --dark-bg: #1A1A1A;
}

/* Body */
body {
    font-family: var(--font-lato);
    color: var(--text-main);
    background-color: var(--color-neutral);
    overflow-x: hidden;
}

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

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Loader Design */
.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid;
    border-color: var(--color-primary) transparent transparent;
    animation: rotation 1s linear infinite;
    position: relative;
}

.loader::after,
.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    border: 4px solid;
    border-radius: 50%;
    box-sizing: border-box;
}

.loader::after {
    width: 48px;
    height: 48px;
    border-color: transparent transparent var(--color-dark);
    animation: rotationBack 1.2s linear infinite;
}

.loader::before {
    width: 36px;
    height: 36px;
    border-color: var(--color-primary) transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotationBack {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Fade animation for content */
.content {
    opacity: 0;
    transition: opacity 1s ease;
}

.content.show {
    opacity: 1;
}

/* Main btn */
.main-btn {
    background: var(--color-dark);
    color: var(--text-light);
    font-family: var(--font-poppins);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.5s ease;
}

.main-btn:hover {
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    transform: translateY(-3px);
}


/* ================================================================ Navbar ========================================================= */
.navbar {
    background-color: var(--color-neutral);
    border-bottom: 1px solid var(--color-dark);
    padding: 15px 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 50px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-family: var(--font-poppins);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-dark));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1); 
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--color-accent);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.mobile-menu a {
    color: var(--color-neutral);
    text-decoration: none;
    padding: 1rem 0;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu a:hover {
    color: var(--color-light);
    padding-left: 10px;
}

.mobile-menu a.active {
    color: var(--color-light);
    font-weight: 900;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-container {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

/* =============================================================== Landing ========================================================= */
.landing {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    color: var(--color-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 4, 6, 0.473);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.landing-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.landing-text .main-text,
.landing-text .secondary-text {
    opacity: 0;
    transform: translateY(30px);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-text .main-text.active,
.landing-text .secondary-text.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.landing-text .main-text span,
.landing-text .secondary-text span {
    color: var(--color-primary);
    font-family: var(--font-open-sans);
    font-weight: 500;
}

.landing-text .main-text h2,
.landing-text .secondary-text h2 {
    font-family: var(--font-poppins);
    font-weight: 900;
    margin: 13px 0;
}

.landing-text .main-text h2 span ,
.landing-text .secondary-text h2 span {
    color: var(--color-primary);
    font-family: var(--font-poppins);
    font-size: 35px;
    font-weight: 900;
    text-decoration: underline;
}

.landing-text .main-text p ,
.landing-text .secondary-text p {
    width: 90%;
    margin: auto;
    padding: 12px 0;
    font-family: var(--font-montserrat);
}

.landing-text .btn {
    border: 1px solid var(--color-neutral);
    color: var(--color-neutral);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.landing-text .btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-light);
}

@media (max-width: 768px) {
    .landing-text .main-text h2 span ,
    .landing-text .secondary-text h2 span {
        font-size: 25px;
    }
}

/* ============================================================= About ============================================================ */
.about {
    padding: 60px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floater {
    position: absolute;
    bottom: 70px;
    left: 20px;
    background: var(--color-neutral);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 180px;
    transition: transform 0.3s ease;
}

.floater:hover {
    transform: translateY(-5px);
}

.floater i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.floater h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.floater p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-text .main {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text .second {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.specials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.special {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--color-light);
    transition: all 0.3s ease;
}

.special:hover {
    background-color: var(--color-primary);
    color: white;
}

.special:hover span,
.special:hover h4 {
    color: white;
}

.special span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.special h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-link:hover {
    background-color: var(--color-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.about-link:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 1 1 100%;
    }
    
    .floater {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
    }

    .floater:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 50px 0;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .specials {
        flex-direction: column;
    }
    
    .special {
        min-width: 100%;
    }
}

/* =========================================================== Features ============================================================= */
.features {
    padding: 40px 0;
}

.feature {
    border: 1px solid var(--color-neutral);
    padding: 15px;
    border-radius: 15px;
    transition: .6s ease;
}

.feature:hover {
    border-color: var(--color-light);
}

.feature .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-light);
    border-radius: 10px;
    height: 60px;
    width: 60px;
    margin-bottom: 14px;
    transition: .5s ease;
}

.feature .icon i {
    font-size: 30px;
    color: var(--color-dark);
}

.feature:hover .icon {
    background-color: var(--color-primary);
}

.feature:hover .icon i {
    color: var(--color-neutral);
}

.feature h3 {
    color: var(--text-main);
    font-family: var(--font-open-sans);
    font-weight: 700;
}

.feature p {
    opacity: .7;
}

/* =============================================================== Call Us ========================================================*/
.call-us {
    padding: 30px 0;
    background-color: var(--dark-bg);
    color: var(--color-neutral);
}

.call-us .text h3 {
    color: var(--color-accent);
    text-decoration: underline;
}

.call-us .text p {
    margin-top: 10px;
    opacity: .7;
    font-family: var(--font-montserrat);
}

.call-us-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-us-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 165, 209, 0.3);
}

.call-us-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .call-us .text h3 {
        margin-bottom: 20px;
    }
    .call-us-link {
        margin-top: 15px;
    }
}

/* =========================================================== Testimonials ======================================================= */
.testimonials-section {
    padding: 40px 0;
}

.main-title span {
    padding: 10px 16px;
    border-radius: 50px;
    background-color: var(--color-dark);
    color: var(--color-neutral);
}

.main-title h2 {
    margin: 15px 0;
    font-family: var(--font-poppins);
    font-weight: 800;
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.testimonial-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial {
    min-width: 100%;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.testimonial.active {
    opacity: 1;
}

.testimonial:before {
    content: "";
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--text-main);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.client-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--text-secondary);
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.client-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

.testimonial-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-primary);
    font-size: 1.2rem;
}

.nav-btn:hover {
    background-color: var(--color-dark);
    color: white;
    transform: translateY(-3px);
}

/* Rating stars */
.rating {
    margin: 15px 0;
    color: #ffc107;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonial {
        padding: 30px 25px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial:before {
        font-size: 60px;
        top: 15px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .client-name {
        font-size: 1.1rem;
    }
    
    .client-image {
        width: 70px;
        height: 70px;
    }
}

/* Animation for sliding */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-right {
    animation: slideInRight 0.8s ease forwards;
}

/* ============================================================= Faqs ============================================================= */
.faq-section {
    background-color: white;
    padding: 50px 0;
}

.faq-container {
    max-width: 95%;
    margin: 20px auto;
}

.faq-item {
    border: 1px solid #cecbcb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: .5s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: .5s ease;
}

.faq-question:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral);
    transition: .5s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--color-neutral);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-main);
    margin-bottom: 0;
    line-height: 1.7;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.faq-answer li {
    margin-bottom: 8px;
    color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 18px 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 15px 15px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ========================================================= Join ================================================================= */
.join-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    top: -150px;
    right: -150px;
    z-index: 1;
}

.join-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(69, 123, 157, 0.1);
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.join-content {
    position: relative;
    z-index: 2;
}

.join-text {
    padding-right: 30px;
}

.join-title {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 25px;
    font-size: 2.5rem;
    line-height: 1.2;
    position: relative;
}

.join-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: var(--color-primary);
    bottom: -15px;
    left: 0;
    border-radius: 5px;
}

.join-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.join-btn:hover {
    background: var(--color-dark);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(154, 34, 38, 0.4);
}

.join-btn:active {
    transform: translateY(-2px);
}

.join-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.join-btn:hover i {
    transform: translateX(5px);
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.join-btn:hover::before {
    left: 100%;
}

.join-image {
    position: relative;
    text-align: center;
}

.join-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.join-image:hover img {
    transform: translateY(-10px);
}

.floating-shape-2 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    bottom: 40px;
    left: 20px;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite 1s;
    z-index: 1;
}

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

/* Animations */
.fade-in-left {
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .join-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .join-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .join-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .join-section {
        padding: 70px 0;
    }
    
    .join-title {
        font-size: 1.9rem;
    }
    
    .join-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .join-title {
        font-size: 1.7rem;
    }
    
    .join-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .floating-shape, .floating-shape-2 {
        display: none;
    }
}

/* ============================================================== Hero section ==================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

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

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 123, 157, 0.85) 0%, rgba(154, 34, 38, 0.7) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.key-points {
    margin-bottom: 35px;
}

.key-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.key-point i {
    color: var(--color-light);
    margin-right: 12px;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.key-point span {
    font-size: 1rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    border: none;
}

.cta-button:hover {
    background: var(--color-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(154, 34, 38, 0.5);
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.center-image {
    text-align: center;
    position: relative;
}

.center-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.center-image:hover img {
    transform: translateY(-5px);
}

.image-caption {
    margin-top: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 1s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 1s ease forwards;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .center-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .key-point span {
        font-size: 0.95rem;
    }
    
    .image-caption {
        font-size: 0.85rem;
    }
}

/* ================================================================ Footer ======================================================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-neutral);
    padding: 60px 0 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--color-neutral);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
    opacity: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--color-primary);
    margin-right: 12px;
    margin-top: 3px;
    width: 16px;
}

.contact-info span {
    line-height: 1.5;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-neutral);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* ==================================================================== Team ======================================================= */
.team-section {
    padding: 50px 0;
    background-color: white;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.member-position {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.member-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-link.facebook:hover {
    background-color: #3b5998;
}

.social-link.linkedin:hover {
    background-color: #0077b5;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .member-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
}

/* ================================================================ Values & missions ============================================ */
.values-section {
    padding: 40px 0;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 127, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--color-primary);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    color: white;
}

.value-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.value-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .values-container {
        gap: 20px;
    }
    
    .value-card {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .mission-card {
        padding: 25px;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .value-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .mission-icon {
        font-size: 2rem;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon i {
        font-size: 1.7rem;
    }
}

/* ============================================================ Courses Hero ==================================================== */
.hero-courses {
    position: relative;
    padding: 30px 0;
    background-image: url(../imgs/7.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-courses::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-courses-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-courses-text h2 {
    font-family: var(--font-poppins);
    font-weight: 800;
}

.hero-courses-text p {
    font-family: var(--font-open-sans);
    opacity: .8;
}

@media (max-width: 768px) {
    .hero-courses {
        height: auto;
        padding: 80px 20px;
    }

    .hero-courses-text h2 {
        font-size: 1.8rem;
    }

    .hero-courses-text p {
        font-size: 1rem;
    }
}

/* ============================================================ Courses ========================================================== */
.courses-section {
    padding: 40px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 30px;
    border: none;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.course-content {
    padding: 25px;
}

.course-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.course-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
}

.course-btn:hover {
    background: var(--color-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(216, 27, 52, 0.404);
}

.course-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.course-btn:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .course-card {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .course-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .course-title {
        font-size: 1.2rem;
    }
}

/* ============================================================== Contact Page ==================================================== */
.contact-page {
    padding: 50px 0;
    background-color: white;
}

.contact-page-text .main {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.links .link {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.links .link:hover {
    transform: translateX(5px);
}

.links .link .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 127, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.links .link:hover .icon {
    background: var(--color-primary);
}

.links .link .icon i {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.links .link:hover .icon i {
    color: white;
}

.links .link p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

hr {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    margin: 30px 0;
    opacity: 1;
}

.follow h3 {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons .icon:hover {
    background: var(--color-dark);
    transform: translateY(-5px);
}

.social-icons .icon a {
    color: white;
    font-size: 1.1rem;
}

/* Formulaire */
.form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-primary);
}

.form h3 {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 127, 80, 0.25);
}

.main-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3);
}

.main-btn:hover {
    background: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Carte */
.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-page {
        padding: 60px 0;
    }
    
    .main-title h2 {
        font-size: 2rem;
    }
    
    .form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-page-text {
        margin-bottom: 40px;
    }
    
    .links .link {
        justify-content: start;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .main-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 40px 0;
    }
    
    .form {
        padding: 25px;
    }
    
    .main-title h2 {
        font-size: 1.6rem;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}