/* ==========================================
   INDEX PAGE STYLES - RESPONSIVE HOMEPAGE
   ========================================== */

/* HERO SECTION - Single Image with Overlay */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(11, 28, 45, 0.9) 0%, rgb(26 58 82 / 45%) 100%), url(/trustline-cargo-packers-and-movers-hero-bg.jpg);
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-content .lead-text {
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* STATS SECTION */
.stats-section {
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--navy-blue);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy-blue);
}

/* ABOUT SECTION - Text Only */
.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* TRUST BADGES */
.trust-badges {
    background: var(--bg-light);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.badge-card {
    background: var(--white);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow);
}

.badge-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--yellow);
    margin-bottom: 0.75rem;
}

.badge-card h3 {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    margin-bottom: 0.25rem;
}

.badge-card p {
    font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
    color: var(--text-muted);
    margin: 0;
}

/* SERVICES SECTION - Image Top, Text Below */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.service-content h3 {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    margin-bottom: 0.75rem;
}

.service-content p {
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ENQUIRY FORM - COMPACT (After About) */
.enquiry-section {
    background: var(--bg-light);
    position: relative;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-container {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.form-container .section-subtitle {
    text-align: center;
    display: block;
   
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    transition: all 0.3s;
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yellow);
    background-color: var(--white);
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    color: var(--navy-blue);
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.0625rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 179, 1, 0.3);
}

/* Success Message */
.form-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.success-msg {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.error-msg {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.form-message i {
    font-size: 1.1rem;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--yellow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    margin: 0;
}

.author-info p {
    font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
    color: var(--text-muted);
    margin: 0;
}

/* LOCATIONS SECTION */
.locations-section {
    background: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.location-badge {
    background: var(--bg-light);
    padding: 1.25rem 1rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.location-badge:hover {
    background: var(--white);
    border-color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.location-badge i {
    font-size: clamp(1.75rem, 3vw, 2rem);
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.location-badge h4 {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    margin: 0;
}

/* CTA SECTION */
.cta-section {
    background: var(--bg-gradient);
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE - TABLET */
@media (min-width: 768px) {
    .hero-section {
        min-height: 55vh;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .badges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

/* RESPONSIVE - DESKTOP */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}