/* ===== GLOBAL STYLES ===== */
body {
    background-color: #fff;
    color: #1F3044;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.4s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes zoomIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeGlow {
    from {
        box-shadow: 0 0 15px rgba(132, 12, 56, 0.2);
    }
    to {
        box-shadow: 0 0 25px rgba(249, 94, 115, 0.5);
    }
}


/* ===== NAVBAR ===== */
.navbar {
    background-color: #1F3044 !important;
    font-size: 20px;
    animation: slideDown 0.8s ease;
}

.navbar-brand {
    color: #fff;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.navbar-nav .nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    font-weight: bold;
    color: #FF2742 !important;
}

/* ===== HERO SECTION ===== */
.background-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 400px;
    height: 300px;
    background: linear-gradient(to right, #FF2742, #0c1c2c);
    z-index: 1;
    border-radius: 20px;
    animation: fadeGlow 2s infinite alternate;
}
.lead {
    font-size: 20px;
    color: #2d4d6c;
    font-weight: bold;
    margin-top: 20px;
}
.car-image {
    position: relative;
    z-index: 2;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    animation: zoomIn 1s ease-out;
}

/* ===== BUTTONS ===== */
.btn-warning {
    background-color: #FF2742;
    border-color: #FF2742;
    color: #fff;
    font-weight: bold;
}
.btn-warning:hover {
    background-color: #1F3044;
    border-color: #1F3044;
    color: #fff;
    transform: scale(1.05);
}
.btn-outline-dark {
    border-color: #1F3044;
    color: #1F3044;
}
.btn-outline-dark:hover {
    background-color: #1F3044;
    color: #fff;
}
.btn-primary {
    background-color: #1F3044;
    border-color: #1F3044;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
    background-color: #FF2742;
    border-color: #FF2742;
    transform: scale(1.05);
}

/* ===== CARDS ===== */
.card-title {
    color: #1F3044;
}
.offers .card,
.why-choose-us .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offers .card:hover,
.why-choose-us .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.why-choose-us .card {
    border-radius: 30px;
    background-color: #fff;
    padding: 20px;
    border: #2d4d6c solid 2px;
    box-shadow: 5px 5px 10px #FF2742;
}
.why-choose-us .card h5 {
    font-size: 20px;
    font-weight: bolder;
    margin-top: 10px;
}
.why-choose-us .card p {
    font-size: 15px;
    color: #1F3044;
    font-weight: bolder;
    margin-top: 10px;
}

/* ===== IMAGE STYLING ===== */
.image {
    border-radius: 100%;
    box-shadow: 5px 5px 10px #FF2742;
    height: 450px;
}
.brands img,
.brand-section img {
    max-height: 80px;
    object-fit: contain;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
    background: linear-gradient(135deg, #FF2742, #0c1c2c);
    padding: 60px 0;
    overflow: hidden;
}
.offers-section h2,
.offers-section h3 {
    color: #fff5ec;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.offers-section h3 {
    font-size: 40px;
}
.offers-section h2 {
    font-size: 25px;
}
.offer-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    font-size: 20px;
    color: #1F3044;
    font-weight: bolder;
}
.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.offer-img {
    overflow: hidden;
    border-radius: 15px;
}
.offer-img img {
    transition: transform 0.4s ease;
}
.offer-card:hover .offer-img img {
    transform: scale(1.1);
}
.offer-body h5 {
    color: #a31d2d;
}

/* ===== CAROUSEL ===== */
.caro {
    background: linear-gradient(135deg, #0c1c2c, #2d4d6c, #0c1c2c);
    border-radius: 20px;
    overflow: hidden;
}
.carousel-inner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 0 auto;
}
.carousel .btn-primary {
    background-color: #FF2742;
    border-color: #1F3044;
    color: #fff;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 10px;
}
.carousel .btn-primary:hover {
    background-color: #FF2742;
    border-color: #FF2742;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1F3044;
    color: #fff;
    padding: 40px 0;
}
footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
   font-weight: bold;
    color: #FF2742;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(90deg, #FF6B35, #FF2742, #1F3044);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== RESPONSIVE / MEDIA QUERIES ===== */
.mainn {
    background: linear-gradient(-30deg, #e0adb3, #fff, #b6c6da);
}
@media (max-width: 576px) {
    .car-image.image {
        max-height: 250px;
        object-fit: contain;
    }
}
