* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Services Hero */

.services-hero {
    position: relative;
    background: url("/static/images/services-hero-1.45fdd3b70802.png");
    background-size: cover;
    background-position: center;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-bottom: 50px;
}

.services-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(165, 188, 206, 0.3);
    z-index: 1;
}

.services-hero-text {
    position: relative;
    z-index: 2;
    display: flexbox;
    flex-direction: column;
    text-align: left;
    padding-left: 5px;
    padding-right: 50%;
    padding-top: 0;
    padding-bottom: 0;
    margin: 3px;
}

.services-hero-text h1 {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0.5rem;
    color: #223A66;
}

.services-hero-text h3 {
    color: #1AB006;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}



.services-section {
    padding: 80px 0;
    text-align: center;
}

.services-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.services-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 40px;
    color: #223A66;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.5rem;
    color: #223A66;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.view-more-btn {
    background: #223A66;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}


#modalTitle {
    font-size: 2rem;
    font-weight: bold;
    color: #223A66;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Times New Roman', Times, serif;
}
#modalSubheading {
    font-size: 1rem;
    font-weight: bold;
    color: #223A66;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

.modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.modal-list {
    display: flex;
    justify-content: space-between;
}
.modal-list i {
    font-size: 1rem;
    color: #1AB006;
}

.modal-list ul {
    list-style: none;
}


/* Aftercare Section */

.aftercare-section {
    padding: 80px 0;
    background: #f5f9ff;
    text-align: center;
}

.aftercare-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aftercare-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 40px;
    color: #223A66;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: #1AB006;
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content {
    background: #BFD2F8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex-grow: 1;
}

.timeline-content h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: bold;
    color: #223A66;
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.timeline::before {
    content: "";
    position: absolute;
    width: 3px;
    background: #2c3e50;
    top: 0;
    bottom: 0;
    left: 25px;
    transform: translateX(-50%);
}

/* faq section */
.faq-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.faq-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.faq-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 40px;
    color: #223A66;
}

.faq-container {
    text-align: left;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 15px;
    font-size: 16px;
    background: #f1f1f1;
}

.icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* contact section */
/* Contact section */

.brief h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
.brief h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;

}

.contact-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.contact-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}
.contact-card, .contact-card-2{
    background-color: #BFD2F8 !important; 
    min-width: 220px;
    max-width: 100%;
}
.contact-card i {
    color: #223A66;
}

.contact-card h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #223A66;
}

.contact-card p {
    color: #223A66;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.contact-card-2 {
    background-color: #223A66 !important; 
}
.contact-card-2 i {
    color: #BFD2F8;
}

.contact-card-2 h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #BFD2F8;
}

.contact-card-2 p {
    color: #BFD2F8;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.card i {
    display: block;
    text-align: left;
}


/* --- Responsive Services Hero Section --- */
@media (max-width: 992px) {
    .services-hero {
        height: 220px;
        margin-bottom: 24px;
        padding: 0 8px;
        background-position: center;
    }
    .services-hero-text {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 1.5rem;
        text-align: center;
    }
    .services-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .services-hero-text h3 {
        font-size: 1rem;
    }
  .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .contact-section .col-md-3 {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: 160px;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    .services-hero-text {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 1.1rem;
        text-align: center;
    }
    .services-hero-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    .services-hero-text h3 {
        font-size: 0.85rem;
    }

  .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px; 
    }

    .contact-card, .contact-card-2{
        margin-bottom: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .services-hero {
        height: 120px;
        margin-bottom: 6px;
        padding: 0 2px;
        background-position: center;
    }
    .services-hero-text {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 0.9rem;
        text-align: center;
    }
    .services-hero-text h1 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    .services-hero-text h3 {
        font-size: 0.7rem;
    }

    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px; 
    }

    .contact-card, .contact-card-2{
        width: 100%;
    }
}