/* Global Styles */
body {
    zoom: 100%;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f5f7;
    color: #002244;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    font-size: 17px;
    top: 0;
    z-index: 1000;
}


nav {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allows the nav section to grow and align left */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    margin-left: 30px; /* Moves the nav links closer to the logo */
}

nav ul li a {
    text-decoration: none;
    color: #002244;
    font-weight: 600;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007BFF;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    position: fixed; /* Use fixed positioning to make them stick to the right side */
    right: 20px; /* Align to the very right side of the screen */
    top: 20px; /* Adjust as needed to align vertically */
    transform: translateY(0); /* No vertical transform needed with fixed positioning */
    z-index: 1000; /* Ensure it appears above other elements */
}

.get-quote-button {
    background-color: #002244;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.get-quote-button:hover {
    background-color: #0056b3;
}

@media screen and (min-width: 769px) {
    .close-menu-button,
    .mobile-menu-button {
        display: none; /* Hide the close button and mobile menu button on screens wider than 768px */
    } 

    header .logo {
        display: flex;
        align-items: center;
    }
    
    header .logo img {
        width: 180px;
        margin-left: 20px;
        height: auto;
    }
    
    header .logo-text {
        margin-left: 5px;
        font-size: 23px;
        font-weight: bold;
        color: #002244;
    }
    
}

.cart-icon {
  font-size: 22px; /* Increased from 18px */
  margin-right: 16px;
  color: #002244;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.cart-icon:hover {
  color: #0056b3;
}



/* Hero Banner Section */
.hero-banner {
    position: relative;
    background-image: url('../images/background.png'); /* Replace with your banner image */
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin: 40;
}

.hero-content .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #002244; /* Dark blue background for the button */
    color: #ffffff; /* White text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover and shadow effects */
    margin: 10px; /* Space between buttons */
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.3); /* Thin white shadow */
}
    
.hero.content .cta-button:hover {
    background-color: #001b36; /* Slightly darker blue on hover */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5); /* More pronounced white shadow on hover */
}


/* === Layout Container === */
.cart-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
}

/* === Left Column (Cart Items) === */
.cart-left {
  flex: 2;
}

.cart-left h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 60px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 2px solid #ccc;
  color: #555;
  font-size: 0.95rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

/* === Each Cart Row === */
.cart-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 60px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eaeaea;
}

.item-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.item-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.item-details h4 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.item-details p {
  font-size: 0.85rem;
  color: #888;
}

.item-qty input {
  width: 50px;
  text-align: center;
  padding: 6px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f7f7f7;
}

.item-price,
.item-total {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.item-remove button {
  background: none;
  border: none;
  color: #d00;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.item-remove button:hover {
  color: #a00;
}

/* === Continue Shopping === */
.continue-shopping {
  display: inline-block;
  margin-top: 20px;
  color: #007BFF;
  text-decoration: none;
  font-size: 0.95rem;
}

.continue-shopping:hover {
  text-decoration: underline;
}

/* === Right Column (Summary) === */
.cart-right {
  flex: 1;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  align-self: flex-start;
}

.cart-summary-box h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #333;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: bold;
  color: #004aad;
  margin-bottom: 20px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #003070;
}

.empty-cart {
  font-size: 1.2rem;
  text-align: center;
  color: #999;
  margin: 50px 0;
}

@media (max-width: 768px) {
  .cart-wrapper {
    flex-direction: column;
  }

  .cart-left,
  .cart-right {
    width: 100%;
  }

  .cart-right {
    margin: 20px auto 0 auto; /* top auto bottom auto */
    max-width: 500px; /* optional: control width */
  }
}




/* Footer Section */
.footer {
    background-color: #001224;
    color: #ddd;
    padding: 50px 20px;
    position: relative;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-about {
    flex: 2; /* Increase flex-grow value for the About Us column */
}

.footer-newsletter {
    flex: 1.5; /* Increase flex-grow value for the Newsletter column */
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer p, .footer a {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    text-decoration: none;
}

.footer a:hover {
    color: #007BFF;
    text-decoration: underline;
}

.footer-links {
    margin-left: 100px; /* Adjust this value to move the section to the right */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 70%;
    font-size: 14px;
    margin-right: 0px;
}

.newsletter-form button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 14px;
    margin-right: 70px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #ddd;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007BFF; /* Change to your preferred hover color */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #444;
    margin-top: 20px;
}



@media screen and (max-width: 768px) {
    /* Prevent Overflow on Mobile */
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }

    /* Header Redesign for Mobile */
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease; /* Smooth transition for header hiding */
    }

    .logo {
        display: flex;
        align-items: center;
        margin-right: auto; /* This ensures the logo aligns to the left */
    }

    .logo img {
        width: 45%;
        height: auto;
        margin-right: 0; /* Remove any right margin to ensure it’s flush with the left */
    }

    /* Header Buttons */
    .header-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
        transition: top 0.3s ease; /* Ensure buttons also hide smoothly */
    }

    .mobile-menu-button {
        background-color: transparent;
        border: none;
        color: #002244;
        font-size: 30px;
        cursor: pointer;
        padding: 0;
        transition: color 0.3s ease;
    }

    .mobile-menu-button:hover {
        color: #0056b3; /* Subtle color change on hover for mobile button */
    }

    .get-quote-button {
        background-color: #002244;
        color: #ffffff;
        padding: 7px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow to make the button pop */
    }

    .get-quote-button:hover {
        background-color: #0056b3; /* Slightly darker on hover */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
    }

    /* Mobile Navigation Menu */
    nav ul {
        display: none;
        flex-direction: column;
        width: 50%; /* Slightly wider for better touch targets */
        background-color: #ffffff;
        padding: 70px 20px;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: 1000;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Slightly more shadow for depth */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }

    nav ul.menu-open {
        display: flex;
        transform: translateX(0); /* Slide in the menu smoothly */
    }

    nav ul li {
        margin-bottom: 20px; /* Add space between each menu item */
    }

    nav ul li a {
        text-decoration: none;
        font-size: 18px; /* Larger font for better readability */
        font-weight: 600;
        color: #002244;
        transition: color 0.3s ease; /* Add a color transition */
    }

    nav ul li a:hover {
        color: #0056b3; /* Slight color change on hover */
    }

    /* Close Button Styling */
    .close-menu-button {
        display: block;
        background-color: transparent;
        border: none;
        color: #002244;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        transition: color 0.3s ease; /* Smooth color transition on hover */
    }

    .close-menu-button:hover {
        color: #ff0000; /* Red color for a more visible close button hover */
    }

    /* Styling for Scrollable Menu */
    nav ul::-webkit-scrollbar {
        width: 6px;
    }

    nav ul::-webkit-scrollbar-thumb {
        background-color: rgba(0, 34, 68, 0.3);
        border-radius: 5px;
    }


    /* Hero Banner Section */
    .hero-banner {
        margin-top: 60px; /* Pushes the banner down by the height of the header */
        height: calc(70vh - 60px); /* Ensures the banner still takes up the full view height minus the header */
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        text-align: center;
        padding: 0 20px;
    }

    .hero-banner h1 {
        font-size: 28px; /* Adjust font size for mobile */
        margin-bottom: 10px;
    }

    .hero-banner p {
        font-size: 16px; /* Adjust font size for mobile */
        margin-bottom: 15px;
    }

    .hero-banner .cta-button {
        font-size: 14px; /* Smaller font for buttons */
        padding: 10px 20px;
        margin-top: 10px;
    }

    /* Services Overview Section */
    .services-overview {
        padding: 20px 15px; /* Adjust padding for mobile */
        text-align: center;
        background-color: #f8f9fa;
        margin-bottom: 20px;
    }

    .services-overview h2 {
        font-size: 28px; /* Smaller heading for mobile */
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .services-overview p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 100%; /* Full width for mobile */
    }


    .services-slider {
        padding: 5px 15px; /* Reduce top padding to lower space */
        background-color: #f8f9fa;
        position: relative;
    }

    .swiper-container {
        width: 100%; /* Full width for mobile */
        max-width: 100%; /* Remove max-width constraint for mobile */
        margin: 0 auto;
        padding-bottom: 50px; /* Adjust space for pagination and navigation */
        padding-top: 0; /* Remove any extra top padding */
    }

    .swiper-slide {
        display: flex;
        justify-content: center; /* Center the service card horizontally */
        align-items: center;
    }

    .service-feature-block {
        background-color: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        max-width: 90%; /* Constrain the maximum width of the service block for mobile */
        width: auto; /* Adjust width to be responsive */
        height: auto; /* Adjust height for mobile view */
        text-align: center;
        display: flex; /* Use flexbox to align content */
        flex-direction: column;
        justify-content: space-between; /* Distribute space between content */
        align-items: center;
        padding: 10px; /* Reduce padding for smaller screens */
        box-sizing: border-box; /* Include padding in the height calculation */
        margin: 10px auto; /* Reduce top and bottom margin to lower space */
    }

    .service-feature-block img {
        width: 100%;
        height: 120px; /* Adjust height for mobile view */
        object-fit: cover; /* Ensures the image covers the block without stretching */
        margin-bottom: 10px; /* Adjust space between image and content */
    }

    .service-feature-block .service-content {
        text-align: center;
        flex-grow: 1; /* Allows the content to grow and occupy available space */
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Align content to the top */
    }

    .service-feature-block h3 {
        font-size: 18px; /* Adjust font size for mobile */
        margin-bottom: 8px; /* Adjust spacing for mobile */
        color: #002244;
        flex-shrink: 0; /* Prevents the title from shrinking */
    }

    .service-feature-block p {
        font-size: 14px; /* Adjust font size for mobile */
        color: #666;
        line-height: 1.4; /* Adjust line height for better spacing */
        flex-grow: 1; /* Allows the paragraph to take up available space */
        margin: 0; /* Remove default margins */
    }

    /* Adjust Swiper Pagination and Navigation for Mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 25px; /* Smaller size for mobile */
        height: 25px; /* Smaller size for mobile */
        top: 90%; /* Position closer to the bottom for better reach */
    }

    .swiper-pagination {
        bottom: 5px; /* Position closer to the bottom of the slider */
    }

    .swiper-pagination-bullet {
        width: 8px; /* Smaller size for mobile */
        height: 8px; /* Smaller size for mobile */
        margin: 0 5px; /* Adjust spacing between dots */
    }



    /* Why Choose Us Section */
    .why-choose-us {
        padding: 20px 15px; /* Reduce padding for mobile */
        margin-bottom: 20px;
        text-align: center;
    }

    .why-choose-us h2 {
        font-size: 28px; /* Adjust heading size for mobile */
        margin-bottom: 15px;
    }

    .why-choose-us ul {
        padding-left: 20px; /* Adjust padding for mobile */
        max-width: 100%;
    }

    .why-choose-us ul li {
        font-size: 14px; /* Smaller font for mobile */
        margin-bottom: 10px;
        padding-left: 25px;
    }

    .why-choose-us ul li::before {
        font-size: 16px; /* Smaller checkmark for mobile */
        left: 5px; /* Adjust positioning */
    }

    /* Industries Section */
    .industries-section {
        padding: 20px 15px; /* Adjust padding for mobile */
    }

    .industries-container h2 {
        font-size: 28px; /* Smaller heading for mobile */
        margin-bottom: 20px;
    }

    .industry-list {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns instead of three */
        gap: 15px;
        margin-top: 40px;
    }

    .industry-item {
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .industry-item img {
        width: 100%;
        max-width: 160px; /* Increase max-width for larger images */
        height: auto;
        margin-bottom: 10px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Keep shadow for visual depth */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .industry-item h4 {
        font-size: 16px; /* Adjust font size for mobile */
        margin-top: 10px;
    }

    .industry-item:hover img {
        transform: translateY(-5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
    }
    
    /* CTA Section */
    .cta-section {
        padding: 30px 20px; /* Adjust padding */
        text-align: center;
    }

    .cta-container h2 {
        font-size: 26px; /* Adjust font size */
        margin-bottom: 15px;
    }

    .cta-container p {
        font-size: 16px; /* Adjust paragraph size */
    }

    .cta-button {
        font-size: 14px; /* Smaller button font size */
        padding: 12px 25px; /* Adjust button padding */
    }




    .location-wrapper {
        flex-direction: column-reverse; /* Stack elements vertically for mobile */
        align-items: center;
        gap: 0;
    }

    .map-container,
    .contact-details {
        width: 100%; /* Full width for mobile */
        min-width: unset; /* Remove minimum width restriction */
        margin-bottom: 0; /* Add space between elements */
        box-sizing: border-box; /* Ensure padding is included in width calculation */
        padding: 10px; /* Add padding inside the containers for better visual spacing */
        background-color: #ffffff; /* White background for a cleaner look */
        border-radius: 8px; /* Rounded corners for the containers */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    }

    .contact-details {
        text-align: center; /* Center-align text */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .contact-details h3 {
        font-size: 20px; /* Reduce font size for mobile */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    .contact-details p,
    .contact-details ul li {
        font-size: 14px; /* Reduce font size for mobile */
    }

    .footer-container {
        flex-direction: column; /* Stack footer columns vertically */
        align-items: center; /* Center-align columns */
        text-align: center; /* Center-align text */
        gap: 20px; /* Reduce gap between footer columns */
    }

    .footer-column,
    .footer-newsletter {
        width: 100%; /* Full width for mobile */
        max-width: 90%; /* Restrict maximum width for readability */
        margin-bottom: 20px; /* Space between sections */
    }

    .footer h3 {
        font-size: 16px; /* Reduce font size for mobile */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    .footer p,
    .footer a {
        font-size: 13px; /* Reduce font size for mobile */
    }

    .footer-links {
        margin-left: 0; /* Remove left margin for centered alignment */
    }

    .footer-links h3 {
        font-size: 18px; /* Make the "Quick Links" heading slightly larger */
    }

    .footer-links ul li a {
        font-size: 16px; /* Make links below "Quick Links" slightly larger */
    }

    .newsletter-form {
        flex-direction: column; /* Stack email input and button vertically */
        align-items: center; /* Center-align form elements */
        margin-top: 10px;
    }

    .newsletter-form input[type="email"] {
        width: 80%; /* Full width for email input on mobile */
        margin-bottom: 10px; /* Space below the input */
        margin-right: 0; /* Reset margin */
        border-radius: 5px; /* Adjust border-radius */
    }

    .newsletter-form button {
        width: 50%; /* Adjust button width for mobile */
        margin-right: 0; /* Reset margin */
    }

    .social-icons {
        justify-content: center; /* Center-align social icons */
        gap: 40px; /* Reduce gap for better spacing on mobile */
    }

    .social-icons a {
        font-size: 24px; /* Increase the size of the social icons */
    }

    .footer-bottom {
        font-size: 12px; /* Keep small font size */
        padding-top: 15px; /* Adjust padding */
    }

    /* Remove About Us Section in Footer */
    .footer-about {
        display: none; /* Hide the "About Us" section */
    }
}
