/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}



/* ====== HEADER STYLING ====== */
header {
  width: 100%;
  height: 80px;
  background-color: #072840; /* Always blue */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1.5px solid #00bfff;
}

.logo img {
  height: 65px;
  margin-left: 20px;
}



/* .scan-text {
  animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; transform: translateY(-10px); }
  50% { opacity: 1; transform: translateY(0); }
} */


.mission-vision {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 20px 100px;
  background-color: #f4f9ff;
  margin-top: 50px; /* pushes the section a bit downwards */
  background-color: #ffffff;
  background-image: url('assets/mission-vision/mission vision-background/about-logos.png'); /* optional transparent bg */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mv-box {
  position: relative;
  width: 420px; /* made bigger */
  min-height: 480px;
  padding: 30px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mv-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 🔵 Animated Border (Railway Effect) */
.mv-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 18px;
  box-sizing: border-box;
  pointer-events: none;
  border-image: linear-gradient(90deg, #00bfff, #0077ff, #00bfff) 1;
  border-image-slice: 1;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  animation: none;
}

.mv-box:hover::before {
  animation: drawBorder 2s linear forwards;
}

@keyframes drawBorder {
  0% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
  25% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%); }
  75% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* 🖼️ Image Styling */
.mv-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* 📝 Text Styling */
.mv-box h2 {
  color: #072840;
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}

.mv-box p {
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  padding: 0 10px;
}
.mission-vision {
  align-items: stretch; /* ensures all child boxes have equal height */
}
/* 🌐 Responsive Design Add-on (Keeps Original Code Intact) */
@media (max-width: 1024px) {
  .mission-vision {
    flex-wrap: wrap;
    gap: 40px;
    padding: 100px 30px;
  }

  .mv-box {
    width: 45%;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .mission-vision {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
  }

  .mv-box {
    width: 90%;
    min-height: 420px;
  }

  .mv-box img {
    height: 200px;
  }

  .mv-box h2 {
    font-size: 22px;
  }

  .mv-box p {
    font-size: 15px;
    padding: 0 5px;
  }
}

@media (max-width: 480px) {
  .mission-vision {
    padding: 60px 15px;
    gap: 30px;
  }

  .mv-box {
    width: 100%;
    min-height: auto;
    padding: 20px;
  }

  .mv-box img {
    height: 180px;
  }

  .mv-box h2 {
    font-size: 20px;
  }

  .mv-box p {
    font-size: 14px;
  }
}


/* ---------- TOP SECTION ---------- */
.peoon-footer {
  background: #072840;
  color: #f8faf8;
  font-family: "Poppins", sans-serif;
  padding: 60px 8%;
  min-height: 45vh;
 overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top:-40px;
 margin-left: -75px;
}

.footer-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
 margin-right: 20px;
 
}

.footer-text h2 span {
  color: #00bfff;
}

.footer-text p {
  margin: 15px 0 25px;
  color: #ffffff;
  font-size: 15px;
}

/* ---------- SOCIAL ICONS BELOW TEXT ---------- */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 150px;
   margin-left: -448px;

}
.footer-social h3{
  margin-top: -85px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  background-color: #ffff;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid #00bfff;  /* outline color */
  border-radius: 10px;         /* slight rounding, not circular */
  transition: all 0.3s ease;
}

.footer-social a img {
  width: 32px;
  height: auto;
  display: block;
}

.footer-social a:hover {
  background:#072840
}
.footer-logo {
  text-align: center;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 120px;   /* adjust based on your layout */
  margin-right: 575px;
  height: auto;
  border-radius: 12px; /* optional for smooth corners */
}




/* ---------- DOWNLOAD SECTION ---------- */
.footer-download {
  text-align: left;
  color: #ffffff;
  margin-top: -46px;
}


.footer-download h3 {
  font-size: 22px;
  font-weight: 750;
  color: #ffff;
  margin-bottom: 13px;
  letter-spacing: 0.5px;
  margin-right: -78px;
}

.footer-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-buttons img {
  height: 50px;
  transition: transform 0.3s ease;
  margin-bottom: 25px;
}

.footer-buttons img:hover {
  transform: scale(1.08);
}

/* ---------- BOTTOM SECTION ---------- */
.footer-bottom {
  display: flex;
  justify-content: center; /* center everything */
  flex-wrap: wrap;
  gap: 60px;
  padding-top: 40px;
  border-top: none; /* removed blue line */
}
.footer-bottom p{
 margin-right: -200px;
}
/* Logo and company info */
.footer-logo {
  text-align: center;
}
.follow-title {
  text-align: center;
  color: #00bfff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 130px;
  margin-right:610px;
  margin-bottom: -135px;
  letter-spacing: 0.5px;
}

.footer-logo h3 {
  font-size: 22px;
  color: #00bfff;
}

.footer-logo p {
  font-size: 13px;
  margin: 8px 0;
  color: #ffffff;
}

/* ---------- FOOTER LINKS ---------- */
.footer-links {
  display: flex;
  gap: 80px;
  justify-content: center; /* centered horizontally */
  flex-wrap: wrap;
  text-align: center;
 margin-top: -25px;
 margin-left: -200px;
}

.footer-links h4 {
  font-size: 19px;
  color: #00bfff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #f8f8f8;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #00bfff;
}

/* ---------- SOCIAL ICONS (INSIDE LINKS) ---------- */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons img {
  width: 28px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-download {
    text-align: center;
    margin-top: 20px;
  }

  .footer-buttons {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    text-align: center;
  }
}

.footer-bottom {
  width: 100%;
  background-color: #00bfff;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4vw; /* 5vw makes spacing adjustable based on screen width */
  flex-wrap: wrap;
  box-sizing: border-box;
}
.footer-link-heading {
  text-decoration: none;
  color: inherit; /* keeps same color as normal heading */
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-link-heading:hover {
  color: #ff9000; /* hover color (optional) */
  cursor: pointer;
}

.footer-bottom p {
  margin: 0;
  font-size: clamp(13px, 2vw, 15px); /* responsive font size */
  text-align: left;
  flex: 1;
}

.footer-bottom span {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  font-size: clamp(13px, 2vw, 15px); /* responsive font size */
  text-align: right;
}

/* On small screens, center both */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}

/* ---------- FULLY RESPONSIVE FOOTER FIXES ---------- */
@media (max-width: 1024px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    text-align: center;
    gap: 30px;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-social {
    margin: 20px 0 0 0;
    justify-content: center;
  }

  .follow-title {
    margin: 20px 0 10px 0;
    text-align: center;
  }

  .footer-links {
    margin-left: 0;
    gap: 40px;
    justify-content: center;
  }

  .footer-download {
    text-align: center;
    margin-top: 20px;
    margin-right: 75px;
  }
}

@media (max-width: 768px) {
  .peoon-footer {
    padding: 40px 5%;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-left: 0;
  }

  .footer-logo img {
    margin: 0 auto;
    width: 100px;
  }

  .footer-text h2 {
    font-size: 20px;
    margin: 10px 0;
  }

  .footer-text p {
    font-size: 14px;
  }

  .follow-title {
    margin: 15px 0;
    text-align: center;
  }

  .footer-social {
    margin: 10px auto 20px auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 10px 0;
  }

  .footer-links h4 {
    font-size: 18px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .footer-download {
    text-align: center;
    margin-top: 25px;
  }

  .footer-buttons img {
    height: 45px;
    margin-left: 53px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px 10px;
  }

  .footer-bottom p,
  .footer-bottom span {
    margin: 0;
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-text h2 {
    font-size: 18px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-links h4 {
    font-size: 16px;
  }

  .footer-links ul li a {
    font-size: 13px;
  }

  .footer-buttons img {
    height: 40px;
  }
}
