/* Custom CSS for Nestway */

/* Service feature list */
.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-feature-item:first-child {
    padding-top: 0;
}

.service-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-feature-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    background-color: #008B8B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.service-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.service-feature-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 0.4rem 0;
}

.service-feature-desc {
    font-size: 0.975rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

.service-features + a {
    margin-top: 2.5rem;
    display: inline-flex;
}

/* Premium Hero Button */
.btn-premium {
    background: #F4A259;
    color: #0D0D0D;
    padding: 1.25rem 3.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(244, 162, 89, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(244, 162, 89, 0.4);
    background: #e0914c;
}

.btn-premium:active {
    transform: translateY(0) scale(0.98);
}

/* Card & Section Padding Defaults (Desktop) */
.m-card-pad {
    padding: 56px 48px;
}
.m-section-pad {
    padding-top: 120px;
    padding-bottom: 120px;
}
.lead-magnet-card {
    padding: 36px 40px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* Prevent images from ever overflowing their container */
img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, .hero__display, .section-title {
  font-family: 'Unbounded', sans-serif;
}

/* Section headers below the fold */
h2, .section-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
}

/* Body copy */
p, .body-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  p, .body-copy {
      font-size: 16px;
  }
}

/* Custom scrollbar */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Hero & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero video { display: none !important; }
  .hero { background-image: url('../images/truck2.png'); background-size: cover; background-position: center; }
}

@media (max-width: 768px) {
  .hero video { display: none !important; }
  .hero { background-image: url('../images/truck2.png'); background-size: cover; background-position: center; }
  
  .trust-strip {
      grid-template-columns: 1fr 1fr;
      display: grid !important;
      row-gap: 8px;
  }
  
  .cta-row {
      flex-direction: column;
      width: 100%;
  }
  .cta-row a {
      width: 100%;
      height: 52px !important;
      min-height: 52px !important;
      text-align: center;
      justify-content: center;
  }
}

.trust-item {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
  transition: opacity 0.3s;
  pointer-events: none;
}
.scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
}
.scroll-indicator svg {
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
}
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 24px;
        right: 20px;
        width: 48px;
        height: 48px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* Testimonial Quote CSS Grid Stack */
.testimonial-quote-text {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: center;
}
.testi-slide {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative !important;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile Responsive Overrides */
@media (max-width: 767px) {
    /* Typography System (Mobile) */
    .m-hero-title { 
        font-size: clamp(2.1rem, 8vw, 2.6rem) !important; 
        line-height: 1.15 !important; 
        letter-spacing: -0.01em !important;
    }
    .m-section-title { 
        font-size: clamp(1.75rem, 6vw, 2.1rem) !important; 
        line-height: 1.2 !important; 
        letter-spacing: -0.01em !important;
    }
    .m-stat-num { 
        font-size: clamp(3rem, 10vw, 4rem) !important; 
        line-height: 1 !important; 
    }
    .m-card-title { 
        font-size: 1.25rem !important; 
        line-height: 1.35 !important; 
    }
    .m-body-text { 
        font-size: 0.95rem !important; 
        line-height: 1.65 !important; 
    }
    
    /* Spacing & Layout Scale (Mobile) */
    .m-section-pad { 
        padding-top: 48px !important; 
        padding-bottom: 48px !important; 
    }
    .m-card-pad { 
        padding: 24px !important; 
    }
    .lead-magnet-card {
        padding: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .lead-magnet-card a {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .m-gap-12 { 
        gap: 12px !important; 
    }
    .m-gap-24 { 
        gap: 24px !important; 
    }
    
    /* Touch Targets & Buttons (Mobile) */
    .m-full-btn { 
        width: 100% !important; 
        min-height: 48px !important;
        height: 48px !important;
        display: inline-flex !important; 
        align-items: center !important;
        justify-content: center !important; 
        text-align: center !important; 
    }
    .m-col-reverse { 
        display: flex !important; 
        flex-direction: column-reverse !important; 
    }

    /* WhatsApp Mobile Scaling */
    .whatsapp-float {
        bottom: 16px !important;
        right: 16px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Form Overrides (Mobile-first Premium Inputs) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        min-height: 48px;
        border-radius: 6px !important;
        padding: 12px 16px !important;
        border: 1px solid rgba(0, 0, 0, 0.15) !important;
        background-color: #ffffff !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    }
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus {
        outline: none !important;
        border-color: #008B8B !important;
        box-shadow: 0 0 0 4px rgba(0, 139, 139, 0.15) !important;
    }

    /* Dark section form input overrides */
    .cta-section input[type="text"],
    .cta-section input[type="tel"] {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
    }
    .cta-section input[type="text"]::placeholder,
    .cta-section input[type="tel"]::placeholder {
        color: rgba(255, 255, 255, 0.4) !important;
    }
    .cta-section input[type="text"]:focus,
    .cta-section input[type="tel"]:focus {
        background-color: rgba(255, 255, 255, 0.08) !important;
        border-color: #008B8B !important;
        box-shadow: 0 0 0 4px rgba(0, 139, 139, 0.25) !important;
    }
    
    /* Service Detail Mobile Heights */
    .srv-fallback-img {
        height: 280px !important;
    }
    .other-srv-card {
        height: 280px !important;
    }
}

/* Service Detail Desktop Heights */
.srv-fallback-img {
    height: 500px;
}
.other-srv-card {
    height: 350px;
}
