/* =============================================================================
   GLOBAL VARIABLES (assumed already used)
   ============================================================================= */

:root {
    --primary: #ecd804;
    --text-dark: #111;
    --text-medium: #555;
    --text-light: #777;
    --bg-white: #ffffff;
    --bg-body: #fafafa;
    --shadow-sm: 0 6px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.2);
    --container-width: 1200px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   1. HERO SECTION (BACKGROUND + PRICING BOX)
   ============================================================================= */

.hero {
    position: relative;
    min-height: 85vh;
    padding: 100px 5%;
    background:
        linear-gradient(rgba(255,252,240,0.88), rgba(255,252,240,0.88)),
        url("../assets/images/newwwws.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

/* HERO TEXT */
.hero-text {
    animation: slideUp 1s var(--ease);
}

.hero-text h1 {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 300;
}

/* HERO IMAGE */
.hero-img img {
    width: 100%;
    max-width: 260px;
    display: block;
    margin: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s var(--ease);
}

.hero-img img:hover {
    transform: scale(1.03);
}

/* PRICING BOX */
.hero-pricing {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    max-height: 340px;
    overflow-y: auto;
}

.hero-pricing h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.price-item {
    margin-bottom: 12px;
}

.price-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.price-item span {
    font-size: 13px;
    color: var(--text-medium);
}

/* =============================================================================
   2. FEATURES SECTION
   ============================================================================= */

.features {
    padding: 100px 5%;
    background: var(--bg-white);
}

.features h2,
.how h2,
.contact h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: auto;
}

.feature-card {
    background: var(--bg-body);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

/* =============================================================================
   3. HOW IT WORKS
   ============================================================================= */

.how {
    padding: 100px 5%;
    background: #fffcf5;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--container-width);
    margin: auto;
}

.step {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}

.step:hover {
    transform: translateY(-8px);
}

.step span {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

/* =============================================================================
   4. CONTACT SECTION
   ============================================================================= */
/* =============================================================================
   4. CONTACT SECTION - Clean Centered Card (Matching your screenshot)
   ============================================================================= */

.contact {
    padding: 120px 20px;           /* Good top & bottom padding - do not reduce */
    background: #f8f9fa;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    background: white;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 65px 50px 70px;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: #111111;
}

.contact-desc {
    font-size: 1.18rem;
    color: #555;
    margin-bottom: 38px;
    line-height: 1.5;
}

.contact-info {
    margin-bottom: 48px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.07rem;
}

.response-time {
    color: #777777;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 540px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 1.05rem;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ecd804;
    outline: none;
    box-shadow: 0 0 0 4px rgba(236, 216, 4, 0.1);
}

.contact-form textarea {
    min-height: 165px;
    resize: vertical;
}

.contact-form button {
    background-color: #ecd804;
    color: #111111;
    padding: 16px 55px;
    border: none;
    border-radius: 12px;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 8px;
}

.contact-form button:hover {
    background-color: #d4b700;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
    .contact {
        padding: 90px 15px;
    }
    .contact-card {
        padding: 50px 30px 55px;
    }
    .contact h2 {
        font-size: 2.4rem;
    }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-pricing {
        max-width: 420px;
        margin: auto;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }
}
