
.page-header {
    background-image: url('https://www.afs.trendapp.org/storage/landing-sections/banner/proven-consulting-for-modern-global-enterprises.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    position: relative;
}

.page-header:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 25, 0.5);
}

header.show-header {
    position: fixed;
    animation: fadeIn 0.5s ease-in-out;
}

header.show-header .header-sticky {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

}

.navbar-brand img {
    max-width: 200px;
}

.w-md-50 {
    width: 50% !important;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        top: -100px;
    }
    100% {
        opacity: 1;
        top: 30px;
    }
}

@media (max-width: 767px) {
    @keyframes fadeIn {
        0% {
            opacity: 0;
            top: -100px;
        }
        100% {
            opacity: 1;
            top: 0;
        }
    }

    .w-md-50 {
        width: 100% !important;
    }

    .navbar-brand img {
        max-width: 100px;
    }
}

.post-tags .tag-links a::before {
    content: none;
}

.page-single-sidebar .contact-form .btn-default {
    padding: 15px 24px;
}

.page-single-sidebar .contact-form .btn-default:before {
    content: none;
}

.home-services .service-item .accordion-button {
    font-size: 16px;
}

.home-services .service-item:hover .accordion-button {
    color: var(--secondary-color);
}

.home-services .service-item:hover .approach-accordian .accordion-item .accordion-button::after,
.home-services .service-item:hover .approach-accordian .accordion-item .accordion-button.collapsed::after {
    color: var(--secondary-color);
}

.benefits-home .benefit-item {
    min-height: auto;
}

.advisory-service-detail {
    color: #ffffff; /* نص أبيض */
    font-size: 16px;
    line-height: 1.8;
    padding: 20px 0;
}

.advisory-service-detail p {
    margin-bottom: 1.2rem;
}

.advisory-service-detail ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.advisory-service-detail ul li {
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.advisory-service-detail strong {
    color: var(--secondary-color);
}

.advisory-service-detail a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.advisory-service-detail a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ── Trigger Button ── */
.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid var(--accent-color, #0da2d9);
    color: var(--accent-color, #0da2d9);
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--accent-font, sans-serif);
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    line-height: 1;
    margin-top: 14px;
}

.brochure-btn:hover {
    background: var(--accent-color, #0da2d9);
    color: #fff;
}

/* Invert on dark card state */
.service-item.active .brochure-btn,
.service-item:hover .brochure-btn {
    border-color: rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
}

.service-item.active .brochure-btn:hover,
.service-item:hover .brochure-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ── Hero Brochure Button (show page) ── */
.hero-brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--accent-font, sans-serif);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    margin-top: 20px;
}

.hero-brochure-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ── Modal Dialog ── */
.brochure-modal-dialog {
    max-width: 520px;
}

.brochure-modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* ── Modal Header ── */
.brochure-modal-header {
    background: var(--primary-color, #1f3249);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.brochure-modal-sub {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color, #0da2d9);
    margin-bottom: 6px;
    font-family: var(--accent-font, sans-serif);
}

.brochure-modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    font-family: var(--accent-font, sans-serif);
    line-height: 1.3;
}

.brochure-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    margin-top: 2px;
}

.brochure-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── Modal Body ── */
.brochure-modal-body {
    padding: 28px;
    background: #fff;
}

.brochure-modal-intro {
    color: var(--text-color, #4B535D);
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.6;
}

.brochure-field-group {
    margin-bottom: 18px;
}

.brochure-label {
    display: block;
    font-family: var(--accent-font, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #1f3249);
    margin-bottom: 8px;
}

.brochure-required {
    color: #e53e3e;
}

.brochure-input {
    background: var(--bg-color, #F5F5F5) !important;
    border: 1.5px solid transparent !important;
    border-radius: 4px !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
    color: var(--primary-color, #1f3249) !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
    width: 100%;
}

.brochure-input:focus {
    border-color: var(--accent-color, #0da2d9) !important;
    outline: none !important;
    background: #fff !important;
}

.brochure-input.is-invalid {
    border-color: #e53e3e !important;
    background: #fff8f8 !important;
}

.brochure-field-error {
    color: #e53e3e;
    font-size: 12.5px;
    margin-top: 5px;
    min-height: 16px;
    font-weight: 500;
}

.brochure-submit-btn {
    width: 100%;
    margin-top: 6px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.brochure-success {
    text-align: center;
    padding: 40px 28px;
}

.brochure-success-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #10b981;
}

.brochure-success-title {
    font-family: var(--accent-font, sans-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #1f3249);
    margin-bottom: 10px;
}

.brochure-success-msg {
    color: var(--text-color, #4B535D);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.brochure-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 14px;
}

.brochure-reset-btn {
    background: none;
    border: none;
    color: var(--accent-color, #0da2d9);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: var(--accent-font, sans-serif);
}

.brochure-reset-btn:hover {
    color: var(--primary-color, #1f3249);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .brochure-modal-dialog {
        margin: 12px;
        max-width: calc(100% - 24px);
    }

    .brochure-modal-header {
        padding: 20px;
    }

    .brochure-modal-body {
        padding: 20px;
    }
}
