/* =====================================================
   Warranty Claim Page Styles
   ===================================================== */

/* Module 1 - Hero */
.warranty-hero {
    position: relative;
    background: url('../img/service.png') center/cover no-repeat;
    padding: 100px 0 90px;
    color: #fff;
}
.warranty-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,80,40,0.88) 0%, rgba(1,120,60,0.78) 55%, rgba(1,183,83,0.55) 100%);
}
.warranty-hero .container-fluid {
    position: relative;
    z-index: 1;
}
.warranty-hero .hero-title {
    font-size: clamp(34px, 4.8vw, 54px);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.warranty-hero .hero-desc {
    font-size: clamp(15px, 1.5vw, 18px);
    max-width: 760px;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
}

/* Module 1b - Features */

.warranty-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 45px 50px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform .25s, box-shadow .25s;
}
.warranty-features:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.1);
}
.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;    
    color: #2b2b2b;    
}
.feature-card .fc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #01b753;
    color: #01b753;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.feature-card .fc-text {
    flex: 1;
    min-width: 0;
}
.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 5px;
}
.feature-card p {
    font-size: 12px;
    color: #777;
    line-height: 1.55;
    margin: 0;
}

/* Common section */
.warranty-sec {
    margin-bottom: 5.0rem;
}
.warranty-process{
    background: #fff;
    border: 1px solid #e3efe9;
    border-radius: 16px;
    padding: 45px 50px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.06);
}
.sec-head {
    margin-bottom: 45px;
}
.sec-head h2 {
    font-size: clamp(24px, 3.2vw, 30px);
    font-weight: 800;
    color: #2b2b2b;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.sec-head.center h2::after {
    left: 50%;
    transform: translateX(-50%);
}
.sec-head h2.green {
    color: #01b753;
}

/* Module 2 - Warranty Process Timeline */
.process-grid {
    display: grid;
    gap: 42px;
}
.process-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}
.process-row::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 16.5%;
    right: 16.5%;
    height: 2px;
    background: #d0eadd;
    z-index: 0;
}
.process-item {
    position: relative;
    text-align: center;
    z-index: 1;
}
.process-item .pi-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #01b753;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 0 0 5px #f6faf8;
}
.process-item .pi-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.process-item .pi-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #e8f8ef;
    color: #01b753;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.process-item .pi-text {
    flex: 1;
    min-width: 0;
}
.process-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 6px;
}
.process-item p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Module 3 - Warranty Form */
.warranty-form-card {
    background: #fff;
    border: 1px solid #e3efe9;
    border-radius: 16px;
    padding: 45px 50px;
    box-shadow: 0 14px 42px rgba(0,0,0,0.06);
}
.form-card-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #01b753;
    margin-bottom: 35px;
}
.form-card-title i {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e8f8ef;
    color: #01b753;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.form-section {
    margin-bottom: 34px;
}
.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 24px;
    margin-bottom: 22px;
}
.form-row.two-col {
    grid-template-columns: repeat(2, 1fr);
}
.form-row.one-col {
    grid-template-columns: 1fr;
}
.form-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}
.form-field label .req {
    color: #e74c3c;
    margin-left: 3px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #d7e3dd;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fafdfb;
    color: #2b2b2b;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    height: auto;
    box-shadow: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #01b753;
    box-shadow: 0 0 0 3px rgba(1,183,83,0.12);
}
.form-field textarea {
    min-height: 120px;
    resize: vertical;
}
.date-input-wrap {
    position: relative;
}
.date-input-wrap input[type="date"] {
    padding-right: 42px;
    -webkit-appearance: none;
    appearance: none;
}
.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 40px;
    height: 100%;
    cursor: pointer;
}
.date-input-wrap::after {
    content: "\f073";
    font: normal normal normal 16px/1 FontAwesome;
    color: #01b753;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* File upload zone */
.file-upload-zone {
    border: 2px dashed #b8dcc8;
    border-radius: 14px;
    background: #f4fbf7;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: #01b753;
    background: #e8f8ef;
}
.file-upload-zone .fu-icon {
    font-size: 38px;
    color: #01b753;
    margin-bottom: 10px;
}
.file-upload-zone .fu-text {
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 6px;
}
.file-upload-zone .fu-hint {
    font-size: 12px;
    color: #888;
}
.file-upload-zone input[type="file"] {
    display: none;
}
.upload-list {
    margin-top: 16px;
}
.upload-list .uf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0ece5;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 13px;
}
.upload-list .uf-item .uf-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}
.upload-list .uf-item .uf-name i { color: #01b753; }
.upload-list .uf-item .uf-remove {
    color: #c0392b;
    cursor: pointer;
    font-size: 14px;
}
.upload-docs {
    padding-left: 18px;
}
.upload-docs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}
.upload-docs li i {
    color: #01b753;
}

/* Support options */
.support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.support-options label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d7e3dd;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    background: #fafdfb;
    transition: all .2s;
    margin: 0;
}
.support-options input[type="checkbox"] {
    display: none;
}
.support-options input[type="checkbox"]:checked + label {
    border-color: #01b753;
    background: #e8f8ef;
    color: #018a40;
}
.support-options label .so-circle {
    width: 16px;
    height: 16px;
    border: 2px solid #bbb;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.support-options input[type="checkbox"]:checked + label .so-circle {
    border-color: #01b753;
    background: #01b753;
}
.support-options input[type="checkbox"]:checked + label .so-circle::after {
    content: "";
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Confirm checkbox */
.confirm-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 28px 0;
}
.confirm-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #01b753;
    margin-top: 2px;
    flex-shrink: 0;
}
.confirm-box label {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #01b753, #00c860);
    color: #fff;
    border: 0;
    padding: 15px 42px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(1,183,83,0.3);
    transition: transform .2s, box-shadow .2s;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(1,183,83,0.4);
    color: #fff;
}
.form-msg {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
}

/* Module 4 - Before You Submit */
.before-card {
    background: #fff;
    border: 1px solid #e3efe9;
    border-radius: 20px;
    padding: 40px 45px;
    box-shadow: 0 10px 34px rgba(0,0,0,0.05);
}
.before-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 8px;
}
.before-card .before-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
}
.before-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.before-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.before-item .bi-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f8ef;
    color: #01b753;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Module 5 - Assistance */
.assistance-card {
    background: #fff;
    border: 1px solid #cdeedd;
    border-radius: 24px;
    padding: 45px 50px;
    box-shadow: 0 12px 38px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
}
.assistance-info h3 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 8px;
}
.assistance-info .as-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 26px;
}
.assistance-info ul {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.assistance-info li {
    display: flex;
    align-items: center;   
    font-size: 15px;
    color: #333;
    margin-bottom: 14px;
}
.assistance-info li i {
    margin-right: 5px;
    color: #01b753;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.assistance-info li a {
    color: #01b753;
    font-weight: 600;
}
.assistance-img {
    flex-shrink: 0;
    width: 240px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-panel {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(135deg, #01b753, #00c860);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 84px;
    box-shadow: 0 16px 34px rgba(1,183,83,0.32);
}

/* Module 6 - Commitment */
.warranty-commitment {
    position: relative;
    background: #fff;
}
.warranty-commitment .container-fluid {
    position: relative;
    z-index: 1;
}
.commitment-box {
    display: flex;
    align-items: center;
    gap: 28px;    
    margin: 0 auto;
    background: #f7f7f7;
    border-bottom: 2px solid #116726;
    border-radius: 20px;
    padding: 40px 45px;
    box-shadow: 0 10px 34px rgba(0,0,0,0.05);
}
.commitment-box .cm-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #e8f8ef;
    color: #01b753;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    flex-shrink: 0;
}
.commitment-box h3 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 10px;
}
.commitment-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 1199px) {
    .warranty-features { grid-template-columns: repeat(3, 1fr); }
    .before-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .warranty-hero { padding: 75px 0 60px; }
    .warranty-features-section { padding: 45px 0 55px; }
    .warranty-features { grid-template-columns: repeat(2, 1fr); }
    .process-row { grid-template-columns: repeat(2, 1fr); }
    .process-row::before { display: none; }
    .form-row { grid-template-columns: repeat(2, 1fr); }
    .before-list { grid-template-columns: repeat(2, 1fr); }
    .assistance-card { flex-direction: column; text-align: center; }
    .assistance-info ul { text-align: left; }
    .assistance-img { width: 200px; height: 170px; }
}
@media (max-width: 767px) {
    .warranty-hero { padding: 55px 0 45px; }
    .warranty-features-section { padding: 35px 0 45px; }
    .warranty-features { grid-template-columns: 1fr; }
    .feature-card { padding: 18px 16px; gap: 14px; }
    .feature-card .fc-icon { width: 46px; height: 46px; font-size: 18px; }
    .feature-card h3 { font-size: 14px; }
    .process-row { grid-template-columns: 1fr; }
    .process-item .pi-body { padding: 16px; gap: 12px; }
    .process-item .pi-icon { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
    .process-item h4 { font-size: 15px; }
    .warranty-form-card { padding: 28px 22px; }
    .form-row,
    .form-row.two-col,
    .form-row.one-col { grid-template-columns: 1fr; }
    .before-card { padding: 28px 22px; }
    .before-list { grid-template-columns: 1fr; }
    .support-options { flex-direction: column; align-items: flex-start; }
    .assistance-card { padding: 30px 22px; }
    .assistance-img { width: 160px; height: 130px; }
    .ai-panel { font-size: 60px; border-radius: 18px; }
    .commitment-box { flex-direction: column; text-align: center; }
}
