* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* =================  الشريط الاساسي فوق NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.logo img {
    width: 80px;
    height: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    color: black;
}

.phone {
    font-size: 14px;
}

/* =================  اول قسم الصوره الكبيره HERO ================= */
.hero {
    height: 100vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('10RM.png');
    background-size: cover;
    background-position: center;
}

.overlay {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.hero-text {
    background: rgba(255,255,255,0.9);
    padding: 30px;
}

/* =================  6 صور PRODUCT ================= */
.products-container {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}


.products {
    display: flex;
    gap: 20px;
    transition: 0.4s;
	 transition: transform 0.6s ease;
    padding: 0 40px;
}

.card {
    flex: 0 0 calc(25% - 15px);
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.card:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
	}
	
	/* =================  سهم الصور 6 يسارو يمين SLIDER ARROWS ================= */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1c4c8c;
    color: white;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 6px;
    transition: 0.3s;
}

.arrow:hover {
    background: #007bff;
}

/* يسار */
.arrow.left {
    left: 10px;
}

/* يمين */
.arrow.right {
    right: 10px;
}


/* =================  مربعات التواصل على اليمينFLOATING CONTACT ================= */
.floating-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.contact-item {
    width: 50px;
    height: 50px;
    background: rgba(28, 76, 140, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-item:hover {
    transform: scale(1.15);
    background: #007bff;
}

.contact-box {
    position: fixed;
    right: 80px;
    background: white;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: 0.3s;
}

#serviceBox { top: 42%; }
#mailBox { top: 50%; }
#phoneBox { top: 58%; }

.contact-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.contact-box p {
    font-weight: bold;
}

.contact-box span {
    color: gray;
    font-size: 14px;
}

/* ================= PRODUCT HEADER ================= */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin-bottom: 20px;
}

.left-text h2 {
    font-size: 32px;
}

.sub {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
}

.sub .line {
    width: 50px;
    height: 3px;
    background: #007bff;
}

.left-text p {
    color: gray;
    max-width: 500px;
}

.read-more {
    background: #1c4c8c;
    color: white;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
}

/* ================= ABOUT ================= */
.about-section {
    padding: 80px 50px;
    background: #f5f5f5;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    width: 55%;
}

.about-text h2 {
    font-size: 40px;
}

.about-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
}

.line {
    width: 60px;
    height: 4px;
    background: #007bff;
}

.small-text {
    color: gray;
    margin: 10px 0;
}

.read-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #1c4c8c;
    color: white;
    border: none;
    cursor: pointer;
}

/* ================= ABOUT IMAGES ================= */
.about-images {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 15px;
}

.about-images img {
    width: 170px;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow:0 25px 35px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-images img:hover {
    transform: scale(1.25) translateY(-10px);
    z-index: 10;
}

/* =================  3 صور مع الكلام  CASESالقسم 4 ================= */

/* العنوان */
.cases-header {
    padding: 40px 50px;
    background: #f5f5f5;
}

.cases-header p {
    margin-bottom: 25px;
}

/* الحاوية */
.cases-container {
    display: flex;
    height: 550px; 
}

/* كل كارد */
.case {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;
    color: white;
    padding: 30px;
    cursor: pointer;
    transition: 0.4s;

    background-size: cover;
    background-position: center;
}
.cases {
    background: url('Cha1.png') center/cover no-repeat;
    transition: 0.5s;
}

/* تأثير hover */
.case:hover {
    transform: scale(1.05);
    z-index: 2;
}

/*  ترتيب النص */
.case-content {
    max-width:420px;
    margin: auto;
}

/* النص */
.case-content h3 {
    font-size:37px;
    margin-bottom:15px;
}

.case-content p {
    font-size:14px;
    margin-bottom:25px;
}

.case-content button {
    padding: 8px 20px;
    background:transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
}

.case-content h3 {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.case-content p {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}



/* ================= القسم 5 NEWS CENTER ================= */

.news {
    padding: 60px 40px;
    background: #f5f7fa;
}

/* ================= CONTAINER ================= */
.news-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* ================= LEFT ================= */
.news-left {
    width: 70%;
    display: flex;
    gap: 20px;
}

/* كل صورة */
.news-card {
    width: 50%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* الصورة */
.news-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s;
}

/* hover */
.news-card:hover img {
    transform: scale(1.08);
}

/* النص */
.news-card h4 {
    padding: 12px;
    font-size: 18px;
}

/* ================= RIGHT ================= */
.news-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* الخبر */
.news-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    transition: 0.3s;
}

/* التاريخ */
.news-date {
    min-width: 50px;
    font-size: 13px;
    color: #888;
    font-weight: bold;
}

/* النص */
.news-text h4 {
    font-size: 19px;
}

.news-text p {
    font-size: 15px;
    color: #666;
}

/* hover */
.news-item:hover {
    background: #1e73be;
}

.news-item:hover * {
    color: #fff;
}
.news-subtitle {
    position: relative;
    display: inline-block;
    font-size: 18px;
    color: #1e73be;
    padding-right: 50px; 
}


.news-subtitle::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 3px;
    background: #1e73be;
    border-radius: 2px;
}
/* ===== NEWS HEADER FIX ===== */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* الجهة اليسار */
.news-left-title h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

/* News + الخط */
.news-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-sub span {
    color: #1e73be;
    font-size: 18px;
}

/* الخط */
.news-sub .line {
    width: 30px;
    height: 3px;
    background: #1e73be;
}

/* الوصف */
.news-left-title p {
    color: #666;
    font-size: 14px;
}

.news-btn {
    background:#1c4c8c;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px; /* حواف خفيفة (مربع تقريباً) */
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;

    /* الشكل البوكس */
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* hover */
.news-btn:hover {
    background: #0d4c8b;
    transform: translateY(-2px);
}

/* =================  القسم 6WAVES ================= */
.waves {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.waves svg {
    position: absolute;
    width: 200%;
    height: 100%;
    animation: waveMove 10s linear infinite;
}

.wave1 {
    fill: rgba(13, 90, 167, 0.3);
}

.wave2 {
    fill: rgba(13, 90, 167, 0.5);
}

.wave3 {
    fill: #0d5aa7;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ================= FOOTER ================= */
.footer {
    background: #0d5aa7;
    color: #fff;
    padding: 40px 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.footer-col h3 {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 6px 0;
    color: #ddd;
}

/* FORM */
.footer-col.form input,
.footer-col.form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: none;
    border-radius: 5px;
}

.footer-col.form button {
    width: 100%;
    padding: 10px;
    background: #083b73;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ===== Walk into wanhong الصفحه  اباوت اس الجديده من التوبيب===== */

/* ===== واجهة الصوره  HERO ABOUT ===== */
/* ===== HERO ABOUT ===== */

.tab-content h2 {
    margin-top: 60px;   /* المسافة من الأعلى */
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

/* الخط الأزرق تحت كل عنوان */
.tab-content h2::after {
    content: "";
    display: block;
    width: 220px;
    height: 4px;
    background: #0d4c8b;
    margin: 10px auto 0;
    border-radius: 2px;
}

.hero-about {
    height: 400px; 
    background-image: url('Walk into wanhong.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.4); 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    color: white;
    font-size: 40px;
}

/* ===== TABS ===== */
.tabs {
    background: #f2f2f2; 
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.tab {
    cursor: pointer;
    font-size: 19px;
    color: #333;
    padding: 10px 15px;
    position: relative;
}

/* الخط بين الكلمات */
.tab::after {
    content: "|";
    margin-left: 15px;
    color: #ccc;
}

/* حذف الخط من آخر عنصر */
.tab:last-child::after {
    content: "";
}

/* hover */
.tab:hover {
    color: #1c4c8c;
}

/* التاب النشط */
.tab.active {
    color: #1c4c8c;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* ===== COMPANY PROFILE ===== */
.company-profile {
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

/* العنوان */
.company-profile .title {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}



/* ===== LAYOUT ===== */
.company-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* ===== TEXT ===== */
.company-text {
    width: 70%;
    background: #f5f5f5;
    padding: 35px 40px;
    border-radius: 12px;
    line-height: 2.1;
    color: #333;
    font-size: 22px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.company-text p {
    margin-bottom: 18px;
}

/* ===== CERTIFICATES ===== */
.cert-left,
.cert-right {
    width: 18%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* كل شهادة */
.cert-item {
    text-align: center;
}

/* الصورة */
.cert-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.cert-item img:hover {
    transform: scale(1.05);
}

/* النص تحت الصورة */
.cert-item p {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
}


/* ===== POPUP ===== */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#popup img {
    max-width: 70%;
    max-height: 80%;
    border-radius: 10px;
}

/* ===== DROPDOWN ===== */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 20px; 
    left: 0;
    background: #1c4c8c;
    width: 190px;
    display: none;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    z-index: 9999; 
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-menu li:hover {
    background: #007bff;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}


/* ===== كود Corporate Culture===== */

/* ===== FIX CULTURE SECTION ===== */

#culture {
    width: 85%;
    margin: auto;
    padding: 80px 0;
}

/* العنوان */
#culture .culture-title {
    font-size: 32px;
    color: #0d4c8b;
    text-align: center;
}

/* الوصف */
#culture .culture-desc {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 20px auto 50px;
}

/* الشبكة */
#culture .culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* الصور */
#culture .culture-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* النص */
#culture .culture-text {
    font-size: 16px;
    line-height: 1.8;
}

/* العناوين */
#culture .culture-text h3 {
    color: #0d4c8b;
    margin-bottom: 8px;
}

/* الفقرات */
#culture .culture-text p {
    color: #666;
    margin-bottom: 15px;
}

/* موبايل */
@media (max-width: 768px) {
    #culture .culture-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= القسم 3 TIMELINE ================= */

.timeline {
    width: 80%;
    margin: 80px auto;
    position: relative;
    text-align: center;
}

.timeline-title {
    font-size: 25px;
    color: #0d4c8b;
}



/* الخط العمودي */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #ccc;
    transform: translateX(-50%);
}

/* العنصر */
.timeline-item {
    width: 50%;
    padding: 20px;
    position: relative;
}

/* اليسار */
.timeline-item.left {
    left: 0;
    text-align: right;
}

/* اليمين */
.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* النقطة */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #1e73be;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::before {
    right: -6px;
}

.timeline-item.right::before {
    left: -6px;
}

/* الكارد */
.timeline-item .content {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

/* السنة */
.timeline-item h3 {
    color: #1e73be;
    margin-bottom: 10px;
}

/* النص */
.timeline-item p {
    color: #555;
    font-size: 16px;
}

/* =================  القسم الثالث ANIMATION ================= */
.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }
.timeline-item:nth-child(6) { animation-delay: 1.2s; }
.timeline-item:nth-child(7) { animation-delay: 1.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* موبايل */
@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 14px;
    }
}

/* موبايل */
@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* =================  القسم الرابع ORGANIZATIONAL ================= */

.org {
    width: 80%;
    margin: 80px auto;
    text-align: center;
}

.org-title {
    font-size: 25px;
    color: #0d4c8b;
    position: relative;
}



.org-image {
    margin-top: 40px;
    overflow: hidden;
	 text-align: center;   /* يوسّط أي عنصر داخلها */
}

.org-image img {
    width: 100%;
    max-width: 900px;
	    margin: 0 auto; 
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.org-image:hover img {
    transform: scale(1.05); /* زوم خفيف */
}


/* السكشن النشط فقط */
.tab-content.active {
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* =================  الشريط الاساسي فوق NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.logo img {
    width: 80px;
    height: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    color: black;
}

.phone {
    font-size: 14px;
}

/* =================  اول قسم الصوره الكبيره HERO ================= */
.hero {
    height: 100vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('10RM.png');
    background-size: cover;
    background-position: center;
}

.overlay {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.hero-text {
    background: rgba(255,255,255,0.9);
    padding: 30px;
}

/* =================  6 صور PRODUCT ================= */
.products-container {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}


.products {
    display: flex;
    gap: 20px;
    transition: 0.4s;
	 transition: transform 0.6s ease;
    padding: 0 40px;
}

.card {
    flex: 0 0 calc(25% - 15px);
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.card:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
	}
	
	/* =================  سهم الصور 6 يسارو يمين SLIDER ARROWS ================= */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1c4c8c;
    color: white;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 6px;
    transition: 0.3s;
}

.arrow:hover {
    background: #007bff;
}

/* يسار */
.arrow.left {
    left: 10px;
}

/* يمين */
.arrow.right {
    right: 10px;
}


/* =================  مربعات التواصل على اليمينFLOATING CONTACT ================= */
.floating-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.contact-item {
    width: 50px;
    height: 50px;
    background: rgba(28, 76, 140, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-item:hover {
    transform: scale(1.15);
    background: #007bff;
}

.contact-box {
    position: fixed;
    right: 80px;
    background: white;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: 0.3s;
}

#serviceBox { top: 42%; }
#mailBox { top: 50%; }
#phoneBox { top: 58%; }

.contact-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.contact-box p {
    font-weight: bold;
}

.contact-box span {
    color: gray;
    font-size: 14px;
}

/* ================= PRODUCT HEADER ================= */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin-bottom: 20px;
}

.left-text h2 {
    font-size: 32px;
}

.sub {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
}

.sub .line {
    width: 50px;
    height: 3px;
    background: #007bff;
}

.left-text p {
    color: gray;
    max-width: 500px;
}

.read-more {
    background: #1c4c8c;
    color: white;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
}

/* ================= ABOUT ================= */
.about-section {
    padding: 80px 50px;
    background: #f5f5f5;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    width: 55%;
}

.about-text h2 {
    font-size: 40px;
}

.about-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
}

.line {
    width: 60px;
    height: 4px;
    background: #007bff;
}

.small-text {
    color: gray;
    margin: 10px 0;
}

.read-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #1c4c8c;
    color: white;
    border: none;
    cursor: pointer;
}

/* ================= ABOUT IMAGES ================= */
.about-images {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 15px;
}

.about-images img {
    width: 170px;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow:0 25px 35px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-images img:hover {
    transform: scale(1.25) translateY(-10px);
    z-index: 10;
}

/* =================  3 صور مع الكلام  CASESالقسم 4 ================= */

/* العنوان */
.cases-header {
    padding: 40px 50px;
    background: #f5f5f5;
}

.cases-header p {
    margin-bottom: 25px;
}

/* الحاوية */
.cases-container {
    display: flex;
    height: 550px; 
}

/* كل كارد */
.case {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;
    color: white;
    padding: 30px;
    cursor: pointer;
    transition: 0.4s;

    background-size: cover;
    background-position: center;
}
.cases {
    background: url('Cha1.png') center/cover no-repeat;
    transition: 0.5s;
}

/* تأثير hover */
.case:hover {
    transform: scale(1.05);
    z-index: 2;
}

/*  ترتيب النص */
.case-content {
    max-width:420px;
    margin: auto;
}

/* النص */
.case-content h3 {
    font-size:37px;
    margin-bottom:15px;
}

.case-content p {
    font-size:14px;
    margin-bottom:25px;
}

.case-content button {
    padding: 8px 20px;
    background:transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
}

.case-content h3 {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.case-content p {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}



/* ================= القسم 5 NEWS CENTER ================= */

.news {
    padding: 60px 40px;
    background: #f5f7fa;
}

/* ================= CONTAINER ================= */
.news-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* ================= LEFT ================= */
.news-left {
    width: 70%;
    display: flex;
    gap: 20px;
}

/* كل صورة */
.news-card {
    width: 50%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* الصورة */
.news-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s;
}

/* hover */
.news-card:hover img {
    transform: scale(1.08);
}

/* النص */
.news-card h4 {
    padding: 12px;
    font-size: 18px;
}

/* ================= RIGHT ================= */
.news-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* الخبر */
.news-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    transition: 0.3s;
}

/* التاريخ */
.news-date {
    min-width: 50px;
    font-size: 13px;
    color: #888;
    font-weight: bold;
}

/* النص */
.news-text h4 {
    font-size: 19px;
}

.news-text p {
    font-size: 15px;
    color: #666;
}

/* hover */
.news-item:hover {
    background: #1e73be;
}

.news-item:hover * {
    color: #fff;
}
.news-subtitle {
    position: relative;
    display: inline-block;
    font-size: 18px;
    color: #1e73be;
    padding-right: 50px; 
}


.news-subtitle::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 3px;
    background: #1e73be;
    border-radius: 2px;
}
/* ===== NEWS HEADER FIX ===== */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* الجهة اليسار */
.news-left-title h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

/* News + الخط */
.news-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-sub span {
    color: #1e73be;
    font-size: 18px;
}

/* الخط */
.news-sub .line {
    width: 30px;
    height: 3px;
    background: #1e73be;
}

/* الوصف */
.news-left-title p {
    color: #666;
    font-size: 14px;
}

.news-btn {
    background:#1c4c8c;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px; /* حواف خفيفة (مربع تقريباً) */
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;

    /* الشكل البوكس */
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* hover */
.news-btn:hover {
    background: #0d4c8b;
    transform: translateY(-2px);
}

/* =================  القسم 6WAVES ================= */
.waves {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.waves svg {
    position: absolute;
    width: 200%;
    height: 100%;
    animation: waveMove 10s linear infinite;
}

.wave1 {
    fill: rgba(13, 90, 167, 0.3);
}

.wave2 {
    fill: rgba(13, 90, 167, 0.5);
}

.wave3 {
    fill: #0d5aa7;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ================= FOOTER ================= */
.footer {
    background: #0d5aa7;
    color: #fff;
    padding: 40px 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.footer-col h3 {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 6px 0;
    color: #ddd;
}

/* FORM */
.footer-col.form input,
.footer-col.form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: none;
    border-radius: 5px;
}

.footer-col.form button {
    width: 100%;
    padding: 10px;
    background: #083b73;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ===== Walk into wanhong الصفحه  اباوت اس الجديده من التوبيب===== */

/* ===== واجهة الصوره  HERO ABOUT ===== */
/* ===== HERO ABOUT ===== */

.tab-content h2 {
    margin-top: 60px;   /* المسافة من الأعلى */
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

/* الخط الأزرق تحت كل عنوان */
.tab-content h2::after {
    content: "";
    display: block;
    width: 220px;
    height: 4px;
    background: #0d4c8b;
    margin: 10px auto 0;
    border-radius: 2px;
}

.hero-about {
    height: 400px; 
    background-image: url('Walk into wanhong.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.4); 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    color: white;
    font-size: 40px;
}

/* ===== TABS ===== */
.tabs {
    background: #f2f2f2; 
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.tab {
    cursor: pointer;
    font-size: 19px;
    color: #333;
    padding: 10px 15px;
    position: relative;
}

/* الخط بين الكلمات */
.tab::after {
    content: "|";
    margin-left: 15px;
    color: #ccc;
}

/* حذف الخط من آخر عنصر */
.tab:last-child::after {
    content: "";
}

/* hover */
.tab:hover {
    color: #1c4c8c;
}

/* التاب النشط */
.tab.active {
    color: #1c4c8c;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* ===== COMPANY PROFILE ===== */
.company-profile {
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

/* العنوان */
.company-profile .title {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}



/* ===== LAYOUT ===== */
.company-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* ===== TEXT ===== */
.company-text {
    width: 70%;
    background: #f5f5f5;
    padding: 35px 40px;
    border-radius: 12px;
    line-height: 2.1;
    color: #333;
    font-size: 22px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.company-text p {
    margin-bottom: 18px;
}

/* ===== CERTIFICATES ===== */
.cert-left,
.cert-right {
    width: 18%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* كل شهادة */
.cert-item {
    text-align: center;
}

/* الصورة */
.cert-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.cert-item img:hover {
    transform: scale(1.05);
}

/* النص تحت الصورة */
.cert-item p {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
}


/* ===== POPUP ===== */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#popup img {
    max-width: 70%;
    max-height: 80%;
    border-radius: 10px;
}

/* ===== DROPDOWN ===== */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 20px; 
    left: 0;
    background: #1c4c8c;
    width: 190px;
    display: none;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    z-index: 9999; 
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-menu li:hover {
    background: #007bff;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}


/* ===== كود Corporate Culture===== */


.culture {
    width: 85%;
    margin: auto;
    text-align: center;
    padding: 80px 0;
}

/* العنوان */
.culture-title {
    font-size: 32px;
    color: #0d4c8b;
    margin-bottom: 10px;
}

/* الوصف */
.culture-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;
}

/* ===== GRID ===== */
.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ===== الصور ===== */
.culture-img {
    width: 100%;
}

.culture-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== النص ===== */
.culture-text {
    text-align: left;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

/* العناوين */
.culture-text h3 {
    margin-bottom: 8px;
    color: #0d4c8b;
}

/* الفقرات */
.culture-text p {
    margin-bottom: 15px;
    color: #666;
}

/* ================= القسم 3 TIMELINE ================= */

.timeline {
    width: 80%;
    margin: 80px auto;
    position: relative;
    text-align: center;
}

.timeline-title {
    font-size: 25px;
    color: #0d4c8b;
}



/* الخط العمودي */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #ccc;
    transform: translateX(-50%);
}

/* العنصر */
.timeline-item {
    width: 50%;
    padding: 20px;
    position: relative;
}

/* اليسار */
.timeline-item.left {
    left: 0;
    text-align: right;
}

/* اليمين */
.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* النقطة */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #1e73be;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::before {
    right: -6px;
}

.timeline-item.right::before {
    left: -6px;
}

/* الكارد */
.timeline-item .content {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

/* السنة */
.timeline-item h3 {
    color: #1e73be;
    margin-bottom: 10px;
}

/* النص */
.timeline-item p {
    color: #555;
    font-size: 16px;
}

/* =================  القسم الثالث ANIMATION ================= */
.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }
.timeline-item:nth-child(6) { animation-delay: 1.2s; }
.timeline-item:nth-child(7) { animation-delay: 1.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* موبايل */
@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 14px;
    }
}

/* موبايل */
@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* =================  القسم الرابع ORGANIZATIONAL ================= */

.org {
    width: 80%;
    margin: 80px auto;
    text-align: center;
}

.org-title {
    font-size: 25px;
    color: #0d4c8b;
    position: relative;
}



.org-image {
    margin-top: 40px;
    overflow: hidden;
	 text-align: center;   /* يوسّط أي عنصر داخلها */
}

.org-image img {
    width: 100%;
    max-width: 900px;
	    margin: 0 auto; 
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.org-image:hover img {
    transform: scale(1.05); /* زوم خفيف */
}


/* السكشن النشط فقط */
.tab-content.active {
    display: block;
}
/* ===== صفحه جديدة اسمها Engineering Cases ===== */
/* ===== الصور  CASES GRID ===== */
.cases-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 70px;
}

.case-card {
    width: 480px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}
.case-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 3px solid #ddd;   /* 🔥 الإطار حول الصورة */
    border-radius: 4;         /* 🔥 يخليه مربع */
    padding: 5px;             /* 🔥 يعطي فراغ داخل الإطار */
    background: #fff;         /* 🔥 يخلي الإطار نظيف */
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
	
	
	
	
	
	
	
}
/* ===== خلفيه الصفحه  HERO BACKGROUND ===== */
.hero-engineering {
    height: 400px;
    background-image: url('Engineering Case.jpg'); /* اسم الصورة */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* طبقة غامقة فوق الصورة */
.hero-engineering::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 80, 0.5); 
}

/* النص فوق الخلفية */
.overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay h1 {
    color: white;
    font-size: 42px;
    font-weight: bold;
}