* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Fredoka", sans-serif;
}
:root {
  --primary-color: #914299;
  --secondary-color: #4db84a;

  --tmeme_white: #fff;
  --tmeme_black: #000;
}

body {
  scroll-behavior: smooth;
  font-family: "Fredoka", sans-serif;
}
a {
  text-decoration: none;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 600;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--secondary-color);
}
h4 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}
p {
  font-size: 20px;
}
/* btn css */

.theme_btn {
  background: var(--primary-color);
  border-radius: 50px;
  color: var(--tmeme_white);
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  padding: 15px 20px;
  transition: all 0.3s ease;
}
.theme_btn:hover,
.theme_btn:focus,
.theme_btn.theme_active {
  color: var(--tmeme_white);
  animation: pulse-glow 1.9s linear infinite;
}

.theme_btn_secondary {
  background: var(--secondary-color);
  border-radius: 50px;

  color: var(--tmeme_white);
  font-size: 18px;
  font-weight: 600;

  text-align: center;
  text-transform: uppercase;
  text-decoration: none;

  cursor: pointer;

  padding: 15px 20px;

  transition: all 0.3s ease;
}

.theme_btn_secondary:hover,
.theme_btn_secondary:focus,
.theme_btn_secondary.theme_active {
  color: var(--tmeme_white);

  animation: pulse-glow2 1.9s linear infinite;
}

@keyframes pulse-glow2 {
  0% {
    box-shadow:
      0 0 0 0 rgba(77, 184, 74, 0.7),
      0 0 0 0 rgba(77, 184, 74, 0.7);
  }

  40% {
    box-shadow:
      0 0 0 15px rgba(77, 184, 74, 0),
      0 0 0 0 rgba(77, 184, 74, 0.7);
  }

  80% {
    box-shadow:
      0 0 0 25px rgba(77, 184, 74, 0),
      0 0 0 15px rgba(77, 184, 74, 0);
  }

  100% {
    box-shadow:
      0 0 0 25px rgba(77, 184, 74, 0),
      0 0 0 15px rgba(77, 184, 74, 0);
  }
}
/* pulse effect */
@keyframes pulse-glow {
  0% {
    box-shadow:
      0 0 0 0 rgba(145, 66, 153, 0.7),
      0 0 0 0 rgba(145, 66, 153, 0.7);
  }

  40% {
    box-shadow:
      0 0 0 15px rgba(145, 66, 153, 0),
      0 0 0 0 rgba(145, 66, 153, 0.7);
  }

  80% {
    box-shadow:
      0 0 0 25px rgba(145, 66, 153, 0),
      0 0 0 15px rgba(145, 66, 153, 0);
  }

  100% {
    box-shadow:
      0 0 0 25px rgba(145, 66, 153, 0),
      0 0 0 15px rgba(145, 66, 153, 0);
  }
}

/* menubar drop fro top animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/* shine animation */
@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
/* header navbar */
.theme_header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.theme_header .navbar {
  background: transparent !important;
}
.theme_header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.4s ease;
}
.theme_header .nav-link {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}
.theme_header.sticky .nav-link {
  color: #222;
}

.theme_header.sticky .navbar-brand img {
  transition: all 0.3s ease;
}

/* hero banner */
.theme_video_banner {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.theme_video_banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner_content {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  color: var(--tmeme_white);
  text-align: center;
  margin-bottom: 5rem;
}

.theme_video_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.397);
  z-index: 1;
}

.banner_title {
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    #914299 25%,
    #d86cff 50%,
    #914299 75%,
    var(--secondary-color) 100%
  );

  background-size: 300% auto;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;

  animation: shine 6s linear infinite;

  /* text-shadow: 0 0 1px rgba(255, 255, 255, 0.5); */
  /* position: relative; */
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
  letter-spacing: 2px;
}
/* service_program_section */
.service_content {
  padding: 1rem;
  background: #ccc6cc;
  border-radius: 0 0 15px 15px;
}
.service_card {
  text-align: center;
}
.service_program_section .nav-item button.theme_btn {
  border: none;
  box-shadow: none;
  cursor: pointer;
  box-sizing: border-box;
  padding-block: 10px;
}
.service_card_fig {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  position: relative;
}
.service_card_fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service_content p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* about section */
.figure_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.figure_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about_section .container {
  position: relative;
  z-index: 3;
}
.about_brand {
  position: absolute;
  right: 20%;
  top: 6rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 5px 20px;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.whyus_points {
  background: rgba(168, 189, 162, 0.816);
  border-radius: 10px;
  padding: 1rem;
}
.why_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.why_list li p {
  position: relative;
  padding-left: 35px;
}
.why_list li p::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.why_us_img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image_hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s;
  z-index: 2;
  pointer-events: none;
}

.image_hover:hover::before {
  left: 150%;
}
/* add a shine effect on images */

.why_us_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* call banner */
.call_banner .container {
  position: relative;
  z-index: 3;
}
.form_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form_title {
  position: absolute;
  top: 30px;
  left: 50%;

  transform: translateX(-50%);
  z-index: 2;
}
.form_home input,
.form_home textarea,
.form_home select {
  width: 100%;
  padding: 15px 15px;
  border-radius: 5px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.form_home input:focus,
.form_home textarea:focus,
.form_home select:focus {
  outline: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.form_group button {
  border: none;
  width: 100%;
}
.hero-floating-card {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: #fff;
  padding: 10px 30px;
  border-radius: 20px;
}
.hero-floating-card i {
  margin-left: 10px;
  color: goldenrod;
  font-size: 22px;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}
/* footer */
.left_content {
  width: 100%;
  height: 450px;
  place-content: center;
}
.rightside_img {
  position: absolute;
  top: 100px;
  max-width: 650px;
  height: 450px;
  overflow: hidden;
  border-radius: 15px;
  z-index: 2;
}
.rightside_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme_footer {
  background: var(--primary-color);
}
.bottom_footer {
  background: #310336;
}
.bottom_footer p {
  margin: 0;
  padding: 0;
  color: var(--tmeme_white);
}
.bottom_footer p a,
.termconditions a {
  color: var(--secondary-color);
  font-weight: 600;
}
.bottom_footer p a:hover {
  color: var(--tmeme_white);
}
.theme_footer .footer_widget_list li {
  margin-bottom: 10px;
}
.theme_footer .footer_widget_list a {
  color: var(--tmeme_white);
  font-size: 20px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: all 0.3s ease;
}

.footer_widget_list.opening_hours li {
  font-size: 17px;
  font-weight: 400;
  color: var(--tmeme_white);
}
.footer_widget_list.opening_hours li strong {
  color: var(--secondary-color);
  font-weight: 600;
}
.theme_footer .footer_widget_list a i {
  transition: all 0.3s ease;
}

.theme_footer .footer_widget_list a:hover {
  color: var(--secondary-color);
  transform: translateX(2px) scale(1.02);
}

.theme_footer .footer_widget_list a:hover i {
  color: var(--secondary-color);
  transform: rotate(-2deg);
}
.footer_overlay {
  position: absolute;
  inset: 0;
  background: #350239c5;
}
.footer_top,
.main_footer,
.bottom_footer {
  position: relative;
  z-index: 3;
}
/* testimonial */
.testimonial_section .container {
  position: relative;
  z-index: 3;
}
.testi_card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 30px;
  margin: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.234);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
  background: linear-gradient(135deg, #3317366e, #1736166f);
}

/* Hover Animation Effect */
.testi_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(62, 1, 76, 0.271);
  border-color: rgba(90, 2, 108, 0.27);
}

/* Decorative Quote Icon */
.testi_card .icon_testi {
  position: absolute;
  top: 60%;
  right: 25%;
  width: 90px;
  z-index: -1;
  opacity: 0.5;
}

.testi_card .chat_img img {
  width: 80%;
  height: 200px;
}
/* User Info Layout */
.testi_info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi_img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border-color: rgba(121, 0, 121, 0.871);
  /* Light aesthetic border rings */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.testi_card:hover .testi_img {
  transform: scale(1.08);

  border: 1px solid #f0fdf4;
}

.testi_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typography styles */
.testi_name .section_title {
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 4px 0;
}

.testi_name .section_subtitle {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}

/* --- Customizing Owl Carousel Dots (Optional Polish) --- */
.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #cbd5e1 !important;
  transition: var(--transition-smooth);
}

.owl-theme .owl-dots .owl-dot.active span {
  width: 30px;
  background: var(--primary-color) !important;
}
.testi_card .section_text {
  color: var(--tmeme_white);
  font-weight: 400;
  line-height: 1.5;
}
.testi_card .section_comp {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 400;
}
.testimonial_section .overlay {
  background: rgba(0, 0, 0, 0.597);
}
/* team section */
/*==============================
 Team Section
==============================*/

.team-section {
  position: relative;
  padding: 8ch 0;
  background: #f5f9fc;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(0, 174, 239, 0.08);
  border-radius: 50%;
}

.section-title {
  text-align: center;
  max-width: 75%;
  margin: 0 auto 60px;
}

.section-title span {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-title h2 {
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title p {
  line-height: 28px;
}

.team-card {
  position: relative;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  margin: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.6s ease;
  object-position: top;
}

.team-card:hover .team-image img {
  transform: scale(1.08);
}

.team-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.team-card:hover .team-image::before {
  opacity: 1;
}

.team-content {
  padding: 15px 30px;
  position: relative;
}

.team-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.team-content span {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-info {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item {
  flex: 1;
  background: #556b54;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
}

.team-card:hover .info-item {
  background: var(--secondary-color);
}

.info-item i {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.info-item p {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0;
  transition: all 0.3s ease;
}

.team-card:hover .info-item i,
.team-card:hover .info-item p {
  color: #fff;
}
.owl-dots {
  margin-top: 40px;
  text-align: center;
}

.owl-dot span {
  width: 14px;
  height: 14px;
  margin: 5px;
  background: #cfd9df !important;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.team-section .owl-dot.active span {
  width: 38px;
  border-radius: 30px;
  background: var(--secondary-color) !important;
}

/* Responsive */

@media (max-width: 991px) {
  .section-title h2 {
    font-size: 38px;
  }

  .team-image img {
    height: 380px;
  }
}

@media (max-width: 767px) {
  .team-section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .team-content {
    padding: 25px;
  }

  .team-image img {
    height: 320px;
  }
}
/*================================
 Blog Section
================================*/

.blog-section {
  position: relative;
  padding: 80px 0;
  background: #d7d7d7;
  overflow: hidden;
}

.blog-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  position: relative;
  height: 520px;
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.5s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
  transform: translateY(-12px);
}

.blog-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

/*================================
 Gradient Overlay
================================*/

.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(145, 66, 153, 0.96) 0%,
    rgba(77, 184, 74, 0.72) 25%,
    rgba(0, 0, 0, 0.1) 55%,
    transparent 100%
  );
  transition: all 0.6s ease;
}

.blog-card:hover .blog-overlay {
  background: linear-gradient(
    to top,
    rgba(145, 66, 153, 0.98) 8%,
    rgba(77, 184, 74, 0.88) 52%,
    rgba(0, 0, 0, 0.28) 78%,
    transparent 100%
  );
}

/*================================
 Content
================================*/

.blog-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 35px;
  z-index: 2;

  /* add this */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Default Heading Bottom */

.blog-content h4 {
  color: var(--tmeme_white);
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 0;

  /* add this */
  margin-top: auto;

  transition: all 0.5s ease;
  transform: translateY(0);
}

/* Hidden Content */

.blog-content p,
.blog-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.45s ease;
  display: none;
}

/* Paragraph */

.blog-content p {
  color: var(--tmeme_white);
  line-height: 28px;
  margin-top: 15px;
  margin-bottom: 18px;
}

/* Read More Button */

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tmeme_white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-btn i {
  transition: all 0.4s ease;
}

.blog-card:hover .blog-btn i {
  transform: translateX(5px);
}

/*================================
 Hover Animation
================================*/

/* Move heading upward */

.blog-card:hover .blog-content h3 {
  transform: translateY(-20px);
}

/* Show paragraph and button */

.blog-card:hover .blog-content p,
.blog-card:hover .blog-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

/*================================
 Border Hover
================================*/

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 2px solid transparent;
  transition: all 0.45s ease;
  z-index: 4;
}

.blog-card:hover::after {
  border-color: rgba(255, 255, 255, 0.2);
}

/*================================
 Shine Effect
================================*/

.blog-card::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 180px;
  height: 180%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(25deg);
  z-index: 3;
  transition: all 0.8s ease;
}

.blog-card:hover::before {
  left: 130%;
}

/*================================
 Responsive
================================*/
