

* {
    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 */
}









    /* Login 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 for Mobile */
    .toggle-button {
      display: none;
      cursor: pointer;
      font-size: 1.5rem;
    }

    /* Responsive Styling */
    @media (max-width: 768px) {
      /* Toggle Button for Small Screens */
      .toggle-button {
        display: block;
      }

      .navbar .logo #companyname
      {
        font-size: 18px;
    
      }

      /* Full-Screen Navbar Links */
      .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: 2;
      }

      .navbar-links.active {
        display: flex;
      }

      .navbar-links a {
        color: black;
        font-size: 1.2rem;
        padding: 10px;
      }

      /* Close Button Styling (Visible Only on Mobile) */
      .close-button {
        align-self: flex-end;
        font-size: 1.5rem;
        cursor: pointer;
        color: black;
      }
    }










/* ================================ Combined About Section ================================ */
.about-section {
  /* Use one background for the entire section */
  background: linear-gradient(180deg, #2449b3, #7007b1);
  padding: 40px 30px; /* Increased top/bottom padding for more breathing room */

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Added a subtle shadow for depth */
}

.about-content {
  width: 100%; /* Set a max-width for better readability on large screens */
  text-align: center; /* Center all text content inside */
}

/* --- Header Styles --- */
.about-header h1 {
  font-size: 2.5rem; /* Slightly increased size for impact */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.about-header h1 span {
  color: #ffffff;
  font-weight: 600;
  display: block; /* Make the span take a new line for better separation */
  font-size: 1.5rem; /* Smaller size for the subheading */
}

/* --- Paragraph Styles (Applies to both description and details text) --- */
.about-content p {
  font-size: 1.2rem;
  color: #ffffff;
  line-height: 1.7;
  margin: 20px auto; /* Center the paragraph and give vertical margin */
  padding: 0 40px; /* Horizontal padding for text container */
}

/* --- Why MSB? Details Styles --- */
.about-details {
  margin-top: 30px; /* Add space between the main text and the 'Why MSB?' part */
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* Subtle separator line */
  padding-top: 30px;
  
}

.about-details h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 700;
}

/*
  The paragraph inside about-details will inherit the .about-content p styles,
  so no need to redefine them unless you want a difference.
*/


/* ================================ Media Query for Smaller Screens ================================ */
@media (max-width: 768px) {
  .about-section {
    padding: 25px 15px; /* Adjust overall padding */
  }

  .about-header h1 {
    font-size: 2.0rem;
  }

  .about-header h1 span {
    font-size: 1.2rem;
  }

  .about-content p {
    font-size: 1.05rem; /* Adjusted for smaller screens */
    padding: 0 10px;
  }
  
  .about-details {
    margin-top: 20px;
    padding-top: 20px;
  }

  .about-details h2 {
    font-size: 1.8rem;
  }
}




  










  .about-image {
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-top: 10px;
  }

  .about-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  }


    /* Responsive Design */
    @media (max-width: 768px) {
      .about-section {
        flex-direction: column;
        text-align: center;
      }

      .about-content {
        margin-right: 0;
      }
      
      /* .about-buttons a {
        margin-right: 0;
        margin-bottom: 10px;
      }

      .about-buttons a:last-child {
        margin-bottom: 0;
      } */
    }


/* ================================
   CONTACT DETAILS SECTION
   ================================ */

.benefits-section {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 20px 10px;
  background-color: #f8f9fa;
}

.benefits-section h2 {
  font-size: 2.3rem;
  color: #0000ff;
  margin-bottom: 20px;
  margin-top: 25px;
}

/* ---------- GRID LAYOUT (4 CARDS IN 1 ROW) ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px;
}

/* ---------- CARD STYLE ---------- */
.benefit-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* ---------- ICON STYLE ---------- */
.benefit-card i {
  font-size: 2rem;
  background: linear-gradient(180deg, #2449b3, #7007b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

/* ---------- CARD TITLES ---------- */
.benefit-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

/* ---------- PARAGRAPH ---------- */
.benefit-card p {
  font-size: 0.9rem;
  color: #0f0f0f;
  line-height: 1.5;
}

/* ---------- EMAIL LINKS ---------- */
.benefit-card p a {
  color: #002b60;
  font-weight: 600;
  text-decoration: none;
  margin: 0 8px;
}

.benefit-card p a:hover {
  text-decoration: underline;
  color: #2000d8;
}

/* ---------- OFFICE CARD NORMAL (NO CENTERING) ---------- */
.office-card {
  max-width: 100%;
}

/* ------------------------- Media Query for Tablets and Smaller Devices ------------------------- */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }

  .benefit-card {
    padding: 15px;
  }

  .benefits-section h2 {
    font-size: 1.8rem; /* Reduce font size for tablets */
  }

  .benefit-card i {
    font-size: 1.8rem; /* Adjust icon size */
  }

  .benefit-card h3 {
    font-size: 1.1rem; /* Adjust title size */
  }
}

/* ------------------------- Media Query for Mobile Devices ------------------------- */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
  }

  .benefit-card {
    padding: 15px 10px;
  }

  .benefits-section h2 {
    font-size: 1.6rem; /* Further reduce font size for smaller devices */
  }

  .benefit-card i {
    font-size: 1.6rem; /* Adjust icon size */
  }

  .benefit-card h3 {
    font-size: 1rem; /* Adjust title size */
  }

  .benefit-card p {
    font-size: 0.9rem; /* Adjust paragraph size */
  }
}


















/* Main Container: Full Width, Centered Content */
.vision-mission-section {
    width: 100%;  /* Full width */
    max-width: 100%; /* Remove max-width to make it fully responsive */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Retaining the original background color */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* Main Headings */
.vision-mission-section h2 {
    font-size: 2.3rem;
    color: #0000ff; /* Blue color */
    margin-bottom: 8px;
    font-weight: 700;
}

/* Sub-headings (Vision/Mission) */
.vision-mission-section h3 {
    font-size: 2.1rem;
    color: #000000;
    font-weight: 700;
    margin: 25px 0 12px;
}

/* Paragraph Text */
.vision-mission-section p {
    font-size: 1.15rem;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 1000px; /* Increased max-width */
    margin-left: auto;
    margin-right: auto;
}

/* Values Section: Responsive Grid Layout */
.values-container {
    display: grid;
    /* Default: 4 columns for large screens */
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px;
    margin-top: 50px;
    text-align: center;
}

/* Individual Value Box */
.value-box {
    padding: 30px;
    background-color: #eaf2fb;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Value Box Content */
.value-box h3 {
    font-size: 1.35rem;
    color: #000000;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.value-box p {
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 0;
}


/* ================================
   Responsive Media Queries 
================================ */

/* Tablet View (max-width: 1024px) */
@media (max-width: 1024px) {
    .vision-mission-section {
        padding: 30px 15px; 
    }

    .values-container {
        /* Tablet: 2 columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .vision-mission-section h2 {
        font-size: 2rem; 
    }

    .vision-mission-section h3 {
        font-size: 1.6rem; 
    }

    .vision-mission-section p {
        font-size: 1rem; 
    }
}

/* Mobile View (max-width: 640px) */
@media (max-width: 640px) {
    .vision-mission-section {
        padding: 20px 10px;
        border-radius: 8px; 
    }

    .vision-mission-section h2 {
        font-size: 1.7rem; 
    }

    .vision-mission-section h3 {
        font-size: 1.4rem; 
    }

    .vision-mission-section p {
        font-size: 0.95rem; 
        line-height: 1.5;
    }

    .values-container {
        /* Mobile: Stack value boxes vertically */
        grid-template-columns: 1fr; 
        gap: 15px;
        margin-top: 30px;
    }

    .value-box {
        padding: 20px;
    }
    
    .value-box h3 {
        font-size: 1.2rem;
    }
}







.slider-section {
  text-align: center;
  padding: 30px 20px;
  background-color: #f7faff;
  width: 100%; /* Ensure it takes full width */
  box-sizing: border-box; /* Include padding in the width calculation */
}

.slider-section h2 {
  font-size: 1.8rem;
  color: #2c58e6;
}

.slider-section p {
  color: #555;
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
  width: 100%; /* Full width of the screen */
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px; /* Add gap between the images */
}

.slide {
  min-width: 25%; /* Show 4 images per row */
  position: relative;
}

.slide img {
  width: 100%; /* Make images stretch to fill their container */
  border-radius: 10px;
}

.slider-section .caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slider-section .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #2c58e6;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .slider-section h2 {
    font-size: 1.5rem;
  }

  .slider-section .caption {
    font-size: 1rem;
  }

  .slider-section .nav {
    font-size: 1.5rem;
  }

  .slide {
    min-width: 50%; /* On smaller screens, show two images per row */
  }

  .slider {
    gap: 10px; /* Smaller gap for mobile */
  }
}





/* ------------------------- Extra Top Box Style ------------------------- */
.extra-top_1 {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
  text-align: center;
  margin: 10px;
}

.extra-top {
  font-size: 2.2rem;
  color: #0000ff;
  line-height: 1.5;
  text-align: center;
  padding: 20px 30px;
}

.extra-top_1{
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ------------------------- Media Query for Tablets and Smaller Devices ------------------------- */
@media (max-width: 768px) {
  .extra-top_1 {
    padding: 15px;
    margin: 8px;
  }

  .extra-top {
    font-size: 1.8rem;  /* Reduce font size for tablet screens */
    padding: 15px 20px;  /* Reduce padding for smaller screens */
  }
}

/* ------------------------- Media Query for Small Mobile Devices ------------------------- */
@media (max-width: 480px) {
  .extra-top_1 {
    padding: 10px;
    margin: 5px;
  }

  .extra-top {
    font-size: 1.5rem;  /* Further reduce font size for small screens */
    padding: 10px 15px;  /* Smaller padding for small screens */
  }
}





/* 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 {
  background: rgb(235, 246, 255) ;
  color: rgb(10, 10, 10);
  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 h2 {
  font-size: 2.3rem;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #000000;
}

.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 25px;
  color: #ffffff;
  background: linear-gradient(180deg, #2449b3, #7007b1);
  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;
  }
}

