/* style.css */

/* Basic resets */
body, h1, h2, h3, h4, p, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar toggle menu */
#mobile-menu.hidden {
  display: none;
}

/* Typewriter animation */
.typewriter h1 {
  overflow: hidden;
  border-right: 0.15em solid #fff;
  white-space: nowrap;
  letter-spacing: 0.05em;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}

/* Fade up delayed animation */
.fade-up-delayed {
  opacity: 0;
  animation: fadeUp 1s ease-out 1s forwards; /* delay 1s */
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll ping-pong animation */
@keyframes scrollPingPong {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scroll-track {
  display: inline-block;
  animation: scrollPingPong 12s ease-in-out infinite;
}

.scroll-container:hover .scroll-track {
  animation-play-state: paused;
}

/* Scroll button style */
#scrollDirBtn {
  cursor: pointer;
  border-width: 2px;
  background-color: white;
  color: #1E7E34;
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
  transition: background-color 0.3s ease;
}

#scrollDirBtn:hover {
  background-color: #166D29;
  color: white;
}

/* Responsive fixes */
@media (max-width: 768px) {
  nav.md\\:flex {
    display: none !important;
  }
}

/* about us */
/* CSS ফাইলের ভিতরে কপি করুন */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f7f7f7;
  line-height: 1.6;
}

/* Banner */
.about-banner {
  background: linear-gradient(90deg, #8bc34a, #00bcd4);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.about-banner h1 {
  font-size: 42px;
  font-weight: bold;
}

/* breadcrump */

.breadcrumb_01 {
  margin-top: 20px;
  font-size: 14px;
  color: #FFF;
}

.breadcrumb_01 a {
  color: #FFFFFF;
  text-decoration: none;
}

.breadcrumb_01 a:hover {
  text-decoration: underline;
}

/* About Intro Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  background: white;
  gap: 40px;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  max-width: 600px;
}
.about-text h2 {
  color: #689f38;
  font-size: 18px;
  margin-bottom: 8px;
}
.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}
.about-images {
  margin-top: 20px;
  flex: 1;
  max-width: 600px;
}
.about-images img {
  
  margin: 0 auto;
  width: 120%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Mission and Vision Section */
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.section-row:nth-child(even) {
  flex-direction: row-reverse;
  background-color: #f2f6fa;
}

.section-content {
  flex: 1;
  min-width: 280px;
}

.section-content h2 {
  font-size: 36px;
  color: #003366;
  margin-bottom: 15px;
}

.section-content p {
  font-size: 20px;
  color: #333;
  line-height: 1.8;
}

.section-image {
  flex: 1;
  text-align: center;
  min-width: 280px;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .section-row {
    flex-direction: column !important;
    text-align: center;
  }
}

/* Director Message */
.director-section {
  padding: 60px 10%;
  text-align: center;
  background: white;
}

.director-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
}

.director-section p {
  max-width: 800px;
  margin: auto;
  color: #444;
  font-size: 18px;
  line-height: 1.7;
}

/* Core Values */
.core-values {
  padding: 60px 20px;
  text-align: center;
}

.core-values h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.core-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.core-item {
  
  padding: 30px;
  width: 240px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.core-item i {
  font-size: 36px;
  margin-bottom: 12px;
  color: #0288d1;
}

.core-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #222;
}

.core-item p {
  font-size: 18px;
}

/* new */

 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background: #fff;
      color: #333;
    }

    .section {
      padding: 80px 20px;
      text-align: center;
    }

    .light-bg {
      background-color: #f7f7f7;
    }

    .flex-container {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 100px;
      flex-wrap: wrap;
    }

    .flex-item {
    text-align: center;
    max-width: 400px;
  }

  .flex-item img {
    display: block;
    margin: 0 auto 20px auto;
    width: 80px;
    height: auto;
  }

    h2.section-title {
      font-size: 36px;
      margin-bottom: 40px;
    }

    .flex-item h3 {
      font-size: 22px;
      font-weight: bold;
      margin-bottom: 12px;
    }

    .flex-item p {
      font-size: 17px;
      line-height: 1.7;
    }

    .why-choose {
      background: url('assets/images/pattern-bg.png') no-repeat center center;
      background-size: cover;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-top: 40px;
    }

    .grid-item {
      background: #fff;
      padding: 30px;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      text-align: center;
    }

    .grid-item img {
      width: 40px;
      margin-bottom: 20px;
    }

    .grid-item h4 {
      font-size: 18px;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .grid-item p {
      font-size: 16px;
      color: #555;
    }

/* Why us */ 

.features-section {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 30px;
  color: #689f38;
  margin-bottom: 15px;
}



/* our services */

#our-services {
  background: #f8fbff;
  padding: 80px 20px;
  text-align: center;
}

#our-services .section-title {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 50px;
  font-weight: 700;
}

#our-services .services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#our-services .service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  max-width: 360px;
  padding: 30px 20px;
  text-align: left;
  transition: all 0.3s ease;
}

#our-services .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

#our-services .service-card img {
  height: 60px;
  margin-bottom: 20px;
}

#our-services .service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000;
}

#our-services .service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

#our-services .service-card h3 a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

#our-services .service-card h3 a:hover {
  color: #0096D6; /* or your brand color */
}


/* Contact */

.uf-contact-form-01 {
    max-width: 1000px;
}
@media (min-width: 576px){
     .uf-contact-form-01 {
    min-height: 100vh;
    align-content: center;
} 
}
.uf-img-contact-form-01{
      max-width: 100%;
      animation: uf-animation 4s ease-in-out 1s infinite alternate;
      position: relative;
}
.uf-ct-01-text-primary{
      color: #864ef2;
}
.btn.uf-ct-01-btn-primary{
      background-color: #8bc34a;
      color: #fff;
}
.btn.uf-ct-01-btn-primary:hover{
      background-color: #333333;
      color: #fff;
}

@keyframes uf-animation {
  0%   {top:0px;}
  50%  {top:-30px;}
  100% {top:0px;}
}
.form-control:focus {
    border-color: #a979ff;
    box-shadow: 0 0 0 .25rem rgb(103 58 183 / 21%);
}


/* blog */

 .tab-btn {
    @apply px-4 py-2 text-gray-600 font-medium border-b-2 border-transparent transition-all duration-300 hover:text-blue-600 hover:border-blue-600;
  }

 .blog-card {
    background-color: #ffffff;            /* bg-white */
    border-radius: 0.5rem;                /* rounded-lg */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); /* shadow-md */
    transition-property: box-shadow;      /* transition-shadow */
    transition-duration: 300ms;           /* duration-300 */
  }
 
  .blog-card:hover {
     box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.1); /* hover:shadow-lg */
   }

  .tag {
   /* @apply inline-block bg-gray-800 text-white text-xs px-2 py-1 rounded mb-2;*/
   
    display: inline-block;                       /* inline-block */
    background-color: #1f2937;                   /* bg-gray-800 */
    color: #ffffff;                              /* text-white */
    font-size: 0.75rem;                          /* text-xs (12px) */
    padding: 0.25rem 0.5rem;                     /* py-1 px-2 */
    border-radius: 0.25rem;                      /* rounded */
    margin-bottom: 0.5rem; 
   }

  .blog-title {
   /*  @apply font-semibold text-lg leading-snug hover:text-blue-600 transition-colors duration-300; */
    font-weight: 600;                            /* font-semibold */
    font-size: 1.125rem;                         /* text-lg (18px) */
    line-height: 1.375;                          /* leading-snug */
    transition: color 300ms;  
  }
   .blog-title:hover {
     color: #2563eb;                              /* hover:text-blue-600 */
}