body {
    font-family: 'Cairo', sans-serif;
    background-color: #fdfbf7;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1553A3;
    border-radius: 4px;
}

/* Loader Styles */
#loader {
    position: fixed;
    inset: 0;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader-svg {
    width: 150px;
    height: auto;
    overflow: visible;
}

.car-path {
    fill: none;
    stroke: #1553A3;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-car 2s ease-in-out forwards, fill-car 0.5s ease-in-out 2s forwards;
}

.wheel {
    fill: none;
    stroke: #1553A3;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    opacity: 0;
    animation: fade-in-wheel 0.5s ease-in-out 1s forwards, spin-wheel 1s linear infinite 1.5s;
}

@keyframes draw-car {
    0% {
        stroke-dashoffset: 400;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fade-in-wheel {
    to {
        opacity: 1;
    }
}



@keyframes fill-car {
    to {
        fill: rgba(255, 126, 95, 0.1);
    }
}

.loading-text {
    margin-top: 20px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: #1553A3;
    letter-spacing: 2px;
    opacity: 0;
    animation: fade-text 1s ease-in-out 0.5s forwards;
}

@keyframes fade-text {
    to {
        opacity: 1;
    }
}

/* Hero Image - New Creative Background */
.hero-bg {
    background-image: linear-gradient(rgba(5, 5, 4, 0.75), rgba(15, 13, 10, 0.6)), url('assets/heroBackground.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* The Curved Bottom Effect */
.curved-bottom {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

@media (min-width: 768px) {
    .curved-bottom {
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }
}

/* Smooth Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Card Hover Effect */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #1553A3;
}

/* Diagonal Section Divider */
.diagonal-top {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
}

/* Mosaic Grid Hover */
.mosaic-item:hover img {
    transform: scale(1.1);
}