 :root {
    --primary-color: #3d2118;
     --primary-color-rgb: 61, 33, 24;
    --secondary-color: #b38358  ;
    --secondary-color-rgb: 179, 131, 88;
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --background-light: rgb(255,240,211) ; 
    --background-dark:rgb(143,110,75);
    --container-width: 1200px;
    --header-height-normal: 90px;
    --header-height-shrunk: 50px;
    --light-bg-color:rgba(255,240,211,1);
    --card-bg-color: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: rgba(255,240,211,1);
     width: 100%; /* Ensure they take full width */
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--background-light);
}

.bg-dark {
    background-color: var(--background-dark);
    color: var(--light-text-color);
}

h1, h2, h3, h4,h5 {
    color: var(--primary-color);
   
}
h5{
    font-size: 1rem;
    margin-left: -50px;
}
h2, h1{
    position: relative; 
    padding-bottom: 10px;
    margin-bottom:25px; 
    display: inline-block; 
    vertical-align: middle; 
    text-align: center;
    width: 100%; 
}
h2::after{
     content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%); 

    width: 20%; 
    height: 3px;
    
    background-image: linear-gradient(to right, var(--primary-color), #f38729bd);
    
    border-radius: 2px; 
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-image 0.3s ease, 
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: width, transform; }

 
    
html[dir="rtl"] h2::after
{
   
     right: 50%; 
    transform: translateX(50%); 
    
}

@media (max-width: 992px) {
    h2 {
        padding-bottom: 8px; 
        margin-bottom: 20px; 
        font-size: 1.8rem; 
    }

    h2::after {
        width: 60%; 
        height: 2px; 
    }
}



h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px;}
h3 { font-size: 1.8rem; }
h4 {font-size: 1.5rem;}
p { margin-bottom: 15px; }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-light {
    background: var(--light-text-color);
    color: var(--primary-color);
}
.btn-light:hover {
    background: #eee;
    color: var(--primary-color);
}

.mt-30 {
    margin-top: 30px;
}

.main-header {
    background: rgb(255, 249, 236);

    height: 80px;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateZ(0); /* Forces GPU layer */
    backface-visibility: hidden; 
    transition:
        /* Fast transitions for scrolling-related changes (height, padding, shadow, background gradient) */
        height 0.15s ease-in-out,
        padding 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        background-image 0.15s ease-in-out,
        background-color 0.15s ease-in-out, /* Added for safety if base color ever changes */

        /* Slower transitions for initial page load fade-in */
        opacity 0.8s ease-out,
        /* visibility should change instantly (0s duration), but with a delay.
           The delay here means it only becomes hidden AFTER the opacity animation finishes,
           and instantly visible when opacity starts fading in. */
        visibility 0s 0.8s; /* Main header transition */
    display: flex;
    align-items: center;
    
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
}
.main-header .logo,
.main-nav .nav-links,
.main-nav .language-switcher,
.main-nav .menu-toggle,
.title2 { /* Include menu-toggle for mobile */
    opacity: 0;
    visibility: hidden;
    /* Transition for initial load only. Duration & delay for staggering */
    transition: opacity 0.6s ease-out, visibility 0s 1s; /* Fade over 0.6s, visibility changes after 0.6s */
}
.main-header.show-on-load {
    opacity: 1; /* Fade in header */
    visibility: visible; /* Make header interactive */
    
}
.main-header.show-on-load .logo,
.main-header.show-on-load .main-nav .nav-links,
.main-header.show-on-load .main-nav .language-switcher,
.main-header.show-on-load .main-nav .menu-toggle,
.title2 {
    opacity: 1;
    visibility: visible;
    /* Add a staggered delay here. The transition duration for elements themselves */
    /* This transition takes over from the initial hidden state one. */
    transition: opacity 1.5s ease-out, visibility 0s 0s; /* Fade over 0.6s, visibility instant */
    /* Stagger the delay for each element for a cascading effect */
}
.main-header.show-on-load .logo { transition-delay: 0; } /* Logo appears after 0.2s */
.tilte2{ transition-delay: 0; } 
.main-header.show-on-load .main-nav .nav-links { transition-delay: 0; } /* Nav links after 0.3s */
.main-header.show-on-load .main-nav .language-switcher { transition-delay: 0s; } /* Lang switcher after 0.4s */
.main-header.show-on-load .main-nav .menu-toggle { transition-delay: 0s; } /* Mobile toggle after 0.4s */



.main-header .logo a {
    /* Existing styles */
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    /* NEW: Add transition for font-size on the logo text/image */
    transition: font-size 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;

}

.main-header .logo img { /* Logo image specific styles */
    height: 75px;
    width: auto;
    max-width: 200px;
    margin-top: 11px;
    /* NEW: Add transition for height on the logo image */
    transition: height 0.3s ease-in-out, max-width 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
    margin-left: 0;
}
.main-header .title2 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: font-size 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 25px;

}
.main-header .title2 br{
display: none;
}

.main-nav {
    display: flex;
    align-items: center;
        white-space: nowrap;

}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
        white-space: nowrap;

}

.main-nav .nav-links li {
    margin-left: 30px;
}

.main-nav .nav-links a {
    color: var(--text-color);
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    /* NEW: Add transition for font-size on nav links */
    transition: color 0.3s ease, font-size 0.3s ease-in-out; /* Keep existing color transition */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.main-nav .nav-links a::after {
    content: '';
    left: 0;
    display: block;
    margin: auto;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after {
    width: 100%;
}

/* Desktop Language Switcher */
.main-nav .language-switcher-desktop { /* New class name */
    margin-left: 30px;
    font-size: 0.8rem;
    transition: font-size 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
    display: block; /* Always visible on desktop */
        white-space: nowrap;

}

.main-nav .language-switcher-desktop .lang-btn { /* Apply styles to its buttons */
    color: var(--text-color);
    font-weight: normal;
}
.main-nav .language-switcher-desktop .lang-btn.active {
    font-weight: bold;
    color: var(--primary-color);
}

/* Mobile Language Switcher (initially hidden on desktop) */
.main-nav .mobile-language-switcher {
    display: none; /* Hidden by default on desktop */
    margin: 0; /* Reset margins for li */
    padding: 0; /* Reset padding for li */
    text-align: center; /* Center the buttons within the li */
}

.main-nav .menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    margin-left: 20px;
}

/* Styles when the header is scrolled (adds shadow) */
.main-header.scrolled {
    background-color:var(--background-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* New: Styles when the header is shrunk */
.main-header.shrunk {
    height: var(--header-height-shrunk);
    padding: 10px 0;
}

.main-header.shrunk .logo a {
    font-size: 1.5rem; /* Smaller logo text */
}

.main-header.shrunk .logo img { /* Smaller logo image height */
    height: 45px;
    max-width: 150px; /* Also shrink max-width if desired */
}

.main-header.shrunk .title2{
    font-size: 0.9rem; 
    margin-bottom: 5px;

}
.main-header.shrunk .main-nav .nav-links a {
    font-size: 0.9rem; /* Smaller navigation links */
}

.main-header.shrunk .main-nav .language-switcher {
    font-size: 0.8rem; /* Smaller language switcher */
}
.main-header.shrunk .main-nav .language-switcher-desktop { /* NEW RULE */
    font-size: 0.7rem; /* Or whatever smaller size you prefer */
}



@media (MAX-width: 6000px){
   .section-with-video-bg {
    min-height:2300px ;
    width: 100%;

   } 
}
@media (max-width: 5000px){
   .section-with-video-bg {
    min-height:1700px ;
    width: 100%;
   } 
}
@media (max-width: 3000px){
   .section-with-video-bg {
    min-height:1150px ;
    width: 100%;
   } 
}
@media (max-width: 2500px){
   .section-with-video-bg {
    min-height:900px ;
    width: 100%;
   } 
}
@media (max-width: 2000px){
   .section-with-video-bg {
    min-height:790px ;
    width: 100%;
   } 
}
@media (max-width: 1800px){
   .section-with-video-bg {
    min-height:740px ;
    width: 100%;
   } 
}

@media (max-width: 1600px){
   .section-with-video-bg {
    min-height:660px ;
    width: 100%;
   } 
}


@media (max-width: 1440px){
   .section-with-video-bg {
    min-height:590px ;
    width: 100%;
   } 
}
@media (max-width: 1250px){
   .section-with-video-bg {
    min-height:530px ;
    width: 100%;
   } 
}
@media (max-width: 1100px){
   .section-with-video-bg {
    min-height:470px ;
    width: 100%;
   } 
}
@media (max-width: 1050px){
   .section-with-video-bg {
    min-height:440px ;
    width: 100%;
   } 
}
@media (max-width: 1000px){
   .section-with-video-bg {
    min-height:410px ;
    width: 100%;
   } 
}
@media (max-width: 992px){
   .section-with-video-bg {
    min-height:400px ;
    width: 100%;
    
   } 
  
      .section-with-video-bg .background-video{
   object-fit: fill;
   width: 100%;
   }

 
}



.section-with-video-bg {
    position:relative; 
    display: flex; 
        width: 100%;

    align-items: center; 
    justify-content: center;
    overflow: hidden;
    color: white; 
    text-align: center; 
    padding: 50px 20px;
}

.section-with-video-bg .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%; 
    width: auto;
    height: auto; 
    z-index: 1;
    transform: translate(-50%, -50%); 
    filter: brightness(80%);
    object-fit: cover;
}

.hero-section {
    background: none;
    padding: 0;
    min-height: 70vh;
    height: 100vh;
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: -60px;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
   
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
    visibility: hidden; 
}

.mySlides.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s 0s; 
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.slide-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}



.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

.line{
    height: 100px;
    width: 100%;
    background-color:var(--background-light);
}


.about-section .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -30px;
    
}



.about-section .about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    white-space: pre-wrap;
    
    border-radius: 0 100px 0 0 ;
}

.about-section .about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    overflow: visible;
}
.about-section .about-text img{
    object-fit:contain;
}

.about-section .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    animation: float 3s ease-in-out infinite; 
    transform-style: preserve-3d;
}
.about-section .about-text .btn { 
    display: block; 
    width: fit-content; 
    margin-top: 20px; 
    margin-right: auto; 
    margin-left: 0; 
}   
html[dir="rtl"] .about-section .about-text .btn {
    margin-right: 0; 
    margin-left: auto; 
}
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg) ;opacity: 1; 
    }
    50% {
        transform: translateY(0px) rotate(0deg); opacity: 0.9; 
      
    }
    100% {
        transform: translateY(0px) rotate(0deg); opacity: 1; 
    }
 
    
}

.sericonimg{
    width: 100%;
    height: 100px;
    text-align: center;
}
.service-grid {
    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px,240px));
    gap: 30px;
    text-align: center;
}

.service-item {
    background: rgba(255,240,211,0.5);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 270px;

}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-item .icon-large {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--primary-color);
   margin-top:10px;
   padding-right:5px;
   padding-left:5px;
}
.service-item img{
    width: 45%;
    margin-top: -30px;
    border-radius:0;
}
.service-item p{
    font-size: small;
    margin-top:10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background:var(--background-light);
    padding: 0px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-item .icon-large {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size:20px;
}
.service-sub-section {
    background-color:var(--background-light); 
    border-radius: 15px;
    margin-bottom: 50px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
}



.service-sub-section .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px; 
    width: 100%;
}

.service-sub-section:nth-child(even) .content-wrapper {
    flex-direction: row-reverse; 
}

.service-sub-section .text-content {
    flex: 2; 
    padding: 2px;
}

.service-sub-section .text-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: left;
}

.service-sub-section .text-content p {
    font-size: 1rem;
    line-height: 1;
    color: var(--text-color);
    white-space: pre-wrap;
    text-align: justify;
}



.service-sub-section .gallery-wrapper {
    flex: 1; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    padding: 10px; 
    background-color: rgba(var(--secondary-color-rgb), 0.05); 
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.service-sub-section .gallery-wrapper img {
    width: 100%;
    height: 120px; 
    object-fit: cover; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-sub-section .gallery-wrapper img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1; 
}


html[dir="rtl"] .service-sub-section .text-content h3 {
    text-align: right; 
}

html[dir="rtl"] .service-sub-section .text-content p {
    text-align: right; 
}

html[dir="rtl"] .service-sub-section .content-wrapper {
    flex-direction: row-reverse; 
}

html[dir="rtl"] .service-sub-section:nth-child(even) .content-wrapper {
    flex-direction: row; 
}


@media (max-width: 992px) {
    @media (max-width: 992px) {
    
    html[dir="rtl"] body, html[dir="rtl"] html {
        text-align: right !important; 
    }
}
    html[dir="rtl"] body, html[dir="rtl"] html {
        text-align: right !important; 
    }
    .service-sub-section .content-wrapper {
        flex-direction: column !important;
        gap: 30px;
        align-items: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .service-sub-section {
        display: flex !important; 
        flex-direction: column !important;
        align-items: center !important; 
        padding: 30px;
        margin-bottom: 40px;
        width: 100% !important; 
        box-sizing: border-box !important; 
    }
    
    .service-sub-section:nth-child(even) {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .service-sub-section:nth-child(even) .content-wrapper {
        flex-direction: column !important;
        gap: 30px;
        align-items: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    html[dir="rtl"] .service-sub-section,
    html[dir="rtl"] .service-sub-section:nth-child(even) {
        align-items: flex-end !important; 
        justify-content: flex-end !important; 
    }

    .service-sub-section .text-content p {
        white-space: normal !important;
        line-height: 1.3;
    }
     .service-sub-section .text-content h3{
        line-height: 1;
     }
     .service-sub-section .gallery-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
        padding: 8px;
        width: 100%; 
    }
    .main-header {
        height: 80px;
        position: sticky !important;
        top: 0 !important; 
        z-index: 1000 !important; 
        transform: none !important;
        filter: none !important; 
    }
    .main-header.shrunk {
        height: 50px; 
    }
}


.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    display: flex;
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s ease; 
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}


.lightbox-content {
    position: relative;
    max-width: 90%; 
    max-height: 90%;
    background-color: transparent; 
    display:contents;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-height: 100%;
    max-width: 100%; 
    display:block; 
    border-radius: 8px; 
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4); 
    transform: scale(0.8); 
    transition: transform 0.3s ease; 
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: var(--secondary-color); 
    transform: rotate(90deg); 
}

html[dir="rtl"] .lightbox-close {
    left: 20px; 
    right: auto;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
    html[dir="rtl"] .lightbox-close {
        left: 15px;
        right: auto;
    }
}


#customer-showcase {
    overflow: hidden;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}

#customer-showcase .section-heading {
    margin-bottom: 40px;
}

.slider-container {
    width: 100%;
        position: relative;

 overflow: hidden;
    padding: 20px 0;
    user-select: none;
    margin-left: 18px;
    direction: ltr !important;
}


.slider-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(0); 
    min-width: fit-content;    
    direction: ltr !important; 
}

.slider-card {
    flex: 0 0 auto; 
    width: 350px;
    background-color: var(--background-light);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 25px;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease-out, box-shadow 0.3s ease-out, opacity 0.5s ease;
    position: relativeEN;
    height: 490px;
}

.slider-card:not(.active-slide) {
    filter: blur(3px);
    transform: scale(0.95);
    opacity: 0.7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-card.active-slide {
    filter: blur(0);
        transform: scale(1);

    opacity: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
        z-index: 2;

}

.slider-card img {
    width: 100%;
    max-width: 300px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.slider-card .card-details {
    width: 100%;
    text-align: left; 
    margin-bottom: 20px;
}

.slider-card .card-details p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 5px;
    white-space: normal;
}

.slider-card .card-details p strong {
    color: var(--secondary-color);
    margin-right: 5px; 
}

.show-project-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: auto;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 1rem;
    cursor: pointer;
    min-width: 150px;
}

.show-project-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: rgba(var(--primary-color-rgb), 0.8);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    pointer-events: none; 
}

.slider-controls.top-controls {
    top: auto;
    transform: none;
    position: relative; 
    margin-bottom: -5px;
    justify-content: center;
    gap: 20px;
    pointer-events: all;
}

.slider-controls.bottom-controls {
    display: none;
}

.slider-arrow {
    background-color: rgba(var(--primary-color-rgb), 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    pointer-events: all;
}

.slider-arrow:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}
.slider-arrow:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.slider-dot.active-dot {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

html[dir="rtl"] .slider-card h3,
html[dir="rtl"] .slider-card .card-details,
html[dir="rtl"] .slider-card .card-details p,
html[dir="rtl"] .slider-card .card-details p strong,
html[dir="rtl"] .show-project-btn { 
    direction: rtl !important;
    text-align: right !important; 
}
html[dir="rtl"] .slider-card .card-details p strong {
    margin-left: 0; 
    margin-right: 5px; 
}

html[dir="rtl"] .slider-controls.top-controls .slider-arrow.prev {
    order: 2; 
}
html[dir="rtl"] .slider-controls.top-controls .slider-arrow.next {
    order: 1; 
}

@media (max-width: 992px) {
    .slider-card {
        width: 300px;
        height: 500px;
        padding: 20px;
        margin: 0 10px;
    }
    .slider-card h3 {
        font-size: 1.1rem;
    }
    .slider-card img {
        max-width: 200px;
        height: 130px;
    }
    .slider-card .card-details p {
        font-size: 0.9rem;
    }
    .show-project-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .slider-controls.top-controls {
        display: none; 
    }
    .slider-controls.bottom-controls {
        display: flex; 
        position: relative;
        transform: none;
        top: auto;
        padding: 0;
        margin-top: 30px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-card {
        width: 280px;
        height: 450px;
    }
    .slider-card img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .slider-container{
                margin-left: 11px;

    }
    .slider-card {
        width: 250px;
        height: 470px;
        margin: 0 8px;
    }
    .slider-card img {
        height: 100px;
    }
    .slider-card h3 {
        font-size: 1.1rem;
    }
    .slider-card .card-details p {
        font-size: 0.85rem;
    }
}


.read-more-btn {
    display: inline-block; 
    padding: 12px 25px; 
    text-decoration: none; 
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-item h3 {
    margin: 15px 15px 5px;
    color: var(--primary-color);
}

.project-item p {
    margin: 0 15px 10px;
    color: #666;
    font-size: 0.9rem;
}

.project-details {
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.1s ease-out; 
    padding: 0 15px;
    margin-bottom: 10px; 
}

.project-item.expanded .project-details {
    max-height: 500px; 
}

.project-details .project-detail-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    margin-top: 10px;
    margin-bottom: 0; 
}

.read-more-btn {
    display: block; 
    width: calc(100% - 30px); 
    margin: 10px 15px 15px; 
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more-btn:hover {
    background-color: var(--secondary-color);
    color: #333;
}



.project-full-section {
    padding: 80px 0; 
    overflow: hidden; 
}

.project-full-section.bg-light {
    background-color: var(--light-bg-color); 
}

.project-full-section .section-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.project-info-summary {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
background-color:var(--background-light);
}


.project-info-summary p {
    flex: 1 1 200px; 
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
    padding: 5px;
    margin: 0;
}

.project-info-summary p strong {
    display: block; 
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.project-description1 ,
.project-description2,
.project-description3,
.project-description4{
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 1160px; 
    margin-left: auto; 
    margin-right: auto;
    text-align: justify;
    background-color: var(--background-light);

}


.expand-toggle1,
.expand-toggle2,
.expand-toggle3,
.expand-toggle4 {
    display: none;
}

.long-text1,
.long-text2,
.long-text3,
.long-text4 {
    display: none;
}

.read-more-toggle1 .show-less-label1,
.read-more-toggle2 .show-less-label2,
.read-more-toggle3 .show-less-label3,
.read-more-toggle4 .show-less-label4 {
    display: none;
}

.read-more-toggle1,
.read-more-toggle2,
.read-more-toggle3,
.read-more-toggle4 {
    display: inline-block;
    cursor: pointer;
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 10px;
    user-select: none;
    transition: color 0.3s ease;
}

.read-more-toggle1:hover,
.read-more-toggle2:hover,
.read-more-toggle3:hover,
.read-more-toggle4:hover {
    color: var(--primary-color);
}

.expand-toggle1:checked ~ .long-text1 {
    display: inline;
}
.expand-toggle1:checked ~ .read-more-toggle1 .read-more-label1 {
    display: none;
}
.expand-toggle1:checked ~ .read-more-toggle1 .show-less-label1 {
    display: inline;
}
.expand-toggle1:checked ~ .short-text1 { 
    display: none;
}

/* 2*/
.expand-toggle2:checked ~ .long-text2 {
    display: inline;
}
.expand-toggle2:checked ~ .read-more-toggle2 .read-more-label2 {
    display: none;
}
.expand-toggle2:checked ~ .read-more-toggle2 .show-less-label2 {
    display: inline;
}
.expand-toggle2:checked ~ .short-text2 {
    display: none;
}

/* قسم 3 */
.expand-toggle3:checked ~ .long-text3 {
    display: inline;
}
.expand-toggle3:checked ~ .read-more-toggle3 .read-more-label3 {
    display: none;
}
.expand-toggle3:checked ~ .read-more-toggle3 .show-less-label3 {
    display: inline;
}
.expand-toggle3:checked ~ .short-text3 {
    display: none;
}

/* 4 */
.expand-toggle4:checked ~ .long-text4 {
    display: inline;
}
.expand-toggle4:checked ~ .read-more-toggle4 .read-more-label4 {
    display: none;
}
.expand-toggle4:checked ~ .read-more-toggle4 .show-less-label4 {
    display: inline;
}
.expand-toggle4:checked ~ .short-text4 {
    display: none;
}


p[class^="project-description"] { 
   
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

html[dir="rtl"] p[class^="project-description"] {
    text-align: right;
}



.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px;
    margin-top: 40px;
}

.project-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery video{
    width: 60%;
    height: 250px; 
    object-fit:fill;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.03); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

html[dir="rtl"] .project-full-section .section-heading {
    text-align: center; 
}
html[dir="rtl"] .project-description {
    text-align: right; 
}
html[dir="rtl"] .project-info-summary p {
    text-align: center; 
}

@media (max-width: 992px) {
    .project-full-section {
        padding: 60px 0;
    }
    .project-full-section .section-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .project-info-summary {
        flex-direction: column; 
        gap: 15px;
        padding: 15px;
    }
    .project-info-summary p {
        flex: none; 
        width: 100%; 
        font-size: 1rem;
    }
    .project-info-summary p strong {
        font-size: 1.1rem;
    }
    .project-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 15px; 
    }
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
        gap: 15px;
    }
    .project-gallery img {
        height: 200px;
    }
    .project-gallery video{
        height: 140px;
        width: 70%; 
    }
}

@media (max-width: 768px) {
    .project-full-section {
        padding: 40px 0;
    }
    .project-full-section .section-heading {
        font-size: 1.8rem;
    }
    .project-info-summary {
        gap: 10px;
    }
    .project-info-summary p strong {
        font-size: 1rem;
    }
    .project-description {
        font-size: 0.95rem;
    }
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    }
    .project-gallery img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .project-full-section .section-heading {
        font-size: 1.6rem;
    }
    .project-info-summary {
        padding: 10px;
    }
    .project-description {
        padding: 0 10px;
    }
    .project-gallery {
        grid-template-columns: repeat(2, 1fr); 
    }
    .project-gallery img {
        height: 140px;
    }
}



.cta-section{
    height: 50px;
}
.cta-section h2, .cta-section p {
    color: var(--light-text-color);
    margin-top: -30px;
}
.cta-section .btn-light {
    background: var(--secondary-color);
    color: rgb(34, 28, 23);
}
.cta-section .btn-light:hover {
    background:#aa6232;
    color: #fff;
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
 
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    
}

.contact-info p i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 15px;
    
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1.8px, solid #834d1e8f;
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ff990002;
    box-shadow: 0.5px 0.5px 0.5p 0.5px ;
}

.contact-form textarea {
    resize: vertical;
}


.contact-form button.btn {
    width: auto;
    padding: 12px 30px;
    border-radius: 5px;
}

.form-response-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}
html[dir="rtl"] .form-response-message {
    text-align: center;
}



.main-footer {
    background: #1f110c;
    color: var(--light-text-color);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.main-footer .footer-col h4 {
    color: var(--light-text-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.main-footer .footer-col ul {
    list-style: none;
}

.main-footer .footer-col ul li {
    margin-bottom: 10px;
}

.main-footer .footer-col ul li a {
    color: var(--light-text-color);
}

.main-footer .footer-col ul li a:hover {
    color: var(--secondary-color);
}

.main-footer .footer-col p i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.main-footer .footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .main-nav .nav-links li {
    margin-left: 30px; 
    margin-right: 0; 
}

html[dir="rtl"] .main-nav .nav-links a::after {
    left: 0;
    right: auto; 
}

html[dir="rtl"] .main-nav .language-switcher {
    margin-left: 0;
    margin-right: 30px;
}

html[dir="rtl"] .about-section .about-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .contact-info p i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .social-icons a {
    margin-right: 0;
    margin-left: 10px;
}
html[dir="rtl"] .contact-form input[type="tel"]{
    margin-right: 0;
    margin-left: 10px;
    
}
    
.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 5px;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--primary-color);
    text-decoration: underline;
}


@media (max-width: 992px) {
    .main-header {
        height: 70px;
    }
    .main-header .logo img { 
        height: 68px;
        margin-top:15px;
    }
    .main-header.shrunk {
        height: 50px;
    }
   

    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 80px;
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0; 
    }

    .main-nav .nav-links.active {
        display: flex;
        background-color: var(--background-light);
        top:0;
    }
    .main-nav .title2{
        width: 50px;
    }
    .main-nav .nav-links li {
        margin: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
    }

    .main-nav .nav-links li:last-child {
        border-bottom: none;
    }

    .main-nav .language-switcher-desktop {
        display: none;
    }

    .main-nav .mobile-language-switcher {
        display: block; 
        padding: 10px 20px; 
        border-bottom: 1px solid #eee; 
    }
    .main-nav .mobile-language-switcher .lang-btn { 
        font-size: 1rem; 
        padding: 5px 10px;
    }

    .main-nav .menu-toggle {
        display:block !important; 
        opacity: 1 !important;   
        visibility: visible !important; 
        position: relative !important; 
        z-index: 1001 !important; 
    }

    .main-header .container {
        flex-wrap: wrap;
    }
 

    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-content p {
        font-size: 1.2rem;
    }
    .prev, .next {
        font-size: 24px;
        padding: 12px;
    }
    .dot {
        height: 12px;
        width: 12px;
    }

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }
    .about-section .about-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        
    }
 

    .about-section .about-image {
       display: none;
    }
  
    
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    .main-header .title2 br {
    display: block;
}
   
    .slide-content p {
        font-size: 1rem;
    }
    .main-header .logo img { 
        height: 68px;
    }
    .prev, .next {
        font-size: 20px;
        padding: 8px;
    }
    .service-grid, .project-grid, .contact-grid, .footer-content {
        grid-template-columns: 1fr;
    }
   
}
@media (max-width: 768px) {
    .read-more-btn {
        width: calc(100% - 30px); 
    }
   
}
@media (max-width: 992px) {
    .about-section .about-content {
        flex-direction: column;
        justify-content: center;
        text-align: center; 
    }

    .about-section .about-text {
        text-align: center;
    }

    .about-section .about-text .btn {
        margin-left: auto;
        margin-right: auto; 
    }

    html[dir="rtl"] .about-section .about-text .btn {
        margin-left: auto;
        margin-right: auto; 
    }
}

.about-sub-section1{
    place-content: center;
}
.about-sub-section .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 900px; 
    margin: 0 auto; 
}
.about-sub-section1 .galleryh{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 150px)); 
    gap: 25px; 
    max-width: 100%; 
    margin: 0 auto; 
   place-content: center;
}

html[dir="rtl"] .about-sub-section1{
    place-content: center;
}
html[dir="rtl"] .about-sub-section1 .galleryh{
        place-content: center;

}


.about-sub-section .galleryg {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr)); 
    gap: 10px; 
    max-width: 900px;
    margin: 0 auto; 
}

.about-sub-section .gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover; 
    border-radius: 10px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-sub-section .galleryg img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.about-sub-section1 .galleryh img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border-radius: 10px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


 .about-sub-section .galleryh :hover{ 
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}     
 .about-sub-section1{
    align-items: center;
    text-align: center;
 }
.div[data-key="core"] h2{
    font-size: large;
}

@media (max-width: 992px) {
    #aboutSubSectionsContainer {
        padding: 40px 0;
    }
    .about-sub-section {
        padding: 30px 15px;
        margin-bottom: 30px;
        border-radius: 10px;
        width: calc(100% - 30px); 
    }

    .about-sub-section h3 {
        font-size: 1.8rem;
    }

    .about-sub-section p {
        font-size: 0.95rem;
    }

    .about-sub-section .gallery {
        grid-template-columns: repeat(2, minmax(140px, 1fr)); 
        gap: 15px;
    }
    .about-sub-section1 .galleryh{
        grid-template-columns: repeat(3, minmax(140px, 1fr)); 
        gap: 15px;
        place-content: center;
    }
    .about-sub-section .galleryg{
        grid-template-columns: 1fr; 
        gap: 15px;
        
    }
    .about-sub-section1{
        place-content: center;
    }

    .about-sub-section1 .galleryh img {
        height: 200px;
        width: 200px; 
        margin-left: 0;
        
    }
    .about-sub-section .gallery img {
        height: 100px;
        width: 120px; 
    }
    
}



#content-selector-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

#content-selector-section .section-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.selection-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 50px; 
}

.selection-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 25px;
    flex: 1 1 calc(50% - 20px);
    max-width: 450px;
    min-width: 280px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.selection-card.active {
    background-color: var(--primary-color); 
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px); 
}

.selection-card.active .card-selector-title {
    color: white;
}

.selection-card .card-selector-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease; 
}

.selection-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 0;
}

.full-content-section {
    display: none; 
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 20px; 
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; 
    text-align: initial; 
}

.full-content-section.active-content {
    display: block;
    opacity: 1; 
    transform: translateY(0); 
}


.full-content-section p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.full-content-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.full-content-section li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.content-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.content-gallery img,
.full-content-section .content-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

html[dir="rtl"] .selection-card {
    text-align: center; 
    align-items: center; 
}

html[dir="rtl"] .full-content-section h2,
html[dir="rtl"] .full-content-section p,
html[dir="rtl"] .full-content-section ul,
html[dir="rtl"] .full-content-section li {
    text-align: right;
}
html[dir="rtl"] .full-content-section ul {
    margin-left: 0;
    margin-right: 20px; 
}


@media (max-width: 768px) {
    .selection-card {
        flex: 1 1 100%; 
        max-width: 350px; 
        margin: 0 auto;
    }
    .full-content-section {
        padding: 20px;
    }
    .full-content-section h2 {
        font-size: 1.8rem;
    }
    .full-content-section p {
        font-size: 1rem;
    }
    .content-gallery {
        grid-template-columns: 1fr; 
    }
    .about-sub-section1{
        place-content: center;
    }
        .about-sub-section1 .galleryh{
        grid-template-columns: repeat(2, minmax(140px, 1fr)); 
        gap: 15px;

    }
      .about-sub-section1 .galleryh img{
       width: 150px;
       height: 140px;
    }
   
}

@media (max-width: 480px) {
    .selection-card {
        padding: 15px;
    }
    .selection-card .card-selector-title {
        font-size: 1.4rem;
    }
    .selection-card p {
        font-size: 0.9rem;
    }
}
.intl-tel-input input[type="tel"] {
  width: 100%;  
  box-sizing: border-box;
}




@media (max-width: 768px){
   .section-with-video-bg {
    min-height:200px ;
    width: 100%;
    
   } 
  
      .section-with-video-bg .background-video{
   object-fit: fill;
   width: 100%;
   }

 
}
.main-header .container {
    gap: 0;
}