/* ===========================
   GLOBAL STYLES & RESET
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    position: relative;
    min-height: 600px;
    /* Desktop hero image - also used for tablets */
    background-image: url('../images/hero-desktop.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #f5f5f5;
    display: flex;
    align-items: flex-start;
    padding: 80px 60px;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    margin-left: 10px;
    margin-top: 5px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-word {
    color: #FFD700;
}

.highlight-green {
    background-image: url('../images/brush-stroke.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 40px;
    display: inline-block;
    position: relative;
    filter: brightness(1.1);
    line-height: 1.4;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 2rem;
    color: white;
    font-weight: 500;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.google-play-btn {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 5;
}

.google-play-btn:hover {
    transform: translateX(-50%) scale(1.05);
}

.download-text {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('../images/brush-stroke.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    z-index: 5;
}

.google-play-btn img {
    height: 60px;
    width: auto;
}

.hero-phone {
    position: absolute;
    bottom: 0;
    right: 5px;
    max-width: 300px;
    z-index: 10;
}

.hero-phone img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */

.how-it-works {
    padding: 80px 20px;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
}

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

.step {
    text-align: center;
}

.step-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: inline;
}

.step-text {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    display: inline;
    margin-left: 5px;
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */

.why-choose-us {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.feature {
    text-align: center;
    position: relative;
}

.feature-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-checkmark {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.feature-text {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    display: inline;
    vertical-align: middle;
}

/* ===========================
   SERVING AREAS SECTION
   =========================== */

.serving-areas {
    padding: 0;
    background-color: #fff;
}

.serving-banner {
    background: linear-gradient(135deg, #7cb342 0%, #9ccc65 100%);
    padding: 30px 20px;
    text-align: center;
}

.serving-banner p {
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #fff;
    padding: 30px 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.footer-links a {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7cb342;
}

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

/* Tablets and Below (768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 30px;
        /* Tablets use the same desktop hero image */
        background-position: center center;
        background-size: contain;
        min-height: 550px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.4;
    }

    .highlight-green {
        padding: 20px 30px;
        line-height: 1.4;
    }

    .hero-overlay {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        min-height: 450px;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .hero-phone {
        position: absolute;
        bottom: 0;
        right: 5px;
        max-width: 250px;
    }

    .google-play-btn {
        bottom: 2px;
    }

    .google-play-btn img {
        height: 50px;
    }

    .download-text {
        bottom: 54px;
        font-size: 1.1rem;
        padding: 8px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-icon,
    .feature-icon {
        width: 160px;
        height: 160px;
    }

    .serving-banner p {
        font-size: 1.4rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile Phones (480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
        padding: 40px 20px 20px 20px;
        /* Mobile hero image - full image without cropping */
        background-image: url('../images/hero-mobile.webp');
        background-position: center center;
        background-size: contain;
        background-color: #f5f5f5;
    }

    .hero-overlay {
        min-height: 400px;
        padding-bottom: 20px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 30px;
        margin-top: 2px;
        margin-left: 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.5;
    }

    .highlight-green {
        padding: 15px 20px;
        line-height: 1.5;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .google-play-btn {
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
    }

    .google-play-btn:hover {
        transform: translateX(-50%) scale(1.05);
    }

    .download-text {
        position: absolute;
        bottom: 54px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        margin: 0;
        font-size: 1rem;
        padding: 8px 18px;
    }

    .google-play-btn img {
        height: 50px;
    }

    .hero-phone {
        position: absolute;
        bottom: 2px;
        right: 2px;
        max-width: 180px;
    }

    .how-it-works,
    .why-choose-us {
        padding: 50px 30px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .step-icon,
    .feature-icon {
        width: 140px;
        height: 140px;
    }

    .step-number,
    .step-text,
    .feature-text {
        font-size: 1rem;
    }

    .serving-banner p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-links a {
        font-size: 1rem;
    }
}

/* Large Tablets (992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-section {
        padding: 80px 40px;
        background-position: center center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .steps-container,
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-icon,
    .feature-icon {
        width: 180px;
        height: 180px;
    }
}

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .hero-section {
        min-height: 700px;
        padding: 80px 80px;
        background-size: contain;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2.2rem;
    }

    .hero-phone {
        max-width: 400px;
    }

    .section-title {
        font-size: 3rem;
    }

    .step-icon,
    .feature-icon {
        width: 220px;
        height: 220px;
    }

    .serving-banner p {
        font-size: 2rem;
    }
}
