/* ================================
   GENERAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222222;
}


/* ================================
   HEADER
================================ */

header {
    
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    
    
    
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.logo {
    
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    
    font-size: 15px;
    font-weight: 500;
}




/* ================================
   HERO
================================ */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 80px 60px;

 background-image: url("media/images/hero-new.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    color: #ffffff;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    
    
    text-decoration: none;
    font-weight: bold;
    
}




/* ================================
   SERVICES
================================ */





.services p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 35px 60px;
    background: #222222;
    color: #ffffff;
    text-align: center;
    border-top: 3px solid #555555;
}

footer p {
    font-size: 14px;
    line-height: 1.6;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
    header {
        padding: 18px 20px;
        flex-direction: column;
        gap: 18px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }



    .hero {
        min-height: 600px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .services {
        padding: 70px 20px;
    }

    .services h2 {
        font-size: 34px;
    }

    footer {
    }
}
/* ================================
   RTL / ARABIC
================================ */



html[dir="rtl"] nav {
    direction: rtl;
}





html[dir="rtl"] .languages {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .services {
    direction: rtl;
    text-align: right;
}







/* ================================
   SERVICES - PROFESSIONAL
================================ */

.services {
    padding: 110px 60px;
    background: #f4f4f2;
}

.services-header {
    max-width: 850px;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
    
}

.services h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #ffffff;
    padding: 35px 30px;
    min-height: 280px;
    border: 1px solid #e5e5e5;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-size: 14px;
    font-weight: bold;
    color: #888888;
    margin-bottom: 45px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666666;
}


/* ================================
   SERVICES - MOBILE
================================ */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ================================
   ABOUT
================================ */

.about {
    padding: 120px 60px;
    background: #ffffff;
}

.about-content {
    max-width: 1000px;
    margin: auto;
}

.about-label {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 25px;
}

.about h2 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 35px;
}

.about p {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

.about-line {
    width: 70px;
    height: 3px;
    
    margin-top: 45px;
}


/* ================================
   ABOUT - MOBILE
================================ */

 /* ================================
    PROJECTS
 ================================ */

.projects {
    padding: 120px 60px;
    background: #f4f4f2;
}

.projects-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.projects h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.projects-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}


/* ================================
   PROJECTS - MOBILE
================================ */

 /* ================================
    PROJECT CARDS
================================ */

.projects-grid {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.project-image {
    height: 260px;
    background: #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 25px;
}

.project-image span {
    font-size: 14px;
    font-weight: bold;
    color: #666666;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}


/* ================================
   PROJECTS - MOBILE
================================ */

@media (max-width: 900px) {

    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

}
/* ================================
   EQUIPMENT
================================ */

.equipment-section {
    padding: 120px 60px;
    background: #ffffff;
}

.equipment-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.equipment-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.equipment-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}


/* ================================
   EQUIPMENT CARDS
================================ */

.equipment-grid {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.equipment-card {
    background: #f4f4f2;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: 0.3s;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.equipment-image {
    
    background: #dcdcdc;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 25px;
}

.equipment-image span {
    font-size: 14px;
    font-weight: bold;
    color: #666666;
}

.equipment-info {
    padding: 25px;
    background: #ffffff;
}

.equipment-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.equipment-info p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

@media (max-width: 900px) {

    .equipment-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

}
/* ================================
   GALLERY
================================ */

.gallery {
    padding: 120px 60px;
    background: #f4f4f2;
}

.gallery-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.gallery-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.gallery-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.gallery-grid {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    
    background: #dcdcdc;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item span {
    font-size: 14px;
    font-weight: bold;
    color: #666666;
}

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ================================
   CONTACT
================================ */

.contact-section {
    padding: 120px 60px;
    background: #ffffff;
}

.contact-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.contact-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.contact-content {
    max-width: 1200px;
    margin: 60px auto 0;
    
    
    
}

.contact-item {
    padding: 35px 30px;
    background: #f4f4f2;
    border: 1px solid #e5e5e5;
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-item span {
    font-size: 14px;
    font-weight: bold;
    color: #888888;
}

.contact-item h3 {
    font-size: 22px;
    margin: 35px 0 12px;
}

.contact-item p {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

html {
    scroll-behavior: smooth;
}







@media (max-width: 768px) {
    .languages {
        margin-left: 0;
    }
}
nav a {
    color: #ffffff;
}

nav a:hover {
    color: #dddddd;
}
@media (max-width: 600px) {

    header {
        padding: 15px;
    }

    nav {
    }

    nav a {
        font-size: 11px;
    }

    .languages button {
        padding: 5px 8px;
        font-size: 11px;
    }

}
@media (max-width: 600px) {

    .hero {
        
        
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    

    

    .hero-button {
        padding: 13px 24px;
        font-size: 14px;
    }

}
@media (max-width: 600px) {

    .services {
        padding: 70px 20px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .services-header p {
        font-size: 16px;
        line-height: 1.6;
    }

    .service-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .service-number {
        margin-bottom: 30px;
    }

    .service-card h3 {
        font-size: 21px;
    }

}
@media (max-width: 600px) {

    .about {
        padding: 70px 20px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-label {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .about h2 {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 28px;
    }

    .about p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .about-line {
        margin-top: 35px;
    }

}
@media (max-width: 600px) {

    .projects {
        padding: 70px 20px;
    }

    .projects-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .projects-header p {
        font-size: 16px;
        line-height: 1.6;
    }

    .projects-grid {
        margin-top: 40px;
        
        
    }

    .project-image {
    }

    .project-info {
        padding: 22px;
    }

    .project-info h3 {
        font-size: 20px;
    }

}
@media (max-width: 600px) {

    .equipment-section {
        padding: 70px 20px;
    }

    .equipment-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .equipment-header p {
        font-size: 16px;
        line-height: 1.6;
    }

    .equipment-grid {
        margin-top: 40px;
        
        
    }

    .equipment-image {
        height: 220px;
    }

    .equipment-info {
        padding: 22px;
    }

    .equipment-info h3 {
        font-size: 20px;
    }

}
@media (max-width: 600px) {

    .gallery {
        padding: 70px 20px;
    }

    .gallery-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .gallery-header p {
        font-size: 16px;
        line-height: 1.6;
    }

    .gallery-grid {
        margin-top: 40px;
        
        
    }

    .gallery-item {
        height: 220px;
    }

}
@media (max-width: 600px) {

    .contact-section {
        padding: 70px 20px;
    }

    .contact-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .contact-header p {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-content {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 28px 24px;
    }

    .contact-item h3 {
        font-size: 20px;
        margin: 28px 0 10px;
    }

    .contact-item p {
        font-size: 15px;
    }

}
@media (max-width: 600px) {

    footer {
        padding: 25px 20px;
    }

    footer p {
        font-size: 12px;
        line-height: 1.6;
    }

}
/* ================================
   FINAL HEADER POLISH
================================ */

header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav a {
    transition: color 0.3s ease;
}

.languages button {
    border-radius: 4px;
    
}
/* ================================
   SECTION ANIMATION
================================ */

.services,
.about,
.projects,
.equipment-section,
.gallery,
.contact-section {
    animation: sectionFade 0.8s ease;
}

@keyframes sectionFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#contact-phone,
#contact-email {
    color: #222222;
    text-decoration: none;
    font-size: 16px;
}

#contact-phone:hover,
#contact-email:hover {
    color: #666666;
}
/* ================================
   COMPANY LOCATION
================================ */

.contact-map {
    max-width: 1200px;
    margin: 60px auto 0;
    text-align: center;
}

.contact-map h3 {
    font-size: 28px;
    margin-bottom: 25px;
}







@media (max-width: 900px) {
    header {
        
        gap: 15px;
        
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .languages {
        display: flex;
        gap: 6px;
    }
}
.hero-contact-button {
    display: inline-block;
    margin-left: 12px;
    padding: 14px 28px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-contact-button:hover {
    background: #ffffff;
    color: #111111;
}



@media (max-width: 600px) {
    .hero-contact-button {
        margin: 10px 0 0 0;
    }
}
.logo {
    text-decoration: none;
    color: inherit;
}
header {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: rgba(20, 20, 20, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
nav > a {
    position: relative;
    padding: 10px 2px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

nav > a:hover::after {
    width: 100%;
}

nav > a:hover {
    color: #ffffff;
}
.languages {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.languages button {
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.languages button:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px;
    color: rgba(255, 255, 255, 0.3);
}

.languages button:hover {
    background: transparent;
    color: #ffffff;
}
/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    margin: 6px 0;
    transition: 0.3s ease;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
        position: absolute;
        
        
        z-index: 1100;
    }
}
@media (max-width: 900px) {

    header nav {
        
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 25px 20px;
        background: rgba(20, 20, 20, 0.98);

        flex-direction: column;
        align-items: center;
        gap: 8px;

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
    }

    header nav.active {
        display: flex;
    }

    header nav > a {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    header .languages {
        margin: 12px 0 0;
        padding: 15px 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        justify-content: center;
    }
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 900px) {

    header {
        padding: 16px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
    }

    .logo {
        max-width: calc(100% - 65px);
        font-size: 15px;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .menu-toggle {
        top: 15px;
        right: 20px;
    }

    html[dir="rtl"] .menu-toggle {
        right: auto;
        left: 20px;
    }
}
@media (max-width: 900px) {
    body.menu-open {
        overflow: hidden;
    }
}
@media (max-width: 900px) {

    header nav {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        pointer-events: none;

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    header nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}
.languages button.active-lang {
    
    font-weight: 700;
}

.languages button.active-lang::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 16px;
    height: 2px;
    background: #ffffff;
    transform: translateX(-50%);
}
/* =========================
   CERTIFICATES SECTION
========================= */

.certificates-section {
    padding: 100px 8%;
    background: #f5f5f5;
}

.certificates-header {
    max-width: 750px;
    margin-bottom: 55px;
}

.certificates-header .section-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.certificates-header h2 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.2;
    color: #111111;
}

.certificates-header p {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.certificate-card {
    position: relative;
overflow: hidden;
    min-height: 180px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.certificate-number {
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 800;
    color: #111111;
}

.certificate-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    color: #555555;
}

@media (max-width: 900px) {

    .certificates-section {
        padding: 75px 20px;
    }

    .certificates-header h2 {
        font-size: 30px;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }
}
/* CERTIFICATE BUTTON */

.certificate-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;

    color: #111111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    transition: gap 0.3s ease, color 0.3s ease;
}

.certificate-button span:last-child {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.certificate-button:hover {
    gap: 15px;
}

.certificate-button:hover span:last-child {
    transform: translateX(5px);
}

html[dir="rtl"] .certificate-button:hover span:last-child {
    transform: translateX(-5px);
}
.certificate-card::after {
    content: "ISO";
    position: absolute;
    right: -8px;
    bottom: -22px;

    font-size: 80px;
    font-weight: 800;
    line-height: 1;

    color: rgba(0, 0, 0, 0.035);
    pointer-events: none;
}

.certificate-card > * {
    position: relative;
    z-index: 1;
}

html[dir="rtl"] .certificate-card::after {
    right: auto;
    left: -8px;
}
@media (min-width: 901px) and (max-width: 1250px) {

    header {
        padding-left: 30px;
        padding-right: 30px;
    }

    nav {
        gap: 16px;
    }

    nav > a {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .logo {
        font-size: 16px;
        white-space: nowrap;
    }

    .languages {
        margin-left: 12px;
        padding-left: 12px;
    }

    .languages button {
        padding-left: 6px;
        padding-right: 6px;
    }
}
#home-section,
#about-section,
#services-section,
#materials-section,
#projects-section,
#equipment-section,
#gallery-section,
#certificates-section,
#contact-section {
    scroll-margin-top: 90px;
}
nav > a.active-section::after {
    width: 100%;
}
@media (max-width: 600px) {

    .hero {
        min-height: 100vh;
        padding: 120px 20px 60px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .hero p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero-button,
    .hero-contact-button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px 0 0 0;
        text-align: center;
    }

    html[dir="rtl"] .hero-contact-button {
        margin: 10px 0 0 0;
    }
}
@media (max-width: 600px) {

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.65)
        );
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 1;
    }
}
@media (max-width: 600px) {

    .certificates-grid {
        gap: 14px;
    }

    .certificate-card {
        min-height: auto;
        padding: 24px 22px;
    }

    .certificate-number {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .certificate-card h3 {
        font-size: 15px;
        line-height: 1.45;
    }

    .certificate-button {
        margin-top: 18px;
        font-size: 11px;
    }

    .certificate-card::after {
        font-size: 65px;
        bottom: -16px;
    }
}
@media (max-width: 600px) {

    

    .gallery-item {
        min-height: 160px;
    }
}
@media (max-width: 600px) {

    

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        width: 100%;
    }

    .project-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .project-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}
@media (max-width: 600px) {

    .equipment-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .equipment-card {
        width: 100%;
    }

    .equipment-card h3 {
        font-size: 19px;
        line-height: 1.3;
    }

    .equipment-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}
@media (max-width: 600px) {

    .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    

    

    

    .contact-map {
        width: 100%;
        margin-top: 10px;
    }

    
}
.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}
.equipment-image {
    height: 260px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}
.service-image {
    width: 100%;
    height: 220px;
    margin: 20px 0 25px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    grid-row: 1 / span 5;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}
.gallery-item {
    height: 320px;
    overflow: hidden;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* MATERIALS SECTION */

.materials {
    padding: 110px 8%;
    background: #f5f5f3;
}

.materials-header {
    max-width: 750px;
    margin-bottom: 55px;
}

.materials-header .section-label {
    display: block;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.materials-header h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.materials-header p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.75;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.material-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.material-image {
    height: 280px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.material-card:hover .material-image img {
    transform: scale(1.06);
}

.material-content {
    padding: 30px;
}

.material-number {
    display: block;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.45;
}

.material-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.material-content p {
    margin: 0;
    line-height: 1.7;
    opacity: 0.7;
}
@media (max-width: 768px) {

    .materials {
        padding: 70px 20px;
    }

    .materials-header {
        margin-bottom: 35px;
    }

    .materials-header h2 {
        font-size: 36px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .material-image {
        height: 260px;
    }

    .material-content {
        padding: 25px;
    }
}
/* FIX SPACING BETWEEN SERVICES AND MATERIALS */

.services {
    padding-bottom: 60px;
}

.materials {
    padding-top: 70px;
}
/* HEADER LOGO */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 145px;
    height: auto;
    display: block;
    object-fit: contain;
}
/* KEEP HEADER STRUCTURE CONSISTENT IN ARABIC */

html[dir="rtl"] header {
    direction: ltr;
}

html[dir="rtl"] header nav {
    direction: ltr;
}

html[dir="rtl"] header .languages {
    direction: ltr;
    margin-left: 15px;
    margin-right: 0;
}

html[dir="rtl"] header nav > a {
    direction: rtl;
    text-align: center;
}
/* BRAND ACCENT COLOR */

.section-label {
    color: #e56f00;
}

.about-line {
    background: #e56f00;
}

.material-number,
.service-number {
    color: #e56f00;
    opacity: 1;
}
/* BRAND HEADER ACCENT */

header {
    border-bottom: 2px solid rgba(229, 111, 0, 0.65);
}

nav a::after {
    background: #e56f00;
}

.languages button.active-lang {
    background: #e56f00;
    border-color: #e56f00;
    color: #ffffff;
}
/* HERO BRAND BUTTON */

.hero-button {
    background: #e56f00;
    border: 2px solid #e56f00;
    color: #ffffff;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}
/* PREVENT NAV TEXT FROM BREAKING */

header nav a {
    white-space: nowrap;
}

header nav {
    flex-wrap: nowrap;
}
/* STICKY HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
/* ================================
   ARABIC HERO
================================ */

html[dir="rtl"] .hero {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: 6%;
    text-align: right;
}

html[dir="rtl"] .hero h1 {
    max-width: 1000px;
    font-size: 76px;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 25px;
}

html[dir="rtl"] .hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.8;
    margin-left: auto;
    margin-bottom: 35px;
}
html[dir="rtl"] .hero-button {
    margin-left: 12px;
    margin-right: 0;
}

html[dir="rtl"] .hero-contact-button {
    margin-right: 0;
    margin-left: 0;
}

/* Arabic Hero - Mobile */
@media (max-width: 600px) {

    html[dir="rtl"] .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    html[dir="rtl"] .hero h1 {
        font-size: 42px;
        line-height: 1.2;
    }

    html[dir="rtl"] .hero p {
        font-size: 17px;
        line-height: 1.7;
    }
}
/* ================================
   ARABIC ABOUT
================================ */

html[dir="rtl"] .about-content {
    direction: ltr;
    grid-template-columns: 1fr 1.1fr;
}

html[dir="rtl"] .about-image {
    grid-column: 1;
    grid-row: 1 / span 5;
}

html[dir="rtl"] .about-content > :not(.about-image) {
    grid-column: 2;
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .about h2 {
    font-size: 48px;
    line-height: 1.35;
}

html[dir="rtl"] .about p {
    font-size: 18px;
    line-height: 2;
    max-width: 650px;
}
html[dir="rtl"] .about-content {
    align-items: start;
    align-content: center;
    row-gap: 18px;
}

html[dir="rtl"] .about h2,
html[dir="rtl"] .about p,
html[dir="rtl"] .about-label,
html[dir="rtl"] .about-line {
    margin-top: 0;
    margin-bottom: 0;
}
/* ================================
   TURKISH HERO
================================ */

@media (min-width: 601px) {
    html[lang="tr"] .hero h1 {
        font-size: 54px;
        line-height: 1.15;
    }
}
@media (min-width: 901px) {
    html[lang="tr"] header nav > a {
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    html[lang="tr"] header nav {
        gap: 20px;
    }
}
/* ================================
   ENGLISH HERO
================================ */

@media (min-width: 601px) {
    html[lang="en"] .hero-content {
        max-width: 900px;
    }

    html[lang="en"] .hero h1 {
        font-size: 58px;
        line-height: 1.1;
    }
}
/* ================================
   ARABIC SERVICES
================================ */

html[dir="rtl"] .services-header {
    max-width: 850px;
    margin: 0 0 60px auto;
    padding-top: 20px;
    text-align: right;
}

html[dir="rtl"] .services h2 {
    font-size: 48px;
    line-height: 1.3;
}

html[dir="rtl"] .services-header p {
    font-size: 18px;
    line-height: 1.9;
    max-width: 750px;
}
/* FIX ARABIC SERVICES TOP SPACING */

html[dir="rtl"] .services {
    padding-top: 140px;
}
/* CONTACT CARDS FIX */

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.contact-item {
    width: auto;
    min-width: 0;
    height: 100%;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: #d66a00;
}

.contact-secondary {
    margin-top: 10px;
    font-size: 14px;
}

.contact-secondary a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 800px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}
/* ================================
   OPERATIONAL LOCATIONS
================================ */

.company-locations {
    padding: 80px 60px 110px;
    background: #ffffff;
}

.company-locations > h3 {
    max-width: 1200px;
    margin: 0 auto 40px;
    font-size: 32px;
    color: #222;
}

.locations-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.location-item {
    padding: 30px;
    background: #f4f4f2;
    border: 1px solid #e5e5e5;
    border-top: 3px solid #d66a00;
    transition: 0.3s;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.location-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
}

.location-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 900px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .company-locations {
        padding: 60px 20px 80px;
    }
}
/* ================================
   GOOGLE MAP
================================ */

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 12px;
}

.map-link {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 22px;
    background: #e56f00;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s ease;
}

.map-link:hover {
    background: #222222;
}

@media (max-width: 600px) {
    .map-container {
        padding: 0 20px;
    }

    .map-container iframe {
        height: 320px;
    }

    .map-link {
        width: 100%;
        text-align: center;
    }
}   
/* ================================
   MOBILE MENU SCROLL FIX
================================ */

@media (max-width: 900px) {

    header nav {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overscroll-behavior: contain;

        padding: 18px 20px 25px;
        gap: 2px;
    }

    header nav > a {
        padding: 10px 0;
        flex-shrink: 0;
    }

    header .languages {
        flex-shrink: 0;
        padding-bottom: 12px;
    }
}
/* ================================
   FINAL MOBILE LAYOUT FIX
================================ */

@media (max-width: 600px) {

    /* ABOUT */
    .about-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100%;
        height: 300px;
    }

    .about-content > :not(.about-image) {
        grid-column: 1 !important;
    }

    html[dir="rtl"] .about-content {
        grid-template-columns: 1fr;
    }

    html[dir="rtl"] .about-image {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    html[dir="rtl"] .about-content > :not(.about-image) {
        grid-column: 1 !important;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        width: 100%;
    }

    .service-image {
        height: 240px;
    }

    /* GALLERY */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        width: 100%;
        height: 260px;
        padding: 0;
    }
}   