/* Hero Section - Completely Redesigned */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/X9nS3f.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(223, 245, 227, 0.85), rgba(240, 249, 242, 0.85));
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #2e2e2e;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.9);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffa447, #a12343);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 24px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-btn {
    font-size: 20px;
    padding: 18px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffa447, #a12343);
    color: white;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 164, 71, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 164, 71, 0.6);
}

/* Testimonials with avatars */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffa447;
}

.testimonial-info {
    text-align: left;
}

.testimonial-info strong {
    display: block;
    font-size: 18px;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.testimonial-info span {
    color: #ffa447;
    font-weight: 500;
}

/* Fix horizontal scrolling on mobile */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 30px;
}

/* Additional overflow fixes */
.section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.grid {
    overflow-x: hidden;
}

.card {
    overflow: hidden;
    word-wrap: break-word;
}

/* Large screens - bigger margins */
@media (min-width: 1200px) {
    .container {
        padding: 0 50px;
    }
    
    .hero-container {
        padding: 0 60px;
    }
}

@media (min-width: 1400px) {
    .container {
        padding: 0 60px;
    }
    
    .hero-container {
        padding: 0 80px;
    }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-container {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
        line-height: 1.5;
    }

    .hero-btn {
        font-size: 16px;
        padding: 15px 30px;
    }

    /* Fix mobile navigation overflow */
    .nav-menu {
        width: 100vw;
        max-width: 100vw;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-info {
        text-align: center;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-btn {
        font-size: 14px;
        padding: 12px 25px;
    }
}

/* Pricing - Compact Version Override */
.pricing {
    background: #f8fdf9 !important;
    padding: 30px 0 !important;
    overflow: hidden !important;
}

.pricing .container {
    overflow: hidden !important;
    max-width: 100% !important;
}

.pricing .section-title {
    margin-bottom: 15px !important;
}

.pricing .section-subtitle {
    margin-bottom: 30px !important;
}

.pricing-grid {
    max-width: 900px !important;
    margin: 0 auto !important;
    gap: 15px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.pricing-card {
    position: relative !important;
    text-align: center !important;
    padding: 12px 10px !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    min-height: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.pricing-card.featured {
    transform: none !important;
    border: 2px solid #ffa447 !important;
}

.pricing-badge {
    position: absolute !important;
    top: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #ffa447, #a12343) !important;
    color: white !important;
    padding: 3px 12px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    font-size: 11px !important;
}

.pricing-header h3 {
    font-size: 15px !important;
    margin-bottom: 5px !important;
    color: #2e2e2e !important;
}

.price {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #ffa447 !important;
    margin-bottom: 3px !important;
}

.pricing-header p {
    font-size: 12px !important;
    color: #666 !important;
    margin-bottom: 10px !important;
}

.pricing-features {
    list-style: none !important;
    margin: 10px 0 !important;
    text-align: left !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.pricing-features li {
    padding: 2px 0 !important;
    font-size: 12px !important;
    color: #555 !important;
    border-bottom: none !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.pricing-note {
    font-style: italic !important;
    color: #666 !important;
    margin-top: 6px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* Mobile pricing adjustments */
@media (max-width: 768px) {
    .pricing {
        padding: 25px 0 !important;
        overflow-x: hidden !important;
    }
    
    .pricing .container {
        padding: 0 20px !important;
        overflow-x: hidden !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 10px !important;
        overflow: visible !important;
    }
    
    .pricing-card {
        max-width: 100% !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .pricing-card.featured {
        transform: none !important;
        margin: 5px 0 !important;
        border-width: 1px !important;
    }
    
    .pricing-features li {
        font-size: 11px !important;
        white-space: normal !important;
    }
    
    .pricing-note {
        font-size: 9px !important;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 8px 6px !important;
    }
    
    .pricing-header h3 {
        font-size: 14px !important;
    }
    
    .price {
        font-size: 20px !important;
    }
}