﻿/* Root Variables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #000000;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --footer-bg: #0b132b;
  --footer-accent: #1c2541;
  --footer-highlight: #3a506b;
  --footer-text: #e6eef7;
  --footer-muted: #9fb3c8;
  --brand: #65d6ff;
  --simpaz: #17a1fc;
  --pink: #f54c7f;
  --font-battambang: "Noto Sans Khmer", sans-serif;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-battambang);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

.img-simpaz {
  max-width: 150px;
  width: 100%;
  height: auto;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark-color);
  border-color: var(--dark-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background-color: #0f172a;
  border-color: #0f172a;
  transform: translateY(-2px);
}

/* Animation Keyframes */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Top Header */
.top-header {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  padding: 0.5rem 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white !important;
}

/* Navigation */
.simpaz {
  color: white;
  background-color: var(--simpaz);
  border-color: var(--simpaz);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.text-d {
  color: var(--pink);
}

.text-p {
  color: var(--simpaz);
}

.btn-p {
  background-color: var(--simpaz);
  border-color: var(--simpaz);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
}

.btn-r {
  background-color: var(--pink);
  border-color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
}

.btn-p:hover,
.simpaz:hover {
  color: white !important;
  background-color: #0b8de6;
  border-color: #0b8de6;
  transform: translateY(-2px);
}

#text-p {
  color: var(--simpaz);
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
  font-weight: 700 !important;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark-color);
  margin: 0 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 18px;
}

.navbar-nav .nav-link:hover {
  color: var(--simpaz) !important;
  transform: scale(1.05);
}

.page-active {
  color: var(--blue) !important;
  font-weight: 700;
  position: relative;
}

.page-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: all 0.3s ease;
  width: 100%;
  height: 2px;
  background-color: var(--simpaz);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/images/web.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: white;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-content .badge {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn {
  border-radius: 50px;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  margin-bottom: 1rem;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-main-img {
  max-width: 100%;
  width: clamp(200px, 50vw, 400px);
  height: auto;
  object-fit: cover;
  border: 10px solid white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

/* Statistics Cards */
.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  width: 100%;
  margin-bottom: 1rem;
}

.stat-card-1,
.stat-card-2 {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.stat-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Background Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: clamp(100px, 15vw, 200px);
  height: clamp(100px, 15vw, 200px);
  background: var(--primary-color);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: clamp(80px, 10vw, 150px);
  height: clamp(80px, 10vw, 150px);
  background: var(--secondary-color);
  bottom: 20%;
  left: 5%;
  animation: float 4s ease-in-out infinite reverse;
}

.shape-3 {
  width: clamp(50px, 8vw, 100px);
  height: clamp(50px, 8vw, 100px);
  background: var(--primary-color);
  top: 50%;
  left: 15%;
  animation: float 5s ease-in-out infinite;
}

/* Features Section */
.features-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.feature-item {
  text-align: center;
  padding: 1rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  background-color: var(--pink) !important;
}

.feature-item h6 {
  font-size: clamp(0.9rem, 2.5vw, 1rem);

  margin-bottom: 0;
}

.input-group {
  width: 100%;
  max-width: 270px;
}

/* About Section */
.about-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.about-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.about-images img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Input Group */
.group {
  display: flex;
  line-height: 28px;
  align-items: center;
  position: relative;
  max-width: 100%;
  margin: 0.5rem 0;
}

.icon {
  position: absolute;
  left: 1rem;
  fill: #9e9ea7;
  width: 1rem;
  height: 1rem;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Popular Courses */
.cards {
  width: 100%;
  max-width: 16rem;
  background: #fff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.09);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.circle {
  width: 6rem;
  height: 6rem;
  background: #7c3aed;
  border-radius: 50%;
  position: absolute;
  right: -20px;
  top: -28px;
}

.circle p {
  position: absolute;
  bottom: 18px;
  left: 10px;

  font-size: 1.5rem;
  margin: 0;
  font-weight: bold;
}

.cards .icon {
  width: 3rem;
  fill: #7c3aed;
  margin-bottom: 1rem;
}

.cards h1 {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.cards p {
  font-size: 0.875rem;

  line-height: 1.5rem;
  margin: 0;
}

.custom-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-card .circle {
  width: 60px;
  height: 60px;
  background: var(--simpaz);
  border-radius: 50%;
  position: absolute;
  right: -15px;
  top: -15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-card .circle p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.custom-card .icon {
  font-size: 2.25rem;
  color: var(--simpaz);
  margin-bottom: 1rem;
}

.custom-card h5 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.custom-card p {
  font-size: 0.875rem;

  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

/* Footer */
.footer-wrap {
  position: relative;
  color: var(--footer-text);
  background: radial-gradient(
      1200px 500px at 10% -10%,
      #12223d 0%,
      var(--footer-bg) 60%
    ),
    linear-gradient(180deg, var(--footer-accent), var(--footer-bg));
  overflow: hidden;
  padding-top: 3rem;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  opacity: 0.4;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(101, 214, 255, 0.08);
  border: 1px solid rgba(101, 214, 255, 0.2);
  color: var(--brand);
  font-weight: 600;
}

.footer-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.link-list a {
  color: var(--footer-muted);
  text-decoration: none;
}

.link-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.qr-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qr-box {
  aspect-ratio: 1 / 1;
  width: clamp(100px, 20vw, 144px);
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.qr-box img {
  max-width: 80%;
  height: auto;
}

.badge-soft {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.newsletter .form-control::placeholder {
  color: var(--footer-muted);
}

.social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.social a:hover {
  background: var(--footer-highlight);
}

.mini-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.copyright {
  color: var(--footer-muted);
}

/* Testimonial Section */
.swiper-section {
  background-color: #fff;
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.text-p {
  color: #17a1fc;
  font-size: 18px;
}

h2.text-black {
  font-weight: 700;
  position: relative;
  display: inline-block;
}

h2.text-black:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #17a1fc;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial {
  position: relative;
  height: 670px !important;
  text-align: center;
  padding: 85px 20px 45px;
  margin: 70px 10px 35px;
  background: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  border-radius: 12px;
  height: 100%;
  transition: all 0.4s ease;
  transform: translateY(0);
}
.testimonial-profile {
  position: absolute !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  bottom: 3% !important;
}
.icon-linlIn-app {
  position: absolute !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  bottom: 8% !important;
  font-size: 35px;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15), 8px 4px 0 0 #17a1fc;
}

.testimonial .pic {
  width: 100px;
  height: 100px;
  border: 2px solid #17a1fc;
  border-radius: 50%;
  margin: 0 auto;
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(23, 161, 252, 0.2);
}

.testimonial:hover .pic {
  transform: scale(1.05);
  border-width: 3px;
}

.testimonial .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.testimonial:hover .pic img {
  transform: scale(1.1);
}

.testimonial .description {
  line-height: 25px !important;
  font-size: 15px !important;

  margin-bottom: 20px;
  position: relative;
  padding: 0 5px;
  transition: all 0.4s ease;
  overflow-wrap: break-word;
  hyphens: auto;
}

.testimonial .description:before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
  color: #17a1fc;
  position: absolute;
  top: -15px;
  left: 5px;
  opacity: 0.7;
  transition: all 0.4s ease;
}

.testimonial:hover .description:before {
  opacity: 1;
  transform: rotate(5deg) scale(1.2);
}

.testimonial .testimonial-profile {
  position: relative;
  /* margin: 20px 0 10px 0; */
  transition: all 0.4s ease;
}

.testimonial .testimonial-profile:after {
  content: "";
  width: 50px;
  height: 2px;
  background: #17a1fc;
  margin: 0 auto;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  transition: all 0.4s ease;
}

.testimonial:hover .testimonial-profile:after {
  width: 70px;
  height: 3px;
}

.testimonial .title {
  padding: 10px;
  display: block;
  font-size: 8px;
  color: #17a1fc;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  transition: all 0.4s ease;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial:hover .title {
  letter-spacing: 1.5px;
}

.testimonial .post {
  display: block;
  font-size: 14px;
  /* text-transform: capitalize; */
  transition: all 0.4s ease;
}

.owl-stage-outer {
  padding: 30px 0;
}

.owl-item {
  opacity: 0.7;
  transition: all 0.6s ease;
  transform: scale(0.92);
}

.owl-item.active {
  opacity: 1;
  transform: scale(1);
}

.owl-theme .owl-dots {
  margin-top: 20px;
}

.owl-theme .owl-dots .owl-dot span {
  background: #5e5f5f;
  opacity: 0.6;
  transition: all 0.4s ease;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  /* margin: 5px 4px; */
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #17a1fc;
  opacity: 1;
  transform: scale(1.3);
}

.owl-theme .owl-nav {
  margin-top: 10px;
}

.owl-theme .owl-nav [class*="owl-"] {
  background: rgba(23, 161, 252, 0.2);
  color: #17a1fc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  margin: 0 5px;
  transition: all 0.4s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.owl-theme .owl-nav .owl-prev {
  left: -50px;
}

.owl-theme .owl-nav .owl-next {
  right: -50px;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: #17a1fc;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Animation for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-section {
  animation: fadeIn 0.8s ease;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 3rem);
  }

  .hero-main-img {
    width: clamp(250px, 40vw, 350px);
  }

  .stat-card-1,
  .stat-card-2 {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 1rem auto;
  }
}

@media (max-width: 992px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .nav-buttons {
    flex-direction: column;
    align-items: flex-start !important;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .features-section {
    padding-left: 0;
  }

  .feature-item {
    margin-bottom: 1.5rem;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .top-header .row > div {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .top-header .text-end {
    text-align: center !important;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .hero-main-img {
    width: clamp(200px, 45vw, 250px);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .hero-section {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  .about-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }

  .footer-content .row > div {
    margin-bottom: 1.5rem;
  }

  .courses-section .text-center span {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem) !important;
  }

  .img-simpaz {
    max-width: 120px !important;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .custom-card {
    padding: 1rem;
  }

  .custom-card .circle {
    width: 50px;
    height: 50px;
    right: -10px;
    top: -10px;
  }

  .custom-card .circle p {
    font-size: 1rem;
  }

  .custom-card .icon {
    font-size: 2rem;
  }

  .custom-card h5 {
    font-size: 1.1rem;
  }

  .custom-card p {
    font-size: 0.85rem;
  }

  .courses-section h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 1302px) {
  .post i {
    font-size: 30px !important;
  }
  .post a {
    text-decoration: none;
  }
  .description,
  .title {
    font-size: 13px !important;
  }
}
@media (max-width: 1301px) {
  .post i {
    font-size: 30px !important;
  }
  .post a {
    text-decoration: none;
  }
  .description,
  .title {
    font-size: 13px !important;
  }
}
@media (max-width: 1200px) {
  .description {
    line-height: 555px !important;
    font-size: 13px !important;
  }
  .testimonial {
    padding: 80px 15px 40px;
    margin: 60px 8px 30px;
  }

  .testimonial .pic {
    width: 90px;
    height: 90px;
    top: -45px;
  }

  .owl-theme .owl-nav .owl-prev {
    left: -30px;
  }

  .owl-theme .owl-nav .owl-next {
    right: -30px;
  }
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 992px) {
  .description {
    font-size: 13px !important;
  }
  .testimonial {
    padding: 75px 12px 35px;
    margin: 50px 5px 25px;
  }

  .testimonial .pic {
    width: 80px;
    height: 80px;
    top: -40px;
  }

  .testimonial .title {
    font-size: 8px;
  }


  .owl-theme .owl-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .swiper-section {
    padding: 60px 0;
  }

  .testimonial {
    padding: 70px 10px 30px;
    margin: 50px 5px 20px;
  }

  .testimonial .pic {
    width: 70px;
    height: 70px;
    top: -35px;
  }

  .testimonial .description {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 15px;
  }

  .testimonial .description:before {
    font-size: 18px;
    top: -12px;
  }

  .testimonial .title {
    font-size: 13px;
  }

  .testimonial .post {
    font-size: 12px;
  }

  /* .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
  } */
}

@media (max-width: 576px) {
  .icon-linlIn-app {
    bottom: 30%;
    font-size: 25px !important;
  }
  .title {
    font-size: 0.6rem !important;
  }
  h2,
  h1 {
    font-size: 24px !important;
  }
  p,
  a,
  h6,
  h4,
  .activity-tap {
    font-size: 16px !important;
  }
  .swiper-section {
    padding: 40px 0;
  }

  .testimonial {
    height: 450px !important;
    padding: 60px 8px 25px;
    margin: 40px 3px 15px;
  }
  description .testimonial .pic {
    width: 60px;
    height: 60px;
    top: -30px;
  }

  .testimonial .description {
    font-size: 13px !important;
    line-height: 20px;
    margin-bottom: 12px;
  }

  .testimonial .description:before {
    font-size: 13px;
    top: -10px;
    left: 3px;
  }

  .testimonial .title {
    font-size: 13px;
  }

  .testimonial .post {
    font-size: 11px;
  }

  .owl-stage-outer {
    padding: 20px 0;
  }

  .owl-theme .owl-dots {
    margin-top: 15px;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }
}



@media (max-width: 400px) {
  .testimonial {
    height: 520px !important;
  }

  .testimonial .description {
    font-size: 16px;
    line-height: 18px;
  }

  .testimonial .title {
    font-size: 13px ;
  }
}
