.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: default;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide-active .hero-bg {
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
  0deg,
  rgba(255, 255, 255, 0.8) 0%,
  rgba(255, 255, 255, 0.8) 0%,
  rgba(255, 255, 255, 0.8) 100%
);


  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 70%;
  padding: 0 4rem;
  opacity: 0;
  transform: translateY(30px);
  margin: 0 auto;
  text-align: center;
}

.hero-slide-active .hero-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0089be;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #333;
}

.hero-title span {
  color: #0089be;
}

.hero-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 80%;
  color: #555;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-button {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.hero-stat-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

.hero-stat {
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide-active .hero-stat {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-active .hero-stat:nth-child(1) {
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-slide-active .hero-stat:nth-child(2) {
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hero-slide-active .hero-stat:nth-child(3) {
  transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #BE3500;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #777;
}

.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hero-nav-bullet {
  width: 2rem;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-nav-bullet-active {
  background-color: #0089be;
  width: 3rem;
}

.hero-shape {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transition: all 1s ease;
}

.hero-slide-active .hero-shape {
  opacity: 0.3;
}

.hero-shape-1 {
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, #0089be, transparent);
  filter: blur(40px);
}

.hero-shape-2 {
  bottom: 15%;
  right: 25%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(45deg, #BE3500, transparent);
  filter: blur(40px);
}


/* General styles for the hero section wrapper */
.hero-section-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  /* overflow: hidden; */
}

/* Hero section overrides for the shrinking effect */
@media (min-width: 1400px) {
  .hero-section {
    transition: width 0.3s ease-out, margin 0.3s ease-out, border-radius 0.3s ease-out, box-shadow 0.3s ease-out;
  }
  
  /* Add shadow when scrolled and shrunk */
  .hero-section.scrolled {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  }
  
  .hero-section.scrolled .hero-content {
    max-width: 90%;
  }
  
  
  .hero-section.scrolled .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }

  .hero-section.scrolled .hero-overlay .hero-title {
    color: #fff;
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    padding: 0 2rem;
  }

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

  .hero-stat-wrapper {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 1.5rem;
    margin: 0;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-button {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  .hero-stat-wrapper {
    margin-top: 2rem;
    justify-content: center;
    gap: 1.25rem;
    flex-direction: column;
  }

  .hero-stat {
    text-align: center;
    width: 100%;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .hero-nav {
    bottom: 1rem;
  }

  .hero-nav-bullet {
    width: 1.5rem;
    height: 2px;
  }

  .hero-nav-bullet-active {
    width: 2.5rem;
  }

  .hero-shape-1 {
    top: 5%;
    right: 5%;
    width: 120px;
    height: 120px;
  }

  .hero-shape-2 {
    bottom: 10%;
    right: 15%;
    width: 80px;
    height: 80px;
  }
}

.serv-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.serv-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.serv-shape {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.serv-shape-1 {
    width: 300px;
    height: 300px;
    background-color: #0089be;
    top: -100px;
    left: 10%;
}

.serv-shape-2 {
    width: 400px;
    height: 400px;
    background-color: #be3500;
    top: -200px;
    right: 5%;
}

.serv-shape-3 {
    width: 200px;
    height: 200px;
    background-color: #0089be;
    bottom: 100px;
    left: 20%;
}

.serv-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.serv-label {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(190, 53, 0, 0.1);
    color: #be3500;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.serv-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.serv-desc {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.serv-action {
    margin-top: 10px;
}

.serv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
}

.serv-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.serv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.serv-card:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 220px solid transparent;
    border-bottom: 140px solid rgba(219, 234, 254, 0.3);
}

.serv-card:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-bottom: 60px solid #0089be;
}

.serv-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 137, 190, 0.1), rgba(190, 53, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
    color: #0089be;
    transition: all 0.3s ease;
}

.serv-card:hover .serv-card-icon {
    background: linear-gradient(135deg, rgba(0, 137, 190, 0.2), rgba(190, 53, 0, 0.2));
    transform: scale(1.1);
    color: #be3500;
}

.serv-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.serv-card-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Animation styles for header elements */
.serv-label, .serv-title, .serv-desc, .serv-action {
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .serv-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .serv-section {
        padding: 80px 0;
    }
    
    .serv-container {
        padding: 0 30px;
    }
    
    .serv-header {
        margin-bottom: 50px;
    }
    
    .serv-title {
        font-size: 30px;
    }
    
    .serv-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .serv-card {
        padding: 35px 25px;
    }
    
    .serv-card-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .serv-card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .serv-section {
        padding: 60px 0;
    }
    
    .serv-container {
        padding: 0 20px;
    }
    
    .serv-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .serv-card {
        padding: 30px 20px;
    }
    
    .serv-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .serv-card-title {
        font-size: 20px;
    }
    
    .serv-desc, .serv-card-desc {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .serv-title {
        font-size: 28px;
    }
    
    .serv-card-title {
        font-size: 18px;
    }
    
    .serv-card-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}
.why {
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url(../images/shake1.jpg);
  background-size: cover;
  background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-title {
  color: #0089be;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.2s;
}

.why-description {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.4s;
}

.why-grid {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-row {
  display: table-row;
}

.why-cell {
  display: table-cell;
  width: 50%;
  text-align: center;
  padding: 40px 20px;
  vertical-align: middle;
  border: none;
}

/* Only inner borders */
.why-row:not(:last-child) .why-cell {
  border-bottom: 1px solid #e0e0e0;
}

.why-cell:first-child {
  border-right: 1px solid #e0e0e0;
}

.why-icon-container {
  display: inline-block;
  margin-bottom: 15px;
}

.why-icon {
  font-size: 32px;
  color: #0089be;
}

.why-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

/* Responsive styles */
@media (max-width: 768px) {
  .why-main-title {
    font-size: 2rem;
  }

  .why-grid {
    display: block;
  }

  .why-row {
    display: block;
  }

  .why-cell {
    display: block;
    width: 100%;
    padding: 30px 15px;
  }

  .why-cell:first-child {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
}

@media (max-width: 576px) {
  .why-section {
    padding: 60px 15px;
  }

  .why-main-title {
    font-size: 1.8rem;
  }

  .why-description {
    font-size: 1rem;
  }

  .why-cell {
    padding: 25px 10px;
  }

  .why-icon {
    font-size: 28px;
  }

  .why-card-title {
    font-size: 1.1rem;
  }
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Portfolio Container - Full Width & Height */
.port-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 5rem 1rem;
  overflow: hidden;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Shapes */
.port-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.port-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(20px);
}

.port-shape-1 {
  top: -6rem;
  right: -6rem;
  width: 16rem;
  height: 16rem;
  background-color: #0089be;
}

.port-shape-2 {
  top: 50%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background-color: #be3500;
}

.port-shape-3 {
  bottom: 0;
  right: 25%;
  width: 10rem;
  height: 10rem;
  background-color: #0089be;
  opacity: 0.05;
}

.port-shape-4 {
  top: 25%;
  left: 33%;
  width: 5rem;
  height: 5rem;
  background-color: #be3500;
  opacity: 0.03;
}

/* Content Container - Centered with Max Width */
.port-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.port-header {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  width: 100%;
  text-align: center;
}

.port-label {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(190, 53, 0, 0.1);
  color: #be3500;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
}

.port-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.port-description {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Project Card Container */
.port-project-container {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Project Card Layout */
.port-project-card {
  display: flex;
  min-height: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.port-project-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Project Image */
.port-project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    height: 400px;
    max-height: 500px;
}

.port-project-image img {
    width: 80%;
    height: 80%;
    transition: transform 0.7s ease;
}

.port-project-card:hover .port-project-image img {
  transform: scale(1.05);
}

/* Project Content */
.port-project-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  position: relative;
}

/* Category Badge */
.port-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #4F46E5;
  color: white;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  width: fit-content;
}

.port-category-badge i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

/* Project Title */
.port-project-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Project Client */
.port-project-client {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 1rem;
}

/* Project Description */
.port-project-description {
  font-size: 0.9375rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Technologies Section */
.port-tech-section {
  margin-top: auto;
}

.port-tech-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.port-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.port-tech-item {
  font-size: 0.75rem;
  background-color: #F3F4F6;
  color: #4B5563;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Navigation Dots */
.port-navigation {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.port-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #D1D5DB;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.port-nav-dot.active {
  background-color: #F97316;
  transform: scale(1.2);
}

.port-nav-dot:hover {
  background-color: #9CA3AF;
}

.port-nav-dot.active:hover {
  background-color: #EA580C;
}

/* Navigation Arrows */
.port-nav-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1rem;
  right: 2rem;
  z-index: 10;
}

.port-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6B7280;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.port-nav-arrow:hover {
  background: white;
  color: #0089be;
  border-color: #0089be;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.port-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.port-nav-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #6B7280;
  border-color: #E5E7EB;
  box-shadow: none;
}

/* Category Colors */
.category-web { background-color: #0089be; }
.category-design { background-color: #be3500; }
.category-software { background-color: #059669; }
.category-cloud { background-color: #7C3AED; }
.category-consulting { background-color: #DC2626; }

/* Responsive Design */
@media (max-width: 1200px) {
  .port-content {
      max-width: 1000px;
  }
}

@media (max-width: 992px) {
  .port-container {
      padding: 4rem 2rem;
  }

  .port-content {
      max-width: 800px;
  }

  .port-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .port-nav-arrows {
      position: static;
      transform: none;
      justify-content: center;
      margin-top: 1rem;
  }
}

@media (min-width: 640px) {
  .port-container {
      padding: 5rem 2rem;
  }

  .port-title {
      font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .port-container {
      padding: 3rem 1.5rem;
  }

  .port-content {
      max-width: 100%;
  }

  .port-project-card {
      flex-direction: column;
  }

  .port-project-image {
    flex: none;
    height: 400px;
    max-height: 500px;
    max-width: 500px;
    width: 100%;
}

  .port-project-content {
      padding: 2rem 1.5rem;
      text-align: center;

  }

  .port-cat-badge-container {
    display: flex;
    justify-content: center;
  }

  .port-tech-list {
      justify-content: center;
  }

  .port-project-title {
      font-size: 1.5rem;
  }

  .port-nav-arrows {
      position: static;
      transform: none;
      justify-content: center;
      margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .port-container {
      padding: 3rem 1rem;
  }

  .port-title {
      font-size: 1.75rem;
  }

  .port-project-content {
      padding: 1.5rem 1rem;
  }

  .port-project-title {
      font-size: 1.25rem;
  }

  .port-project-image {
    height: 350px;
    max-height: 500px;
    max-width: 500px;
}
}

@media (min-width: 1024px) {
  .port-container {
      padding: 6rem 4rem;
  }
}

.test-section {
    width: 100%;
    min-height: 100vh;
    background: rgba(224, 224, 224, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.test-container {
    max-width: 1400px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.test-container.test-visible {
    opacity: 1;
    transform: translateY(0);
}

.test-header {
    text-align: center;
    position: relative;
}

.test-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.test-quote-icon {
    font-size: 4rem;
    color: #be3500;
    margin-bottom: 20px;
}

.test-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.test-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.test-content {
    width: 85%;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    gap: 60px;
    align-items: center;
    min-height: 400px;
    display: none;
}

.test-image-container {
    flex: 0 0 300px;
    position: relative;
}

.test-main-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s ease;
}

.test-main-image.test-active {
    transform: scale(1);
    opacity: 1;
}

.test-text-content {
    flex: 1;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.test-text-content.test-active {
    opacity: 1;
    transform: translateX(0);
}

.test-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.test-testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: #0089be;
    position: absolute;
    left: -30px;
    top: -40px;
    font-family: Georgia, serif;
}

.test-client-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.test-client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.test-client-position {
    font-size: 1rem;
    color: #0089be;
    font-weight: 600;
}

.test-client-company {
    font-size: 0.95rem;
    color: #be3500;
    font-weight: 500;
}

.test-avatars {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 40px 40px;
}

.test-avatars {
    display: none;
}

.test-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    transform: scale(0.9);
}

.test-avatar:hover {
    transform: scale(1);
    opacity: 0.8;
}

.test-avatar.test-active {
    border-color: #0089be;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 137, 190, 0.3);
}

.test-ratings-section {
    padding: 60px 40px;
}

.test-ratings-title {
    text-align: center;
    font-size: 1.5rem;
    color: #0089be;
    margin-bottom: 20px;
    font-weight: 600;
}

.test-ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.test-rating-card {
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.test-rating-card.test-visible {
    opacity: 1;
    transform: translateY(0);
}

.test-rating-logo {
    width: 200px;
    height: 120px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.test-rating-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.test-loading {
    display: none;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.test-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0089be;
    border-radius: 50%;
    animation: test-spin 1s linear infinite;
}

@keyframes test-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .test-title {
        font-size: 2rem;
    }

    .test-content {
        width: 100%;
    }


    .test-testimonial-text {
        font-size: 1rem;
    }

    .test-ratings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .test-rating-logo {
        width: 150px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .test-header {
        padding: 40px 30px 30px;
    }

    .test-title {
        font-size: 2rem;
    }

    .test-content {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
        text-align: center;
    }

    .test-image-container {
        flex: none;
    }

    .test-main-image {
        width: 250px;
        height: 250px;
    }

    .test-testimonial-text::before {
        left: -20px;
        font-size: 3rem;
    }

    .test-avatars {
        padding: 0 30px 30px;
        gap: 15px;
    }

    .test-avatar {
        width: 60px;
        height: 60px;
    }

    .test-ratings-section {
        padding: 40px 30px;
    }

    .test-ratings-title {
        font-size: 1.5rem;
    }

    .test-ratings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .test-rating-card {
        padding: 25px 15px;
    }

    .test-rating-logo {
        width: 150px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .test-main-image {
        width: 200px;
        height: 200px;
    }

    .test-testimonial-text {
        font-size: 1rem;
    }

    .test-avatar {
        width: 50px;
        height: 50px;
    }

    .test-ratings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .test-rating-logo {
        width: 100px;
        height: 60px;
    }
}

