/*------------------ Breadcrumb styling --------------------*/
.breadcrumbs {
    background: linear-gradient(rgba(150, 60, 221, 0.1), rgba(17, 17, 69, 0.8)), url('../img/services.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb-container {
    height: 34vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
}

.breadcrumb-container .hero-heading {
    font-size: 3rem;
    color: #fff;
}

/*------------------ Insurance service card styling ---------------*/
.services {
    margin-top: 2.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    border: none;
    border-radius: 10px;
    margin: 2rem 0;
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .service-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.service-card .card-home { background: url("../img/home-insurance.png") center/cover no-repeat; }
.service-card .card-auto { background: url("../img/auto-insurance.png") center/cover no-repeat; }
.service-card .card-vacation { background: url("../img/vacation-insurance.png") center/cover no-repeat; }
.service-card .card-belonging { background: url("../img/belongings-insurance.png") center/cover no-repeat; }
.service-card .card-childcare { background: url("../img/childcare-insurance.png") center/cover no-repeat; }
.service-card .card-health { background: url("../img/health-insurance.png") center/cover no-repeat; }

/* New insurance types */
.service-card .card-dask { background: url("../img/dask-insurance.png") center/cover no-repeat; }
.service-card .card-imm { background: url("../img/imm-insurance.png") center/cover no-repeat; }
.service-card .card-private-health { background: url("../img/private-health-insurance.png") center/cover no-repeat; }
.service-card .card-ferdikaza { background: url("../img/ferdikaza-insurance.png") center/cover no-repeat; }
.service-card .card-workplace { background: url("../img/workplace-insurance.png") center/cover no-repeat; }
.service-card .card-cargo { background: url("../img/cargo-insurance.png") center/cover no-repeat; }

.service-card .service-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.service-card .service-name {
    font-size: 1.4rem;
    font-weight: bold;
}

.service-card .para-line {
    font-size: 1rem;
    color: #555;
}

.service-card .btn {
    align-self: flex-start;
}

.btn-yellow {
    background-color: #ffcc00;
    color: #333;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-yellow:hover {
    background-color: #e6b800;
}

/*------------------ FAQ styling -------------------------------------*/
.faqs {
    background: linear-gradient(rgba(10, 17, 79, 0.9), rgba(10, 17, 79, 0.9)), url("../img/hero-bg.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.faq {
    margin-top: 2rem;
    padding-bottom: 1rem;
    cursor: pointer;
}

.faq .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--fourth-color);
    padding: 1rem;
    border-radius: 5px;
}

.faq .question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
}

.faq .answer p {
    padding-top: 1rem;
    line-height: 1.6;
}

.faq.active .answer {
    max-height: 300px;
}

/*------------------ Additional service styling -------------------*/
.additional-service {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.additional-service .addi-service-img {
    border: none;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.additional-service .addi-ser-heading {
    font-size: 1.6rem;
    font-weight: 600;
}

.additional-service hr {
    width: 60px;
    color: var(--third-color);
}

/*-------------------- footer styling ----------------------*/
footer {
    background-color: #111;
    color: #ddd;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
}

.footer-head {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: #ffcc00;
}

.footer-icons {
    display: flex;
    gap: 1rem;
}

.footer-icons ion-icon {
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-icons ion-icon:hover {
    color: #ffcc00;
}

/*---------------------------------------------------------------*/
/*-------------------- Desktop screen styling -------------------*/
/*---------------------------------------------------------------*/
@media screen and (min-width: 789px) {
    /*----------- Breadcrumb styling ----------*/
    .breadcrumb-container {
        height: 50vh;
    }

    /*----------- Service styling ------------*/
    .services {
        gap: 2rem;
    }

    /*----------- FAQ styling --------------*/
    .faq-row {
        align-items: flex-start;
    }

    /*------------ Additional service styling ------------*/
    .additional-row {
        align-items: flex-start;
    }

    /*------------ Footer styling ------------*/
    footer .container {
        flex-wrap: nowrap;
    }
}
