/* =========================================
   VARIABLES
========================================= */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --text-dark: #333;
    --text-light: #555;
    --background: #f8fafc;
    --surface: #ffffff;

    --radius: 15px;
    --transition: 0.7s ease;
}

/* =========================================
   BASE
========================================= */
body {
    font-family: "Poppins", sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    margin: 0;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    background-color: var(--surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    transition: color var(--transition);
    border-bottom: 0px solid var(--primary);
}

.nav-link:hover {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary);
}

/* =========================================
   HERO
========================================= */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f1ff 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 20px 0 30px;
}

/* =========================================
   CAROUSEL
========================================= */
#mainCarousel {
    background: #333;
}

#mainCarousel h2 {
    color: #ff0;
}

.carousel-item {
    height: 400px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item div {
    position: absolute;
    width: 50%;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-item div p {
    color: #e8f1ff;
}

.carousel-item:first-of-type div p {
    color: #333;
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: background var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* =========================================
   BREADCRUMB
========================================= */
.breadCrumb {
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
}

.breadCrumb ol {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadCrumb ol li::after {
    content: ">";
    margin-left: 8px;
}

.breadCrumb ol li:last-child::after {
    content: "";
}

/* =========================================
   FORMATIONS
========================================= */
.formation-card {
    border: none;
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: var(--surface);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .carousel-item div {
        width: 70%;
        left: 15%;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 200px;
    }

    .carousel-item div {
        width: 80%;
        left: 10%;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
