/* ----------- General Styling ----------- */
body {
    font-family: 'Gulzar', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f9fd;
    color: #031a38;
}
html {
  scroll-behavior: smooth;
}

/* ----------- About Us Section ----------- */
.about_us {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    width: 100%; 
}

.about_us_container {
    width: 100%; 
    max-width: 1200px; 
    margin: 45px auto; 
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}

.row_1, .row_2{
  display: flex;
  flex-direction: row;
  padding: 25px 25px 0 25px;
  gap: 20px;
}
.row_1{
  align-items: center;
  padding: 25px 25px 30px 25px;
}
.row_2{
  padding: 0 25px 0 0;
}
.abtImg_1 ,.abtImg_2 {
  width: 40vw;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4); 
  
}
.abtImg_1{
  margin-right: 30px;
}
.row_1 p, .row_2 p, .col_1 h3{
  background: linear-gradient(180deg, rgb(9, 74, 158) 0%, rgb(3.19, 26.23, 56) 100%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-family: Marcellus;
  font-weight: 400;
  color: transparent;
  font-size: 25px;
  letter-spacing: 0;
  line-height: normal;
}
.row_1 p{
  text-align: center;
}
.row_2 p{
  text-align: right;
}
.col_2{
  display: flex;
  flex-direction: column; 
  align-items: flex-end;
  gap: 20px;
}
.col_1{
  padding-top: 100px;
  padding-left: 10vh;
}
.col_1 h3{
   padding-bottom:15px ;
}
.col_1 li{
  background: linear-gradient(180deg, rgb(9, 74, 158) 0%, rgb(3.19, 26.23, 56) 100%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-family: Marcellus;
  font-weight: 400;
  color: transparent;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5; 
  list-style: none;
  padding-bottom: 50px;
}

hr.section_divider {
  width: 80%;
  height: 5px;
  background: linear-gradient(90deg, #094A9E 0%, #031A38 100%);
  margin: 20px auto;
  border: none;
}

/* Animation on Scroll */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story_section {
  animation: fadeIn 1.5s ease-in-out forwards;
}


.story_content li{
    list-style: none;
} 


/* ----------- Mission and Vision Section ----------- */

.mis_vis{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

 .mission_vision_section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  margin-bottom: 40px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 320px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
} 

 .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 120px;
  margin-bottom: 20px;
}
.vimage{
    width: 140px !important;
}
.card h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #094A9E;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
} 

/* ----------- Animations ----------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about_us {
    animation: fadeIn 1.5s ease-in-out;
}

/* ----------- Parallax Effect ----------- */
.about_us::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: url('assets/parallex.png') no-repeat center center fixed;
    background-size: cover;
    z-index: -2;
    opacity: 3;
    transform: translateY(-10px);
    animation: parallaxMove 8s linear infinite;
}

@keyframes parallaxMove {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* ----------- Responsive Design ----------- */
@media (min-width:1400px) and (max-width: 1600px){
    .row_2{
        padding: 0 25px 30px 0;
      }
}
@media (max-width: 1200px){
    .about_us_container {
    width: 90%;
    }
    .col_1{
    padding-top: 50px;
    padding-left: 5vh;
  }
  .row_2{
    padding: 0 25px 25px 0;
  }
  
}

@media (max-width: 1024px) {
    .story_title, .missionvision {
        flex-direction: column;
        text-align: center;
    }

    .missionvision {
        grid-template-columns: 1fr;
    }

    .story_image img {
        width: 100%;
    }
    
    .about_us_container{
        height: 800px;
    }
    .col_1 li{
        padding-bottom: 25px;
      }
}

@media (max-width: 820px) {
    .row_1 p, .row_2 p, .col_1 h3{
        font-size: 18px;
      }
      .about_us_container{
        height: 640px;
    }
    .col_1 li{
        padding-bottom: 20px;
      }
      .col_1{
        padding-top: 25px;
        padding-left: 2vh;
      }
      .mission_vision_section {
        gap: 20px;
        margin-bottom: 10px;
      }
      
      .card {
        padding: 20px;
        width: 280px;
      } 
}

@media (min-width: 577px) and (max-width: 768px){
    .about_us_container{
        height: 550px;
    }
    .col_1{
        padding-top: 10px;
        padding-left: 10px;
      }
      .col_1 li{
        padding-bottom: 10px;
        font-size: 14px;
        width: 200px;
      }
   
      .row_1{
        padding-bottom: 0;
      } 
      .mission_vision_section {
        gap: 20px;
        margin-bottom: 10px;
      }
      
      .card {
        padding: 20px;
        width: 200px;
      } 
}

@media (max-width: 577px) {
    .about_us_container{
        height: max-content;
    }
    .row_1{
        display: flex;
        flex-direction: column;
        padding: 10px auto;
        gap: 0;
      }
      .row_2{
        padding: 0 25px 0 25px;
      }
    .row_2, .col_2{
        display: flex;
        flex-direction: column-reverse;
    }
    .col_1{
        padding-top: 0px;
        padding-left: 0vh;
      }
    .col_1 h3{
       text-align: center;
    }
    .col_2{
       align-items: center;
       justify-content: center;
    }
    .col_2 p{
        text-align: center;
    }
    .abtImg_1, .abtImg_2{
        min-width: 75vw;
    }
    .abtImg_1{
        margin-left: calc(7%);
    }

    .mis_vis{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
     .mission_vision_section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 40px;
    }

}

