/* .hero-content2 {
  position: absolute;
  bottom: 140px; 
  left: 3%;
  text-align: left;
} */

/* @media (max-width: 768px) {
  .hero-content2 {
    bottom: 150px;
  }
} */



@media (min-width: 1000px) {

    .blog-img img{
      height: 500px; 
      width: 100%;
    }
  }

  /* @media (max-width: 1120px) {
    .hero2 {
      width: 500px;
    }
  
    .hero2 h1 {
      font-size: 37px;
    }
  
    .hero2 h6 {
      font-size: 25px;
    }
  } */

  /* @media (max-width: 1115px) {
    .hero2 {
      width: 480px;
      margin-left: 2rem;
    }
  
    .hero2 h1 {
      font-size: 37;
    }
  
    .hero2 h6 {
      font-size: 20px
    }
  } */

  /* @media (max-width: 1030px) {
    .hero2 {
      width: 350px;
    }
  
    .hero2 h1 {
      font-size: 33px;
    }
  
    .hero2 h6 {
      font-size: 19px;
    }
  } */


/* @media (max-width: 900px) {
    .hero2 {
      width: 340px;
      bottom: 0;
    }
  
    .hero2 h1 {
      font-size: 32px;
    }
  
    .hero2 h6 {
      font-size: 17px;
    }
    .home_bg {
      max-height: 700px;
    }
  } */
  
  /* @media (max-width: 850px) {
    .hero2 {
      width: 300px;
      left: 0;

    }
  
    .hero2 h1 {
      font-size: 28px;
    }
  
    .hero2 h6 {
      font-size: 15px;
    }

    
    .hero-title2 {
      font-size: 45px;
      width: 500px;
    }

    .hero-subtitle2 {
      font-size: 20px;
      width: 500px;
    }
  } */

  /* @media (max-width: 768px) {
    .section-subject {
      font-size: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .hero2 {
      width: 280px;
      left: 0;
    }

  
    .hero2 h1 {
      font-size: 27px;
    }
  
    .hero2 h6 {
      font-size: 14px;
    }
  
    .hero2 a {
      font-size: 13px;
    }

    .hero-title2 {
      font-size: 44px;
      width: 480px;
    }

    .hero-subtitle2 {
      font-size: 20px;
      width: 480px;
    }
    
  } */


  @keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease forwards;
}

.zoom-out {
    animation: zoomOut 0.3s ease forwards;
}

  
  /* @media (max-width: 650px) {
    .hero2 {
      width: 250px;
    }
  
    .hero2 h1 {
      font-size: 24px;
    }
  
    .hero2 h6 {
      font-size: 15px;
    }
  
    .hero2 a {
      font-size: 12px;
    }
   
  }

  @media (max-width: 550px) {
    .hero2 {
      width: 220px;
      margin-left: -0.5rem;
    }
  
    .hero2 h1 {
      font-size: 20px;
    }
  
    .hero2 h6 {
      font-size: 12px;
    }
  
    .hero2 a {
      font-size: 11px;
    }
    .hero-title2 {
      font-size: 40px;
      width: 400px;
    }

    .hero-subtitle2 {
      font-size: 18px;
      width: 400px;
    }
  } */

  /* @media (max-width: 420px) {
    .hero2 {
      width: 205px;
    }
  
    .hero2 h1 {
      font-size: 20px;
    }
  
    .hero2 h6 {
      font-size: 12px;
    }
  
    .hero2 a {
      font-size: 10px;
    }

    .hero-title2 {
      font-size: 32px;
      width: 290px;
    }

    .hero-subtitle2 {
      font-size: 17px;
      width: 290px;
    }

  }  */


  /* @media (max-width: 350px) {
    .hero2 {
      width: 170px;
    }
  
    .hero2 h1 {
      font-size: 16px;
    }
  
    .hero2 h6 {
      font-size: 10x;
    }
  
    .hero2 a {
      font-size: 9px;
    }

    .hero-title2 {
      font-size: 30px;
      width: 250px;
    }

    .hero-subtitle2 {
      font-size: 15px;
      width: 250px;
    }
  } */

  /* @media (max-width: 767px) {
    .hero-section {
      min-height: 70vh;
    }
  } */


@media (max-width: 767px) {
    .first-image,
    .second-third-images {
      height: auto;
      padding-bottom: 1.6rem;
    }
    .second-third-images img {
      height: auto;
      width: 100%;
    }
    .card-body {
      text-align: center;
    }
    h2 {
      font-size: 20px;
      font-weight: 700;
    }
    
    .git {
      padding: 0px;
    }
  }

  @media (max-width: 1150px) {
    #navi .nav-link {
      padding: 2px 15px !important;
    }
  }
  
  @media (max-width: 1070px) {
    #navi .nav-link {
      padding: 2px 15px !important;
    }
  }

  @media (max-width: 1045px) {
    #navi .nav-link {
      padding: 2px 13px !important;
    }
  }
  
  @media (max-width: 1020px) {
    #navi .nav-link {
      padding: 2px 10px !important;
    }
  }


  @media (max-width: 500px) {
    .navbar-brand {
      font-size: 20px !important;
    }
  }
  
  @media (max-width: 450px) {
    .navbar-brand {
      font-size: 18px !important;
    }
    .navbar-toggler-icon {
      font-size: 10px !important;
    }
  }

  @media (max-width: 390px) {
    .navbar-brand {
      font-size: 16px !important;
    }
  }

  @media (max-width: 365px) {
    .navbar-brand {
      font-size: 14px !important;
    }
  }

  @media (max-width: 340px) {
    .navbar-brand {
      font-size: 12px !important;
    }
  }

  @media(min-width: 1150px) {
    .hero-content2 {
      width: 600px;
      margin-left: 5%;
    }
  }

  @media(min-width: 1100px) {
    .hero-content {
      width: 600px;
      margin-left: 5%;
    }
  }
  

  @media (max-width: 768px) {
    .hero-content {
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    /* .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    } */

    .round_img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .event-grid .row {
        flex-direction: column;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (min-width: 900px) {
  .res_about {
      padding-left: 6.3rem;
      padding-right: 6.3rem;

  }
  .why-choose-5 {
    width: 75%;
  }
}

@media (max-width: 768px) {
  .col-md-7 div[style*="font-size"] {
      font-size: 150px;
  }
}

/* @media (max-width: 900px) {
  .hero-subject {
      font-size: 70px;
    
  }
}


@media (max-width: 500px) {
  .hero-subject {
      font-size: 50px;
  }
} */


/* @media (max-width: 350px) {@media (max-width: 400px) {
  .hero-subject {
        font-size:40px;
    }
  }
} */

@media (max-width: 500px) {
  .home-stripes svg{
    width: 140px;
      margin-left: 3rem;
  }
}
@media(min-width: 400px){
  .procedure {
    height: 400px;
  }
}

@media(max-width: 399px){
  .procedure p{
    font-size: 15px;
  }
  .procedure h3{
    font-size: 20px;
  }
  .procedure {
    height: 500px;
  }
}

.carousel-img {
  height: 100vh;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5%;
  right: 5%;
  z-index: 2;
  padding: 2rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
      font-size: 2.5rem;
  }

  .hero-subtitle {
      font-size: 1.25rem;
  }
}

.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.slanted-box {
  width: 66.66%;
  height: 50vh;
  /* background: rgba(0, 123, 255, 0.4); */
  background: rgba(0, 123, 255, 0.7);
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  padding: 2.5rem 3rem;
}

.slanted-box-content {
  color: white;
  max-width: 60%;
}

.slanted-box-content h1 {
  font-size: 2.4rem;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.slanted-box-content p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 1024px) {
  .slanted-box {
    width: 80%;
    height: 45vh;
    padding: 2rem 2.5rem;
  }

  .slanted-box-content {
    max-width: 75%;
  }

  .slanted-box-content h1 {
    font-size: 2rem;
  }

  .slanted-box-content p {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .slanted-box {
    width: 90%;
    height: 40vh;
    padding: 1.8rem 2rem;
  }

  .slanted-box-content {
    max-width: 80%;
  }

  .slanted-box-content h1 {
    font-size: 1.6rem;
  }

  .slanted-box-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .slanted-box {
    width: 95%;
    height: 38vh;
    padding: 1.5rem 1.8rem;
  }

  .slanted-box-content {
    max-width: 85%;
  }

  .slanted-box-content h1 {
    font-size: 1.4rem;
  }

  .slanted-box-content p {
    font-size: 0.85rem;
  }
}
