:root {
    --brand-green: #0b8a43;
    --brand-green-dark: #087437;
    --brand-light: #f7faf8;
    --surface: #ffffff;
    --surface-soft: #f3f5f4;
    --text-main: #17212b;
    --text-muted: #5f6b76;
    --border-soft: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.10);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --container-width: 1200px;
    --section-space: clamp(48px, 6vw, 82px);
    --section-space-tight: clamp(32px, 4vw, 56px);
    --title-size: clamp(1.9rem, 3vw, 3.2rem);
    --subtitle-size: clamp(0.98rem, 1.2vw, 1.08rem);
    --transition: 0.3s ease;
    --about-primary: #0f4c81;
    --about-primary-dark: #0b3d68;
    --about-accent: #1b7f5e;
    --about-gold: #d7a93d;
    --about-text: #2c3440;
    --about-muted: #6b7280;
    --about-bg: #f7f9fc;
    --about-card: #ffffff;
    --about-border: rgba(15, 76, 129, 0.08);
    --about-shadow: 0 18px 40px rgba(15, 76, 129, 0.08);
    --about-radius: 24px;
    --about-container: 1200px;
    --contact-primary: #0d4d86;
    --contact-primary-dark: #0a3c68;
    --contact-accent: #d8a93a;
    --contact-bg: #f5f8fc;
    --contact-white: #ffffff;
    --contact-text: #1f2937;
    --contact-muted: #6b7280;
    --contact-border: #dbe4ef;
    --contact-shadow: 0 18px 50px rgba(13, 77, 134, 0.10);
    --contact-radius: 24px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text-main);
    background: #fff;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container-width), calc(100% - 32px));
    margin-inline: auto;
}

/* Shared section rhythm */
.home-projects-section,
.home-services-section,
.contact-section {
    position: relative;
}

.section-head.centered {
    text-align: center;
    margin-bottom: 26px;
}

.section-title {
    margin: 0;
    font-size: var(--title-size);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-line {
    display: inline-block;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: var(--brand-green);
    margin-top: 12px;
}

/* HERO */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 78vh;
    overflow: hidden;
    background: #eef3ef;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.hero-slide__bg,
.hero-slide__bg img,
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

    .hero-slide__bg img {
        object-fit: cover;
        object-position: center;
    }

.hero-slide__overlay {
    background: linear-gradient( 90deg, rgba(247, 244, 241, 0.94) 0%, rgba(247, 244, 241, 0.90) 22%, rgba(247, 244, 241, 0.72) 42%, rgba(247, 244, 241, 0.24) 68%, rgba(247, 244, 241, 0.05) 100% );
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 78vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 88px 7vw 72px;
}

.hero-inner {
    max-width: 620px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-green);
}

.hero-inner h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 1.02;
    font-weight: 800;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.hero-inner p {
    margin: 0 0 24px;
    max-width: 58ch;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 999px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-btn--primary,
.hero-btn--secondary {
    background: var(--brand-green);
    color: #fff;
    border: 1px solid var(--brand-green);
}

.hero-btn--secondary {
    background: rgba(255, 255, 255, 0.80);
    color: var(--brand-green);
    backdrop-filter: blur(5px);
}

    .hero-btn--primary:hover,
    .hero-btn--secondary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.hero-controls {
    position: absolute;
    left: 32px;
    bottom: 22px;
    z-index: 5;
    display: flex;
}

.hero-arrow {
    width: 54px;
    height: 54px;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-arrow--prev {
    background: #fff;
    color: var(--brand-green);
    border-radius: 999px 0 0 999px;
}

.hero-arrow--next {
    background: var(--brand-green);
    color: #fff;
    border-radius: 0 999px 999px 0;
}

.hero-arrow:hover {
    transform: translateY(-2px);
}

/* PROJECTS */
.home-projects-section {
    background: linear-gradient(135deg, #0b8a43 0%, #087437 100%);
    padding: var(--section-space-tight) 0;
}

.projects-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: center;
}

.projects-side {
    color: #fff;
}

.side-title {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.projects-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 120px;
}

.nav-btn {
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 999px;
    transition: var(--transition);
}

.next-btn {
    background: #fff;
    color: var(--brand-green);
}

.prev-btn {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.projects-slider-wrap {
    overflow: hidden;
}

.projects-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-block: 4px;
}

    .projects-slider::-webkit-scrollbar {
        display: none;
    }

.project-card {
    min-width: 290px;
    max-width: 290px;
    height: 220px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: #ddd;
    box-shadow: var(--shadow-sm);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08));
}

    .project-overlay h3 {
        margin: 0;
        color: #fff;
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.25;
        text-transform: uppercase;
    }

/* SERVICES */
.home-services-section {
    background: var(--brand-light);
    padding: var(--section-space) 0;
}

.section-head.centered .section-title {
    color: var(--brand-green);
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-bottom: 4px solid var(--brand-green);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.service-image-wrap {
    height: 230px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-card:hover .service-image {
    transform: scale(1.04);
}

.service-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 18px 20px;
}

.service-title {
    margin: 0;
    color: var(--brand-green);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.service-plus {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: var(--brand-green);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 600;
    transition: var(--transition);
}

    .service-plus:hover {
        background: var(--brand-green-dark);
        transform: scale(1.05);
    }

/* CONTACT */
.contact-section {
    background: linear-gradient(135deg, #0b8a43 0%, #087437 100%);
    padding: var(--section-space-tight) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.contact-form-side {
    color: #fff;
    padding: 6px 0;
}

.contact-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.contact-form {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .form-group label {
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
    }

.full-width {
    margin-bottom: 16px;
}

.contact-input {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-main);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.98rem;
    box-sizing: border-box;
    transition: var(--transition);
}

    .contact-input:focus {
        border-color: var(--brand-green-dark);
        box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
    }

    .contact-input::placeholder {
        color: #7a8590;
    }

.contact-textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-submit-btn {
    border: none;
    background: #fff;
    color: var(--brand-green);
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .contact-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.contact-image-side {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-alert-success {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.text-danger {
    color: #ffe2e2;
    font-size: 0.85rem;
}

/* RTL */
html[dir="rtl"] .projects-controls {
    align-items: flex-start;
}

html[dir="rtl"] .service-body {
    flex-direction: row-reverse;
}

html[dir="rtl"] .project-overlay {
    justify-content: flex-end;
    text-align: right;
}

html[dir="rtl"] .contact-form-side {
    text-align: right;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .hero-slider,
    .hero-content {
        min-height: 72vh;
    }

    .hero-content {
        padding: 86px 24px 88px;
    }

    .hero-slide__overlay {
        background: linear-gradient( 180deg, rgba(247, 244, 241, 0.93) 0%, rgba(247, 244, 241, 0.82) 34%, rgba(247, 244, 241, 0.48) 64%, rgba(247, 244, 241, 0.12) 100% );
    }

    .projects-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .projects-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 18px;
    }

    .side-title {
        margin-bottom: 0;
    }

    .projects-controls {
        flex-direction: row;
        max-width: unset;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-image {
        max-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(var(--container-width), calc(100% - 24px));
    }

    .home-projects-section,
    .home-services-section,
    .contact-section {
        padding: 36px 0;
    }

    .hero-slider,
    .hero-content {
        min-height: 68vh;
    }

    .hero-inner h1 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        min-width: unset;
    }

    .hero-controls {
        left: 16px;
        bottom: 16px;
    }

    .hero-arrow {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .projects-side {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-card {
        min-width: 240px;
        max-width: 240px;
        height: 180px;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-image-wrap {
        height: 210px;
    }

    .service-body {
        align-items: flex-start;
    }

    .contact-title {
        margin-bottom: 16px;
    }
}
.site-footer {
    background: linear-gradient(135deg, #0b8a43 0%, #087437 100%);
    color: #ffffff;
    padding: 70px 0 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

    .site-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 35%), radial-gradient(circle at bottom right, rgba(255,255,255,0.06), transparent 30%);
        pointer-events: none;
    }

.footer-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 120px;
    max-width: 100%;
    margin-bottom: 18px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 14px;
}

.footer-brand-title,
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-brand-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    max-width: 300px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 14px;
}

.footer-links a,
.footer-services li,
.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.8;
    transition: 0.3s ease;
}

    .footer-links a:hover,
    .footer-contact a:hover {
        color: #d6e4ff;
        transform: translateX(3px);
    }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-icon {
    font-size: 1.3rem;
    line-height: 1.4;
    min-width: 24px;
}

.footer-bottom {
    margin-top: 45px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 1;
}

    .footer-bottom p {
        margin: 0;
        color: rgba(255,255,255,0.9);
        font-size: 0.95rem;
    }

/* RTL support */
[dir="rtl"] .footer-links a:hover,
[dir="rtl"] .footer-contact a:hover {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: start;
    }

    .footer-brand-text {
        max-width: 100%;
    }

    .footer-brand-title,
    .footer-links h4,
    .footer-services h4,
    .footer-contact h4 {
        font-size: 1.3rem;
    }
}

.about-page {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    color: var(--about-text);
    overflow: hidden;
}

    .about-page .container {
        width: min(var(--about-container), calc(100% - 32px));
        margin-inline: auto;
    }

.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(8, 26, 47, 0.72), rgba(8, 26, 47, 0.78)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.about-hero__content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    max-width: 850px;
    margin-inline: auto;
}

.about-kicker {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
}

.about-hero p {
    margin: 0 auto;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

.about-section {
    position: relative;
    padding: 80px 0;
}

.about-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.about-grid--2 {
    grid-template-columns: 1.1fr 0.9fr;
}

.about-card {
    background: var(--about-card);
    border: 1px solid var(--about-border);
    border-radius: var(--about-radius);
    box-shadow: var(--about-shadow);
    padding: 32px;
    position: relative;
}

    .about-card::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 24px;
        width: 6px;
        height: 56px;
        border-radius: 0 8px 8px 0;
        background: linear-gradient(180deg, var(--about-primary), var(--about-accent));
    }

.about-card--wide {
    padding: 36px;
}

.about-card h2,
.about-card h3,
.section-head h2 {
    margin: 0 0 18px;
    color: var(--about-primary);
    font-weight: 800;
    line-height: 1.25;
}

.about-card h2,
.section-head h2 {
    font-size: clamp(1.5rem, 2.2vw, 2.4rem);
}

.about-card h3 {
    font-size: 1.4rem;
}

.about-card p,
.section-head p,
.goal-item p,
.service-feature p,
.about-list li {
    color: var(--about-muted);
    line-height: 1.95;
    font-size: 1rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 76, 129, 0.08);
    color: var(--about-primary);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-media {
    position: relative;
}

    .about-media img,
    .vm-media img {
        width: 100%;
        display: block;
        border-radius: 26px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
        object-fit: cover;
    }

    .about-media::after {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, var(--about-accent), var(--about-primary));
        inset-inline-end: -16px;
        bottom: -16px;
        z-index: -1;
        border-radius: 22px;
        opacity: 0.14;
    }

.vm-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 24px;
    align-items: center;
}

.vm-card {
    background: #fff;
    border: 1px solid var(--about-border);
    border-radius: 24px;
    box-shadow: var(--about-shadow);
    padding: 28px;
}

.about-list {
    margin: 0;
    padding-inline-start: 18px;
}

    .about-list li {
        margin-bottom: 12px;
    }

.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.goal-item {
    background: var(--about-bg);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 76, 129, 0.07);
}

.goal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--about-primary), var(--about-accent));
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-head {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 36px;
}

.department-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

    .department-gallery img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-feature {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    border: 1px solid rgba(27, 127, 94, 0.12);
    border-radius: 22px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 14px 32px rgba(27, 127, 94, 0.08);
}

    .service-feature h3 {
        margin: 14px 0 10px;
        color: var(--about-primary-dark);
        font-size: 1.1rem;
    }

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--about-accent), var(--about-primary));
    color: #fff;
}

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

    .reveal-up.is-visible,
    .reveal-left.is-visible,
    .reveal-right.is-visible {
        opacity: 1;
        transform: translate(0, 0);
    }

html[lang="ar"] .about-page,
body[dir="rtl"] .about-page {
    direction: rtl;
}

html[lang="ar"] .about-card::before,
body[dir="rtl"] .about-card::before {
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-radius: 8px 0 0 8px;
}

@media (max-width: 1100px) {
    .vm-layout,
    .about-grid--2,
    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .department-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 56px 0;
    }

    .about-card,
    .vm-card {
        padding: 24px;
    }

    .about-hero {
        min-height: 60vh;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .department-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

        .department-gallery img {
            height: 100px;
        }

    .reverse-mobile .about-media {
        order: -1;
    }
}

@media (max-width: 480px) {
    .about-page .container {
        width: min(100% - 20px, var(--about-container));
    }

    .department-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about-hero__content {
        padding: 80px 0;
    }

    .about-card h2,
    .section-head h2 {
        font-size: 1.45rem;
    }
}


/* PROJECTS PAGE - SCREENSHOT STYLE */
.projects-page {
    background: #f3f3f3;
    min-height: 100vh;
}

.projects-page__hero {
    height: 140px;
    background: linear-gradient(rgba(20, 24, 30, 0.20), rgba(20, 24, 30, 0.20)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.projects-page__crumb {
    background: #006b2d;
    color: #fff;
    font-size: 0.95rem;
    padding: 12px 18px;
    margin-bottom: 0;
}

    .projects-page__crumb a {
        color: #fff;
        text-decoration: none;
    }

    .projects-page__crumb span {
        margin: 0 6px;
    }

.projects-page__content {
    padding: 28px 0 60px;
}

.projects-page__header {
    text-align: center;
    margin-bottom: 28px;
}

.projects-page__title {
    margin: 0;
    color: #007337;
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.projects-page__line {
    width: 62px;
    height: 3px;
    border-radius: 999px;
    display: inline-block;
    background: #007337;
    margin-top: 10px;
}

.projects-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.projects-filter {
    border: none;
    background: #cfdad3;
    color: #34423a;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.28s ease;
}

    .projects-filter:hover {
        background: #bfcfc5;
    }

    .projects-filter.active {
        background: #007337;
        color: #fff;
        transform: translateY(-1px);
    }

.projects-gallery {
    width: min(950px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: start;
}

.projects-gallery__item {
    overflow: hidden;
    background: #ddd;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
    max-height: 500px;
}

    .projects-gallery__item img {
        width: 100%;
        height: 235px;
        object-fit: cover;
        display: block;
        transition: transform 0.45s ease;
    }

    .projects-gallery__item:hover img {
        transform: scale(1.04);
    }

    .projects-gallery__item.hide {
        opacity: 0;
        transform: scale(0.96);
        pointer-events: none;
        max-height: 0;
        margin: 0;
        overflow: hidden;
    }

    .projects-gallery__item.show {
        opacity: 1;
        transform: scale(1);
    }

.projects-empty {
    width: min(950px, 100%);
    margin: 0 auto;
    background: #fff;
    padding: 28px;
    text-align: center;
    color: #5f6b76;
    border: 1px solid rgba(0,0,0,0.06);
}

/* RTL */
html[dir="rtl"] .projects-page__crumb,
body[dir="rtl"] .projects-page__crumb {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .projects-filters,
body[dir="rtl"] .projects-filters {
    direction: rtl;
}

/* Responsive */
@media (max-width: 991.98px) {
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
        width: min(720px, 100%);
    }

    .projects-gallery__item img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .projects-page__hero {
        height: 110px;
    }

    .projects-page__content {
        padding: 24px 0 40px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
        width: min(420px, 100%);
    }

    .projects-gallery__item img {
        height: 240px;
    }

    .projects-filter {
        font-size: 0.78rem;
        padding: 8px 12px;
    }

    .projects-page__crumb {
        font-size: 0.86rem;
        padding: 10px 14px;
    }
}

/* SERVICES PAGE */
.services-page {
    background: #f3f3f3;
    min-height: 100vh;
}

.services-page__hero {
    height: 150px;
    background: linear-gradient(rgba(20, 24, 30, 0.28), rgba(20, 24, 30, 0.28)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.services-page__crumb {
    background: #006b2d;
    color: #fff;
    font-size: 0.95rem;
    padding: 12px 18px;
    margin-bottom: 0;
}

    .services-page__crumb a {
        color: #fff;
        text-decoration: none;
    }

    .services-page__crumb span {
        margin: 0 6px;
    }

.services-page__content {
    padding: 42px 0 70px;
}

.services-page__header {
    text-align: center;
    margin-bottom: 38px;
}

.services-page__title {
    margin: 0;
    color: #007337;
    font-size: clamp(2.1rem, 3vw, 3.3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.services-page__line {
    width: 86px;
    height: 4px;
    border-radius: 999px;
    display: inline-block;
    background: #007337;
    margin-top: 12px;
}

.services-grid-page {
    width: min(1050px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-page {
    background: #fff;
    border-bottom: 4px solid #0b8a43;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .service-card-page:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
    }

.service-card-page__image-link {
    display: block;
    overflow: hidden;
}

.service-card-page__image {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.service-card-page:hover .service-card-page__image {
    transform: scale(1.05);
}

.service-card-page__body {
    padding: 18px 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    min-height: 118px;
}

.service-card-page__text {
    flex: 1;
}

.service-card-page__title {
    margin: 0 0 8px;
    color: #0b8a43;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-card-page__desc {
    margin: 0;
    color: #5f6b76;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-page__plus {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0b8a43;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 50%;
    border: 2px solid rgba(11, 138, 67, 0.14);
    transition: all 0.3s ease;
}

    .service-card-page__plus:hover {
        background: #0b8a43;
        color: #fff;
        border-color: #0b8a43;
    }

.services-empty {
    width: min(900px, 100%);
    margin: 0 auto;
    background: #fff;
    padding: 28px;
    text-align: center;
    color: #5f6b76;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

/* RTL */
html[dir="rtl"] .services-page__crumb,
body[dir="rtl"] .services-page__crumb {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .service-card-page__body,
body[dir="rtl"] .service-card-page__body {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-card-page__text,
body[dir="rtl"] .service-card-page__text {
    text-align: right;
}

/* Responsive */
@media (max-width: 1100px) {
    .services-grid-page {
        grid-template-columns: repeat(2, 1fr);
        width: min(760px, 100%);
    }
}

@media (max-width: 767.98px) {
    .services-page__hero {
        height: 110px;
    }

    .services-page__content {
        padding: 28px 0 48px;
    }

    .services-grid-page {
        grid-template-columns: 1fr;
        width: min(420px, 100%);
        gap: 22px;
    }

    .service-card-page__image {
        height: 240px;
    }

    .service-card-page__body {
        padding: 16px;
        min-height: auto;
        align-items: center;
    }

    .service-card-page__title {
        font-size: 1.02rem;
    }

    .service-card-page__desc {
        font-size: 0.9rem;
    }

    .services-page__crumb {
        font-size: 0.86rem;
        padding: 10px 14px;
    }
}