﻿html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    scroll-behavior: smooth;
}

/* Background Image (unchanged, no overlay) */
.image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section content box */
.content-box {
    background: rgba(0,0,0,0.6); 
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

/* Section styling */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

    section h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }

    section h2 {
        margin-top: 2rem;
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        color: #005A9C;
    }

    section p {
        max-width: 800px;
        margin: 0 auto 1.5rem;
        line-height: 1.6;
    }

/* Services list grid */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }

/* Images */ #gearbox {
    padding: 60px 20px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.service-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: center;
}
/* Carousel image styling */

.gearbox-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
}

/*Arrows styling*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none; 
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 90, 156, 0.85); 
    display: flex;
    align-items: center;
    justify-content: center; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .carousel-control-prev-icon::after,
    .carousel-control-next-icon::after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        border: solid #ffffff; 
        border-width: 0 3px 3px 0;
        transform-origin: center;
    }

    .carousel-control-prev-icon::after {
        transform: rotate(135deg);
    }

    .carousel-control-next-icon::after {
        transform: rotate(-45deg);
    }

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #0078D7;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}
