/* Consulting division (/consulting/) — moved verbatim from template-saf-consulting.php.
   Light, formal surfaces since 10A: white / #f4f7fa sections, white cards with hairlines, navy text;
   only the photo hero stays dark (charcoal overlay, header.css). */
:root {
    --primary-color: #0e1f31;
    --secondary-color: #738697;
    --accent-gold: #738697;       /* decorative only: white on it is 3.8:1 */
    --light-bg: #f8f9fa;
    --c-navy: #0f2846;
    --c-ink: #14273d;
    --c-text: #3f4f61;
    --c-muted: #5b6b7b;
    --c-slate: #5f7285;           /* white on it 5.0:1 */
    --c-surface: #f4f7fa;
    --c-line: #e6ecf1;
    --c-green: #467a30;
    --c-green-hover: #3b6628;
}


body {
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    background: #fff;
    color: var(--c-ink);
}

/* Header: assets/css/header.css */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #18212b 0%, #232e3a 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(115,134,151,0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #c9d3de;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--c-green);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--c-green-hover);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.section-badge {
    background: #eef2f6;
    border: 1px solid var(--c-line);
    color: var(--c-navy);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-navy);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--c-text);
    margin-bottom: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--c-line);
    color: var(--c-ink);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #cfd8e2;
    box-shadow: 0 12px 28px rgba(15,40,70,0.07);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--c-navy);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text);
}

/* Vision Mission Section */
.vision-mission-section {
    padding: 5rem 0;
    background: var(--c-surface);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    color: var(--c-ink);
    position: relative;
    overflow: hidden;
}

.vm-card {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--c-line);
    transition: all 0.3s ease;
    height: 100%;
}

.vm-card:hover {
    box-shadow: 0 12px 28px rgba(15,40,70,0.07);
    transform: translateY(-4px);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: var(--c-navy);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.vm-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--c-navy);
}

.vm-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--c-text);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: #fff;
}

.value-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--c-line);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid var(--c-navy);
    color: var(--c-ink);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,40,70,0.07);
}

.value-icon {
    font-size: 3rem;
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text);
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: #fff;
}

.project-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--c-ink);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,40,70,0.08);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-image-container {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--c-navy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
}

.project-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 1rem;
    line-height: 1.6;
    min-height: 3.2rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--c-muted);
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--c-slate);
}

.project-download-btn {
    background: #fff;
    border: 1px solid #cfd8e2;
    color: var(--c-navy);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    justify-content: center;
    margin-top: auto;
}

.project-download-btn:hover {
    background: var(--c-navy);
    border-color: var(--c-navy);
    color: white;
    transform: translateY(-2px);
}

.project-download-btn i {
    font-size: 1.1rem;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: var(--c-navy);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
}

.load-more-btn:hover {
    background: #16365c;
    color: white;
    transform: translateY(-2px);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.load-more-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.load-more-btn.hidden {
    display: none;
}

/* Hidden Projects */
.project-item {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.project-item.visible {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #fff;
    border-top: 1px solid var(--c-line);
    color: var(--c-ink);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--c-text);
    margin-bottom: 2rem;
}

.btn-cta {
    background: var(--c-green);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--c-green-hover);
    transform: translateY(-2px);
    color: white;
}

/* Footer: light grey with a hairline, like the location section above it */
.main-footer {
    background: #eef2f6;
    border-top: 1px solid #dde4ec;
    color: var(--c-ink);
    padding: 4rem 0 2rem;
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--c-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.footer-text {
    color: var(--c-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--c-navy);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--c-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--c-navy);
    padding-right: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--c-text);
}

.footer-contact-item i {
    color: var(--c-slate);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #dde4ec;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--c-navy);
    border-color: var(--c-navy);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #dde4ec;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--c-muted);
}

.footer-bottom a {
    color: var(--c-navy);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--c-navy);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* nav controlled by toggle on <=992px */
}
