/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ffffff;
    background: url('fond.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* HEADER */
header {
    background: rgba(6, 27, 58, 0.95);
    color: white;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: #f5a400;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(6,27,58,.85), rgba(6,27,58,.85));
    padding: 100px 8%;
    text-align: left;
}

.hero h1 {
    font-size: 40px;
    max-width: 600px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
}

/* BUTTON */
.btn {
    background: #f5a400;
    color: #061b3a;
    padding: 14px 25px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

/* SECTION */
.section {
    padding: 60px 8%;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.25);
    color: #000;
}

/* TRACKING BOX */
.tracking-box {
    background: rgba(6, 27, 58, 0.78);
    padding: 40px;
    max-width: 600px;
    margin: 120px auto;
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(0,0,0,.45);
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
}

/* TEXTES DANS TRACKING */
.tracking-box h2,
.tracking-box p {
    color: #ffffff;
}

/* INPUT */
.tracking-box input {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,.95);
    color: #000;
}

.tracking-box input::placeholder {
    color: #777;
}

/* BUTTON TRACKING */
.tracking-box button {
    background: #f5a400;
    color: #061b3a;
    border: none;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* RESULT */
.result {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    margin-top: 20px;
    border-left: 5px solid #f5a400;
    color: #000;
}
.loader-box {
    margin-top: 25px;
    text-align: center;
    color: white;
}

.loader {
    width: 45px;
    height: 45px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid #f5a400;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FOOTER */
footer {
    background: rgba(6, 27, 58, 0.95);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.result {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    margin-top: 25px;
    border-left: 5px solid #f5a400;
    border-radius: 8px;
    color: #000000;
    text-align: left;
}

.result h3,
.result p,
.result strong {
    color: #000000;
}
/* RESULTATS PLUS VISIBLES */
.result {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    margin-top: 20px;
    border-left: 6px solid #f5a400;
    border-radius: 10px;
    color: #000;
    font-weight: 500;
    animation: fadeInUp 0.6s ease;
}

/* TEXTE PLUS GRAS */
.result p {
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0;
}

/* TITRE */
.result strong {
    color: #061b3a;
}

/* ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* DASHBOARD ADMIN PRO */
.admin-dashboard {
    max-width: 950px;
    margin: 80px auto;
    padding: 20px;
}

.admin-title {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.admin-card {
    background: rgba(255,255,255,0.96);
    color: #061b3a;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: 0.3s;
    font-weight: bold;
}

.admin-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.admin-card span {
    display: block;
    font-size: 38px;
    margin-bottom: 12px;
}

.admin-card small {
    display: block;
    margin-top: 8px;
    color: #555;
    font-weight: 500;
}
/* ===== GESTION DES AGENTS ===== */

.tracking-box {
    max-width: 850px;
    margin: 70px auto;
    padding: 30px;
    background: rgba(3, 18, 38, 0.92);
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    color: #fff;
    backdrop-filter: blur(8px);
}

.tracking-box h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff;
}

.result {
    background: #ffffff;
    color: #1f2937;
    padding: 22px;
    border-radius: 16px;
    margin-bottom: 18px;
    border-left: 6px solid #ff9800;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.result p {
    margin: 8px 0;
    font-size: 15px;
}

.result strong {
    color: #0b2545;
}

.result a {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    background: #dc2626;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.result a:hover {
    background: #991b1b;
}
.admin-card span {
    font-size: 18px;
    letter-spacing: 1px;
    background: #061b3a;
    color: #f5a400;
    padding: 8px 12px;
    border-radius: 20px;
}
/* PAGE SERVICES PREMIUM */
.services-hero {
    min-height: 300px;
    padding: 110px 8% 70px;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(6,27,58,0.82), rgba(6,27,58,0.65));
    backdrop-filter: blur(4px);
    animation: fadeIn 1s ease;
}

.services-hero h1 {
    font-size: 52px;
    margin-bottom: 18px;
    font-weight: 800;
}

.services-hero p {
    font-size: 20px;
    max-width: 760px;
    margin: auto;
    line-height: 1.7;
}

.services-pro {
    max-width: 1150px;
    margin: -35px auto 70px;
    padding: 0 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.service-box {
    position: relative;
    background: rgba(255,255,255,0.97);
    color: #061b3a;
    padding: 35px 28px;
    border-radius: 22px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(245,164,0,0.25);
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    transition: all 0.35s ease;
    animation: fadeUp 0.8s ease;
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: #f5a400;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.42);
}

.service-box span {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #061b3a;
    color: #f5a400;
    border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 10px 25px rgba(6,27,58,0.35);
    animation: floatIcon 1.8s infinite alternate;
}

.service-box h3 {
    font-size: 23px;
    margin-bottom: 14px;
    color: #061b3a;
}

.service-box p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

footer {
    background: rgba(6,27,58,0.95);
    color: #fff;
    text-align: center;
    padding: 22px;
}

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

@keyframes floatIcon {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mail-box{
    background: rgba(255,255,255,0.96);
    padding:25px;
    border-radius:18px;
    margin-top:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
    animation:fadeUp 0.6s ease;
}

.mail-box h3{
    color:#061b3a;
    margin-bottom:18px;
}

.mail-input,
.mail-textarea{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#f4f7fb;
    margin-bottom:15px;
    font-size:15px;
}

.mail-textarea{
    height:140px;
    resize:none;
}

.mail-btn{
    background:#f5a400;
    color:#061b3a;
    border:none;
    padding:14px 22px;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.mail-btn:hover{
    transform:translateY(-3px);
    background:#ffbc1f;
}
.moving-truck {
  font-size: 46px;
  animation: truckMove 0.8s infinite alternate ease-in-out;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.35));
}

@keyframes truckMove {
  from { transform: translateX(-5px) translateY(0); }
  to { transform: translateX(8px) translateY(-3px); }
}
