/* ==============================
   SACHAMARTELEARNING
   STYLE INSTITUTIONNEL ELEGANT
   ============================== */

/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');*/

:root {
    --primary: #0d3b66;
    --secondary: #145da0;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #1d3557;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

/* ================= HEADER ================= */

header {
    background: white;
    padding: 20px 60px;
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: var(--secondary);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ================= HERO ================= */

.hero {
    background: var(--primary);
    color: white;
    padding: 100px 40px;
    text-align: center;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    background: var(--accent);
    color: white;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background: #e76f51;
}

/* ================= MODULES ================= */

.modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 80px 60px;
}

.card {
    background: white;
    padding: 35px;
    border-left: 5px solid var(--secondary);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.card p {
    color: #555;
}

/* ================= FORM ================= */

form {
    background: white;
    padding: 50px;
    max-width: 600px;
    margin: 60px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

form input,
form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 15px;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: var(--secondary);
}

form button {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: var(--secondary);
}

/* ================= FOOTER ================= */

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 80px;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .modules {
        padding: 40px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }
}



