* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: 'Poppins', sans-serif;
   
}
p {
  font-weight: 400;
}

/*  FULL WIDTH HERO */
.about-hero {
  width: 100%;
  height: 110vh;
   
  object-fit:cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("images/aboutUs1.jpg") center/cover no-repeat;
  
  transition: transform 0.8s ease;
  z-index: -1;
}

/*  ZOOM EFFECT */
.about-hero:hover::before {
  transform: scale(1.1);
}
/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/*  CONTENT */
.content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.content h1 {
  font-size: 55px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e2e8f0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #6c5ce7;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s ease;
}

.btn:hover {
  background: #4834d4;
  transform: translateY(-3px);
}
@media (max-width: 1024px) {

  .about-hero {
    height: 100vh;
  }

  .content h1 {
    font-size: 45px;
  }

  .content p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {

  .about-hero {
    height: 90vh;
  }

  .content {
    padding: 15px;
  }

  .content h1 {
    font-size: 36px;
  }

  .content p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {

  .about-hero {
    height: 80vh;
  }
  .about-hero:hover::before {
  transform: none;
   
}
  .content h1 {
    font-size: 30px;
  }

  .content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }


}
/* ----------------about us detail code------------------ */

.about {
  width: 100%;
  padding: 80px 10%;
  color: white;
  background: url("images/image3.jpg") center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
   overflow-x: hidden;
}

/*  Dark overlay for readability */
.about::before {
  content: "";
  position: absolute;
  inset: 0;z-index: 1;
  background: rgba(102, 102, 104, 0.7);
}

.about .row {
  position: relative;
  z-index: 1;
}

/*  ROW STYLE */
.row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}


.row.reverse {
  flex-direction: row-reverse;
}

/*  IMAGE */
.img {
  flex: 1;
}

.img img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.text {
  flex: 1;
}
 
.text p {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}
@media (max-width: 1024px) {

  .about {
    padding: 70px 6%;
  }

  .row {
    gap: 35px;
  }

  .text p {
    font-size: 17px;
  }
}
@media (max-width: 768px) {

  .about {
    padding: 60px 5%;
    background-attachment: fixed;  
  }

  .row,
  .row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
   .img img {
  width: 75%;
  border-radius: 15px;
  object-fit: cover;
}
  .img,
  .text {
    flex: 100%;
  }

  .text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  .about {
    padding: 50px 5%;
  }

  .text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .row {
    margin-bottom: 50px;
  }
   .img img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

  
}


/* -------------------mission and vision code------------- */

.vision-mission {
  padding: 80px 10%;
    background:#e7e7fc;
  text-align: center;
   overflow-x: hidden;
  
}

.section-title {
  font-size: 38px;
  color: #251173;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
    background: linear-gradient(190deg,#b6074a , #1f1378);
  border-radius: 10px;
}

.vm-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.vm-box {
  flex: 1 1 300px;
  background: #f6f5f5;
  padding: 30px; 
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index:1;
}

.vm-box:hover {
  transform: translateY(-10px);
}

.vm-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #251173;
}

.vm-box p {
  font-size: 17px;
  color: #3c3c3c;
  line-height: 1.9;
}

.vm-box::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
    background: linear-gradient(90deg,#d1487c , #4c3eb8);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  z-index: -1;
  -webkit-transition: transform 0.6s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

/*  Bottom → Top animation */
.vm-box:hover::before {
  transform: translateY(0);
}


.vm-box:hover h3{
  color:#fff;
}
.vm-box:hover p  {
  color: #fff;
}

/* Hover lift */
.vm-box:hover {
  transform: translateY(-10px);
}

@media (max-width: 1024px) {

  .vision-mission {
    padding: 70px 6%;
  }

  .section-title {
    font-size: 32px;
  }

  .vm-grid {
    gap: 25px;
  }

  .vm-box {
    padding: 25px;
  }

  .vm-box h3 {
    font-size: 22px;
  }

  .vm-box p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {

  .vision-mission {
    padding: 60px 5%;
  }

  .section-title {
    font-size: 28px;
  }

  .vm-grid {
    flex-direction: column;
    align-items: center;
  }

  .vm-box {
    width: 100%;
    min-height:450px;
    max-width: 500px;
  }

  .vm-box p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {

  .vision-mission {
    padding: 50px 5%;
  }
.vm-box {
    height: 400px;  
  }
  .section-title {
    font-size: 27px;
  }

  .section-title::after {
    width: 50%;
  }

  .vm-box {
    min-height:560px;
    padding: 20px;
    border-radius: 12px;
  }

  .vm-box h3 {
    font-size: 21px;
  }

  .vm-box p {
    font-size: 15px;
    line-height: 1.6;
  }
}




