body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #0073e6;
}

.wrapper {
    overflow: hidden;
    position: relative;
}


/* General link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

.contact-info-f {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-item {
    flex: 1;
    margin: 0 10px;
    padding: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .contact-info-f {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-item {
        margin: 10px 0;
    }
}

/* Navbar */
/* General Navbar Styles */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 20px;
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    margin-left: 40px;
}

.company-title {
    margin-left: 5px;
    font-size: 24px;
    color: #000;
}

.navbar {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    list-style-type: none;
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    display: block;
}

.navbar a:hover {
    background-color: #0056b3;
    color: white;
}

/* Dropdown Menu Styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
    max-height: 500px; /* Arbitrary large value to allow the dropdown to fully expand */
}

.dropdown.active .dropdown-content {
    max-height: 500px; /* Same as above to animate the dropdown when active */
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #0056b3;
    margin: 4px 0;
    transition: 0.4s ease;
}

.hamburger.active .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    transition: transform 0.3s ease;
}

.hamburger.active .bar2 {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger.active .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
    transition: transform 0.3s ease;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;
        left: 0;
    }

    .navbar.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        max-height: 0;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px; /* Arbitrary large value */
    }

    .dropdown-content a {
        padding-left: 30px;
    }

    .hamburger {
        display: flex;
    }

    .navbar.active li {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: white;
    background-color: #000; /* Fallback color */
}

.swiper-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align to the left */
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: absolute;
    z-index: 1;
    left: 50px; /* Offset from the left */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    text-align: left;
    color: white;
    margin-left: 20px;
}

.hero-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text h4 {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin: 10px;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #042a53;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Gradient overlay */
    z-index: 0;
}

/* Responsive Design hero */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text h4 {
        font-size: 1.2em;
    }

    .hero-button {
        padding: 8px 16px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2em;
    }

    .hero-text h4 {
        font-size: 1em;
    }

    .hero-button {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}

/* Experience Container */
.container {
    text-align: center;
    padding: 20px;
    max-width: 1200px; /* Limit container width for large screens */
    margin: 0 auto; /* Center the container */
}

.intro {
    margin-bottom: 30px;
}

.intro h2 {
    font-size: 24px;
    color: #333;
}

.intro p {
    font-size: 16px;
    color: #666;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Adjust gap for smaller screens */
    margin-bottom: 30px;
}

.stat-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px; /* Default width */
    text-align: center;
    margin-bottom: 20px; /* Add margin-bottom for spacing on wrap */
    flex: 1 1 calc(33.333% - 20px); /* Responsive width */
    max-width: 200px; /* Prevent items from growing too large */
}

.stat-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 32px;
    color: #003366;
}

.stat-item p {
    font-size: 14px;
    color: #666;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align the items */
    }

    .stat-item {
        width: 80%; /* Expand to 80% of the container width */
        max-width: 100%; /* Ensure it doesn't exceed container */
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .intro h2 {
        font-size: 20px; /* Smaller heading for tiny screens */
    }

    .intro p {
        font-size: 14px; /* Smaller paragraph text */
    }

    .stat-item {
        width: 90%; /* Expand to 90% of container width */
    }
}



/* Styles for Industries We Serve Section */
section.industries {
    padding: 20px;
    background-color: #f9f9f9; /* Light background color for contrast */
}

section.industries h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3; /* Matches the color scheme of the rest of the site */
    font-size: 2rem; /* Ensure the heading stands out */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item {
    background-color: #fff; /* White background for each grid item */
    padding: 10px;
    border: 1px solid #ddd; /* Light border for separation */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    overflow: hidden;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    text-align: center; /* Center align the text */
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Matches the grid item corners */
    transition: transform 0.3s ease; /* Smooth zoom effect on hover */
}

.grid-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.grid-item:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.industry-name {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}
 /* footer style */
 footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Spread out the items evenly */
    text-align: left; /* Left-align text for better readability */
}

.footer-content div {
    flex: 1 1 200px;
    margin: 10px;
    min-width: 250px; /* Ensure minimum width for readability */
}

.footer-content h3 {
    color: #0073e6;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-content ul li a:hover {
    text-decoration: underline; /* Provide visual feedback on hover */
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer-content {
        text-align: center; /* Center text for smaller screens */
    }

    .footer-content div {
        margin: 20px 0;
    }

    .footer-content h3 {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center all items on very small screens */
    }

    .footer-content div {
        margin: 20px 0;
        min-width: unset; /* Remove the minimum width constraint */
    }

    .footer-content ul {
        padding-left: 0;
    }
}


/* Main Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.text-center {
    text-align: center;
}

.my-8 {
    margin: 2rem 0;
}

h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

.flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-container.reverse {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .flex-container {
        flex-direction: row;
    }
    .flex-container.reverse {
        flex-direction: row-reverse;
    }
}

.image-wrapper, .text-wrapper {
    flex: 1;
    padding: 10px;
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fadeIn {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page */
.why-us-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.why-us-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: slideInFromLeft 1s ease-in-out;
}

.why-us-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.why-us-item {
    margin: 20px;
    max-width: 300px;
    text-align: center;
    animation: bounceIn 1.5s ease-in-out;
}

.why-us-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    animation: rotateIn 2s ease-in-out;
}


/* Contact Section */
.contact-section {
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

/* WhatsApp Integration */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
}

@media (max-width: 768px) {
    .why-us-content {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotateIn {
    from { transform: rotate(-360deg); }
    to { transform: rotate(0); }
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.contact-form-section h2 {
    color: #0073e6;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.submit-button {
    padding: 10px 20px;
    border: none;
    background-color: #0073e6;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #005bb5;
}

/* Contact Details Section */
.contact-details {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.contact-details h2 {
    color: #0073e6;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info-container {
    display: grid;
    gap: 20px;
}

.contact-info-item {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-info-item h3 {
    margin-bottom: 10px;
}

/* Form message */
.form-message {
    margin-top: 10px;
    font-size: 1em;
    color: green;
}

.form-message.error {
    color: red;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Section */
section.products {
    padding: 20px;
}

section.products h2 {
    text-align: center;
    margin-bottom: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item {
    background-color: #f1f1f1;
    position: relative;
    overflow: hidden;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover .description {
    opacity: 1;
}

/* Carousel Section */
section.industries {
    padding: 20px;
}

section.industries h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Carousel Styles */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.slide-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .slide {
        width: 150px;
    }
}

/* About Us Section */
.fadeIn {
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

 main p {
    color: #000 !important; /* Force text color to black */
}

main h3, h2 {
    color: #0073e6 !important;
}


/* Product page */
.hero-product {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.hero-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%) contrast(110%);
}

.hero-product-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 2rem;
    padding: 0 20px;
    animation: fadeIn 3s ease-in-out;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Gradient overlay */
    z-index: 0;
}

/* Product Overview Section */
.product-overview, .product-details, .product-images {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.product-overview h2, .product-details h2, .product-images h2 {
    color: #0073e6 !important; /* This is the blue color */
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.details-container h3 {
    color:#0073e6 !important ;
}

.detail-item {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.detail-item h3 {
    margin-bottom: 10px;
}

.image-product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.image-item {
    text-align: center;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-item img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    text-decoration: none;
    color: inherit;
}
