/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #fff;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1% 5%; /* Adjust padding as needed */
    padding-bottom: 0%;
    background: linear-gradient(to right, #22a4fa, #0d84d0);
    color: #fff;
    text-align: left;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: left; /* Center-align text horizontally */
    justify-content: left; /* Center-align text vertically */
}

.header-content h1 {
    font-size: 2.5vw;
    margin: 0; /* Remove any default margin */
    line-height: 1.2; /* Adjust line height to control spacing */
}



.logo {
    width: 15%; /* Responsive logo size */
    max-width: 90px; /* Optional max size */
    height: auto;
    margin-right: 4%;
    margin-left: 5%;
    margin-bottom: 2%;
}

.header-content {
    flex: 1;
}

.header-content h1 {
    font-size: 2.5vw;
    margin-bottom: 0.5%;
}

.header-content p {
    font-size: 1.2vw;
    margin: 2%;
}

/* Categories Section */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
    padding: 0% 5%;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 45%;
    max-width: 300px;
    padding: 2%;
    text-align: center;
    transition: transform 0.2s;
    margin-bottom: 2%;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.category-card h2 {
    font-size: 1.8vw;
    margin: 1.2% 0;
}

.category-card p {
    font-size: 1vw;
    color: #fff;
    margin-bottom: 1.5%;
    text-align: left;
    margin-left: 10%;
}



.category-card button:hover {
    background-color: #0056b3;
}

/* Different background colors for each category */
.synthetic {
    background-color: #00AFEF; /* Green for lubricating oil */
}

.grease {
    background-color: #1F78C2; /* Amber for grease */
}

.other-oils {
    background-color: #3E4095; /* Orange for other oils and fluids */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .categories {
        flex-direction: column;
        align-items: center;
    }

    .category-card {
        width: 90%;
    }

    .category-card h2, .category-card p, .category-card button {
        font-size: 3.5vw;
    }
}

.sample-image-container {
    display: flex;
    justify-content: center;
    padding: 0 5%; /* Adds white space on the left and right */
    margin: 0 auto;
    height: 80vh; /* Adjust as needed */
    max-width: 90%; /* Limit the width to create white space on the sides */
    background-image: url('homecover.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 20px; /* Rounded corners */
    overflow: hidden; /* Ensures the image respects the rounded corners */
    margin-top: 2%;
}


.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3% auto;
    width: 91%; /* Adjust width as needed */
  
}

.section-divider .line {
    flex: 1;
    height: 12px; /* Line thickness */
    background-color: #00AFEF; /* Color of the lines */
    margin: 0 10px; /* Space between line and text */
}

.section-divider span {
    color: #084c83; /* Text color */
    font-size: 3vw;
    font-weight: bold;
    letter-spacing: 2px;
}
.text-box {
    max-width: 100%; /* Set maximum width */
   /* margin: 2% auto; /* Center the box and add spacing */
    padding: 2%; /* Add inner padding for spacing */
    background-color: #084c83; /* Light background color */
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: #ffff; /* Text color */
    font-size: 1.1vw; /* Adjust font size */
    text-align: left; /* Center-align text */
    margin-left: 0%;
    margin-right: 0%;
}

.social-media {
    display: flex;
    align-items: center; /* Align text and icons horizontally */
    gap: 15px; /* Space between icons and "Follow Us" */
}

.social-media a {
    display: inline-block;
    margin: x;
}

.social-media p {
    font-size: 1vw;
    color: #fff;
    margin: 0;
    font-weight: bold;

}

.social-icon {
    width: 24px; /* Adjust icon size */
    height: 24px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}