* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary:#14213d;
    --accent:#e4573d;
    --accent-dark:#d94a31;
    --blue:#0d5ca6;
    --text:#222;
    --muted:#555;
    --bg:#f5f5f5;
    --white:#ffffff;
    --shadow:0 10px 25px rgba(0,0,0,0.08);
    --radius:16px;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: min(92%, 1240px);
    margin: 0 auto;
}

/* =========================
   RTL
========================= */

body.rtl {
    direction: rtl;
}

body.rtl .topbar,
body.rtl .navbar,
body.rtl .topbar-container,
body.rtl .nav-container,
body.rtl .nav-col,
body.rtl .nav-links,
body.rtl .nav-right,
body.rtl .about-grid,
body.rtl .about-stats,
body.rtl .grid-3,
body.rtl .projects-gallery,
body.rtl .footer-grid,
body.rtl .contact-layout {
    direction: ltr;
}

body.rtl .about-text,
body.rtl .card,
body.rtl .gallery-content,
body.rtl .contact-info,
body.rtl .contact-form-box,
body.rtl .section,
body.rtl .site-footer,
body.rtl .page-hero-content,
body.rtl .cta-box {
    text-align: right;
}

body.rtl input,
body.rtl textarea,
body.rtl select {
    direction: rtl;
    text-align: right;
}

body.rtl .hero-slider-content .container,
body.rtl .page-hero-content {
    text-align: center;
}

/* =========================
   TOPBAR
========================= */
.topbar {
    background: #0d5ca6;
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 3000;
    overflow: visible;
}

.topbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    min-height: 50px;
    overflow: visible;
}

.topbar-left,
.topbar-center,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
}

.topbar-left { justify-content: flex-start; }
.topbar-center { justify-content: center; }
.topbar-right { justify-content: flex-end; }

.language-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible;
    z-index: 5000;
}

.lang-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50%;
    background: #fff;
    color: #1b2b4b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    padding: 8px;
    display: none;
    z-index: 99999;
}

.lang-menu.show {
    display: block;
}

.lang-menu a {
    display: block;
    padding: 10px 12px;
    color: #222;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.lang-menu a:hover {
    background: #f5f5f5;
    color: #e4573d;
}
/* =========================
   NAVBAR
========================= */

.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 92px;
    gap: 20px;
}

.nav-col {
    display: flex;
    align-items: center;
}

.nav-col-left { justify-content: flex-start; }
.nav-col-center { justify-content: center; }
.nav-col-right { justify-content: flex-end; }

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    background: var(--white);
}

.nav-mobile-wrapper {
    display: contents;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    padding: 11px 18px;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-contact-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.navbar-toggle {
    display: none;
    border: none;
    background: linear-gradient(135deg, #14213d, #0d5ca6);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 26px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.navbar-toggle-icon {
    line-height: 1;
}

/* =========================
   HERO SLIDER
========================= */

.hero-slider {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.30);
    z-index: 2;
}

.hero-slider-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: var(--white);
}

.hero-slider-content .container {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slider-content h1 {
    font-size: 64px;
    line-height: 1.08;
    margin-bottom: 18px;
    font-weight: 800;
}

.hero-slider-content p {
    font-size: 24px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px;
}

.hero-slider-content .btn {
    margin: 0 auto;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--white);
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    font-size: 54px;
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 20px;
    max-width: 760px;
    margin: 0 auto;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 48px;
    margin-bottom: 28px;
    color: var(--primary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
}

.about-image img {
    width: 100%;
    max-width: 520px;
    height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    max-width: 560px;
}

.about-badge {
    display: inline-block;
    background: rgba(228,87,61,0.10);
    color: var(--accent);
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 14px;
}

.about-text h2 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 28px;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 28px;
}

.about-values span {
    display: inline-block;
    background: rgba(228,87,61,0.10);
    color: var(--primary);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-box {
    background: var(--white);
    padding: 24px 18px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-box h3 {
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-box p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

/* =========================
   CARDS / SERVICES
========================= */

.card {
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--primary);
}

.card p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* =========================
   PROJECTS
========================= */

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.gallery-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.gallery-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    padding: 30px;
}

.lightbox.show {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 16px;
    font-size: 18px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 42px;
    cursor: pointer;
    line-height: 1;
}

/* =========================
   CONTACT / QUOTE
========================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.contact-info,
.contact-form-box {
    height: 100%;
}

.contact-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--primary);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: var(--white);
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.contact-form-box .btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #14213d;
    color: #fff;
    padding-top: 60px;
    margin-top: 60px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.site-footer .footer-col h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #fff;
}

.site-footer .footer-col p,
.site-footer .footer-col li,
.site-footer .footer-col a {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 2;
    text-decoration: none;
}

.site-footer .footer-col a:hover {
    color: #e4573d;
}

.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-col ul li {
    margin-bottom: 6px;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: 0.3s ease;
}

.social:hover {
    transform: translateY(-3px);
}

.social.fb { background: #1877f2; }
.social.ig { background: #e4405f; }
.social.wa { background: #25d366; }
.social.x { background: #000; }
.social.msg { background: #0084ff; }
.social.yt { background: #ff0000; }

/* =========================
   CTA
========================= */

.cta-section {
    padding: 70px 0;
    background: #f5f5f5;
}

.cta-box {
    max-width: 900px;
}

.cta-box h2 {
    font-size: 56px;
    color: #14213d;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-box p {
    font-size: 18px;
    color: #222;
    margin-bottom: 24px;
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    z-index: 9999;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 992px) {
    .topbar-container,
    .about-grid,
    .about-stats,
    .grid-3,
    .projects-gallery,
    .contact-layout,
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider,
    .hero-slider-content .container {
        min-height: 500px;
    }

    .hero-slider-content h1 {
        font-size: 42px;
    }

    .hero-slider-content p {
        font-size: 18px;
        max-width: 100%;
    }

    .page-hero {
        min-height: 240px;
        padding: 60px 0;
    }

    .page-hero-content h1 {
        font-size: 36px;
    }

    .page-hero-content p {
        font-size: 17px;
    }

    .about-image img,
    .card img,
    .gallery-card img {
        height: auto;
        max-width: 100%;
    }

    .section h2,
    .about-text h2,
    .cta-box h2 {
        font-size: 34px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   MOBILE
========================= */

.nav-mobile-top {
    display: none;
}

@media (max-width: 768px) {
    .container {
        width: 94%;
    }

    .topbar {
        font-size: 12px;
    }

    .topbar-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        text-align: center;
    }

    .topbar-left,
    .topbar-center,
    .topbar-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        text-align: center;
        padding: 0 !important;
    }

    .topbar-left span,
    .topbar-center span,
    .topbar-right span {
        white-space: normal;
        line-height: 1.4;
        text-align: center;
    }

    .topbar-sep {
        display: none;
    }

    .topbar-social {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .social-mini {
        justify-content: center;
        flex-wrap: wrap;
    }

    .mini {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .topbar-hours {
        font-size: 13px;
        text-align: center;
    }

    .language-dropdown,
    body.rtl .language-dropdown {
        margin: 0;
    }

    .lang-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        min-height: auto;
        padding: 16px 0;
    }

    .nav-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        display: flex;
        justify-content: flex-start;
    }

    .logo img {
        width: 70px;
        height: 70px;
    }

    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .nav-mobile-wrapper {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-top: 8px;
    }

    .nav-mobile-wrapper.show {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 15px;
        line-height: 1.4;
    }

    .nav-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .nav-contact-btn {
        min-width: 150px;
        padding: 12px 18px;
        font-size: 15px;
        text-align: center;
    }

    .lang-menu {
        right: 50%;
        transform: translateX(50%);
        top: 50px;
    }

    body.rtl .lang-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .hero-slider,
    .hero-slider-content .container {
        min-height: 420px;
    }

    .hero-slider-content .container {
        padding: 25px 15px;
    }

    .hero-slider-content h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .hero-slider-content p {
        font-size: 18px;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-slider-content .btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .hero-dots {
        bottom: 18px;
    }

    .about-grid,
    .about-stats,
    .grid-3,
    .projects-gallery,
    .contact-layout,
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-text,
    .cta-box,
    .site-footer {
        text-align: center;
    }

    .about-values {
        justify-content: center;
    }

    .section {
        padding: 55px 0;
    }

    .section h2,
    .about-text h2,
    .cta-box h2 {
        font-size: 30px;
    }

    .site-footer {
        padding-top: 40px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-col ul {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 24px;
        right: 14px;
        bottom: 14px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .topbar {
        font-size: 11px;
    }

    .logo img {
        width: 68px;
        height: 68px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-contact-btn {
        min-width: 140px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-slider,
    .hero-slider-content .container {
        min-height: 360px;
    }

    .hero-slider-content h1 {
        font-size: 28px;
    }

    .hero-slider-content p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }

    .section h2,
    .about-text h2,
    .cta-box h2 {
        font-size: 26px;
    }

    .topbar-hours {
        font-size: 12px;
    }
}