/*--------- Deliver For NSSA Interface Styles ----------*/

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(10px, 3vw, 15px);
}

.delivery-section {
    background-color: #f8f9fa;
    padding: clamp(50px, 8vw, 100px) 0;
}

.delivery-hero {
    background: var(--primary-brown, #8d6e63);
    color: var(--pure-white, #ffffff);
    padding: clamp(40px, 8vw, 80px) clamp(15px, 4vw, 20px);
    text-align: center;
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 8px 30px rgba(141, 110, 99, 0.2);
    margin-bottom: clamp(30px, 6vw, 60px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    line-height: 1.2;
}

.hero-title i { margin-right: clamp(10px, 2vw, 15px); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    opacity: 0.9;
}

.btn-hero {
    background: var(--pure-white, #ffffff);
    color: var(--primary-brown, #8d6e63);
    padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 40px);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover, .btn-hero:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    outline: none;
}

.btn-hero:active {
    transform: translateY(0);
}

/* Common Section Titles */
.section-title {
    text-align: center;
    font-weight: 700;
    color: var(--dark-coffee, #3e2723);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 25vw, 280px), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.benefit-card {
    background: var(--pure-white, #ffffff);
    padding: clamp(20px, 5vw, 40px) 20px;
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #eaeaea;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background: rgba(141, 110, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown, #8d6e63);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-brown, #8d6e63);
    color: white;
    transform: scale(1.1);
}

.card-title {
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    color: var(--dark-coffee, #3e2723);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.card-desc {
    color: #6c757d;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Steps Section */
.steps-container {
    background: var(--pure-white, #ffffff);
    padding: clamp(20px, 6vw, 60px) clamp(15px, 4vw, 30px);
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 25vw, 250px), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
}

.step-item { position: relative; }

.step-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary-brown, #8d6e63);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.step-title { font-weight: 700; margin-bottom: 0.5rem; font-size: clamp(1.05rem, 2vw, 1.15rem); }
.step-desc { color: #6c757d; font-size: clamp(0.85rem, 1.5vw, 0.95rem); }

/* Fees Table */
.fee-section {
    background: var(--pure-white, #ffffff);
    padding: clamp(20px, 6vw, 60px) clamp(15px, 4vw, 30px);
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.earnings-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 400px;
}

.earnings-table th {
    background: var(--dark-coffee, #3e2723);
    color: white;
    padding: clamp(10px, 2vw, 15px);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.earnings-table td {
    padding: clamp(10px, 2vw, 15px);
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.earnings-table tr:nth-child(even) td { background: #f8f9fa; }
.type-name { font-weight: 600; color: #333; }
.pay-amount { color: #28a745; font-weight: 700; }
.bonus-amount { color: #6c757d; }


/* ==================================================== */
/* Testimonials (Synced perfectly with home.css)      */
/* ==================================================== */

.testimonials-section {
    padding: clamp(40px, 8vw, 5rem) 0;
}

.alt-bg {
    background-color: #f8f9fa;
}

.testimonials-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-subtitle {
    color: var(--text-muted, #6c757d);
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.testimonial-card {
    background: var(--pure-white, #ffffff);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: clamp(10px, 3vw, 15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(141, 110, 99, 0.1);
}

.quote-icon {
    color: var(--primary-brown, #8d6e63);
    opacity: 0.5;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.reviewer-avatar {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto clamp(0.75rem, 2vw, 1rem) auto;
    border: 3px solid #eaeaea;
}

.reviewer-name {
    font-weight: 700;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted, #6c757d);
    flex-grow: 1;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.rating {
    color: #ffc107;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.testimonials-action {
    text-align: center;
    margin-top: 15px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-brown, #8d6e63);
    color: var(--primary-brown, #8d6e63);
    padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 40px);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.btn-outline:hover, .btn-outline:focus {
    background: var(--primary-brown, #8d6e63);
    color: white;
    outline: none;
}

/* Hardware Accelerated CSS Infinite Marquee Animations */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(10px, 2vw, 20px) 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
}

.marquee-item {
    flex-shrink: 0;
}

.testimonial-wrapper.marquee-item {
    width: clamp(280px, 30vw, 350px);
    display: flex;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}