body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.sub-product {
    background: url('https://aadarshtech.com/wp-content/uploads/2023/10/bg_13.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    position: relative;
}

/* Overlay style */
.subproduct-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Dark overlay */
    z-index: 1;
}

.product-page {
    text-align: justify;
    width: 80%;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    padding-top: 50px;
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
}

.product-page h2 {
    margin-top: 0%;
    background: linear-gradient(to right, #0073e6, #00b33c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.product-page h4{
    margin-top: 20px;
    background: linear-gradient(to right, #0073e6, #00b33c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;

}

button {
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    width: 150px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #005bb5;
}

.product-overview {
    margin-bottom: 30px;
    display: flex;
}

.product-overview img {
    width: auto;
    height: 280px;
    margin-right: 20px;
    margin-right: 40px;
}

.product-details {
    flex-grow: 1;
}

.feature-list {
    text-align: justify;
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 0;
}

.product-use, .product-supplier {
    margin-bottom: 30px;
}

/* Media Queries for Responsiveness */

/* For devices smaller than 1200px (Tablets and smaller screens) */
@media (max-width: 1200px) {
    .product-page {
        width: 90%;
        padding: 15px;
    }

    .product-overview {
        flex-direction: column;
        align-items: center;
    }

    .product-overview img {
        width: 80%;
        height: auto;
        margin-right: 0;
    }

    .product-details {
        padding: 10px;
    }

    h2 {
        font-size: 1.5em;
    }

    button {
        width: 100%;
        padding: 12px 0;
    }
}

/* For devices smaller than 768px (Mobile screens) */
@media (max-width: 768px) {
    .product-page {
        width: 95%;
        padding: 10px;
    }

    .product-overview img {
        width: 100%;
        height: auto;
    }

    h2 {
        font-size: 1.2em;
    }

    button {
        padding: 14px 0;
        width: 50%;
    }

    .feature-list {
        padding-left: 15px;
    }
}

/* For devices smaller than 480px (Extra small mobile screens) */
@media (max-width: 480px) {
    .product-page {
        padding: 5px;
    }

    h2 {
        font-size: 1em;
    }

    button {
        padding: 16px 0;
        width: 50%;
    }

    .product-overview {
        flex-direction: column;
        align-items: center;
    }

    .product-details {
        padding: 5px;
    }

    .feature-list {
        padding-left: 10px;
    }
}
.hero-banner {  
   background-size: cover;  
    background-position: center;  
    display: flex;    
    position: relative;
}  

.hero-content { 
    position: absolute;
    top: 40%; 
    color: white; /* Change text color */
    padding: 20px;  
}  

.hero-banner h1 {  
    font-size: 48px; /* Adjust font size */
    margin: 0;  
}  

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-banner {
        height: 250px; /* Adjust height for medium screens */
    }

    .hero-banner h1 {
        font-size: 40px; /* Slightly smaller text */
    }

    .hero-content {
        top: 30px; /* Adjust top position */
        padding: 15px; /* Adjust padding */
    }
}

@media (max-width: 992px) {
    .hero-banner {
        height: 200px; /* Reduce height on smaller screens */
    }

    .hero-banner h1 {
        font-size: 36px; /* Adjust font size for tablets */
    }

    .hero-content {
        top: 20px; /* Move text a bit higher */
        padding: 10px; /* Reduce padding */
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 180px; /* Further reduce height on mobile */
    }

    .hero-banner h1 {
        font-size: 28px; /* Smaller font size for mobile */
    }

    .hero-content {
        top: 15px; /* Adjust text position */
        padding: 8px; /* Reduce padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 150px; /* Smallest height for mobile screens */
    }

    .hero-banner h1 {
        font-size: 24px; /* Small font size for mobile */
    }

    .hero-content {
        top: 10px; /* Adjust top position for small screens */
        padding: 5px; /* Minimal padding */
    }
}


/* Include your new CSS for the form here */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*min-height: 70vh;*/
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.contact-container h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    animation: slideIn 0.5s ease-in-out;
}

.contact-form input, .contact-form textarea {
    width: 80%;
    margin : auto 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
#message{
    width: 90%;
}

.contact-form textarea {
    grid-column: span 2;
    resize: none;
    min-height: 100px;
}

.contact-form .captcha-submit {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-form .captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .captcha input {
    width: 80px;
}

.contact-form button {
    padding: 10px;
    font-size: 1rem;
    color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #0056b3;
    color: #fff;
}

/* Popup form styling */
.popup-form {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    animation: slideIn 0.5s ease-in-out;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3.5rem;
    color: #333;
    cursor: pointer;
}

/* Animation for popup and form */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Table Styling */
.order-table {
  /*  background: linear-gradient(to right, #0073e6, #00cc66); */
  background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.order-table th, .order-table td {
    border: 1px solid #fff;
    padding: 12px;
    text-align: center;
}

.order-table th {
    color: #333;
}
.order-table tr:hover{
    background: linear-gradient(to right, #0073e6, #00cc66);
}





/* Responsive Styling for smaller screens */
@media (max-width: 768px) {
    .order-table th, .order-table td {
        padding: 8px;
        font-size: 14px;
    }
}
