@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Changa:wght@200..800&family=Orbitron:wght@400..900&display=swap');
:root {
    --color-gold: #f9dec1;
    --color-gold-dark: #C5A059;
    --color-navy: #142832;
    --color-navy-alt: #1e293b;
    --color-cream-bg: #fdf3e8;
    --color-white: #ffffff;
    --font-heading: 'Almarai', 'Changa', 'Orbitron', 'Segoe UI', Geneva, Tahoma, Verdana, sans-serif;
    --font-body: 'Almarai', Geneva, Tahoma, sans-serif;
    --transition-base: all 0.3s ease;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    width: 100%;
}

body {
    min-height: 100vh;
    background-color: #0B131E;
    background-image : url('Idinity/background.png');
    background-repeat:no-repeat;
    background-position: center center;
    background-size:cover;
    background-attachment:fixed;
}

h1 {
    font-family: var(--font-heading);
    color: var(--color-navy-alt);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}
h2,h3,p {
    font-family: var(--font-body);
}

.bar-tp {
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-navy);
    min-height: 70px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    min-height: 70px;
    position: relative;
    box-sizing: border-box;
}

.nav-menu {
    display: contents;
}

.header-nav1 {
    order: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    order: 2;
    display: flex;
    align-items: center;
    padding: 5px 20px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.header-nav2 {
    order: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-nav1 a, .header-nav2 a {
    display: inline-block;
    font-family: var(--font-body);
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
}

.bar-tp a:hover {
    color: var(--color-gold);
    border-style: none none solid none;
    border-radius: 30px;
}

.logo-link a:hover {
    border-style: none;
}
                                    /*---------------------------الشريط السفلى ----------------------------*/
.main-footer {
    background-color: var(--color-navy);
    color: #FFFFFF;
    padding-top: 50px;
    border-top: 2px solid var(--color-gold-dark);
}

html[dir="rtl"] .main-footer {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .main-footer {
    direction: ltr;
    text-align: left;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col.about-col {
    flex: 1.5;
    min-width: 240px;
    align-self: center;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.about-text {
    color: #D1D5DB;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h3 {
    color: var(--color-gold);
    font-family: 'Amiri', serif;
    font-size: 1.25rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-gold-dark);
}

html[dir="rtl"] .footer-col h3::after {
    right: 0;
    left: auto;
}

html[dir="ltr"] .footer-col h3::after {
    left: 0;
    right: auto;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #E5E7EB;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

html[dir="rtl"] .footer-col ul li a:hover {
    color: var(--color-gold);
    padding-right: 5px;
    padding-left: 0;
}

html[dir="ltr"] .footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
    padding-right: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E5E7EB;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info i {
    color: var(--color-gold-dark);
    font-size: 1rem;
}

.map-col {
    flex: 1.3;
    min-width: 200px;
}

.map-box {
    border: 2px solid var(--color-gold);
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

.footer-social-bar {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid rgba(249, 222, 193, 0.1);
}

.icz {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.icz a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    border: 1px solid rgba(249, 222, 193, 0.3);
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icz a:hover {
    color: var(--color-navy);
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.copyright-bar {
    background-color: #061115;
    padding: 18px 20px;
    border-top: 1px solid rgba(249, 222, 193, 0.15);
}

.copyright-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #9CA3AF;
}

html[dir="rtl"] .copyright-container {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .copyright-container {
    direction: ltr;
    text-align: left;
}

.material-symbols-outlined{
    color: var(--color-gold);
    font-size: 35px !important;
    width: 35px !important;
    height: 35px !important;
    display: inline-block;
    line-height: 1;
}

.whatsappicon{
    color: var(--color-gold);
    font-size: 35px;
}
                           /* -------------------------- صفحه ال contact us ---------------------------------*/
.c-main{
    display: grid;
    text-align: center;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    padding: 45px 30px;
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8));
}

.c-main h1{
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.c-main p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.9;
}

.c1-cards {
    background-color: var(--color-cream-bg);
    padding: 60px 20px;
    display:flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index:10;
}

.c2-cards {
    background-color: var(--color-cream-bg);
    padding: 60px 20px;
    display:flex;
    justify-content:center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index:10;
    height: 350px;
}

.add-bg{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8)),url('Idinity/aboutbg.png') center center / cover no-repeat fixed;
    justify-items: center;
    padding: 50px;
    position: relative;
    height: 200px;
}

.add-bg h1{
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.c1-cards h3, .c2-cards h3 {
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 600;
}

.c1-cards p, .c2-cards p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.80;
    margin-top:0;
    margin-bottom: 18px;
    opacity: 0.9;
}

.c1-cards a {
    text-decoration: none;
    color: var(--color-gold);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
}

.c1-cards a:hover{
    color: white;
}

.pcard,.wcard,.ecard{
    background-color: var(--color-navy);
    padding: 35px 20px;
    border-radius: 6px;
    border-style: none none solid none;
    border-color: var(--color-gold);
    border-width: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 0;
    margin-top: -100px;
}

.mcard{
    background-color: var(--color-navy);
    padding: 70px 45px;
    border-radius: 8px;
    border-style: none none solid none;
    border-color: var(--color-gold);
    border-width: 8px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: -100px;
}

.tcard{
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
                           /* -------------------------- صفحه ال experts ---------------------------------*/
.ex-main{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8)),url('Idinity/ExpertsEhtekam.JPG') top center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    width: 100%;
    min-height: 450px;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
}

.ex-main h1{
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ex-main p{
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.9;
}

.exteam{
    background-color:var(--color-cream-bg);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 40px 30px;
    padding: 60px 40px;
}

.ch, .cd, .cw, .cm {
    width: 100%;
    max-width: 700px;
    height:auto;
    overflow: hidden;
    background-color: var(--color-navy-alt);
    border-radius: 20px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ch:hover, .cd:hover, .cw:hover, .cm:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); 
    cursor: pointer; 
}

.card-reverse {
    flex-direction: row-reverse;
}

.ch img, .cd img, .cw img, .cm img{
    width: 270px;
    height: 360px;
    object-fit: cover;
    display:block;
}

.t-ex{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    flex-grow: 1;
}

.t-ex h2{
    color: var(--color-gold);
    font-family: var(--font-body);
    margin: 0;
    text-wrap: balance;
}

.t-ex p{
    color:aliceblue;
    font-family: var(--font-body);
    margin: 0;
    text-wrap: balance;
}
                           /* -------------------------- صفحه ال about ---------------------------------*/
.a-main{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8)),url('Idinity/abg.png')top center / cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 400px;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
}

.a-main h1{
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.a-main p{
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.9;
}

.who-us, .vision, .values{
    background-color:#ffffff;
    display: grid;
    padding: 40px 20px;
    width: 100%;
    min-height: 250px;
}

.who-us h2, .vision h2, .values h2{
    font-size: 2.2rem;
    color:var(--color-navy);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
    text-align: center;
}

.who-us h2::after, .vision h2::after, .values h2::after{
    content:"";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8%;
    height: 5px;
    background-color: var(--color-gold);
    border-radius: 5px;
}

.who-us p, .vision p, .values p {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
    margin-top: 20px;
    padding: 0 30px;
    max-width: 900px;
}

.why-us{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8)),url('Idinity/abg2.png') top center / cover no-repeat fixed;
    display: grid;
    padding: 40px 20px;
    width: 100%;
    min-height: 250px;
}

.our-message{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.8));
    display: grid;
    padding: 40px 20px;
    width: 100%;
    min-height: 250px;
}

.why-us h2, .our-message h2{
    font-size:2.2rem;
    color: var(--color-gold);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
    text-align: center;
}

.why-us h2::after, .our-message h2::after{
    content:"";
    position:absolute;
    bottom:-12px;
    left:50%;
    transform:translateX(-50%);
    width: 8%;
    height:5px;
    background-color:#ffffff;
    border-radius: 5px;
}

.why-us p, .our-message p{
    font-size: 1.1rem;
    color:azure;
    line-height: 1.8;
    margin-top: 20px;
    padding: 0 30px;
    max-width: 900px;
}
                           /* -------------------------- صفحه ال services ---------------------------------*/
.s-main{
    background: linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.95)),url('Idinity/sbg.png')top center / cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 400px;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
}

.s-main h1{
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.s-main p{
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.9;
}

.s-title{
    background-color:#16222f;
    padding: 60px 40px;
    width: 100%;
}

.s-title h2{
    font-size: 2.4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.s-grid{
    display: flex;
    flex-direction: row;
    gap: 25px;
    width: 100%;
    align-items: flex-start;
}

.service {
    background-color: var(--color-navy-alt);
    flex: 1;
    padding: 30px 20px;
    border-style: solid none none none;
    border-color: var(--color-gold);
    border-width: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.s-headers{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.s-headers i{
    color: var(--color-gold);
    font-size: 1.4rem;
}

.s-headers h3{
    font-size: 1.25rem;
    color: var(--color-gold);
    line-height: 1.5;
    margin: 0;
}

.service p.s-desc {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    line-clamp: 4; 
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

html[dir="rtl"] .service p.s-desc {
    text-align: justify;
}

html[dir="ltr"] .service p.s-desc {
    text-align: left;
}

.service:hover {
    transform: translateY(-8px);
    background-color: #243246;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.service:hover p.s-desc {
    display: block;
    overflow: visible;
}

.s-title2{
    background-color: #0c151d;
    padding: 60px 40px;
    width: 100%;
}

.s-title2 h2{
    font-size: 2.4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.s-grid2 {
    display: flex;
    flex-direction: row;
    gap: 0; 
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.s-card{
    background-color: var(--color-navy-alt);
    flex: 1;
    padding: 40px 30px;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.s-card2{
    background-color: #243246;
    flex: 1;
    padding: 40px 30px;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.s-card:first-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.s-card2:last-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

html[dir="ltr"] .s-card:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

html[dir="ltr"] .s-card2:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.s-card p, .s-card2 p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
}

html[dir="rtl"] .s-card p,
html[dir="rtl"] .s-card2 p {
    text-align: justify;
}

html[dir="ltr"] .s-card p,
html[dir="ltr"] .s-card2 p {
    text-align: left;
}
                           /* -------------------------- صفحه ال Home ---------------------------------*/
.h-main {
    background:linear-gradient(rgba(11,27,33,0.45),rgba(11,27,33,0.95)),url('Idinity/homebg.png')top center / cover no-repeat fixed;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    overflow: hidden;
}

html[dir="rtl"] .h-main {
    direction: rtl;
}

html[dir="ltr"] .h-main {
    direction: ltr;
}

.tx-home {
    max-width: 900px;
    margin-bottom: 40px;
}

.main-slogan {
    font-size: 2.8rem;
    color: var(--color-gold);
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sub-text {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.9;
    margin-bottom: 15px;
    font-weight: 300;
}

.d-home {
    max-width: 750px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 35px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .d-home {
    border-right: 4px solid var(--color-gold);
    border-left: none;
}

html[dir="ltr"] .d-home {
    border-left: 4px solid var(--color-gold);
    border-right: none;
}

.law-quote {
    font-size: 1.35rem;
    color: #ffffff;
    font-style: italic;
    margin: 0 0 12px 0;
    line-height: 1.6;
    font-family: 'Amiri', serif;
}

.quote-author {
    display: block;
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 600;
}

html[dir="rtl"] .quote-author {
    text-align: left;
}

html[dir="ltr"] .quote-author {
    text-align: right;
}
                              /*------------------------الخدمات home ----------------------*/
.consultants-section {
    padding: 90px 0;
    background-color: white;
    overflow: hidden;
}

.consultants-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.consultants-content {
    box-sizing: border-box;
}

html[dir="rtl"] .consultants-content {
    padding-right: 20px;
    padding-left: 0;
    text-align: right;
}

html[dir="ltr"] .consultants-content {
    padding-left: 20px;
    padding-right: 0;
    text-align: left;
}

.consultants-content .sub-title {
    color: var(--color-gold-dark);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.consultants-content h2 {
    font-size: 36px;
    color:#1B2A3A;
    line-height: 1.3;
    margin-bottom: 20px;
}

.consultants-content p {
    color: #6C7A89;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.consultants-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.c-icon {
    font-size: 24px;
    background-color: rgba(197, 160, 89, 0.1);
    padding: 10px;
    border-radius: 6px;
    line-height: 1;
}

.c-feature h4 {
    color: #0F1B29;
    font-size: 17px;
    margin-bottom: 3px;
}

.c-feature p {
    font-size: 14px;
    margin-bottom: 0;
}

.consultants-image-wrapper {
    position: relative;
    box-sizing: border-box;
}

html[dir="rtl"] .consultants-image-wrapper {
    margin-left: 25px;
    margin-right: 0;
}

html[dir="ltr"] .consultants-image-wrapper {
    margin-right: 25px;
    margin-left: 0;
}

.image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border: 3px solid var(--color-gold-dark);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    background-color: #0F1B29;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

html[dir="rtl"] .experience-badge {
    right: -15px;
    left: auto;
    border-right: 4px solid var(--color-gold-dark);
    border-left: none;
}

html[dir="ltr"] .experience-badge {
    left: -15px;
    right: auto;
    border-left: 4px solid var(--color-gold-dark);
    border-right: none;
}

.exp-years {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold-dark);
}

.exp-text {
    font-size: 13px;
    line-height: 1.3;
    max-width: 110px;
}
                              /*------------------------الخدمات home ----------------------*/
.main-sectors-section {
    background-color: #0B131E;
    padding: 80px 0 100px;
}

.main-sectors-title {
    text-align: center;
    margin-bottom: 50px;
}

.main-sectors-title h2 {
    font-size: 38px;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.main-sectors-title p {
    color: #94A3B8;
    font-size: 16px;
}

.sectors-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sector-main-card {
    background-color: #162232;
    border-radius: 12px;
    padding: 30px 25px 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.card-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-gold-dark);
}

.card-header-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-header-box h3 {
    font-size: 22px;
    color: #FFFFFF;
    font-weight: 700;
    text-align: center;
}

.card-icon {
    font-size: 22px;
}

.card-body-text p {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

html[dir="rtl"] .card-body-text p {
    text-align: justify;
}

html[dir="ltr"] .card-body-text p {
    text-align: left;
}

.card-footer-box {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}

.btn-more-info {
    color: var(--color-gold-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

html[dir="rtl"] .btn-more-info:hover {
    color: #E6C687;
    transform: translateX(-5px);
}

html[dir="ltr"] .btn-more-info:hover {
    color: #E6C687;
    transform: translateX(5px);
}
                               /*------------------------التواصل home ----------------------*/
.law-cta-section {
    background: radial-gradient(circle at center, #FAF8F5 0%, #F3EFEA 100%);
    padding: 45px 0 40px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.law-cta-section .container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.divider-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}

.divider-with-icon .line {
    height: 2px;
    width: 180px;
    background: linear-gradient(to right, transparent, var(--color-gold-dark), transparent);
}

.scale-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline {
    display: block;
    font-size: 17px;
    color: #826323;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.law-cta-body h2 {
    font-size: 40px;
    color: #0F1B29;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

.law-cta-body p {
    color: #556070;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 400;
}

.law-cta-action {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-golden-consultation {
    background: linear-gradient(180deg, #D6AD60 0%, var(--color-gold-dark) 50%, #B38E46 100%);
    color: #0F1B29;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #E6C687;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-golden-consultation:hover {
    background: linear-gradient(180deg, #E0B76A 0%, #D4B16A 50%, var(--color-gold-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.45);
}

.btn-icon {
    font-size: 20px;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

html[dir="rtl"] .btn-golden-consultation:hover .btn-arrow {
    transform: translateX(-6px);
}

html[dir="ltr"] .btn-golden-consultation:hover .btn-arrow {
    transform: translateX(6px);
}

/* LTR enhancements for subpages */
html[dir="ltr"] .t-ex {
    text-align: left;
}

html[dir="ltr"] .who-us p,
html[dir="ltr"] .vision p,
html[dir="ltr"] .values p,
html[dir="ltr"] .why-us p,
html[dir="ltr"] .our-message p {
    text-align: left;
}

html[dir="ltr"] .s-headers {
    justify-content: flex-start;
}