
/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

   body {
      font-family: Arial, sans-serif;
    }











/* ================================
    TOP BAR (CONTACT INFO)
================================ */
.top-bar {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* ================================
    MAIN NAVBAR
================================ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #ffffff;
  color: #000000;
  font-weight: bold;
  position: relative;
  z-index: 3;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Navbar Links */
.navbar-links {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-links a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
}

/* ================================
    SUBMENU (DESKTOP)
================================ */
.navbar-links .has-submenu {
  position: relative;
}

.navbar-links .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  width: 200px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-links .submenu a {
  display: block;
  padding: 6px 10px;
  color: #000000;
  text-decoration: none;
}

.navbar-links .submenu a:hover {
  background-color: #2c58e6;
  color: #fff;
}

/* Show submenu on hover (desktop only) */
.navbar-links .has-submenu:hover .submenu {
  display: block;
}

/* ================================
    DEMO BUTTON
================================ */
.demo-button {
  background: linear-gradient(180deg, #2449b3, #7007b1);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.demo-button:hover {
  background-color: #2449b3;
}

/* ================================
    TOGGLE BUTTON (MOBILE)
================================ */
.toggle-button {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ================================
    RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {

  .toggle-button {
    display: block;
  }

  .navbar .logo #companyname {
    font-size: 18px;
  }

  /* FULL SCREEN MENU */
  .navbar-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: white;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    gap: 20px;
    z-index: 999;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a {
    color: black;
    font-size: 1.2rem;
    padding: 10px;
  }

  /* CLOSE BUTTON (ONLY MOBILE) */
  .close-button {
    align-self: flex-end;
    font-size: 1.8rem;
    cursor: pointer;
    color: black;
  }

  /* ================================
      MOBILE SUBMENU FIX
   ================================= */
  .navbar-links .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    padding-left: 20px;
  }

  /* SHOW SUBMENU WHEN PARENT HAS "open" CLASS */
  .navbar-links .has-submenu.open .submenu {
    display: block;
  }

  /* **CORRECTION APPLIED HERE:** REMOVED THE INCORRECT HOVER RULE */
}







    /* Home Section Styling */
 /* Home Section Styling */
.home-section {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
  height: 60vh;
  background-image: url('images/ncs.webp'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  padding: 0 40px;
}

/* Overlay Gradient */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Text Content */
.text-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
  text-align: center;
  padding: 20px;
}

.text-content h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.text-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.text-content .button {
  background: linear-gradient(180deg, #2449b3, #7007b1);
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
}

.text-content .button:hover {
  background-color: #16a9ff;
}

/* Service List Styling */
.service-list {
  font-size: 1.2rem;
  margin: 20px 0;
  font-weight: bold;
  color: #f5f5f5;
  position: relative;
}



.service-list span {
  padding: 0 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-section {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .text-content {
    width: 100%;
    max-width: 100%;
  }

  .text-content .button {
    padding: 10px 20px;
    margin-top: 10px;
  }

  .text-content h1 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
  }
}








/* Solutions Section */
.solutions-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #f9f9f9;
}

.solutions-section .text-content {
  max-width: 50%;
}

.solutions-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.solutions-section p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.solutions-section .button {
  background: linear-gradient(180deg, #2449b3, #7007b1);
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
}

.solutions-section .button:hover {
  background-color: #2449b3;
}

.solutions-section .image-content {
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solutions-section .image-content img {
  width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .solutions-section {
    flex-direction: column;
    text-align: center;
  }

  .solutions-section .text-content, .solutions-section .image-content {
    max-width: 100%;
  }

  .solutions-section h2 {
    font-size: 1.8rem;
  }
}





/* ==============================================
   Why Choose MSB Section - New Design
   ============================================== */

.why-choose-section {
    background: #f0f4f8;  /* Light background for a clean, modern look */
    padding: 60px 20px; /* More space around the content */
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%; /* Increased width */
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    font-family: 'Roboto', sans-serif; /* Sleek, modern font */
}

/* Title Styles */
.why-choose-section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #0000ff;  /* Dark blue for the title */
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* List Container */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Grid layout for responsiveness */
    gap: 30px;
    max-width: 100%;
}

/* List Item Styles */
.why-list li {
    background-color: #ffffff;  /* White background for each item */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    color: #000000;  /* Dark text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;  /* Left-aligned text */
}

/* Hover Effect for List Items */
.why-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);  /* Deeper shadow on hover */
}

/* Paragraph Style */
.why-choose-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1d1d1d;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* Subtitle Style */
.why-choose-section h3 {
    font-size: 1.7rem;
    color: #000000;  /* Dark blue subtitle */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ========================
   Responsive Design for Mobile & Tablet
   ========================= */

/* Tablet View (max-width: 768px) */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 50px 20px; /* Padding adjustment for tablets */
    }

    .why-choose-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .why-choose-section h3 {
        font-size: 1.8rem;
    }

    .why-list {
        grid-template-columns: 1fr 1fr;  /* 2 columns on tablets */
        gap: 20px;
    }

    .why-list li {
        font-size: 1rem;
    }

    .why-choose-section p {
        font-size: 1rem;
    }
}

/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
    .why-choose-section {
        padding: 40px 15px;
    }

    .why-choose-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .why-choose-section h3 {
        font-size: 1.6rem;
    }

    .why-list {
        grid-template-columns: 1fr;  /* Single column on mobile */
        gap: 12px;
    }

    .why-list li {
        font-size: 0.95rem;
        padding-left: 18px;
    }

    .why-choose-section p {
        font-size: 0.95rem;
    }
}








/* Supply Chain Management Section */
.supply-chain-section {
  position: relative;
  background: url('images/hmssection2.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.supply-chain-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for better text readability */
}

.supply-chain-content {
  position: relative;
  text-align: left;
  max-width: 600px;
  padding: 20px;
}

.supply-chain-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.supply-chain-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
}

.btn-primary {
  background: linear-gradient(180deg, #2449b3, #7007b1);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #333;
}

.btn-primary:hover {
  background-color:#2c58e6;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .supply-chain-section {
    height: 50vh;
  }

  .supply-chain-content h2 {
    font-size: 2rem;
  }

  .supply-chain-content p {
    font-size: 1rem;
  }
}





  


/* Base Footer Styles (Mobile-First / Default) */
.footer {
    width: 100%;
    background: #000036;
    position: relative;
    color: #fff;
    /* Reduced padding slightly for height reduction */
    padding: 12px 10px 10px 10px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Reduced gap slightly for height reduction */
    gap: 25px; 
    margin: 0;
    text-align: center;
    /* height: auto; is good, keeping it */
    height: auto; 
}

/* Gradient Layer - Kept as is, it's correct */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000036 0%, #1a1a45 100%);
    opacity: 0.95;
    z-index: -1;
}

/* LOGO SECTION */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 1rem;
    font-weight: bold;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 12px;
    /* Reduced margin-top slightly */
    margin: 10px 0; 
}

.social-icons a i {
    color: #fff;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.2s;
}

/* LINK SECTIONS */
.footer-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 20px; /* Reduced gap for a tighter layout */
    /* Reduced height significantly, rely on content for auto-sizing */
    height: auto; 
    /* Remove the fixed height: 180px; to allow content to dictate height */
}

/* Each column */
.footer-links div {
    /* Main desktop layout: flex items are side-by-side */
    flex: 1 1 150px;
    min-width: 130px;
    padding: 10px 0; 
}

/* Headings */
.footer-links h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 8px; /* Slightly reduced margin */
    border-bottom: none; 
    text-align: center;
}

/* Remove bullets */
.footer-links ul,
.footer-links ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 4px; /* Slightly reduced margin */
}

/* Links */
.footer-links ul li a {
    color: #ccc;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Bottom section */
.footer-bottom {
    width: 100%;
    border-top: 1px solid #444;
    padding-top: 10px; /* Reduced padding-top */
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom a {
    text-decoration: none !important;
    margin: 0 6px;
    color: #ccc;
}

/* ---------------------------------------------------------------- */
/* 👇 MEDIA QUERY FOR SMALLER SCREENS (e.g., Tablets/Mobile) */
/* ---------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Adjust footer-links for better stacking on smaller screens */
    .footer-links {
        /* Allow columns to stack more easily, using a larger width to force a single column layout if needed */
        flex-direction: column; 
        gap: 15px; /* Reduced gap when stacking vertically */
    }

    /* Adjust each column to take full width and center its content */
    .footer-links div {
        /* Take full width, simplifying flex for vertical stack */
        flex: 1 1 100%; 
        padding: 5px 0; /* Reduced padding when stacked */
    }
}











/* Stats Section Styling */
/* Stats Section Styling */
.stats-section {
  background: linear-gradient(180deg, #2449b3, #7007b1);
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stats-content {
  max-width: 1200px;
  text-align: center;
  z-index: 1;
}

.stats-content h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 40px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  min-width: 130px;
  text-align: center;
}

.stat-item h2 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  transition: all 1s ease-out;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}

.button {
  display: inline-block;
  padding: 10px 35px;
  color: #ffffff;
  background-color: rgb(27, 5, 222);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover {
  background-color: #f0f0f0;
  color: #2c58e6;
}

/* Background Illustration */
.background-illustration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url('path/to/illustration.png'); /* Replace with your illustration path */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-content h1 {
    font-size: 1.8rem;
  }
  .stat-item h2 {
    font-size: 2rem;
  }
  .background-illustration {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .stats-content h1 {
    font-size: 1.5rem;
  }
  .stat-item h2 {
    font-size: 1.8rem;
  }
  .stat-item p {
    font-size: 0.9rem;
  }
}







.awards-section {
            text-align: center;
            padding: 40px 20px;
            background-color: #fffdfd;
        }

        .awards-section h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: #0000ff;
        }
        .awards-section p {
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: #0f0f0f;
        }

        .awards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .award {
            background-color: #fff;
            border: 1px solid #ddd;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 150px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .award img {
            max-width: 100%;
            height: auto;
        }


       .award i {
          background: linear-gradient(180deg, #2449b3, #7007b1);
          -webkit-background-clip: text; /* For Safari */
          -webkit-text-fill-color: transparent; /* For Chrome and others */
          background-clip: text; /* Standard for modern browsers */
        } 

        .award p {
          font-size: 1rem;
          color: #333;
          padding-top: 15px;
          font-weight: 600;
          }


        .award:hover {
            transform: scale(1.05);
        }

        .button {
            display: inline-block;
            margin-top: 30px;
            padding: 10px 20px;
            background: linear-gradient(180deg, #2449b3, #7007b1);
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .button:hover {
            background-color: #2449b3;
        }
/* ===========================
   Tablet View (max-width: 768px)
   =========================== */
@media (max-width: 768px) {
    .awards-section {
        padding: 30px 15px;
    }

    .awards-section h2 {
        font-size: 1.8rem;
    }

    .awards-section p {
        font-size: 1rem;
    }

    .awards {
        gap: 15px;
    }

    .award {
        width: 130px;
        padding: 15px;
    }

    .award p {
        font-size: 0.95rem;
    }
}

/* ===========================
   Mobile View (max-width: 480px)
   =========================== */
@media (max-width: 480px) {
    .awards-section {
        padding: 20px 10px;
    }

    .awards-section h2 {
        font-size: 1.6rem;
    }

    .awards-section p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .awards {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .award {
        width: 90%;
        max-width: 250px;
        padding: 15px;
    }

    .award p {
        font-size: 0.9rem;
    }

    .button {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}








    #cookiePopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Popup box styling */
.popup-content {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
  margin: 0;
  font-size: 1.5em;
  color: #2449b3;
}

.popup-content p {
  margin: 15px 0;
  font-size: 1em;
  color: #333;
}

.popup-content button {
  margin: 5px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
  background-color: #2c58e6;
}

.popup-content button#declineBtn {
  background-color: #666;
}

#cookiePopup.show {
  visibility: visible;
  opacity: 1;
}










        /* Section Container */
        .portfolio-section {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .portfolio-section h2 {
            font-size: 2.2rem;
            color: #0000ff;
            margin-bottom: 10px;
            margin-top: 30px;
        }

        .portfolio-section p {
            font-size: 1.1rem;
            color: #000000;
            margin-bottom: 30px;
        }

        /* Info Boxes */
        .info-boxes {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }

        .info-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            background: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 250px;
            transition: background-color 0.3s ease;
        }

        .info-box:hover {
            background-color: #e8f0ff;
        }

        .info-box .icon {
            font-size: 2rem;
            color: #1a73e8;
        }

        .info-box h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: #000000;
        }

        .info-box p {
            font-size: 0.9rem;
            color: #000000;
            margin-bottom: 10px;
        }

        .info-box a {
            font-size: 0.9rem;
            color: #1a73e8;
            text-decoration: none;
            font-weight: bold;
        }

        .info-box a:hover {
            text-decoration: underline;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .portfolio-section h2 {
                font-size: 2rem;
            }

            .portfolio-section p {
                font-size: 1rem;
            }

            .info-box {
                width: 100%;
                max-width: 350px;
            }
        }









       /* Section Styling */
       .customer-section {
            width: 100%;
            margin: 0 auto;
            text-align: center;
            padding: 40px 20px;
            background: linear-gradient(to right, #d7efff, #e3d4ff);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .customer-section h2 {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 20px;
        }

        /* Carousel Container */
        .carousel {
            display: flex;
            align-items: center;
            overflow: hidden;
            gap: 20px;
            position: relative;
            padding: 10px 0;
            width: 100%;
        }

        /* Carousel Track for Infinite Loop Effect */
        .carousel-track {
            display: flex;
            gap: 30px;
            animation: scroll 20s linear infinite;
        }

        /* Customer Logos */
        .customer-logo {
            background-color: #ffffff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            width: 100px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .customer-logo img {
            max-width: 80px;
            max-height: 40px;
            object-fit: contain;
        }

        /* Keyframe Animation */
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-100% - 30px));
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .customer-section h2 {
                font-size: 1.2rem;
            }

            .customer-logo {
                width: 80px;
                height: 50px;
            }

            .carousel {
                gap: 15px;
            }
        }
       