.slider-container {
    position: relative;
    max-width: 1300px;
    max-height: 700px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-track img {
    width: 100%;
    flex-shrink: 0;
    height: auto;
    object-fit: cover;
    border-radius: 0.75rem;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 9999px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-button.prev {
    left: 1rem;
}

.slider-button.next {
    right: 1rem;
}

.slider-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c9a33a;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 5;
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
}


body {
    font-family: 'Inter', sans-serif;
}

.services-section {
    background-image: url("assets/images/Slider3.jpeg");
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    margin: 20px 20px;
    color: white;
    position: relative;
    min-height: 100vh;
}

.overlay {
    max-width: 1000px;
    margin: auto;
    background: rgba(0, 0, 0, 0.55);
    padding: 40px;
    border-radius: 12px;
}

.services-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 600;
    border-left: 5px solid white;
    padding-left: 20px;
    margin-bottom: 10px;
}

.services-description {
    font-size: 16px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-box {
    background: #e5e5e5;
    color: #00233b;
    text-align: center;
    padding: 25px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.service-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: invert(20%) sepia(100%) saturate(300%) hue-rotate(340deg);
}

.service-box:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.button-container {
    text-align: center;
}

.view-button {
    background-color: #d0001c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.view-button:hover {
    background-color: #a00016;
}

.about-section {
    background-color: #8bb2a7;
    text-align: center;
    padding: 40px 20px;
    margin: 20px 20px;
    border-radius: 10px;
}

.about-section h2,
.about-section p {
    margin-bottom: 20px;
}

.button-container {
    margin-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-offerings-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.product-offerings-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    color: #333;
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

.product-offerings-header h1::before,
.product-offerings-header h1::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
}

.product-offerings-header h1::before {
    left: -50px;
}

.product-offerings-header h1::after {
    right: -50px;
}

.product-offerings-header p {
    color: #d9534f;
    font-size: 1.2em;
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-bottom: 40px;
}

.product-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f8f8f8;
}

.product-item .title {
    background-color: #34495e;
    color: #fff;
    padding: 15px 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1em;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-button-container {
    text-align: center;
    margin-bottom: 40px;
}

.contact-button {
    display: inline-block;
    background-color: #d9534f;
    /* Red color */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #c9302c;
}

@media (max-width: 768px) {
    .product-offerings-header h1 {
        font-size: 2.5em;
    }

    .product-offerings-header h1::before,
    .product-offerings-header h1::after {
        width: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .product-item img {
        height: 180px;
    }

    .product-item .title {
        font-size: 1em;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .product-offerings-header h1 {
        font-size: 2em;
    }

    .product-offerings-header h1::before,
    .product-offerings-header h1::after {
        width: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-item img {
        height: 150px;
    }

    .product-item .title {
        height: 40px;
    }

    .contact-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}

.contact-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-form {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #253043;
    margin-bottom: 30px;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 14px;
    font-style: italic;
    border: 1px solid #ccc;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 150px;
    align-self: center;
    background-color: #c4161c;
    color: white;
    border: none;
    padding: 12px;
    margin: 20px auto;
    font-size: 16px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

.success-msg {
    text-align: center;
    color: green;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .contact-form {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .contact-form {
        width: 80%;
    }

    .contact-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        width: 100%;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-form button {
        width: 100%;
    }
}

.contact-form button:hover {
    background-color: rgb(134, 4, 9);
}