/* ===== LUXURY HERO SECTION ===== */
.luxury-hero {
    position: relative;
    background: linear-gradient(135deg, #0a4d3d 0%, var(--primary) 50%, #1a8c70 100%);
    min-height: 100vh;
    padding-top: 70px;
    overflow: hidden;
    color: white;
}

/* Particles Background */

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

/* ===== HERO BADGE (PRO VERSION) ===== */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 6px;
    border-radius: 50px;
    background: rgba(16, 106, 84, 0.08);
}

/* Badge Pills */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    box-shadow: 0 8px 20px rgba(16, 106, 84, 0.25);
    white-space: nowrap;
}

/* Outline Style (for second badge) */

/* Divider Dot */
.hero-divider {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* Icon Size */
.hero-pill i {
    font-size: 0.9rem;
}

/* Hover Effect */
.hero-pill:hover {
    transform: translateY(-1px);
    transition: 0.3s ease;
}

/* RESPONSIVE */
@media(max-width:576px) {
    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero Title Effects */
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.text-gradient {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(16, 121, 0, 0.741);
    z-index: -1;
    transform: skew(-15deg);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Hero Actions */
.hero-actions {
    margin-bottom: 4rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--primary-dark);
    color: var(--gray-light);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

/* Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Adjust darkness */
    z-index: 1;
}

/* ===== SECTION LABELS ===== */
.green-heading {
    color: var(--primary-light);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.label-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

/* ===== MODERN ABOUT SECTION ===== */
.stats-card {
    top: 100px;
    padding-right: 2rem;
}

.stat-box {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    transition: var(--transition);
    background-color: var(--primary-light);
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
}

/* About Gallery Modern */
.about-gallery-modern {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
}

.gallery-item-sm {
    height: 150px;
    overflow: hidden;
}

.gallery-item-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-sm:hover img {
    transform: scale(1.1);
}

/* ===== SPECIALIZATION SECTION ===== */

.specialization-section {
    background: #f6f8f7;
}

.specialization-heading {
    margin-bottom: 18px;
}

.specialization-heading h2 {
    color: #162d25;
}

.specialization-subtitle {
    max-width: 680px;
    margin: 12px auto 0;
    color: #64706b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.specialization-card {
    background: #ffffff;
    border: 1px solid #dfe8e3;
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialization-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 106, 84, 0.08);
    border-color: #cfdcd6;
}

.specialization-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.specialization-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #e9f3ef;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.specialization-index {
    font-size: 0.95rem;
    font-weight: 700;
    color: #afbeb8;
}

.specialization-card h5 {
    color: #162d25;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.specialization-card p {
    color: #697570;
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.specialization-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.specialization-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f6f4;
    color: var(--primary-dark);
    border: 1px solid #dce7e1;
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .specialization-card {
        padding: 22px 20px;
        border-radius: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spec-box {
        padding: 30px 22px;
    }
}


/* ===== PROCESS TIMELINE ===== */
.section-bg-fixed {
    position: relative;
    background: url('../../images/project1.jpg') center/cover fixed no-repeat;
    padding: 80px 0;
}

.section-bg-fixed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    /* dark overlay */
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Make sure content stays above overlay */
.section-bg-fixed>.container {
    position: relative;
    z-index: 2;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary);
    opacity: 0.2;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.timeline-content {
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    padding-left: 4rem;
}

/* Success Metrics */
.success-metrics {
    border: 2px solid rgba(16, 106, 84, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.metric-number {
    line-height: 1;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(0);
    }

    .timeline-content {
        width: 100%;
        padding: 0 !important;
        margin: 1rem 0 0 0 !important;
    }

    .stats-card {
        position: static !important;
        margin-bottom: 2rem;
    }
}

/* ===== VISION 2030 ===== */

.ksa-vision-section {
    padding: 90px 0;
    background: #ffffff;
}

.vision2030-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8f6 100%);
    border: 1px solid #dde7e2;
    border-radius: 26px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.vision2030-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.vision2030-copy h2 {
    color: #132922;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.vision2030-copy p {
    color: #5f6b66;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.vision2030-points {
    margin-top: 28px;
}

.vision2030-point {
    background: #ffffff;
    border: 1px solid #e4ece8;
    border-radius: 18px;
    padding: 20px 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 106, 84, 0.04);
}

.vision2030-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(16, 106, 84, 0.08);
}

.vision2030-point h5 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.vision2030-point p {
    color: #68746f;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991px) {
    .ksa-vision-section {
        padding: 70px 0;
    }

    .vision2030-logo {
        max-width: 220px;
    }
}

@media (max-width: 576px) {
    .ksa-vision-section {
        padding: 50px 0;
    }

    .vision2030-panel {
        border-radius: 18px;
        padding: 22px;
    }
}
/* ===== PREMIUM SERVICE CARDS ===== */
.service-card-hover {
    position: relative;
    height: 100%;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 106, 84, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-badge {
    background: var(--accent);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* ===== EXPERTISE CARDS ===== */
.expertise-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.expertise-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.expertise-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.expertise-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.expertise-card:hover .expertise-details {
    max-height: 300px;
}

.expertise-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.expertise-stats .stat h5 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.expertise-stats .stat p {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROJECT FILTER ===== */
.projects-section {
    background: #f8f9fa;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
}

.project-location {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* ===== OUR CLIENTS ===== */

.client-logo {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    height: 120px;               /* FIXED HEIGHT */
    width: 100%;                 /* SAME WIDTH */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.17);
    transition: all 0.3s ease;
}

/* Logo wrapper control */
.client-logo img {
    max-height: 80px;            /* SAME VISUAL SIZE */
    max-width: 140px;            /* LIMIT WIDTH */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.85;
}

/* Hover effect */
.client-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}
