/* ***********************************************************************
    Filename: warranty_insurance.css
    Description: CSS file for the Warranty & Insurance page of SACFinance
    Last worked on by: Sarina Lalria

    Related Files: 
        - warranty_insurance.cfm
************************************************************************ */

/* General Container */
.container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Calibri', sans-serif;
}

/* Section Wrappers */
.warranty-wrapper, .insurance-wrapper {
    border: 1px solid #1a4b77;
    border-radius: 8px;
    flex: 1 1 400px;
    min-width: 300px;
    max-width: 800px;
    background-color: #F2F4F7;
    display: flex;
    flex-direction: column;
}

/* Section Headers */
.section-header {
    background-color: #1a4b77;
    color: #fff;
    padding: 1rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    text-align: center;
}

.section-header h1 {
    margin: 0;
    font-size: 32px;
}

/* Section Content */
.section-container {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-text {
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    font-weight: 520;
    padding: 0 20px;
}

/* Text Blocks */
.section-text-one {
    font-size: 18px;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.bottom-divider {
    border-top: 1px solid #ccc;

}
.section-text-two {
    margin-top: 20px;
    font-size: 14px;
    justify-content: center;
    text-align: center;
    padding: 30px 50px;
    margin: 0 auto;
}

.section-text-two a {
    color: #28baf4;
    text-decoration: none;
    text-decoration: underline;
    font-weight: bold;
}

.section-text-three {
    font-size: 12px;
    justify-content: center;
    text-align: center;
    color: #555;
    margin-bottom: 0;
}

/* Cards */
.section-cards-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0 50px;
}

.card-display {
    flex: 1 1 45%;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    
}

.card-icon {
    text-align: center;
    margin-bottom: 8px;
    font-size: 20px;
}

.fa-phone {
    color: #EE3829;

}
.fa-globe {
    color: #71c1e8;

}

.card-title-one, .card-title-two{
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 18px;
    text-align: center;
}

.card-info-two, .card-info-one{ 
    font-size: 16px;
    text-align: center;
}

.claim-needs-info {
    text-align: center;
    margin: 0 auto;
}

.claim-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.needs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap; /* stacks on smaller screens */
}


.needs-col li {
    list-style: none;
    position: relative;
    padding-left: 14px; /* adjust bullet spacing */
    font-size: 18px;
    margin: 0 auto;
    text-align: center;
    width: 150px;
}

.needs-col li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #222;
}



.or-col p {
  font-weight: bold;
  width: 50px;
  text-align: center;
}

/* Cards */
.section-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 45%;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.section-message{
    text-align: center;
    font-size: 12px;
    margin-top: 1rem;
    font-weight: 520;
    color: #555;
}

.card-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.fa-shield {
    color: #6dadff;
    font-size: 18px
}

.fa-dollar-sign {
    color: #19d438;
    font-size: 18px;
}

.fa-tag {
    color: #ffc107;
    font-size: 18px;
}

.fa-question {
    color: #EE3829;
    font-size: 18px;
}

.card-info {
    font-size: 16px;
}

.important {
    color: #EE3829;
    font-weight: bold;
    display: inline-block;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 1rem;
    }
    .section-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .card {
        flex: 1 1 48%;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .section-cards {
        flex-direction: column;
    }
    .card {
        flex: 1 1 100%;
    }

    .needs-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}
