/* about.css
   Styles for About page readability + contrast improvements
   Uses the classes added in the template
*/

/* Page title area */
.about-page-title .page-heading {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    /* assuming banner background is dark */
    margin: 0;
}

.about-page-title .breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.about-page-title .breadcrumb-nav a:hover,
.about-page-title .breadcrumb-nav a:focus {
    color: #ffffff;
    text-decoration: underline;
    outline: none;
}

.about-page-title .breadcrumb-nav .fa {
    color: rgba(255, 255, 255, 0.85);
}

/* Main content spacing */
.about-content {
    padding: 48px 0;
}

.about-section {
    padding: 0;
}

/* Section blocks */
.about-block {
    padding: 34px 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-block:last-child {
    border-bottom: 0;
}

/* Icon */
.about-icon {
    color: #f5a623;
    /* brand-ish orange */
    background: #fff7ed;
    /* very light warm background */
    border: 1px solid #fed7aa;
}

/* Section title */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    background: #f5a623;
    margin-top: 10px;
    border-radius: 2px;
}

/* Text column */
.about-text {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
}

.about-lead {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}

.about-paragraph {
    margin: 0 0 10px 0;
    color: #374151;
}

.about-highlight {
    margin-top: 12px;
    padding: 12px 14px;
    border-left: 4px solid #f5a623;
    background: #fffbeb;
    color: #111827;
    border-radius: 6px;
}

/* Images */
.about-image {
    margin-bottom: 18px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

/* Lists */
.about-list {
    margin: 10px 0 0 0;
    padding-left: 18px;
    color: #374151;
}

.about-list li {
    margin: 8px 0;
    line-height: 1.6;
}

/* Services section */
.about-services {
    padding: 34px 0 10px 0;
}

.about-service-box {
    margin-bottom: 22px;
}

.service-icon {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #f5a623;
}

.service-description {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.about-service-box:hover .service-description {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.service-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.service-title a {
    color: #111827;
    text-decoration: none;
}

.service-title a:hover,
.service-title a:focus {
    text-decoration: underline;
    outline: none;
}

.service-text {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.65;
    color: #374151;
}

/* Link styling + focus visibility */
.service-link {
    display: inline-block;
    font-weight: 600;
    color: #1d4ed8;
    /* accessible blue */
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-link:hover {
    color: #1e40af;
}

.service-link:focus {
    outline: 3px solid rgba(245, 166, 35, 0.45);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Make columns breathe a bit on smaller screens */
@media (max-width: 991px) {
    .about-content {
        padding: 32px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-lead {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .about-page-title .page-heading {
        font-size: 28px;
    }

    .about-block {
        padding: 26px 0;
    }
}