/* Reset default body and html padding/margin */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  overflow-x: hidden; /* Prevent sideways scroll */
}

/* Apply box-sizing border-box globally */
*, *::before, *::after {
  box-sizing: border-box;
}
#new-read-more.new-read-more {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #003366; /* Dark blue */
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  /* align-items: center; */
}

#new-read-more.new-read-more:hover {
  text-decoration: underline;
  color: #005599;
}

#new-read-more.new-read-more::after {
  content: '→';
  margin-left: 6px;
  font-size: 16px;
}

.neplan-hero-banner {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 20px;
    background-color: #77C7E9 /* Optional fallback */
  }
  
  .neplan-hero-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Extra small devices (phones, ≤480px) */
  @media (max-width: 480px) {
    .neplan-hero-banner {
      height: auto;
      padding-top: 50px;
      /* padding-bottom: 20px; */
    }
    .neplan-hero-banner img {
      width: 100%;
      height: auto;
    }
  }
  
  /* Small devices (portrait tablets and large phones, 481px to 786px) */
  @media (min-width: 481px) and (max-width: 786px) {
    .neplan-hero-banner {
      height: auto;
      padding-top: 50px;
      /* padding-bottom: 40px; */
    }
    .neplan-hero-banner img {
      width: 90%;
      height: auto;
    }
  }
  
  /* Medium devices (tablets, 787px to 1024px) */
  @media (min-width: 787px) and (max-width: 1024px) {
    .neplan-hero-banner {
      height: 90vh;
      padding-top: 50px;
    }
    .neplan-hero-banner img {
      max-height: 90vh;
      width: auto;
    }
  }
  
  /* Large devices (desktops, >1024px) */
  @media (min-width: 1025px) {
    .neplan-hero-banner {
      height: 100vh;
      padding-top: 30px;
    }
    .neplan-hero-banner img {
      max-height: 100vh;
      width: auto;
    }
  }
  


.neplan-product {
    width: 100vw;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden !important;
    box-sizing: border-box;
  }
  .neplan-product-logo {
    display: flex;
    padding-top: 30px;
    justify-content: center;
    align-items: center;
    height: 100%; /* Adjust height as needed */
}

.center-logo {
    max-width: 100%; /* Ensures the logo doesn't exceed container width */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Ensures proper alignment */
    margin: 0 auto; /* Centers the image horizontally */
}

  .neplan-product h1 {
    color: #0d3281;
    font-size: 6rem; /* Default font size for large screens */
    margin: 10px 0;
    font-weight: bold;
  }
  
  .neplan-product h2 {
    color: #0d3281;
    font-size: 3rem; /* Default font size for large screens */
    /* margin: 10px 0; */
  }
  
  /* Media Queries */
  
  /* For large tablets and small laptops (1000px - 1200px) */
  @media (max-width: 1200px) and (min-width: 1000px) {
    .neplan-product h1 {
      font-size: 4.5rem; /* Reduce font size */
    }
  
    .neplan-product h2 {
      font-size: 2.5rem; /* Reduce font size */
    }
  }
  
  /* For tablets (760px - 1000px) */
  @media (max-width: 1000px) and (min-width: 760px) {
  
  
    .neplan-product h1 {
      font-size: 3.5rem; /* Smaller font size for tablets */
    }
  
    .neplan-product h2 {
      font-size: 2rem; /* Smaller font size for tablets */
    }
  }
  
  /* For mobile devices (320px - 760px) */
  @media (max-width: 760px) {
    .neplan-product {
      /* padding: 15px; */
      text-align: center;
    }
  
    .neplan-product h1 {
      font-size: 3.5rem; /* Adjust font size for smaller screens */
    }
  
    .neplan-product h2 {
      font-size: 1.6rem; /* Adjust font size for smaller screens */
    }
  }
  
  /* For very small screens (less than 320px) */
  @media (max-width: 320px) {
    .neplan-product h1 {
      font-size: 2rem; /* Further reduce font size */
    }
  
    .neplan-product h2 {
      font-size: 1.6rem; /* Further reduce font size */
    }
  }
  


/* Global body settings */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* --2nd section css-- */

.health-container{
    text-align: center;
    margin: 20px;
    padding: 20px;
}
.health-title2{
    margin: 20px;
}

/* _________________card section css */
.card-outter {
    /* padding: 20px; */
    align-items: center;
    margin-bottom: 20px;
    margin-right:20px;
    margin-left: 20px;
    /* max-width: 1200px; */
}

.card1-title {
    /* margin: 20px; */
    padding-bottom:20px;
    text-align: center;
}

.health-title3 {
    font-size: 4rem;
    color: #214591;
    font-weight: bold;
    margin: 20px;
}

.card-inner {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 50px; /* Space between cards */
}

.card1 {
    width: 350px;
    height: 500px;
    text-align: center;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card1:hover {
    transform: translateY(-5px);
}

.card1 img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card1 h3 {
    margin-top: 12px;
    font-size: 2.2rem;
    color: #214591;
}

.card1 p {
    font-size: 1.4rem;
    padding: 0 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .card-inner {
        gap: 20px;
    }

    .card1 {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .health-title3 {
        font-size: 3rem;
        text-align: center;
    }

    .card1 {
        width: 70%;
        height: 330px;
    }

    .card1 img {
        height: 250px;
    }

    .card1 h3 {
        font-size: 2rem;
    }

    .card1 p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .health-title3 {
        font-size: 3rem;
        text-align: center;
    }

    .card1 img {
        height: 250px;
    }
}

/* _________________card section css end */

/* Content Section */
.content {
    width: 60%;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
}

.content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
}

/* Cards Container */
.cards-container {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    /* background-color: #ffffff; */
    margin-top: -20px;
}

/* Cards Section */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 80%;
}

/* Base Card Styling */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
    text-align: center;
}

.card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: filter 0.3s;
}

.card .card-content {
    padding: 15px;
    font-size: 1.4rem;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transition: opacity 0.3s;
}

/* Hover Effect */
.card:hover img {
    filter: brightness(120%);
}

/* Card 1 Specific Styling */


.card1:hover .card-content {
    opacity: 1;
}

/* Card 2 Specific Styling */
.card2 .card-content {
    background-color: rgba(0, 0, 0, 0.7); /* Green */
}

.card2:hover .card-content {
    opacity: 1;
}

/* Card 3 Specific Styling */
.card3 .card-content {
    background-color: rgba(0, 0, 0, 0.7); /* Blue */
}

.card3:hover .card-content {
    opacity: 1;
}

/* Responsive Design */

/* For Medium Screens */
@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For Small Screens */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card img {
        height: 180px; /* Reduce image height for smaller screens */
    }
}
/* General styling for the whole page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
/* NEPLAN Block Container */
.neplan-block {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto;
    max-width: 1400px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 40px;
    background-color: #ffffff;
}

/* Info Section */
.neplan-info {
    flex: 1 1 55%;
    padding: 20px;
    box-sizing: border-box;
}

.neplan-info h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #214591;
}

.neplan-info p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #333;
}

.neplan-info a {
    margin-top: 20px;
    font-weight: 600;
    text-decoration: none;
    background-color: #214591;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    transition: 0.3s ease;
}

.neplan-info a:hover {
    background-color: #16346a;
}

/* Image Section */
.neplan-image {
    flex: 1 1 35%;
    text-align: center;
}

.neplan-image img {
    max-width: 100%;
    max-height: 400px;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .neplan-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 80%;
    }

    .neplan-info, .neplan-image {
        width: 100%;
        padding: 15px;
    }

    .neplan-info h2 {
        font-size: 2.2rem;
    }

    .neplan-info p {
        font-size: 1.8rem;
    }

    .neplan-image img {
        max-height: 250px;
    }
}
