/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.ferrari-hero-section {
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/* .hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
} */

/* .hero-section p {
    font-size: 1.3rem;
    margin: 20px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
} */

/* .hero-section .cta-btn {
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: white;
    color: #007bff;
    border-radius: 5px;
    transition: all 0.3s;
} */

/* .hero-section .cta-btn:hover {
    background-color: #007bff;
    color: white;
} */

/* Services Section */
/* .services-section {
    padding: 100px 0;
    background-color: #f8f9fa;
} */

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    height: 250px;
}

.service-card-body {
    padding: 30px;
}

.service-card-body h5 {
    font-size: 1.6rem;
    font-weight: 600;
}

.service-card-body p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 15px;
}

.service-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: #82A320;
}

/* Stats Section */
/* .stats-section {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
} */

.stats-item {
    padding: 20px;
}

/* .stats-item h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
} */

/* .stats-item p {
    font-size: 1.2rem;
    color: #6c757d;
} */

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* .portfolio-overlay h5 {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
} */

/* Testimonials Section */
/* .testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
} */

.testimonial-card {
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Clients Section */
/* .clients-section {
    padding: 80px 0;
    background-color: #fff;
} */

.client-logo {
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-logo:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 60px 0;
}

footer h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

footer p,
footer a {
    font-size: 0.9rem;
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: #52b3e6;
}