/* ----------------------------1. Task Hero Section ---------------------------- */

.task-hero-section {
    background: linear-gradient(181.19deg, #FFF4F4 -25.6%, #fbf7f7 40.14%);
}


.hero-inner {
    padding-top: clamp(60px, 6vw, 120px);
    padding-bottom: clamp(60px, 6vw, 120px);
}

/* Heading */
.task-hero-section .hero-content h1 {
    margin: 0;
    font-size: clamp(32px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: #3A3A3A;
}

/* Paragraph */
.task-hero-section .hero-content p {
    font-size: clamp(14px, 2vw, 18px);
}

/* Badge */
.head-pill {
    display: inline-block;
    background: var(--bg-badge);
    color: var(--badge);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
}

/* Image wrapper */
/* .hero-media {
    width: 100%;
    height: clamp(280px, 30vw, 560px);
    overflow: visible;
    border-radius: 16px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.hero-media {
    width: 100%;
    height: auto; 
}

.hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain; 
}

/* ----------------------------2. Problem Section ---------------------------- */

.problem-section {
    /* background: #f5f5f5; */
    padding-top: clamp(60px, 5vw, 120px);
    padding-bottom: clamp(60px, 5vw, 120px);
}

.section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: #3a3a3a;
}

.problem-card {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-card .icon {
    font-size: 22px;
    color: var(--app-color); /* your theme */
    margin-bottom: 18px;
}

.problem-card h4 {
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* ----------------------------3. Solution Section ---------------------------- */

.task-intro-section .container {
    max-width: 1000px;
}

.task-intro-section {
    padding: clamp(60px, 6vw, 120px) 0;
}

/* Header */
.task-intro-header {
    margin-bottom: clamp(40px, 6vw, 80px);
}

.task-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #2b2b2b;
}

.task-highlight {
    color: var(--app-color);
}

.task-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin-top: 8px;
}

/* Toggle */
.task-toggle {
    display: inline-flex;
    background: #eaeaea;
    padding: 4px;
    border-radius: 10px;
}

.task-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    color: #555;
    cursor: pointer;
}

.task-tab-btn.active {
    background: #fff;
    color: var(--app-color);
    font-weight: 600;
}

/* Tab content */
.task-tab-content {
    display: none;
}

.task-tab-content.active {
    display: block;
}

/* Steps */
.task-step {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.task-step-number {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--app-color);
    color: var(--app-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
}

.task-step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.task-step p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Phone Card */
.task-phone-card {
    background: #ececec;
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-phone-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tablet spacing fix */
@media (min-width: 768px) and (max-width: 991px) {
    .task-intro-section .container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* ----------------------------4. Reccuring task Section ---------------------------- */

/* SECTION BACKGROUND */
.reminder-section {
    padding: clamp(60px, 6vw, 120px) 0;
}

/* MAIN CARD */
.reminder-card {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(30px, 4vw, 60px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* BADGE */
.reminder-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.for-text {
    font-size: 14px;
    color: #6b7280;
}

.badge-pill {
    background: #fbeaea;
    color: var(--app-color);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* TITLE */
.reminder-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--app-color);
    margin-bottom: 16px;
}

/* DESCRIPTION */
.reminder-desc {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* LIST */
.reminder-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reminder-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #2b2b2b;
}

.reminder-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #902A2C;
    font-weight: bold;
}

/* RIGHT WIDGET */
.reminder-widget {
    background: #fafafa;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #eee;
}

/* HEADER */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 16px;
}

.status {
    background: #d1fae5;
    color: #059669;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

/* PROGRESS */
.progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--app-color);
    transition: width 1.5s ease-in-out;
}

/* When active */
.progress-bar.fill {
    width: 70%;
}

/* FOOTER */
.widget-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
}

/* ----------------------------5. Request Type Section ---------------------------- */

/* SECTION */
.request-types-section {
    background: #f5f5f5;
    padding: clamp(60px, 6vw, 120px) 0;
}

/* HEADING */
.request-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    color: #2b2b2b;
}

.request-title span {
    color: var(--app-color);
}

/* CARD BASE */
.request-card {
    border-radius: 20px;
    padding: 32px 28px 42px; /* 🔥 more bottom weight */
    color: #fff;
    height: 100%;

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease; /* 🔥 smooth hover */
}

/* HOVER */
.request-card:hover {
    transform: translateY(-6px);
}

/* ICON */
.request-card .icon-box {
    width: 48px;
    height: 48px;
    /* background: rgba(255, 255, 255, 0.15);  */
    background: #fff;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px; /* 🔥 more space */
}

/* SVG inside icon */
.request-card .icon-box svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

/* TITLE */
.request-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px; /* 🔥 better separation */
}

/* TEXT */
.request-card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85); /* 🔥 softer than pure white */
    margin: 0;
}

/* GRADIENTS */
.gradient-purple {
    background: var(--card-4-bg);
}

.gradient-teal {
    background: var(--card-5-bg);
}

.gradient-green {
    background: var(--card-6-bg);
}

/* OPTIONAL: subtle depth (recommended) */
.request-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* ----------------------------6. One Plateform Section ---------------------------- */

/* SECTION */
.workflow-section {
    padding: clamp(60px, 6vw, 120px) 0;
}

/* TITLE */
.workflow-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    color: #2b2b2b;
}

/* TOP FLOW */
.workflow-top {
    gap: 40px;
    flex-wrap: wrap;
}

/* SIDE BLOCK */
.workflow-side p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6b7280;
}

/* ICON */
.workflow-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* gradients */
.gradient-dark {
    background: var(--card-1-bg);
}

.gradient-red {
    background: var(--card-3-bg);
}

/* LINE */
.workflow-line-wrapper {
    position: relative;
    gap: 12px;
}

.workflow-line-wrapper .line {
    width: 140px;
    height: 2px;
    background: var(--app-color);
}

/* CENTER BADGE */
.center-badge {
    background: #fff;
    border: 1px solid #eee;
    padding: 12px 20px;
    border-radius: 16px;
}

/* CARDS */
.workflow-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    border: 2px solid #F3F3F3;
    height: 100%;
}

.workflow-card h5 {
    color: var(--app-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.workflow-card p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .workflow-top {
        gap: 75px;
    }
    .workflow-line-wrapper .line {
        display: none;
    }

    .workflow-line-wrapper {
        position: relative;
    }

    .workflow-line-wrapper::before {
        content: "";
        position: absolute;
        top: -60px;   
        bottom: -60px; 
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        background: var(--app-color);
    }
    .center-badge {
        position: relative;
        z-index: 1;
    }
}

/* ----------------------------5. CTA Section ---------------------------- */

.cta {
    /* background: #FFFBFB; */
    padding: 100px 0;
}

/* Title */
.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

/* Subtext */
.cta-subtext {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Buttons wrapper */
.cta-buttons {
    margin-bottom: 16px;
}

/* Primary Button */
.btn-primary-custom {
    background: var(--btn-bg);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(168, 50, 50, 0.25);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(168, 50, 50, 0.35);
}

/* Outline Button */
.btn-outline-custom {
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: #f9fafb;
}

/* Bottom note */
.cta-note {
    font-size: 13px;
    color: #9ca3af;
}