/* ========================================
   Global Video Styles - Apply to All Screen Sizes
   ======================================== */

/* Ensure videos fill their containers properly across all devices */
video {
  display: block;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

/* Remove any potential spacing from video containers */
.herosection-bg-vedio,
.section-1,
.hero-video,
.section1-video {
  box-sizing: border-box;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

/* Hero Section Container - Base styles */
.herosection-containter {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100%; /* Ensure it takes full height of parent */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* ========================================
   Header Base Styles - Default Behavior
   ======================================== */

/* Header default state - visible on mobile/tablet, hidden on desktop */
#split-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  height: 60px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* ========================================
   DAAS Website Responsive Styles
   Mobile & Tablet Breakpoints
   ======================================== */

/* Mobile First Approach */

/* Base Mobile Styles (320px and up) */
@media (max-width: 767px) {
  
  /* Header Responsive */
  .main {
    position: relative;
  }

  /* Show header on mobile by default */
  #split-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding: 0.75rem 1rem;
    height: 60px;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-container img {
    height: 32px !important;
  }

  #header-menu-button {
    padding: 0.5rem !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px;
    background-color: #444;
    border: none;
    box-shadow: #18274B;
  }
  
  /* Hamburger Icon Styles */
  .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
  }
  
  .hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  /* Hamburger Animation - Transform to X */
  .hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  
  .hamburger-icon.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  /* Menu Content Mobile */
  .menu-button-content {
    top: 60px !important;
    right: 1rem !important;
    width: calc(100vw - 2rem) !important;
    height: 70vh !important;
    border-radius: 1rem !important;
  }

  /* Hero Section Responsive */
  .herosection {
    height: 60vh; /* Reduced height for mobile */
    position: relative;
    margin-top: 60px; /* Account for fixed header */
  }

  .herosection-containter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Remove any padding that could cause spacing */
    margin: 0;
    position: relative;
    z-index: 20;
  }

  /* Hide bottom menu on mobile */
  .herosection-footer {
    display: none !important;
  }

  /* Ensure hero section footer is completely hidden on mobile */
  .herosection-footer,
  .herosection-footer-content,
  .menubar-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Video Container - Exact height match with no extra spacing */
  .herosection-bg-vedio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh; /* Match the hero section height exactly */
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: white;
  }

  .hero-video {
    width: 100%;
    height: 35vh; /* Match container height exactly */
    object-fit: inherit;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
  }

  /* Section 1 Responsive */
  .section-1 {
    height: 60vh; /* Reduced height to match hero section */
    padding-top: 0; /* Remove extra padding */
  }

  .section-1-containter {
    width: 100% !important;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .section-1-containter-left {
    width: 100% !important;
  }

  .section-1-containter-left-t {
    width: 100% !important;
  }

  .section-1-containter-left-t img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .section-1-containter-left p {
    width: 100% !important;
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .section-1-containter-right {
    display: none;
  }

  /* Section 2 Responsive */
  .section-2 {
    height: auto;
    padding: 1rem 0;
  }

  .section-2-containter {
    width: 90% !important;
    padding: 2rem 0;
  }

  .section-2-containter-header h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
    text-align: center;
  }

  /* Section 3 Responsive */
  .section-3-containter {
    width: 100% !important;
  }

  .section-3-containter-content {
    flex-direction: column;
    gap: 2rem;
  }

  .section-3-containter-content-left {
    width: 100% !important;
    height: auto !important;
  }

  .section-3-containter-content-left img {
    width: 100%;
    max-width: 300px;
    height: auto !important;
  }

  .section-3-containter-content-right {
    width: 100% !important;
    height: auto !important;
    padding: 1rem;
  }

  .services-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .service-card {
    height: 180px;
  }

  /* Section 4 Responsive */
  .section-4 {
    width: 100% !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1rem !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin: auto !important;
  }
  
  /* Override expanded state height issues */
  .section-4.expanded {
    min-height: auto !important;
    height: auto !important;
    padding: 1rem !important;
  }
  
  .section-4 #section4-text {
    width: 100% !important;
    text-align: center;
    margin-bottom: 1rem;
  }

  .section-4 #section4-text h1 {
    font-size: 1.5rem !important;
    margin-bottom: 16px;
  }
  
  .section-4 #section4-text p {
    width: 100% !important;
  }

  .section-4 #section4-cards {
    width: 100% !important;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    justify-content: center;
  }

  .section-4 .client-underline {
    margin: 0 auto 16px auto;
  }
  
  .section-4 .phase-card {
    margin: 0 !important;
    padding: 0.5rem !important;
  }
  
  .section-4 .phase-card * {
    margin: 0 !important;
  }

  .phase-card {
    width: calc(50% - 0.5rem) !important;
    min-width: 140px;
  }

  .phase-title {
    font-size: 0.875rem;
  }

  /* Contact Form Responsive */
  .section-7-container {
    width: 100% !important;
    padding: 2rem 1rem !important;
  }

  .section-7-content {
    flex-direction: column !important;
  }

  .start-project {
    width: 100% !important;
  }

  .form-group.flex {
    flex-direction: column !important;
  }

  .form-group .w-1\/2 {
    width: 100% !important;
  }

  /* Footer Responsive */
  .footer-main {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .das-logo {
    height: 200px !important;
  }

  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-media {
    justify-content: center;
  }
}

/* Tablet Styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  
  /* Show header on tablet by default */
  #split-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding: 0.75rem 2rem;
    height: 70px;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-container img {
    height: 40px !important;
  }

  #header-menu-button {
    padding: 0.5rem !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Menu Content Tablet */
  .menu-button-content {
    top: 70px !important;
    right: 2rem !important;
    width: 300px !important;
    height: 65vh !important;
    border-radius: 1.5rem !important;
  }

  /* Hero Section Tablet */
  .herosection {
    height: 70vh; /* Reduced height for tablet */
    margin-top: 70px; /* Account for fixed header */
  }

  .herosection-containter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Remove any padding that could cause spacing */
    margin: 0;
    position: relative;
    z-index: 20;
  }

  /* Hide bottom menu on tablet */
  .herosection-footer {
    display: none !important;
  }

  /* Ensure hero section footer is completely hidden on tablet */
  .herosection-footer,
  .herosection-footer-content,
  .menubar-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Video Container - Exact height match for tablet */
  .herosection-bg-vedio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh; /* Match the hero section height exactly */
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: white;
  }

  .hero-video {
    width: 100%;
    height: 70vh; /* Match container height exactly */
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
  }

  /* Section 1 Tablet */
  .section-1 {
    height: 70vh; /* Reduced height to match hero section */
    padding-top: 0; /* Remove extra padding */
  }

  .section-1-containter {
    width: 85% !important;
  }

  .section-1-containter-left {
    width: 60% !important;
  }

  .section-1-containter-left-t img {
    max-width: 400px;
  }

  /* Section 2 Tablet */
  .section-2-containter {
    width: 85% !important;
  }

  .section-2-containter-header h1 {
    font-size: 4rem !important;
  }

  /* Section 3 Tablet */
  .section-3-containter {
    width: 90% !important;
  }

  .section-3-containter-content {
    flex-direction: column;
    gap: 2rem;
  }

  .section-3-containter-content-left {
    width: 100% !important;
    height: auto !important;
  }

  .section-3-containter-content-left img {
    max-width: 400px;
    height: auto !important;
  }

  .section-3-containter-content-right {
    width: 100% !important;
    height: auto !important;
  }

  .section-3-containter-content-right.h-\[100vh\] {
    height: auto !important;
  }

  /* Services Grid Tablet */
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .service-card {
    height: 200px;
  }

  /* Section 4 Tablet */
  .section-4 {
    width: 90% !important;
    padding: 2rem !important;
  }

  .phase-card {
    width: calc(25% - 0.75rem) !important;
  }

  /* Contact Form Tablet */
  .section-7-container {
    width: 90% !important;
  }

  .start-project {
    width: 100% !important;
  }

  /* Footer Tablet */
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
  
  /* Header on desktop - controlled by GSAP animations */
  #split-menu {
    display: flex;
    background: transparent;
    height: 80px;
    padding: 1rem 2rem;
    /* GSAP will control visibility, opacity, and transform */
  }

  /* Show bottom menu on desktop */
  .herosection-footer {
    display: flex !important;
  }

  /* Video Desktop */
  .herosection-bg-vedio video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
}

/* Common Responsive Utilities */
@media (max-width: 1023px) {
  
  /* Hide desktop-only elements */
  .herosection-footer {
    display: none !important;
  }

  /* Show mobile/tablet header */
  #split-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Adjust main content padding */
  .main {
    padding-top: 0;
    margin-top: 0;
  }

  /* Remove any default margins/padding that might cause white space */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  /* Section padding adjustments */
  .section-1,
  .section-2,
  .section-3,
  .section-4,
  .section-5,
  .section-6,
  .section-7 {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

}

/* Additional Mobile Fixes */
@media (max-width: 767px) {
  
  /* Remove any potential white space */
  * {
    box-sizing: border-box;
  }

  /* Ensure no extra margins on hero section */
  .herosection {
    margin: 0;
    padding: 0;
  }

  /* Fix any potential scroll issues */
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  /* Ensure video containers have no extra spacing */
  .herosection-bg-vedio {
    margin: 0;
    padding: 0;
  }

  /* Section 1 video fixes */
  .section-1 {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .section1-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh; /* Match section-1 height exactly */
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 0;
  }
}

/* Desktop Styles - Normal screen behavior */
@media (min-width: 1024px) {
  
  /* Hero Video Container - Full height on desktop */
  .herosection-bg-vedio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: white;
  }

  .hero-video {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
  }

  /* Section 1 Video - Full height on desktop */
  .section1-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 0;
  }

  /* Section 1 - Full height on desktop */
  .section-1 {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: white;
  }

  /* Hero Section Container - Desktop behavior */
  .herosection-containter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 20;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  
  .logo-container img,
  .herosection-footer-content .logo-half img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  
  .herosection {
    height: 100vh;
  }

  .section-1-containter-left-t img {
    max-width: 250px;
  }

  .section-1-containter-left p {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  
  .herosection-bg-vedio,
  #split-menu,
  .herosection-footer,
  .menu-button-content {
    display: none !important;
  }
  
  .main {
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   Testimonials Responsive Styles
   ========================================================================== */

/* Mobile Testimonials - Horizontal Scroll */
.testimonials-mobile {
  display: none;
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
}

.testimonials-scroll-container {
  display: flex;
  gap: 1.5rem;
  animation: testimonials-scroll 60s linear infinite;
  white-space: nowrap;
  padding: 1rem 0;
}

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

.testimonial-card-mobile {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 280px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card-mobile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #FCB600;
}

.testimonial-card-mobile .company-logo {
  margin-bottom: 1rem;
}

.testimonial-card-mobile .company-logo-img {
  max-height: 40px;
  object-fit: contain;
}

.testimonial-card-mobile .testimonial-text {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.testimonial-card-mobile .customer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card-mobile .customer-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card-mobile .customer-details h2 {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.testimonial-card-mobile .customer-details p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Desktop/Tablet - Show desktop version */
.section-2-desktop {
  display: block;
}

.section-2-mobile {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  /* Section-2 Mobile Responsive */
  .section-2-desktop {
    display: none !important;
  }
  
  .section-2-mobile {
    display: block !important;
  }
  
  /* Mobile Section-2 Styles */
  .section-2.h-screen {
    height: auto !important;
    min-height: auto !important;
  }
  
  .section-2-mobile-container {
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
  }
  
  .section-2-mobile-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .section-2-mobile-title {
    font-family: 'Roaster', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin: 1rem 0 0 0;
  }
  
  .section-2-mobile-highlight {
    color: #FCB600;
  }
  
  .section-2-mobile-subtitle {
    font-family: 'Roaster', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin: 0;
  }
  
  .section-2-mobile-wave {
    display: none;
  }
  
  .section-2-mobile-stages {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 100%;
    border-radius: 12px;
    position: relative;
    background-image: url('../../src/images/wave.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 1;
    padding-top: 10px;
  }

  .mobile-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .mobile-stage-circle {
    width: 60px;
    height: 60px;
    border-right-style: solid;
    border-right-width: 3px;
    border-right-color: white;
    border-left-style: solid;
    border-left-width: 0.5px;
    border-left-color: white;
    border-radius: 50%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
  }
  
  .mobile-stage-title {
    font-family: 'Roaster', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: white;
    text-align: center;
  }
  
  .mobile-stage-line {
    width: 2px;
    height: 50px;
    background-color: white;
  }
  
  .mobile-stage-icon {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .mobile-stage-icon img {
    width: 16px;
    height: 16px;
  }
  
  .mobile-stage-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: white;
    text-align: center;
    line-height: 1.3;
    max-width: 80px;
  }
  
  .testimonials-desktop {
    display: none !important;
  }
  
  .testimonials-mobile {
    display: block !important;
  }
  
  /* Fix feedback section height and spacing for mobile */
  #feedback {
    min-height: 45dvh !important;
    max-height: 65dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 30px 15px !important;
  }
  
  /* Fix projects section extra spacing in mobile */
  .section-5 {
    min-height: auto !important;
    height: auto !important;
    padding: 2rem 0 !important;
    margin-bottom: 0 !important;
  }
  
  .section-5-container {
    padding: 1rem 0 !important;
    margin: 0 !important;
  }
  
  .projects-container {
    height: auto !important;
    min-height: 300px !important;
    max-height: 600px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Fix project cards to have consistent heights and proper alignment */
  .project-column {
    width: 150px !important; /* Match service.css mobile size */
    height: 100% !important;
    gap: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .project-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
  }
  
  .project-card:hover {
    transform: scale(1.02) !important;
  }
  
  /* Set consistent heights for all cards */
  .project-column .project-card:first-child {
    height: 160px !important; /* Fixed height for larger cards */
    flex: 0 0 160px !important;
  }
  
  .project-column .project-card:last-child {
    height: 100px !important; /* Fixed height for smaller cards */
    flex: 0 0 100px !important;
  }
  
  /* Alternating pattern with consistent heights */
  .project-column:nth-child(even) .project-card:first-child {
    height: 100px !important; /* Fixed height for smaller cards */
    flex: 0 0 100px !important;
  }
  
  .project-column:nth-child(even) .project-card:last-child {
    height: 160px !important; /* Fixed height for larger cards */
    flex: 0 0 160px !important;
  }
  
  /* Image fitting - match service.css approach */
  .project-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* Bigger cards (55% height) - eliminate whitespaces while showing logos - match service.css */
  .project-column .project-card:first-child .project-image img,
  .project-column:nth-child(even) .project-card:last-child .project-image img {
    object-fit: fill !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Smaller cards (40% height) - zoom to cover full container, no whitespaces - match service.css */
  .project-column .project-card:last-child .project-image img,
  .project-column:nth-child(even) .project-card:first-child .project-image img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
  }
  
  .feedback-container {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  
  /* Center the feedback header for mobile */
  .feedback-header {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
  }
  
  .feedback-underline {
    margin: 0 auto 15px auto !important;
    width: 100px !important;
    height: 3px !important;
    background-color: #FCB600 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .testimonials-mobile {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  
  .testimonials-scroll-container {
    gap: 1rem;
    animation: testimonials-scroll 30s linear infinite; /* Faster animation */
    white-space: normal !important; /* Allow text wrapping in cards */
  }
  
  .testimonial-card-mobile {
    width: 260px;
    min-height: 200px; /* Increased height for full text */
    height: auto; /* Allow height to adjust to content */
    padding: 1rem; /* Reduced padding */
    overflow: hidden; /* Prevent text overflow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box; /* Include padding in width */
  }
  
  .testimonial-card-mobile .testimonial-text {
    font-size: 12px !important;
    line-height: 1.4 !important;
    overflow: visible !important; /* Allow text to wrap */
    display: block !important;
    margin-bottom: 0.75rem !important;
    flex-grow: 1 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important; /* Force text wrapping */
    hyphens: auto !important;
    word-break: break-word !important; /* Break long words */
    max-width: 100% !important;
  }
  
  .testimonial-card-mobile .customer-details h2 {
    font-size: 12px;
  }
  
  .testimonial-card-mobile .customer-details p {
    font-size: 10px;
  }
  
  .testimonial-card-mobile .customer-image {
    width: 32px;
    height: 32px;
  }
  
  .testimonial-card-mobile .company-logo {
    margin-bottom: 0.5rem;
  }
  
  .testimonial-card-mobile .company-logo-img {
    max-height: 32px;
  }
}

/* Tablet and Desktop - Hide Mobile Version */
@media (min-width: 768px) {
  .testimonials-mobile {
    display: none !important;
  }
  
  .testimonials-desktop {
    display: block !important;
  }
}