/*----------- Goole Font Link------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/*==================================== Default Styles ==================================== */

:root {
  --h1_color: #016B9D;
  --h6_color: #004366;
  --nav_color: rgb(21, 21, 100);
  --orange_color: #E84911;
  --lato: "Lato", sans-serif;
  --icon: #F48829;
  --footer: #003F62;
  --side_bar: rgba(5, 69, 104, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  width: 100%;
  overflow-x: hidden;
}

/*----Global Tags---- */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--h6_color);
}

span {
  font-size: .9rem;
  color: #757373;
}

h6 {
  font-size: 1.1rem;
  color: var(--h6_color);
}




.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}


nav {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  width: 100%;
  background-color: #fff;
  justify-content: space-between;
  padding: 1vw 8vw;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}

.scrolled nav {

  display: flex;
  flex-direction: row;
  margin-top: 50px;
  width: 100%;
  background-color: #fff;
  justify-content: space-between;
  padding: 1vw 8vw;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);

}

nav img {
  width: 200px;
  cursor: pointer;
}

nav .navigation {
  display: flex;
}

#menu-btn {
  width: 30px;
  height: 30px;
  display: none;
}

#menu-close {
  display: none;
  cursor: pointer;
}

nav .navigation ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav .navigation ul li {
  list-style: none;
  margin-left: 30px;
}

nav .navigation ul li a {
  font-size: 16px;
  color: var(--nav_color);
  font-weight: 500;
  transition: 0.3s ease;
  gap: 9px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

nav .navigation ul li a i {
  color: var(--orange_color);
}

nav .navigation ul li a.active,
nav .navigation ul li a:hover {
  color: var(--h1_color);
}

nav .navigation ul li a.active::after {
  color: var(--orange_color);
  width: 100%;
  bottom: -1px;
}

nav .navigation ul li a:hover:after {
  color: var(--orange_color);
  width: 100%;
  bottom: -1px;
}

/* nav .navigation ul li a.active, */
nav .navigation ul li a:after {
  content: "";
  position: absolute;
  height: 4px;
  width: 0%;
  background-color: var(--orange_color);
  top: 100%;
  left: 0%;
  border-radius: 5px;
  transition: all 0.5s;
  text-decoration: none;
  margin-top: 7px;
}

.top_bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 50px;
  position: absolute;
  top: 0;
  background-color: transparent;
  padding: 5px 10px;
}

.top_bar h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--h6_color);
  margin-right: 7px;
  cursor: pointer;
}

.top_bar h3 i {
  margin-right: 5px;
  color: var(--h1_color);
}

/*---------Scroll Navbar --------*/

.scrolled {
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fff;
  transition: 0.9 ease-in;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
  scroll-behavior: smooth;
  animation: animate 1.2s ease-in-out;
  z-index: 999;


}


@keyframes animate {
  0% {
    transform: translateY(-100%);
  }

}

.logop img {

  height: auto;
  width: 150px;
}

.logop {
  position: relative;
  text-align: center;

}

.logo i {
  display: inline-block;
  font-weight: 300;
  padding-left: 40%;
  color: #0e2579;
}

.about p {
  font-size: large;
}


.header1 {
  background-color: #fff;
  color: rgb(2, 2, 36);

}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  padding-bottom: 10px;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: bold;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin: 0 1rem;
}

.navbar ul li a {
  color: rgb(2, 2, 36);
  ;
  text-decoration: none;
  font-size: 1.1rem;
}

.navbar ul li a:hover {
  color: #ffcc00;
}

.hero {
  background-color: #1e3a8a;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  animation: fadeIn 2s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta {
  padding: 1rem 2rem;
  background-color: #ffcc00;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #e5a900;
}

section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.content-box {
  background-color: #f4f4f4;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 30%;
}

.program-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.program-card {
  background-color: #f4f4f4;
  border-color: #0e2579;
  border-style: groove;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 30%;
  transition: transform 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
}

.event-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.event {

  background-color: #f4f4f4;
  padding: 2rem;
  border-style: groove;
  border-color: #0e2579;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 30%;
}

.contact form {

  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact input,
.contact textarea {

  width: 80%;
  padding: 1rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-style: groove;
  border-color: #0e2579;
  border-radius: 5px;
}

.submit-btn {
  padding: 1rem 2rem;
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0e2579;
}

/*===============================Company-container Course Section  ================================== */

.if{
  text-align: center;
}
#counters{
  width: 100%;
  height: 60vh;
  background-color: var(--side_bar);
  margin-bottom: 20px;

}
/* .counters{
  padding: 8vw 8vw 2vw 8vw;
} */
.counters_box{
   display: flex;
   flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* padding: 8vw 8vw 2vw 8vw; */
  width: 100%;
  height: 60vh;
  background-color: var(--side_bar);
  margin-bottom: 20px;
  /* background-image:url('../images/bg-01.jpg'); */
  background-image: linear-gradient(rgba(99,112,168,0.5),rgba(81,91,233,0.5)),url("../images/Back_View-5.JPG");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

.counters_box .counter{
  text-align: center;
  padding: 13px 33px;
  background: rgba(255,225,225,0.25);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  border-radius: 5px;
  margin: 0 5px 10px 5px;
  width: 280px;
  height: 100px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

.counters_box .counter p{
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 8px;
  color: var(--icon);
  
}

.counters_box .counter h3{
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  
}
.counters_box .counter p span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 5px;
  color:var(--icon) ;
  text-shadow: 8px 8px 32px 8px rgba(0,0,0,0.37);
  .image-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-row-gap: 30px;
      gap: 20ppx;
      margin: 20px;
  }
  

}


/* === Counters Section Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
#counters,
.counters_box {
  height: auto;
  padding: 40px 20px;
}

.counters_box .counter {
  width: 40%;
  margin: 10px;
  height: 100px;
}

.counters_box .counter p {
  font-size: 1.3rem;
}

.counters_box .counter h3 {
  font-size: 1.1rem;
}
}

/* Mobiles (≤767px) */
@media (max-width: 767px) {
#counters,
.counters_box {
  height: auto;
  padding: 30px 15px;
  flex-direction: column;
}

.counters_box .counter {
  width: 90%;
  height: auto;
  padding: 15px 20px;
  margin: 12px auto;
}

.counters_box .counter p {
  font-size: 1.2rem;
}

.counters_box .counter p span {
  font-size: 1.5rem;
}

.counters_box .counter h3 {
  font-size: 1rem;
}
}



/*ncc nee */

.ncc-activities {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  color: #333;
}

.ncc-header {
  text-align: justify;
  margin-bottom: 40px;
}

.ncc-header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.ncc-activity-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.activity-category {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.activity-category h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #2a5d84;
}

.activity-category ul {
  list-style-type: none;
  padding-left: 0;
}

.activity-category ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.activity-category ul li strong {
  color: #1d3a56;
}

@media (max-width: 768px) {
  .ncc-activities {
    padding: 20px;
  }

  .activity-category h3 {
    font-size: 1.4em;
  }
}

/*============================ ncc activities showcase===================================*/
.ncc-activities-showcase {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: justify;
}

.ncc-activities-showcase h2 {
  font-size: 2.5em;
  color: #2a5d84;
  margin-bottom: 15px;
}

.ncc-activities-showcase p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

.ncc-activities-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 items per row */
  gap: 20px;
}

.ncc-activity-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ncc-activity-item img {
  width: 100%;
  height: auto;
  border-bottom: 5px solid #2a5d84;
}

.ncc-activity-item p {
  padding: 10px;
  font-size: 1em;
  color: #333;
  background-color: #ffffff;
}

.ncc-activity-item:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .ncc-activities-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
  }
}

@media (max-width: 768px) {
  .ncc-activities-gallery {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}


/*=============================== Attrative Ncc =========================================*/
.ncc-timeline {
  padding: 40px 20px;
  background-color: #f5faff;
  text-align: justify;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: auto;
}
.timeline-item {
  background: white;
  border-left: 4px solid #2a5d84;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.timeline-item .year {
  font-weight: bold;
  color: #2a5d84;
}

/* =========================================Testimonials NCC=============================== */
.ncc-testimonials {
  background: #fff;
  padding: 40px 20px;
  text-align: justify;
}
.testimonials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial {
  background: #eef6fb;
  padding: 20px;
  border-left: 5px solid #2a5d84;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
  font-style: italic;
}
.testimonial h4 {
  margin-top: 10px;
  font-weight: normal;
}

/* Officer info */
.ncc-officer {
  background: #eaf4ff;
  color: var(--h6_color);
  padding: 40px 20px;
  text-align: justify;
}
.ncc-officer h2 {
  text-align: center;
}
.officer-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}
.officer-card img {
  width: 180px;
  margin-bottom: 10px;
  border-radius: 10px;
  flex-shrink: 0;
}
.officer-info {
  max-width: 800px;
  text-align: justify;
  padding-bottom: 40px;
}
.officer-info p {
  padding-top: 10px;
  text-align: justify;
}

/*=============================== Responsiveness======================== */
@media (max-width: 768px) {
  .timeline {
    padding: 0 10px;
  }
  .testimonial {
    max-width: 100%;
  }
  .officer-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .officer-card img {
    width: 150px;
  }
  .officer-info {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .ncc-timeline,
  .ncc-testimonials,
  .ncc-officer {
    padding: 20px 10px;
  }
  .ncc-officer h2{
    font-size: 1.8rem;
    text-align: center;
  }
  .ncc-officer h3{
    text-align: center;
    font-size: 1.2rem;
  }
  .officer-card img {
    width: 120px;
  }
}


/* ncc achivements */
.ncc-achievements {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.achievement {
  max-width: 200px;
  background: white;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.achievement img {
  width: 100%;
  border-radius: 5px;
}

/*==================================Ncc gallery===================================*/

.ncc-gallery {
  display: flex; /* Flexbox to align header and images */
  flex-wrap: wrap; /* Ensure wrapping if needed */
  justify-content: space-between; /* Space between header and images */
  align-items: flex-start; /* Align items to the top */
  padding: 2rem;
  background: #f9fbfd;
}

.ncc-gallery h2 {
  font-size: 2.5rem; /* Make the heading bigger */
  color: #223a5e;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure the heading takes the full width */
  text-align: left; /* Align text to the left */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 items per row */
  gap: 2rem;
  width: 100%; /* Ensure the images stretch to full width */
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive for smaller screens (stack images when screen is small) */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
  }
}

/* Even smaller screens (stack images in single column) */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}


/*=============================== Footer Section  ================================== */

footer{
  padding: 4vw;
  background-color: var(--footer);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

footer .footer-col{
  padding-bottom: 40px;
}

footer h3{
  color: #ff9900 ;
  font-weight: 600;
  padding-bottom: 20px;

}
footer h3::after{
content: "";
display: block;
width: 60px;
height: 3px;
margin-left: 15px;
background-color: #ff9900;
border-radius: 2px;
}  

footer li a{
 color: #ffffff;
 padding: 10px 0;
 font-size: 15px;
 cursor: pointer;
 transition: 0.3s ease;

}

footer li a:hover{
 color: rgb(51, 0, 255);
}

footer p {
 color: #7b838a;
}

footer .subscribe{
 margin-top: 20px;
}
footer input{
  width: 220px;
  padding: 15px 12px;
  background: var(--h1_color);
  border: none;
  outline: none;
  color: #fff;
  border-radius: 5px;
}

footer input::placeholder{
  color: #7b838a;
  font-size: 15px;
}
footer .subscribe a{
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 15px;
  background-color: #fff;
  font-weight: 600;
  border-radius: 5px;
  margin-left: 9px;
}

footer .subscribe a.Yellow_button {
  color: var(--h1_color);
  background: var(--icon);
  transition: 0.3s ease;
}


footer .subscribe a.Yellow_button:hover {
  color: var(--footer);
  background: #fff;
}

footer .copyright{
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;

}

footer .copyright p{
  color: #fff;
}

footer .copyright .pro-links{
  margin-top: 0px;
}

footer .copyright .pro-links i{
  background-color: #5f7185;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.3s ease;
  border: none;
  
}

footer .copyright .pro-links i:hover{
  background-color: var(--icon);
  color: #fff;
  color: var(--footer);
}


/* === Footer Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
@media (max-width: 1023px) {
  footer {
    padding: 5vw 3vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px;
    align-items: start;
  }

  footer h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff9900;
    border-radius: 2px;
  }

  footer .footer-col {
    width: 100%;
    margin-bottom: 0;
  }

  footer input {
    width: 100%;
    margin-bottom: 10px;
  }

  footer .subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  footer .subscribe a {
    margin-left: 0;
    margin-top: 10px;
  }

  footer .copyright {
    grid-column: span 2; /* make copyright full width */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
  }
}
}  

/* Mobile (≤767px) */
@media (max-width: 767px) {
footer {
  display: grid;
  grid-template-columns: 1fr; /* Single column grid */
  gap: 20px;
  padding: 8vw 4vw;
  text-align: center;
  align-items: center;
}

footer .footer-col {
  width: 100%;
  padding-bottom: 0;
}

footer h3 {
  font-size: 1.3rem;
}

footer h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px auto 0;
  background-color: #ff9900;
  border-radius: 2px;
}

footer li a {
  font-size: 18px;
}

footer input {
  width: 100%;
  font-size: 14px;
}

footer .subscribe {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

footer .subscribe a {
  width: 100%;
  text-align: center;
}

footer .copyright {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

footer .copyright .pro-links {
  margin-top: 10px;
}
}




/*===================================== Missions section for Nss ==========================*/
.mission-section {
  background-color: #ffffff;
  padding: 70px 30px;
  border-top: 1px solid #ddd;
}

.mission-container {
  max-width: 1000px;
  margin: 0 auto;
  color: #2a2a2a;
}

.mission-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
  text-align: center;
  border-bottom: 2px solid #003366;
  display: inline-block;
  padding-bottom: 6px;
}

.mission-container p {
  font-size: 16.5px;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: justify;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.mission-list li strong {
  color: #002147;
}

.np {
  text-align: center;
}

.np img {
  padding-left: 400px;
  clip-path: circle(50%);
}


/*======================================== frames of volunteerring ==========================================*/
.facilities-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.facilities-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--h6_color);
}

.facilities-intro {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 cards per row on desktop */
  gap: 20px;
}

.facility-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.facility-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.facility-card h3 {
  font-size: 1.2rem;
  margin: 15px 10px 8px;
  color: var(--h6_color);
}

.facility-card p {
  font-size: 0.95rem;
  color: #666;
  padding: 0 10px 15px;
  line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .facility-card img {
    height: 180px;
  }

  .facility-card h3 {
    font-size: 1.1rem;
  }

  .facility-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .facility-card img {
    height: 150px;
  }

  .facility-card h3 {
    font-size: 1rem;
  }

  .facility-card p {
    font-size: 0.85rem;
  }
}

/* Tablet (up to 992px) - 2 cards per row */
@media (max-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (up to 576px) - 1 card per row */
@media (max-width: 576px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

/*======================================= abouthome ===============================*/
#about-home {
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)), url('../images/Front_view-7.JPG');
  width: 100%;
  height: 75vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 5px 10px;
  padding-top: 60px;

}

#about-home h2 {
  color: #fbfdfe;
  font-size: 2.7rem;
  font-weight: 700;

}

.map-container {
  position: relative;
  max-width: 800px;
  margin: 30px auto;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.map-image {
  width: 100%;
  display: block;
}

.map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #E84911;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.map-pin:hover .pin-tooltip {
  display: block;
}

.pin-tooltip {
  display: none;
  position: absolute;
  top: -80px;
  left: -60px;
  background: #fff;
  color: #000;
  padding: 8px 10px;
  width: 160px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 10;
}

/* ===== Responsive tweaks for #about-home ===== */
@media (max-width: 992px) {
  #about-home {
    height: 60vh;
    padding-top: 40px;
    text-align: center;
  }

  #about-home h2 {
    font-size: 2.2rem;
  }
}

/* For mobile devices */
@media (max-width: 600px) {
  #about-home {
    height: 50vh;
    padding: 20px 10px;
    text-align: center;
  }

  #about-home h2 {
    padding-top: 100px;
    font-size: 1.8rem;
  }
}

/* For very small devices */
@media (max-width: 400px) {
  #about-home {
    height: 45vh;
    padding: 15px 5px;
  }

  #about-home h2 {
    padding-top: 100px;
    font-size: 1.5rem;
  }
}

/* ===== Responsive tweaks for .map-container ===== */
@media (max-width: 768px) {
  .map-container {
    max-width: 100%;
    margin: 20px 10px;
  }

  .pin-tooltip {
    width: 140px;
    font-size: 12px;
    left: -50px;
    top: -70px;
  }
}

@media (max-width: 480px) {
  .pin-tooltip {
    width: 120px;
    font-size: 11px;
    left: -45px;
    top: -65px;
  }

  .map-pin {
    width: 16px;
    height: 16px;
  }
}