@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@100..900&family=Outfit:wght@100..900&display=swap');

/* General Styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: #1c1c1c;
  margin: 0;
  padding-top: 70px; /* To prevent navbar overlap */
}

.hero {
  background-color: #1c1c1c;
  background-color: rgba(21, 31, 31, 1);
  background-image: url('images/hero/hero-1.webp'); /* Replace with actual background image */
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%; /* Adjust width as per the fade effect area */
  height: 200% !important;
  background: linear-gradient(to right, rgba(21, 31, 31, 1) 70%, rgba(21, 31, 31, 0)); /* Fades to transparent */
  z-index: 0;
}

.hero .container-fluid, .hero .stats {
    z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.tag-line {
    font-family: 'Outfit', sans-serif;
}

.tag-line .tag-1 {
    font-size: 4vw;
}
.tag-line .tag-2 {
    font-size:5vw;
    font-family:'Rouge Script', cursive;
    font-weight: 200;
    font-style: normal;
}
.tag-line .tag-3 {
    font-size:9vw;
}

.btn-danger {
  background-color: #d9534f;
}

.btn-light {
  background-color: #f8f9fa;
  color: #343a40;
}

.lead {
    width: 50vw;
}

/* Stats Section */
.stats {
    width: 50vw;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.stats h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 40px;
}

.stats p {
  font-size: 1rem;
  font-weight: 400;
}

footer {
  background-color: #212529;
  color: white;
}

.navbar {
  background-color: #212529;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: bold;
}

.navbar-nav .nav-link {
  color: #fff;
}

.navbar-nav .nav-link:hover {
  color: #ffc107;
}

footer a {
  color: #dcdcdc;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

/* Media Queries for Responsive Design */
@media (max-width: 767px) {
  .hero {
    background-size: cover;
  }
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .tag-line .tag-1 {
    font-size: 6vw;
  }
  .tag-line .tag-2 {
    font-size:7vw;
    font-family:'Rouge Script', cursive;
    font-weight: 200;
    font-style: normal;
  }
  .tag-line .tag-3 {
    font-size: 11vw;
  }

  .lead {
    width: 100vw;
  }

  .stats {
    width: 100vw;
  }
  .stats h2 {
    font-size: 2rem;
  }
}




.social-icons {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  
}
.social-icons.center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.social-icons li {
  list-style-type: none;
  margin-right: 15px;
}
.social-icons li:last-child {
  margin-right: 0;
}
.social-icons li a {
  color: rgb(255, 255, 255);
  font-size: 18px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.social-icons li a:hover {
  color: rgb(255, 152, 0);
}
.social-icons.dark li a {
  color: rgb(0, 0, 0);
}
.social-icons.dark li a:hover {
  color: rgb(255, 152, 0);
}


.team-card .description {
  opacity: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top-right-radius:40px;
  /*padding: 60px 30px;*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  pointer-events: none;
  -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
}
.team-card .description .secrc-text {
  opacity: 0;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.team-card .description .secrc-text h5 {
  color: rgb(255, 152, 0);
}
.team-card:hover img {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.team-card:hover:after {
  width: 100%;
}
.team-card:hover .description {
  opacity: 1;
  pointer-events: all;
}
.team-card:hover .description .secrc-text {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}




.team-photo-wrapper {
    perspective: 1000px;
    display: inline-block;
}

.team-photo {
    transition: transform 0.5s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
    transform: rotateY(15deg) rotateX(5deg);
    transform-style: preserve-3d;
    will-change: transform;
    background: #bbb;
    border: 4px solid #bbb;
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.8);
}

.team-photo-wrapper:hover .team-photo {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: #f9ab02;
    border: 4px solid #f9ab02;
}



/* Testimonial Section */

    .testimonial-section {
      font-family: 'Outfit', sans-serif;
    }
    .testimonial-section h2 {
      font-size: 3.5rem;
      font-weight: 100;
    }
    .testimonial-section h2 span {
      font-weight: 500;
    }
    .avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
      cursor: pointer;
      margin: 0 10px;
      border: 5px solid transparent;
      transition: border-color 0.3s, transform 0.3s;
      display: inline-block;
    }
    .avatar.active {
      border-color: transparent;
      outline: 3px solid #ffc107;
      transition: border-color 0.1s, outline 0.1s;
    }
    .avatar:nth-child(odd) {
      transform: translateY(-8px);
    }
    .avatar:nth-child(even) {
      transform: translateY(8px);
    }
    .quote {
      font-size: 6rem;
      color: #ffc107;
    }
    .testimonial-designation {
        color: #bbb;
    }
    .testimonial-content {
      max-width: 700px;
      margin: 30px auto;
      font-size: 1.1rem;
      color: #fff;
    }
    .nav-arrow {
      background: #aaa;
      color: #555;
      border: none;
      font-size: 1.5rem;
      border-radius: 50%;
      min-width: 40px;
      min-height: 40px;
      line-height: 40px;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      margin: 10px;
      transition: background .08s ease-in, color .08s ease-in;
    }
    .nav-arrow:hover {
      background: #f5f5f5;
      color: #111111;
    }
    .testimonial-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: nowrap;
      gap: 15px;
    }
    .testimonial-content-wrapper {
      flex-grow: 1;
      max-width: 700px;
      font-family: "Noto Serif Bengali", serif;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .testimonial-wrapper {
        /*flex-direction: column;
        gap: 20px;*/
      }
      .avatar {
        margin: 4px;
        width: 50px;
        height: 50px;
        margin: 0 6px;
        border: 3px solid transparent;
      }
      .avatar:nth-child(odd) {
        transform: translateY(0px);
      }
      .avatar:nth-child(even) {
        transform: translateY(0px);
      }
      .avatar.active {
        border-color: transparent;
        outline: 2px solid #ffc107;
      }
    }

    @media (max-width: 480px) {
      .testimonial-section h2 {
        font-size: 1.75rem;
      }
      .quote {
        font-size: 3.5rem;
      }
      .testimonial-content {
        font-size: 1rem;
      }
    }

/* End of Testimonial Section */


/* Contact Section */

    .contact-box {
      font-family: 'Outfit', sans-serif;
      background: white;
      border-radius: 30px;
      padding: 40px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      position: relative;
    }
    .contact-box h2 {
      font-weight: bold;
      margin-bottom: 20px;
      /*color: #5a32b4;*/
    }
    input.form-control, textarea.form-control {
      border-radius: 12px;
      background: #f1f3f5;
      padding: 8px 18px;
    }
    input.form-control {
      border-radius: 22px;
    }
    .send-btn {
      /*background: #6c63ff;*/
      color: white;
      border-radius: 30px;
      padding: 10px 30px;
      /*transition: background 0.3s ease;*/
    }
    /*.send-btn:hover {
      background: #5548c8;
    }*/
    .contact-info i {
      color: #6c63ff;
      margin-right: 10px;
      text-align: center;
    }
    .social-icons a {
      font-size: 24px;
      margin: 0 10px;
      /*color: #6c63ff;
      transition: color 0.3s;*/
    }
    /*.social-icons a:hover {
      color: #3e3ba1;
    }*/

/* End of Contact Section */



/* FB Video Section */

    /*.fb-video-container {
        display: flex;
        flex-direction: column;
    }*/
    
    .fb-video-container {
      width: 100%;
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.6s ease, transform 0.6s ease;
      
      background: #adb5bd;
      background-image: linear-gradient(
        to right,
        #adb5bd 0%,
        #ced4da 20%,
        #adb5bd 40%,
        #adb5bd 100%
      );
      background-repeat: no-repeat;
      background-size: 1000px 100%;
      animation: shimmer 1.5s infinite linear;
    }
    .fb-video-container.show {
      opacity: 1;
      transform: translateY(0);
    }
    .horizontal {
      aspect-ratio: 16 / 9;
    }
    .vertical {
      aspect-ratio: 9 / 16;
    }

    @keyframes shimmer {
      0% {
        background-position: -1000px 0;
      }
      100% {
        background-position: 1000px 0;
      }
    }

/* End of FB Video Section */


.hidden-team {
    display: none;
}