/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F1592A;
    --primary-light: #FF8518;
    --dark: #2E3235;
    --dark-heading: #334155;
    --white: #FFFFFF;
    --bg-peach: #FFDEC1;
    --bg-cream: #FFECD2;
    --bg-green: #EAFFE4;
    --bg-light-green: #EFF5F2;
    --bg-dark: #1a1a2e;
    --font-main: "Changa", sans-serif;
    --font-secondary: "Tajawal", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.4;
}

/* ===== BUTTONS ===== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 89, 42, 0.3);
    cursor: pointer;
}

.btn-cta:hover {
    background-color: #d94a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(241, 89, 42, 0.45);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
}

.btn-lg {
    font-size: 18px;
    padding: 18px 48px;
}

/* ===== HERO SECTION ===== */
.hero {
    background-image: url("images/back-scaled-1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.benefit-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.guarantee-img {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
}

.formula-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-cream);
    padding: 16px 24px;
    border-radius: 12px;
    display: inline-block;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0;
}

.hero-logo img {
    width: 160px;
    margin-bottom: 40px;
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-badge {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    padding: 8px 24px;
    border-radius: 15px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.9);
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 17px;
    font-weight: 400;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero .btn-cta {
    margin-bottom: 20px;
}

.hero-guarantee {
    font-size: 15px;
    color: var(--white);
    opacity: 0.9;
}

/* ===== FORMULA SECTION ===== */
.formula-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.formula-wrapper {
    max-width: 900px;
    width: 100%;
}

.formula-card {
    background: var(--white);
    border-radius: 40px;
    padding: 50px 40px;
    box-shadow: 0 4px 30px rgba(241, 89, 42, 0.12);
    text-align: center;
}

.formula-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-heading);
    margin-bottom: 16px;
}

.formula-card > p {
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.formula-equation img {
    max-width: 73%;
    margin: 0 auto;
    display: block;
}

/* ===== CHALLENGES SECTION ===== */
.challenges-section {
    padding: 80px 20px;
    background: var(--bg-peach);
}

.challenges-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-heading);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 40px;
}

.challenges-grid {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.challenge-item .bullet {
    color: var(--primary);
    font-style: normal;
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}

.highlight-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-heading);
    margin-bottom: 24px;
}

.challenges-section .btn-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
    padding: 80px 20px;
}

.solutions-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-heading);
    text-align: center;
    margin-bottom: 8px;
}

.solutions-section > .container > .section-subtitle {
    margin-bottom: 50px;
}

.solution-block {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.solution-block.reverse {
    direction: rtl;
}

.solution-block.reverse .solution-content,
.solution-block.reverse .solution-image {
    direction: rtl;
}

.solution-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.solution-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.solution-list {
    margin-bottom: 20px;
}

.solution-list li {
    position: relative;
    padding-right: 20px;
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

.solution-list li::before {
    content: "●";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 14px;
}

.example-box {
    background: var(--bg-cream);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.example-box strong {
    display: block;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.example-box p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.7;
}

.solution-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

/* ===== EXTRAS SECTION ===== */
.extras-section {
    padding: 80px 20px;
    background: var(--white);
}

.extras-section h2 {
    font-size: 23px;
    font-weight: 600;
    color: var(--primary-light);
    text-align: center;
    margin-bottom: 40px;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.extra-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-light-green);
}

.extra-card:nth-child(2) {
    background: var(--bg-cream);
}

.extra-card:nth-child(3) {
    background: var(--bg-light-green);
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
}

.extra-num {
    font-size: 39px;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.extra-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-heading);
    margin-bottom: 8px;
}

.extra-card p {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.7;
}

.delivery-note {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-heading);
    margin-bottom: 24px;
}

.extras-section .btn-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== FIT SECTION ===== */
.fit-section {
    padding: 80px 20px;
    background: var(--bg-peach);
}

.fit-section h2 {
    font-size: 27px;
    font-weight: 800;
    color: var(--dark-heading);
    text-align: center;
    margin-bottom: 40px;
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.fit-card {
    border-radius: 16px;
    padding: 28px;
}

.fit-yes {
    background: var(--bg-green);
}

.fit-no {
    background: var(--bg-cream);
}

.fit-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.fit-card ul li {
    position: relative;
    padding-right: 22px;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.7;
}

.fit-card ul li::before {
    content: "●";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 12px;
    top: 6px;
}

/* ===== GUARANTEE SECTION ===== */
.guarantee-section {
    padding: 80px 20px;
}

.guarantee-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-peach);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
}

.guarantee-card .guarantee-img {
    width: 80px;
    margin-bottom: 20px;
}

.guarantee-card h2 {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.guarantee-card > p {
    font-size: 17px;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 20px;
    background: var(--white);
}

.benefits-section h2 {
    font-size: 27px;
    font-weight: 800;
    color: var(--dark-heading);
    text-align: center;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    background: var(--white);
    border-radius: 15px;
    padding: 24px 20px;
    box-shadow: 0 0 10px rgba(241, 89, 42, 0.12);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.benefit-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.7;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
    padding: 80px 20px;
    background: var(--bg-peach);
    text-align: center;
}

.final-cta-section h2 {
    font-size: 27px;
    font-weight: 800;
    color: var(--dark-heading);
    margin-bottom: 16px;
}

.final-cta-section p {
    font-size: 17px;
    color: var(--dark);
    max-width: 650px;
    margin: 0 auto 30px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    width: 80px;
    margin-bottom: 16px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

.footer p {
    font-family: var(--font-secondary);
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .formula-card, .challenge-item, .solution-block, .extra-card, .benefit-item {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delaying animations for items in a grid */
.challenge-item:nth-child(1) { animation-delay: 0.1s; }
.challenge-item:nth-child(2) { animation-delay: 0.2s; }
.challenge-item:nth-child(3) { animation-delay: 0.3s; }

/* ===== HOVER EFFECTS ===== */
.feature-card, .extra-card, .benefit-item, .fit-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card:hover, .extra-card:hover, .benefit-item:hover, .fit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(241, 89, 42, 0.2);
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}

/* ===== HEADER STYLES ===== */
.nav-back {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-back:hover {
    background: #d94a1e;
    transform: translateX(-5px);
}

    .hero-desc {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 16px;
    }

    .hero-logo img {
        width: 120px;
    }

    .formula-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .formula-card h2 {
        font-size: 18px;
    }

    .formula-equation img {
        max-width: 100%;
    }

    .challenges-section h2,
    .solutions-section h2,
    .extras-section h2,
    .fit-section h2,
    .benefits-section h2,
    .final-cta-section h2 {
        font-size: 18px;
    }

    .solution-block,
    .solution-block.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-image {
        order: -1;
    }

    .solution-image img {
        max-width: 70%;
        margin: 0 auto;
        display: block;
    }

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

    .extra-card:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

    .guarantee-card {
        padding: 30px 20px;
    }

    .btn-cta {
        font-size: 14px;
        padding: 12px 28px;
    }

    .btn-lg {
        font-size: 16px;
        padding: 14px 36px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 19px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .challenges-section h2,
    .solutions-section h2,
    .extras-section h2,
    .fit-section h2,
    .benefits-section h2,
    .final-cta-section h2 {
        font-size: 16px;
    }

    .solution-content h3 {
        font-size: 17px;
    }

    .challenge-item {
        font-size: 14px;
        padding: 12px 16px;
    }
}
