/* SB Movers Static Site - Complete CSS */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* SB Movers Brand Colors - HSL Format */
    --midnight-charcoal: hsl(0, 0%, 10.2%);
    --royal-blue: hsl(207, 100%, 36.1%);
    --electric-cyan: hsl(193, 100%, 50%);
    --soft-white: hsl(0, 0%, 97.3%);
    --silver-mist: hsl(0, 0%, 81.2%);
    --warm-gray: hsl(0, 0%, 89.8%);
    --deep-slate: hsl(0, 0%, 20%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--deep-slate);
    background-color: var(--soft-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 12px var(--electric-cyan);
    }
    33% {
        box-shadow: 0 0 18px var(--electric-cyan);
    }
    66% {
        box-shadow: 0 0 14px var(--electric-cyan);
    }
    100% {
        box-shadow: 0 0 16px var(--electric-cyan);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: var(--midnight-charcoal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--electric-cyan);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--royal-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--electric-cyan);
    box-shadow: 0 0 12px var(--electric-cyan);
}

.btn-mobile {
    padding: 0.5rem;
}

.btn-mobile .icon {
    margin: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--midnight-charcoal), var(--deep-slate), var(--midnight-charcoal));
    overflow: hidden;
    padding-top: 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--electric-cyan) 50%, var(--royal-blue) 100%);
    opacity: 0.1;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    animation: float 3s ease-in-out infinite;
}

.hero-shape-1 {
    top: 5rem;
    left: 2.5rem;
    width: 288px;
    height: 288px;
    background-color: var(--royal-blue);
    opacity: 0.2;
}

.hero-shape-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 384px;
    height: 384px;
    background-color: var(--electric-cyan);
    opacity: 0.2;
    animation-delay: 2s;
}

.hero-shape-3 {
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    background-color: var(--royal-blue);
    opacity: 0.1;
    animation-delay: 4s;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 8rem 1rem;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--silver-mist);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-hero {
    background-color: var(--royal-blue);
    color: white;
    font-size: 1.125rem;
    padding: 1.5rem 2rem;
}

.btn-pulse {
    animation: pulseGlow 4.5s ease-in-out infinite;
}

.btn-hero:hover {
    background-color: var(--electric-cyan);
    box-shadow: 0 0 20px var(--electric-cyan);
    transform: scale(1.05);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.125rem;
    padding: 1.5rem 2rem;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

.hero-card-icon {
    width: 32px;
    height: 32px;
    color: var(--electric-cyan);
    margin: 0 auto 0.75rem;
    display: block;
}

.hero-card-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-card-text {
    font-size: 0.875rem;
    color: var(--silver-mist);
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to top, var(--soft-white), transparent);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--midnight-charcoal);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--deep-slate);
}

/* Services Section */
.services-section {
    background-color: var(--soft-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 87, 184, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--midnight-charcoal);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--deep-slate);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--warm-gray);
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
}

.about-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 8px 30px rgba(0, 87, 184, 0.15);
}

.about-text {
    font-size: 1.125rem;
    color: var(--deep-slate);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--royal-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    color: var(--deep-slate);
}

/* Gallery Section */
.gallery-section {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 96rem;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(0, 209, 255, 0.1));
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 87, 184, 0.2);
}

.gallery-placeholder {
    width: 64px;
    height: 64px;
    color: rgba(0, 87, 184, 0.3);
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    color: rgba(0, 209, 255, 0.5);
}

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--deep-slate);
}

/* =========================================================
   Testimonials (SB Movers)
   ========================================================= */
.testimonials-section {
  --clamp-lines: 6;            /* desktop lines shown before "Read more" */
  --clamp-lines-mobile: 5;     /* mobile lines shown */
  background-color: var(--soft-white);
  overflow: visible;
}

.testimonials-container {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  overflow-x: hidden;   /* hide off-screen slides */
  overflow-y: visible;  /* let shadows/hover show */
  padding: 1rem 3rem;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding-block: 0.5rem;
  align-items: stretch; /* equal heights per row */
}

.testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  padding: 1.5rem;
  min-width: calc(100% - 0rem);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,87,184,.2);
}

/* Stars (CSS-only) */
.testimonial-card .stars{
  display: inline-block;
  color: var(--electric-cyan);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: .2rem;
  margin-bottom: 1rem;
}
.testimonial-card .stars::before{ content: "★★★★★"; }

/* Base text (no clamp by default) */
.testimonial-text{
  color: var(--deep-slate);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
}

/* Apply clamp + fade only when needed */
.testimonial-card.needs-more .testimonial-text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: var(--clamp-lines);
-webkit-line-clamp: var(--clamp-lines);
  overflow: hidden;
}
.testimonial-card.needs-more .testimonial-text::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

/* Expanded removes clamp/fade */
.testimonial-card.expanded .testimonial-text{
  line-clamp: unset;
-webkit-line-clamp: unset;
}
.testimonial-card.expanded .testimonial-text::after{ display: none; }

/* "Read more" link */
.btn-link{
  background: none;
  border: none;
  color: var(--royal-blue);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  align-self: flex-start;
  margin-top: -.5rem;
  margin-bottom: .75rem;
  transition: color .2s ease;
}
.btn-link:hover{ color: var(--electric-cyan); }

/* Author */
.testimonial-author{
  border-top: 1px solid var(--silver-mist);
  padding-top: 1rem;
  margin-top: auto; /* pin to bottom */
}
.author-name{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--midnight-charcoal);
}
.author-location{
  font-size: .875rem;
  color: var(--deep-slate);
}

/* Carousel buttons */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background-color: #fff;
  border: none; border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  cursor: pointer;
  transition: all .2s ease;
  z-index: 10;
  display: none;
}
.carousel-btn:hover{
  background-color: var(--royal-blue);
  box-shadow: 0 6px 16px rgba(0,87,184,.3);
}
.carousel-btn svg{ width: 24px; height: 24px; color: var(--royal-blue); }
.carousel-btn:hover svg{ color: #fff; }
.carousel-btn-prev{ left: 0; }
.carousel-btn-next{ right: 0; }

#formSuccess {
  opacity: 0;
  transition: opacity 0.4s ease;
}
#formSuccess[style*="display: block"] {
  opacity: 1;}

/* WhatsApp Floating Button — final, scalable */
.whatsapp-btn{
  /* drive size with a single variable */
  --wa-size: clamp(56px, 8vw, 90px);  /* grows with viewport */
  --wa-icon: 0.62;

  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom) + 16px);
  right: 24px;
  width: var(--wa-size) !important;     /* force-win vs old rules */
  height: var(--wa-size) !important;    /* force-win vs old rules */
  background: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;                          /* SVG stroke uses this */
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  z-index: 999;
}

.whatsapp-btn svg{
  width: calc(var(--wa-size) * var(--wa-icon)) !important;
  height: calc(var(--wa-size) * var(--wa-icon)) !important;
  stroke: currentColor;
  stroke-width: 2.6;
  display: block;
}

.whatsapp-btn:hover{
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,.65);
}

@media print { .whatsapp-btn{ display:none; } }

/* Desktop-only: shrink WhatsApp button ~30% */
@media (min-width: 1024px){
  .whatsapp-btn{
    --wa-size: calc(clamp(56px, 8vw, 90px) * 0.7); /* 30% smaller */
  }
}

/* Mobile: slightly fewer lines before clamp */
@media (max-width: 639.98px){
.testimonial-card.needs-more:not(.expanded) .testimonial-text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: var(--clamp-lines);
  -webkit-line-clamp: var(--clamp-lines);
  overflow: hidden;
}
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--soft-white);
}

.form-wrapper {
    max-width: 42rem;
    margin: 0 auto;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--silver-mist);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
}

.form-textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    background-color: var(--royal-blue);
    color: white;
    font-size: 1.125rem;
    padding: 1.5rem;
}

.btn-submit:hover {
    background-color: var(--electric-cyan);
    box-shadow: 0 0 12px var(--electric-cyan);
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto 3rem;
}

.contact-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 30px rgba(0, 87, 184, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--royal-blue);
    margin: 0 auto 1rem;
    display: block;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--midnight-charcoal);
    margin-bottom: 0.75rem;
}

.contact-link {
    color: var(--royal-blue);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--electric-cyan);
}

.contact-text {
    color: var(--deep-slate);
}

.cta-section {
    text-align: center;
}

.btn-cta {
    background-color: var(--royal-blue);
    color: white;
    font-size: 1.25rem;
    padding: 1.5rem 2.5rem;
}

.btn-cta:hover {
    background-color: var(--electric-cyan);
    box-shadow: 0 0 20px var(--electric-cyan);
    transform: scale(1.05);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--royal-blue);
}

.newsletter-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content {
    margin-bottom: 2rem;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-text {
    color: var(--silver-mist);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 1rem;
    border: 1px solid var(--silver-mist);
    border-radius: 6px;
    font-size: 1rem;
}

.btn-newsletter {
    background-color: var(--midnight-charcoal);
    color: white;
    padding: 1rem 2rem;
}

.btn-newsletter:hover {
    background-color: var(--silver-mist);
    box-shadow: 0 0 12px var(--silver-mist);
}

/* Footer */
.footer {
    background-color: var(--midnight-charcoal);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--silver-mist);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--silver-mist);
    margin-bottom: 1rem;
}

.footer-heading {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--silver-mist);
}

.footer-icon {
    width: 16px;
    height: 16px;
}

.footer-link {
    color: var(--silver-mist);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--electric-cyan);
}

.btn-facebook {
    background-color: #1877F2;
    color: white;
    margin-top: 1rem;
}

.btn-facebook:hover {
    background-color: rgba(24, 119, 242, 0.9);
}

/* Bottom bar */
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding-top: var(--spacing-m, 24px);
  border-top:1px solid rgba(255,255,255,0.08);
  color: var(--silver-mist);           /* use an existing token */
  font-size:14px;
  flex-wrap:wrap;
  text-align:center;
}
.footer-bottom .dot{ opacity:.45; }

/* Credit logo */
.credit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  text-decoration:none;
}
.credit img{
  height:24px;
  width:auto;
  display:block;
}

/* Visually-hidden text for accessibility */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Footer brand row tweaks (keep your existing styles) */
.footer-logo{ display:flex; align-items:center; gap:8px; margin:0; }
.footer-logo img{ height:24px; width:auto; display:block; }

/* Mobile: enable native horizontal scroll + momentum + snap */
@media (max-width: 767.98px){
  .testimonials-container{
    overflow-x: auto;          /* allow swipe/scroll */
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;    /* nice edge padding if you want */
  }

  .testimonials-carousel{
    gap: 1rem;
    padding: .25rem 0 .75rem;  /* tiny bottom room for shadows */
    transform: none !important;/* kill JS translate on mobile */
        overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; 
  }

  /* each card becomes a snap “page” */
  .testimonial-card{
    flex: 0 0 85%;             /* ~85% viewport width */
    scroll-snap-align: start;
    min-width: 85%;
  }
  /* If you prefer full-width cards on mobile, use 100% instead of 85% */
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .testimonials-carousel {
        gap: 2rem;
    }
    
    .testimonial-card {
        min-width: calc(50% - 1rem);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-input {
        flex: 1;
    }
    
    .btn-newsletter {
        width: auto;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .btn-mobile {
        display: none;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-info-item {
        justify-content: flex-start;
    }
    
    .footer-center {
        text-align: center;
    }
    
    .footer-center .footer-info-item {
        justify-content: center;
    }
    
    .footer-right {
        text-align: right;
    }
    
    .testimonial-card .stars { font-size: 1.6rem; }

    .carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px){
  .footer-bottom{ gap:10px; }
  .credit img{ height:20px; }
}