/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    text-align: center;
}

/* Header */
header {
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    color: black;
    text-align: center;
    padding: 30px 20px;
    border-bottom: #ddd;
}

header h1 {
    margin-left: 10px;
    vertical-align: middle;
    font-size: 2rem;
}

.office-logo {
    height: 60px;
    display: inline-block;
    vertical-align: middle;
}

.office-logo-icon{
    display: none;
}

.tagline, .subheading {
    font-size: 1.2em;
    font-weight: 300;
}

/* Section Styling */
section {
    padding: 50px 20px;
    background-color: white;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.machine-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Hero Section */
#hero {
    position: relative;
    text-align: center;
    padding: 50px 20px;
}

#hero * {
    position: relative;
    z-index: 2; /* Ensure all child elements (text, buttons) are above overlay */
}

#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    mix-blend-mode: multiply;
}

#hero h2 {
    font-size: 2.5em;
    font-weight: bold;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-image {
    max-width: 1600px;
    max-height: 600px;
    display: block;
    margin: 0 auto 20px;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.logo-grid img {
    height: 60px;
    margin: 20px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Section */
#about {
    text-align: center;
    background-color: #fff4ed;
    color: black;
}

#categories {
    background-color: #f4f4f4;
    color: #1e1e1e;
}

/* Featured Products Section */

.products {
    background-color: #ffffff;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    display: flex;
}

.quote-button{
    background-color: #ff4201;
    display: inline-block;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    color: white;
}

.quote-button:hover{
    background-color: white;
    color: #ff4201;
    border: 2px solid #ff4201;
}

.products-section{
    background-color: #f4f4f4;
}

/* Why Choose Us */
#why-us {
    background: #ff9102;
    color: white;
    padding: 40px 20px;
}

#why-us ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#why-us ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Contact CTA */
#contact-cta {
    background: #ff4201;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

#contact-cta p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#contact-cta .btn, #contact-cta .quote-btn {
    margin: 10px;
}

#contact-cta h3 {
    font-size: 1.3em;
    margin-top: 15px;
    color: white; /* Matches button color */
}

/* Buttons */
.btn, .specs-btn, .quote-btn, .social-btn {
    display: inline-block;
    background-color: white;
    color: #ff4201;
    padding: 12px 20px;
    border: 2px solid #ff4201;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:focus, .quote-btn:focus {
    outline: 2px solid #ff4201;
    outline-offset: 2px;
}

.btn:hover, .quote-btn:hover, .social-btn:hover {
    background-color: #ff4201;
    color: white;
    border: 2px solid white;
}

.cta-button {
    background: white; 
    color: #ff4201;
    display: inline-block;
    margin: 10px 15px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid #ff4201;
}
.cta-button:hover {
    background: #ff4201;
    color: white;
    border: 2px solid white;
}


/* Product Buttons */
.specs-btn {
    background: #ff4201;
    color: white;
}

.specs-btn:hover, .quote-btn:hover {
    opacity: 0.9;
}

/* Product Grid Layout */
.product-grid {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center; /* Centers items in the row */
    gap: 20px; /* Space between cards */
    padding: 20px;
}

/* Individual Product Cards */
.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px #e0e0e0;
    width: 280px; /* Adjust width as needed */
    text-align: center;
    transition: transform 0.3s ease-in-out;
    border-color: #e0e0e0;
}

/* Add hover effect for better UI */
.product-card:hover {
    transform: translateY(-5px); /* Slight lift effect */
}

/* Ensure images inside product cards look good */
.product-card img {
    width: 100%; /* Makes image responsive within its container */
    height: 200px; /* Ensures all images have the same height */
    object-fit: contain; /* Keeps full image visible without cropping */
    border-radius: 8px;
}

.product {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 280px;
    text-align: center;
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    object-fit: contain; 
}

.product-title {
    font-size: 22px;
    margin: 10px 0;
    color: #222;
}

.product-description {
    font-size: 16px;
    color: #555;
}

.product-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 10px 0;
}

.product-features li {
    font-size: 14px;
    margin-bottom: 5px;
}

/* Product Specs */
.product-specs {
    display: none;
    background: #fff;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 5px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

/* Product Categories Grid */
.category-grid {
    display: flex;  /* Enables a row layout */
    flex-wrap: wrap;  /* Allows wrapping on smaller screens */
    justify-content: center; /* Centers items */
    gap: 20px; /* Adds space between items */
    padding: 20px;
}

/* Individual Category Box */
.category {
    width: 220px;  /* Adjust based on your layout */
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.category img {
    width: 100%;
    height: 150px;
    object-fit: contain; /* Ensures full image is shown */
    border-radius: 8px;
}

/* Hover Effect for Interaction */
.category:hover {
    transform: translateY(-5px);
    color: #ff4201;
}

/* 🔹 Contact Section */
#contact {
    background-color: #ff4201;
    color: ffffff;
    padding: 60px 20px;
    text-align: center;
}

#contact-contact{
    padding: 30px 20px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: #222222;
}

/* 🔹 Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    font-weight: bold;
    font-size: 1em;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border 0.3s ease-in-out;
    background-color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #ff4201;
    outline: none;
}

.submit-button{
    background-color: #ff4201;
    color: #ffffff;
    display: inline-block;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.submit-button:hover{
    background-color: white;
    color: #ff4201;
    border: 2px solid #ff4201;
}

/* Contact Info */
#contact-info {
    background: #f5f5f5;
    padding: 40px 20px;
    color: #333333;
}

#contact-info h2{
    font-size: 24px;
    text-align: center;
    color: #ff7702;
    margin-bottom: 20px;
}

.contact-details {
    background: #ffffff;
    color: #333333;
    padding: 20px;
    margin-bottom: 20px; /* Spacing between branches */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    font-size: 20px;
    color: #ff7702;
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 16px;
    margin: 10px 0;
    color: #333333;
}

.contact-details a {
    color: #ff7702;
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

footer a {
    color: #ffffff; /* White or any light color for better contrast */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Makes it stand out */
}

footer a:hover {
    color: #ff7702; /* A bright accent color for hover effect */
    text-decoration: underline; /* Adds underline on hover for visibility */
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-logo {
    width: 100px;
    height: auto;
    object-fit: contain; 
}

/* Social Media */
#social {
    background: #fafafa;
    padding: 40px 20px;
    color: #333;
}

.social-links {
    color: #333;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.social-office {
    text-align: center;
    margin-bottom: 20px; /* Adds spacing between the two offices */
}

.social-office h3 {
    margin-bottom: 10px;
    font-size: 18px; /* Adjust size if too big */
}

/* Map Section */
#map {
    background: #ffffff;
    padding: 40px 20px;
}

.map-container {
    text-align: center;
    margin-top: 20px;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

/* about us two column layout */

.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.content .image {
    flex: 1;
    text-align: center;
    width: 48%;
    box-sizing: border-box;
    margin-left: 20px;
}

.content .text {
    box-sizing: border-box;
    width: 48%;
    margin-right: 20px;
}

.content .image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#intro{
    background-color: #ffffff;
    color: 333333;
}

/* Values Section */
.values {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #ffffff;
    color: #555555;
}

.values h2 {
    color: #333333;
}

.values h3 {
    color: #ff4201;
}

.value {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #f4f4f4;
}

#mission-vision{
    background-color: #f5f5f5;
    color: #555555;
    border: 2px solid #ff7702;
}

#mission-vision h2 {
    color: #333333;
}

/* Team Section */

#team{
    background-color: #f4f4f4;
}

.team-photos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.team-photos img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.team-photos img:hover {
    transform: scale(1.1);
}
.team-member {
    text-align: center;
    max-width: 180px;
  }
  
  .team-member h4 {
    margin: 10px 0 5px;
    font-size: 1.1em;
    color: #333;
  }
  
  .team-member .designation {
    margin: 0;
    font-size: 0.9em;
    color: #777;
  }

/* Responsive Design */
@media (max-width: 768px) {

    header {
        text-align: center;
    }

    .content, .values, .team-photos, .product-grid, .social-links {
        flex-direction: column;
        align-items: center;
    }

    .product-grid {
        display: grid;
        flex-direction: column;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        align-items: center;
    }

    .product-card {
        width: 90%; /* Take full width on smaller screens */
    }

    .category-grid {
        flex-direction: column;
        align-items: center;
    }

    .category {
        width: 90%; /* Full width on mobile */
    }

    .contact-container {
        width: 90%;
    }
    .text, .image, .value {
        width: 90%;
        text-align: center;
    }

    .team-member {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .team-photos img {
        width: 100px;
        height: 100px;
    }

    .team-member h4 {
        font-size: 1em;
    }
    
    .team-member .designation {
        font-size: 0.85em;
    }

    .btn {
        width: 80%;
    }

    .values {
        flex-direction: column;
        align-items: center;
    }

    .value {
        width: 90%;
    }

    .office-logo-icon {
        height: 40px;
        padding: 8px;
    }

    .office-logo{
        display: none;
    }

    .machine-logo {
        height: 40px;
        padding: 8px;
      }

}
