* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh !important;

}
html {
    scroll-behavior: smooth; 
  }
.lang-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.2); 
}

.lang-nav .container {
    display: flex;
    justify-content: flex-end; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lang-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.lang-btn:hover {
    background: #124363; 
    border-color: #124363;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    background: url("../img/ProfileImage.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 90, 140, 0.75);
}

.content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.logo {
    width: 400px;
    margin-bottom: 20px;
}

.content h1 {
    font-size: 28px;
    font-weight: bold;
    
}

.content h2 {
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ===== About Us Section ===== */
.about {
    padding: 80px 0%;
    position: relative;
    background: url("../img/about-background.png") top/cover no-repeat;
    height: auto;
        padding-bottom: 20px;

}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    justify-content: center;
   
}

/* Image */
.about-image img {
    width: 420px;
    max-width: 100%;
}

/* Content */
.about-content {
    max-width: 450px;
}

.about-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.about-title img {
    width: 40px;
}

.about-title h2 {
    font-size: 36px;
    color: #0b6fa4;
    font-weight: 400;
}

.about-content p {
    font-size: 15px;
    color: #124363;
    margin-bottom: 15px;
    text-align: justify;
    width: 90%;
    font-weight: 600;
}

/* Bottom Line */
.about-footer-line {
    height: 6px;
    background: #0b6fa4;
    width: 100%;
    position: absolute;
    bottom: 10px;
}
.vision-mission{
    flex-direction: column;
    width: 100%;
    
}
.vision,.mission{
    padding-left:150px !important;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        
    }
    .about{
        height: auto !important;
    }

    .about-title {
        justify-content: center;
    }
}
.vision{
    background: url("../img/vision.png") top/cover no-repeat;
    height: 100vh;
    padding: 40px;
    display: flex;
    align-items: end;
    width: 100%;
}

.vision div{
    width: 50%;
}
.vision div h1 ,.mission div h1{
  font-weight: 400;
  font-size: 48px;
}
.mission{
     background: url("../img/mission.png") top/cover no-repeat;
    height: 100%;
    position: relative;
    padding: 20px 60px 60px 70px;
    display: flex;
    flex-direction: column;
    color: white;
    width: 100%;
    height: auto;
}


.legal-consultation {
    padding: 80px 5%;
    background-color: #ffffff;
         background: url("../img/about-background.png") top/cover no-repeat;
    text-align: center;
    margin-top: 20px;
    height: auto !important;
}

.section-main-title {
    font-size: 32px;
    color: #000;
    text-align: left;
    margin-bottom: 50px;
    font-weight: bold;
    text-transform: uppercase;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.legal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    height: 50px; 
    display: flex;
    align-items: center;
}

.icon-box {
    margin-bottom: 25px;
}

.icon-box img {
    width: 80px;
    height: 80px;
}

.content-box {
    border: 2px solid #4a1d1d; 
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
}

.content-box p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 992px) {
    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .legal-consultation{
        height: 100% !important;
    }.work-paths{
        height: 100%  !important;
    }
}

@media (max-width: 600px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .section-main-title {
        text-align: center;
    }.vision,.mission{
        padding-left: 50px !important;

    }
    .vision div{
        width: auto;
    }.about{
         height: auto;
    }.about-container{
        margin-top: 200px;
    }
}
.about-footer-line-legel{
height: 6px;
    background: #0b6fa4;
    width: 100%;
    position: relative;
    top: -40px;
}

/* ===== Our Work Paths Styles ===== */
.work-paths {
    width: 100%;
    background-color: #ffffff;
    background: url("../img/back-image.jpg") top/cover no-repeat; 
        height: 1000px !important;
        flex-direction:column ;

}
.paths-hero {
    height: 350px;
    padding: 60px;
    position: relative;
}

.paths-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.hero-overlay {
    height: 100%;
    display: flex;
    align-items: flex-end; 
}

.paths-hero h2 {
    color: #ffffff;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: -20px;
}

.paths-content {
    padding: 60px;
    position: relative;
}

.services-list {
    list-style: none;
    max-width: 900px;
    margin-top: 30px;
}

.services-list li {
    color: #124363; 
    font-size: 22px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.services-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #124363;
}

.blue-bottom-bar {
    height: 15px;
    background-color: #0b6fa4;
    width: 100%;
    margin-top: 60px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
 
    .services-list li {
        font-size: 18px;
    }
}
.sama-footer {
    background: #0b5a8c url('../img/footer-back.png') center/cover no-repeat;
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main-content {
    display: flex;
    justify-content: center; /* توسيط العناصر بجانب بعضها */
    align-items: center;
    gap: 60px; /* هذه القيمة تتحكم في المسافة بين الأقسام الثلاثة */
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* تنسيق قسم الشعار */
.brand-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 80px; /* حجم الشعار كما في الصورة */
    margin-bottom: 10px;
}

.company-name-ar {
    font-size: 18px;
    margin: 0;
}

.company-name-en {
    font-size: 10px;
    opacity: 0.8;
    margin: 5px 0 0 0;
}

/* تنسيق معلومات الاتصال */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 15px;
}

.info-item img {
    width: 18px;
}

.info-item a {
    color: white;
    text-decoration: none;
}

.qr-card {
    background: white;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    width: 140px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.qr-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.qr-card p {
    color: #006747;
    font-size: 9px;
    font-weight: bold;
    margin: 5px 0 0 0;
}

/* الروابط السفلية */
.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.footer-bottom-links a img {
    width: 15px;
}

/* للهواتف */
@media (max-width: 768px) {
    .footer-main-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}