*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    direction: rtl;
}
/* Global font */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --default-font-ar: 'Tajawal', sans-serif;
    --heading-font-ar: 'Cairo', sans-serif;
    --nav-font-ar: "Poppins", sans-serif;
}

/* Global Colors */
:root { 
    --main-color1:#a08f37;
    --main-color2:#1f716b;
    --background-color: #faf8f5;
    --default-color: #444444; 
    --heading-color: #2a2c39;
    --accent-color: #1f716b; 
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --white-color: #ffffff;
    --color-active: #a08f37 ;
    --cover-alpha-color:rgba(43, 38, 9, 0.5);

}

/* Nav Menu Colors */
:root {
   --nav-background-color: #faf8f5;  
   --nav-color: #1f716b;
   --nav-color-active:#1f716b;
   --nav-hover-color: #1f716b; 
   --nav-mobile-background-color: #faf8f5;
}

/* Smooth scroll */
:root {
scroll-behavior: smooth;
}
  
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 77px;
    overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 ;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    position: relative;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 4px 10px;
    font-family: var(--heading-font);
}

.section-title p {
    color: var(--heading-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--default-font);
}

@media only screen and (max-width: 600px) {
    .section-title {
        padding-bottom: 20px;
    }

    .section-title h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .section-title h2::after {
        width: 60px;
        margin: 4px 5px;
    }

    .section-title p {
        font-size: 0.9rem;
    }
}

 
/*--------------------------------------------------------------
  Header / Navbar 
--------------------------------------------------------------*/

/* === Header wrapper === */
.header {
    background-color: var(--nav-background-color);
    transition: background-color 0.5s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.header.scrolled {
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.09);
}

/* === Navbar base === */
nav.navbar {
    width: 100%;
    padding: 6px 0;
}

/* === Logo (far right – navbar-brand in RTL) === */
nav .navbar-brand {
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
}

nav .logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

nav .logo:hover {
    transform: scale(1.08);
}

/* === Toggler (pushed far-left by ms-auto) === */
.navbar-toggler {
    border-color: var(--nav-color);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31,113,107,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:not(.collapsed) {
    border-color: var(--nav-color);
}

/* === Collapsible group === */
nav .navbar-collapse {
    display: flex;
    align-items: center;
    flex-direction: row;
}

/* === Nav links list === */
nav .navbar-nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
}

nav .nav-item {
    position: relative;
}

nav .nav-link {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 15px 11px;
    color: var(--nav-color, #333) !important;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* Animated underline */
nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--nav-color-active);
    transition: width 0.3s ease;
}

nav .nav-link:hover::after,
nav .nav-link.active::after {
    width: calc(100% - 22px);
}

nav .nav-link:hover {
    color: var(--nav-color-active) !important;
}

nav .nav-link.active {
    color: var(--nav-color-active) !important;
}

/* English link */
nav .nav-link.nav-lang {
    font-family: var(--nav-font, 'Poppins', sans-serif);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}

/* === Dropdown: hide Bootstrap default arrow === */
nav .nav-dropdown-toggle.dropdown-toggle::after {
    display: none;
}

/* Custom small triangle beside خدماتنا */
.nav-arrow {
    font-size: 9px;
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
    color: inherit;
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

/* Triangle flips when dropdown is open */
.nav-item.dropdown.show .nav-arrow {
    transform: rotate(180deg);
    color: var(--nav-color-active);
}

nav .nav-dropdown-toggle:hover .nav-arrow {
    color: var(--nav-color-active);
}

/* === Dropdown menu === */
nav .dropdown-menu {
    background-color: var(--nav-background-color);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 210px;
    text-align: right;
    right: 0;
    left: auto;
    animation: dropFade 0.2s ease;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

nav .dropdown-item {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--default-color);
    padding: 9px 18px;
    text-align: right;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav .dropdown-item:hover {
    background-color: rgba(31, 113, 107, 0.08);
    color: var(--accent-color);
}

/* === CTA button (ابدأ الان) === */
.nav-cta-wrap {
    flex-shrink: 0;
    margin-right: 14px; /* gap from last nav link on desktop */
}

nav .lang-btn {
    background-color: var(--main-color2);
    color: var(--white-color);
    padding: 7px 26px;
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--main-color2);
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav .lang-btn:hover {
    background-color: transparent;
     border: 2px solid var(--main-color2);
    color: var(--main-color2);
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet / Collapsed (≤ 991px) ---- */
@media (max-width: 991px) {

    /* Top bar: logo right, toggler left */
    nav .navbar-brand {
        order: 1;       /* logo right (RTL default) */
    }

    .navbar-toggler {
        order: 2;       
    }

    /* Collapsed panel: full width, stacked */
    nav .navbar-collapse {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: center;   
        padding: 12px 0 16px;
        border-top: 1px solid rgba(0,0,0,0.06);
        margin-top: 6px;
    }

    /* Links centered */
    nav .navbar-nav {
        flex-direction: column;
        width: 100%;
        align-items: center;   /* center each link */
        gap: 0;
    }

    nav .nav-link {
        font-size: 15px;
        padding: 10px 8px;
        width: 100%;
        text-align: center;    /* text centered */
    }

    nav .nav-link::after {
        bottom: 4px;
    }

    nav .nav-link:hover::after,
    nav .nav-link.active::after {
        width: 50%;
    }

    /* Dropdown inside collapsed: flat, centered */
    nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
        animation: none;
        text-align: center;
        min-width: unset;
        width: 100%;
    }

    nav .dropdown-item {
        font-size: 14px;
        color: var(--nav-color);
        padding: 8px 12px;
        text-align: center;
    }

    nav .dropdown-item:hover {
        background-color: transparent;
        color: var(--nav-color-active);
    }

    /* CTA centered, full-width */
    .nav-cta-wrap {
        width: 100%;
        margin-right: 0;
        padding-top: 14px;
        text-align: center;
    }

    nav .lang-btn {
        width: 60%;          
        max-width: 280px;
    }

    nav .logo {
        width: 3rem;
        height: 3rem;
    }
}

/* ---- Small mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    nav .logo {
        width: 2.8rem;
        height: 2.8rem;
    }

    nav .nav-link {
        font-size: 14px;
        padding: 9px 6px;
    }

    nav .lang-btn {
        font-size: 14px;
        width: 80%;
    }
}
/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
#home ,.carousel-item {
    height: 100vh;
}
#home img{
    width: 100%;
    height: 100%;
}

#home .carousel{
    position:relative
}
#home .carousel-inner-cover{
    position:absolute;
    left:0;
    top: 0;
    z-index: 55;
    width:100%;
    height: 100%;
    background-color:var(--cover-alpha-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#home .carousel-inner-cover .box-title {
    width: 55%;
}

#home h1 {
    font-size: 4rem;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
}

#home h6 {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

#home h2 {
    display: block;
    font-size: 1.1rem;
    line-height: 1.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ====== Buttons ====== */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary-hero,
.btn-outline-hero {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary-hero {
    background-color: var(--main-color2);
    color: var(--white-color);
    border: 2px solid var(--main-color2);
}

.btn-primary-hero:hover {
    background-color: transparent;
    color: var(--white-color);
     border: 2px solid var(--main-color2);
}

.btn-outline-hero {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--main-color2);
}

.btn-outline-hero:hover {
    background-color: var(--main-color2);
    color: var(--white-color);
    border-color: var(--main-color2);
}

/* ====== Tablet: 992px - 1199px ====== */
@media (max-width: 1199px) {
    #home .carousel-inner-cover .box-title {
        width: 65%;
    }

    #home h1 {
        font-size: 3rem;
    }

    #home h2 {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ====== Tablet: max 991px ====== */
@media (max-width: 991px) {
    #home .carousel-inner-cover .box-title {
        width: 80%;
    }

    #home h1 {
        font-size: 2.4rem;
    }

    #home h6 {
        font-size: 1rem;
    }

    #home h2 {
        font-size: 0.95rem;
        line-height: 1.75;
        padding-right: 0;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ====== Mobile: max 767px ====== */
@media (max-width: 767px) {
    #home .carousel-inner-cover .box-title {
        width: 100%;
        padding: 0 1rem;
    }

    #home h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #home h6 {
        font-size: 0.9rem;
    }

    #home h2 {
        font-size: 0.875rem;
        line-height: 1.7;
        padding-right: 0;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

/* ====== Small Mobile: max 480px ====== */
@media (max-width: 480px) {
    #home h1 {
        font-size: 1.5rem;
    }

    #home h6 {
        font-size: 0.85rem;
    }

    #home h2 {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }
}


/*--------------------------------------------------------------
# Contact Us Section
--------------------------------------------------------------*/
#contact{
    background-image: url(../images/cover2.jpg);
    background-size: 100% 100%;
    background-attachment: fixed;
    padding: 0!important;
}
#contact .pink-cover{
    width: 100%;
    height: 100%;
    background-color: rgba(253, 246, 236, 0.6);
    padding: 60px 0;
}
#contact .section-contact{
    background-color: var(--nav-background-color);
      padding: 60px 60px;
}

.contact .email-form {
  height: 100%;
}

.contact .email-form input[type=text],
.contact .email-form input[type=email],
.contact .email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  text-align: right;
}

.contact .email-form input[type=text]:focus,
.contact .email-form input[type=email]:focus,
.contact .email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .email-form input[type=text]::placeholder,
.contact .email-form input[type=email]::placeholder,
.contact .email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.contact .email-form label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 10px;
}

.contact .email-form input[type=checkbox] {
  margin-left: 10px;
  cursor: pointer;
}

.contact .email-form .file-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 10px;
}

.contact .email-form .custom-file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}

.contact .email-form input[type=file] {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  text-align: right;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.contact .email-form .custom-file-upload .file-text {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  text-align: right;
  border-radius: 0;
  cursor: pointer;
}

.contact .email-form .custom-file-upload .file-text:hover,
.contact .email-form input[type=file]:focus + .file-text {
  border-color: var(--accent-color);
  color: var(--default-color);
}

.contact .email-form input[type=checkbox] {
  margin-left: 10px;
  cursor: pointer;
  accent-color: var(--accent-color);
  width: 16px;
  height: 16px;
}

.contact .email-form .col-md-12 {
  margin-bottom: 15px;
}

#contact .conaiter-left-contact h3
{
    font-size: 23px;
    line-height: 35px;
}
#contact .conaiter-left-contact h4
{
    font-size: 18px;
    line-height: 24px;
    transition: color 1s;
    margin-right: 1rem;
}
#contact .container-contact:hover h4
{
    color:var(--accent-color)  ;
}
#contact .conaiter-left-contact p
{
    font-size: 14px;
    line-height: 24.5px;
    margin-right: 1rem;
}
#contact .conaiter-left-contact i
{
   font-size: 40px;
   line-height: 40px;
   color:var(--accent-color)  ;
  
}
.contact .twasol
{
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    font-weight: 400;
    border-radius: 50%;
    line-height: 1.6;
    margin: 0 15px 0 0;
    box-shadow: 0 0 0 3px var(--color-active); 
    transition: all 0.8s;
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--accent-color);
}
.contact .twasol:hover
{
    background-color:var(--accent-color) ;
    color:#fff;
    box-shadow: 0 0 0 3px var(--color-active); 
}

@media screen and (max-width: 768px) {
    #contact .conaiter-left-contact h3
    {
    font-size: 18px;
    line-height: 24px;
    }
    #contact .conaiter-left-contact h4 {
        font-size: 16px;
        line-height: 22px;
        margin-right: 0.8rem;
    }

    #contact .container-contact:hover h4 {
        color: var(--accent-color);
    }

    #contact .conaiter-left-contact p {
        font-size: 13px;
        line-height: 22px;
        margin-right: 0.8rem;
    }

    #contact .conaiter-left-contact i {
        font-size: 36px;
        line-height: 36px;
    }

    .contact .twasol {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        margin: 0 12px 0 12px;
        box-shadow: 0 0 0 2.5px var(--color-active);
    }

    .contact .twasol:hover {
        background-color: var(--accent-color);
        color: #fff;
        box-shadow: 0 0 0 2.5px var(--color-active);
    }
}

@media screen and (max-width: 480px) {
    #contact .conaiter-left-contact h3
    {
    font-size: 16px;
    line-height: 22px;
    }
    #contact .conaiter-left-contact h4 {
        font-size: 14px;
        line-height: 20px;
        margin-right: 1.2rem;
    }

    #contact .container-contact:hover h4 {
        color: var(--accent-color);
    }

    #contact .conaiter-left-contact p {
        font-size: 12px;
        line-height: 20px;
        margin-right: 1.2rem;
    }

    #contact .conaiter-left-contact i {
        font-size: 32px;
        line-height: 32px;
    }

    .contact .twasol {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin: 0 10px 0 10px;
        box-shadow: 0 0 0 2px var(--color-active);
    }

    .contact .twasol:hover {
        background-color: var(--accent-color);
        color: #fff;
        box-shadow: 0 0 0 2px var(--color-active);
    }
}



/* ===== FOOTER WRAPPER ===== */
.site-footer {
    background-color: var(--surface-color);
    font-family: var(--default-font-ar);
}

/* ===== MAIN FOOTER SECTION ===== */
.footer-main {
    padding: 55px 0 40px;
    border-bottom: 1px solid #e8e8e8;
}

/* ===== BRAND COLUMN ===== */
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--heading-font-ar);
    flex-shrink: 0;
}

.logo-text-group {
    text-align: right;
}

.logo-name {
    font-family: var(--heading-font-ar);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--default-color);
    font-weight: 400;
    opacity: 0.75;
}

.brand-desc {
    font-size: 14px;
    color: var(--default-color);
    line-height: 1.9;
    max-width: 260px;
}

/* ===== FOOTER HEADINGS ===== */
.footer-heading {
    font-family: var(--heading-font-ar);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 2.5px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* ===== FOOTER LISTS (Services & Quick Links) ===== */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 11px;
}

.footer-list li a {
    font-size: 14px;
    color: var(--default-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.25s ease;
}

.footer-list li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: var(--main-color1);
    transition: transform 0.2s ease;
}

.footer-list li a:hover {
    color: var(--accent-color);
}

.footer-list li a:hover::before {
    transform: translateX(-3px);
}

/* ===== CONTACT LIST ===== */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.contact-text {
    font-size: 14px;
    color: var(--default-color);
    text-decoration: none;
    direction: ltr;
    transition: color 0.2s ease;
}

.contact-text:hover {
    color: var(--accent-color);
}

.contact-icon {
    width: 34px;
    height: 34px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 13px;
    flex-shrink: 0;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: var(--heading-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ===== FOOTER BOTTOM BAR ===== */
.footer-bottom {
    background-color: var(--background-color);
    padding: 18px 0;
}

.footer-license {
    font-size: 13px;
    color: var(--default-color);
    opacity: 0.8;
    margin: 0;
    text-align: right;
}

.footer-copyright {
    font-size: 13px;
    color: var(--default-color);
    opacity: 0.8;
    margin: 0;
    text-align: left;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--contrast-color);
}

.float-whatsapp {
    background-color: #25D366;
}

.float-phone {
    background-color: var(--accent-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer-col {
        margin-bottom: 30px;
    }

    .brand-desc {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-copyright {
        text-align: right;
        margin-top: 5px;
    }

    .floating-buttons {
        bottom: 20px;
        left: 15px;
    }
}

@media (max-width: 575px) {
    .footer-heading {
        font-size: 15px;
    }

    .footer-list li a,
    .contact-text {
        font-size: 13.5px;
    }

    .logo-name {
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
  About Section - RTL Arabic -about page
--------------------------------------------------------------*/

/* === Section wrapper === */
.about-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/* === Logo column (left side in RTL) === */
.about-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

.about-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Subtle drop shadow matching the screenshot */
    filter: drop-shadow(0 4px 24px rgba(31, 84, 140, 0.10));
}

/* === Text content column (right side in RTL) === */
.about-content-col {
    padding-right: 20px;
    padding-left: 40px;
}

/* === Section title === */
.about-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 14px;
    line-height: 1.4;
}

/* English brand name inside title - same size, same weight */
.about-title-en {
    font-family: var(--heading-font, 'Raleway', sans-serif);
    font-size: inherit;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: 1px;
}

/* === Subtitle (colored tagline) === */
.about-subtitle {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    color: var(--main-color1);        /* gold accent */
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* === Body paragraphs === */
.about-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(14px, 1.4vw, 15.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin-bottom: 20px;
    text-align: right;
}

.about-text:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .about-section {
        padding: 60px 0;
    }

    /* Stack: text on top, logo below */
    .about-content-col {
        order: 1;
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 36px;
    }

    .about-logo-col {
        order: 2;
    }

    .about-logo-wrap {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .about-section {
        padding: 44px 0;
    }

    .about-title {
        font-size: 20px;
    }

    .about-subtitle {
        font-size: 14px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .about-logo-wrap {
        max-width: 220px;
    }
}
/*--------------------------------------------------------------
  end -About Section - RTL Arabic -about page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Vision & Mission Section 
--------------------------------------------------------------*/

/* === Section wrapper === */
.vision-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/* === Cards column === */
.vision-cards-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 30px;       /* space between cards and image */
    padding-right: 0;
}

/* === Single card === */
.vision-card {
    background-color: var(--surface-color);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: right;
}

.vision-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

/* === Card title === */
.vision-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 700;
    color: var(--main-color1);        /* gold italic title */
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* === Card body text === */
.vision-card-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13.5px, 1.3vw, 15px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/* === Image column === */
.vision-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-image-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 84, 140, 0.12);
}

.vision-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.vision-image-wrap:hover .vision-img {
    transform: scale(1.03);
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .vision-section {
        padding: 60px 0;
    }

    /* Image on top, cards below */
    .vision-image-col {
        order: 1;
        margin-bottom: 12px;
    }

    .vision-cards-col {
        order: 2;
        padding-left: 0;
        padding-right: 0;
        gap: 20px;
    }

    .vision-img {
        min-height: 300px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .vision-section {
        padding: 44px 0;
    }

    .vision-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .vision-card-title {
        font-size: 16px;
    }

    .vision-card-text {
        font-size: 13.5px;
        line-height: 1.9;
    }

    .vision-img {
        min-height: 220px;
        border-radius: 14px;
    }

    .vision-cards-col {
        gap: 16px;
    }
}
/*--------------------------------------------------------------
  end Vision & Mission Section 
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  Core Values Section 
--------------------------------------------------------------*/

/* === Section wrapper === */
.values-section {
    background-color: var(--background-color);
    padding: 70px 0 80px;
}

/* === Single value card === */
.value-card {
    background-color: var(--surface-color);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.055);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: right;
    position: relative;
    overflow: hidden;
}

/* Subtle left border accent on hover (RTL: right border) */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;                     /* RTL: accent on right side */
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--main-color1), var(--accent-color));
    border-radius: 0 14px 14px 0;
    transition: height 0.35s ease;
}

.value-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.value-card:hover::before {
    height: 100%;
}

/* === Card title === */
.value-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 700;
    color: var(--main-color1);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* === Card body text === */
.value-card-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Large desktop: 4 per row (Bootstrap col-lg-3) ---- */

/* ---- Tablet (≤ 991px): 2 per row (Bootstrap col-sm-6) ---- */
@media (max-width: 991px) {

    .values-section {
        padding: 55px 0 65px;
    }

    .value-card {
        padding: 24px 20px;
    }
}

/* ---- Mobile (≤ 575px): 1 per row ---- */
@media (max-width: 575px) {

    .values-section {
        padding: 40px 0 50px;
    }

    .value-card {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .value-card-title {
        font-size: 15px;
    }

    .value-card-text {
        font-size: 13.5px;
        line-height: 1.85;
    }
}

/*--------------------------------------------------------------
 end Core Values Section 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  CTA Section
--------------------------------------------------------------*/

/* === Section wrapper === */
.cta-section {
    background-color: var(--main-color2);      
    padding: 80px 20px;
    text-align: center;
}

/* === Content wrapper === */
.cta-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* === Main heading === */
.cta-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.55;
    margin: 0;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* === Subtext === */
.cta-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(14px, 1.6vw, 16.5px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    line-height: 2;
    margin: 0;
    max-width: 600px;
}

/* === CTA Button === */
.cta-btn {
    display: inline-block;
    background-color: var(--white-color);
    color: #1e2d54;
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 600;
    padding: 14px 60px;
    border-radius: 6px;
    border: 2px solid var(--white-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--white-color);
    transform: translateY(-2px);
    border: 2px solid var(--white-color);
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .cta-section {
        padding: 65px 20px;
    }

    .cta-content {
        gap: 24px;
    }

    .cta-btn {
        padding: 13px 50px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .cta-section {
        padding: 50px 16px;
    }

    .cta-title {
        font-size: 24px;
        line-height: 1.6;
    }

    .cta-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .cta-btn {
        padding: 12px 40px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }
}
/*--------------------------------------------------------------
 end CTA Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  Contact Hero Banner 
--------------------------------------------------------------*/

/* === Section wrapper === */
.contact-hero-section {
    background-color: var(--main-color2);
    padding: 80px 0;
}

/* === Content wrapper === */
.contact-hero-content {
    max-width: 780px;
    margin-left: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 75px;
}

/* === Section title === */
.contact-hero-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.4;
}

/* === Description text === */
.contact-hero-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .contact-hero-section {
        padding: 65px 0;
    }

    .contact-hero-content {
        max-width: 100%;
        gap: 20px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .contact-hero-section {
        padding: 50px 0;
    }

    .contact-hero-title {
        font-size: 24px;
    }

    .contact-hero-text {
        font-size: 14px;
        line-height: 1.9;
    }
}

/*--------------------------------------------------------------
  end Contact Hero Banner 
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  About Stats Section t
--------------------------------------------------------------*/

/* === Section wrapper === */
.about-stats-section {
    background-color: var(--surface-color);
    padding: 80px 0;
}

/* === Text column === */
.about-stats-text-col {
    padding-left: 40px;           /* RTL: space between text and image */
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* === Intro paragraph === */
.about-stats-intro {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13.5px, 1.35vw, 15px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/* === Highlighted stats paragraph === */
.about-stats-highlight {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.45vw, 15.5px);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 2;
    margin: 0;
    text-align: right;
    /* Underline decoration matching screenshot */
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--accent-color);
}

/* Numbers inside the highlighted paragraph */
.highlight-num {
    color: var(--accent-color);
    font-weight: 700;
}

/* === Achievement items === */
.about-stats-item {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13.5px, 1.35vw, 15px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
    text-align: right;
    padding-right: 14px;
    border-right: 3px solid var(--accent-color);  /* RTL: accent border right */
}

/* === CTA Button === */
.about-stats-btn {
    display: inline-block;
    align-self: flex-start;        
    background-color: var(--accent-color);
    color: var(--white-color);
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 36px;
    border-radius: 6px;
    border: 2px solid var(--accent-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    width: fit-content;
}

.about-stats-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
     border: 2px solid var(--accent-color);
}

/* === Image column === */
.about-stats-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-stats-image-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-stats-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-stats-image-wrap:hover .about-stats-img {
    transform: scale(1.03);
}

/* === WSR Badge (top corner of image) === */
.image-badge {
    position: absolute;
    top: 16px;
    left: 16px;                   
    border-radius: 8px;
    padding: 6px 10px;
    backdrop-filter: blur(4px);
}

.image-badge-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .about-stats-section {
        padding: 60px 0;
    }

    /* Image on top, text below */
    .about-stats-image-col {
        order: 1;
    }

    .about-stats-text-col {
        order: 2;
        padding-left: 0;
        padding-right: 0;
        gap: 18px;
    }

    .about-stats-img {
        min-height: 280px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .about-stats-section {
        padding: 44px 0;
    }

    .about-stats-intro,
    .about-stats-item {
        font-size: 13.5px;
        line-height: 1.9;
    }

    .about-stats-highlight {
        font-size: 14px;
        line-height: 1.9;
    }

    .about-stats-img {
        min-height: 220px;
    }

    .about-stats-btn {
        align-self: center;
        width: 100%;
        text-align: center;
        max-width: 260px;
    }
}
/*--------------------------------------------------------------
  end About Stats Section t
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  Services Section
--------------------------------------------------------------*/

/* === Section wrapper === */
.services-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/* === Service card === */
.service-card {
    background-color: var(--surface-color);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.055);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

/* === Card body (grows to fill space) === */
.service-card-body {
    padding: 32px 28px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: right;
}

/* === Card title === */
.service-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(17px, 1.7vw, 20px);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.4;
}

/* === Card description === */
.service-card-desc {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.25vw, 14.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/* === Checklist === */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-list li {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 400;
    color: var(--default-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

/* Blue checkmark icon */
.service-list li::before {
    content: '\2714';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 10px;
    flex-shrink: 0;
}

/* === Learn more link === */
.service-learn-more {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.service-learn-more:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* === Card footer (CTA button) === */
.service-card-footer {
    padding: 0 28px 28px;
}

.service-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--main-color2);
    color: var(--white-color);
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 6px;
    border: 2px solid var(--main-color2);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-cta-btn:hover {
    background-color: var(--white-color);
    border-color: var(--main-color2);
    color: var(--main-color2);
}

/* Arrow inside button */
.service-cta-arrow {
    font-size: 17px;
    line-height: 1;
    display: inline-block;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px): 2 per row then 1 ---- */
@media (max-width: 991px) {

    .services-section {
        padding: 60px 0;
    }

    .service-card-body {
        padding: 26px 22px 16px;
        gap: 15px;
    }

    .service-card-footer {
        padding: 0 22px 22px;
    }
}

/* ---- Mobile (≤ 575px): 1 per row ---- */
@media (max-width: 575px) {

    .services-section {
        padding: 44px 0;
    }

    .service-card-title {
        font-size: 17px;
    }

    .service-card-desc,
    .service-list li {
        font-size: 13.5px;
    }

    .service-card-body {
        padding: 22px 18px 14px;
    }

    .service-card-footer {
        padding: 0 18px 20px;
    }
}
/*--------------------------------------------------------------
 end Services Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Features / Why Us Section 
--------------------------------------------------------------*/

/* === Section wrapper === */
.features-section {
    background-color: var(--background-color);
    padding: 70px 0;
}

/* === Feature card === */
.feature-card {
    background-color: var(--surface-color);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.055);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    padding: 28px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;        
    gap: 14px;
    text-align: right;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-4px);
}

/* === Top row: icon + title inline === */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 13px;
    flex-shrink: 0;
    align-self: flex-end;         
}

/* === Card content (title + text) === */
.feature-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* === Card title === */
.feature-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.4vw, 15.5px);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.4;
    text-align: right;
}

/* === Card text === */
.feature-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px): 2 per row ---- */
@media (max-width: 991px) {

    .features-section {
        padding: 55px 0;
    }

    .feature-card {
        padding: 24px 18px;
    }
}

/* ---- Mobile (≤ 575px): 1 per row ---- */
@media (max-width: 575px) {

    .features-section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 22px 16px;
        border-radius: 12px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-text {
        font-size: 13.5px;
        line-height: 1.85;
    }
}
/*--------------------------------------------------------------
 end Features / Why Us Section 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Process Section 
--------------------------------------------------------------*/

/* === Section wrapper === */
.process-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/*--------------------------------------------------------------
  Image column
--------------------------------------------------------------*/
.process-image-col {
    display: flex;
}

.process-image-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
    flex: 1;
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.process-image-wrap:hover .process-img {
    transform: scale(1.04);
}

/* Dark gradient overlay */
.process-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 25, 55, 0.50) 0%,
        rgba(15, 25, 55, 0.30) 55%,
        rgba(15, 25, 55, 0.15) 100%
    );
    z-index: 1;
}

/* Overlay text block */
.process-overlay-text {
    position: absolute;
    bottom: 36px;
    right: 28px;          /* RTL: text anchored to the right */
    left: 20px;
    z-index: 2;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overlay-intro {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    letter-spacing: 0.5px;
}

.overlay-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.55;
}

.overlay-sub {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.3vw, 15px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    margin: 0;
}

/*--------------------------------------------------------------
  Steps column
--------------------------------------------------------------*/
.process-steps-col {
    display: flex;
}

.process-steps-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* === Single step card === */
.process-step-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.055);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
    text-align: right;
    flex: 1;
}

.process-step-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
    transform: translateX(-4px); 
}

/* Step header: dash + title inline */
.step-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;    
    gap: 10px;
    margin-bottom: 10px;
    flex-direction: row;
    text-align: right;
}

/* Dash accent */
.step-dash {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

/* Step title */
.step-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.4;
}

/* Step text */
.step-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .process-section {
        padding: 60px 0;
    }

    /* Image on top, steps below */
    .process-image-col {
        order: 1;
    }

    .process-steps-col {
        order: 2;
    }

    .process-image-wrap {
        min-height: 340px;
    }

    .process-steps-wrap {
        gap: 14px;
    }

    .process-step-card {
        padding: 18px 20px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .process-section {
        padding: 44px 0;
    }

    .process-image-wrap {
        min-height: 260px;
        border-radius: 12px;
    }

    .process-overlay-text {
        bottom: 24px;
        right: 18px;
        left: 14px;
        gap: 6px;
    }

    .overlay-intro {
        font-size: 20px;
    }

    .overlay-title {
        font-size: 15px;
    }

    .overlay-sub {
        font-size: 13px;
    }

    .process-step-card {
        padding: 16px 16px;
    }

    .step-title {
        font-size: 14px;
    }

    .step-text {
        font-size: 13px;
    }
}


/*--------------------------------------------------------------
end  Process Section 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Blog 
--------------------------------------------------------------*/

/* === Section wrapper === */
.blog-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/*--------------------------------------------------------------
  Featured article (right column)
--------------------------------------------------------------*/
.blog-featured {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 30px;           /* RTL: space between featured and slider */
    text-align: right;
    height: 100%;
}

.blog-featured-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.6;
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--accent-color);
}

.blog-featured-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13.5px, 1.3vw, 15px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Slider wrapper
--------------------------------------------------------------*/
.blog-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Slider track */
.blog-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    /* RTL: initial state shows rightmost cards */
    flex-direction: row;
}

/*--------------------------------------------------------------
  Blog card
--------------------------------------------------------------*/
.blog-card {
    flex: 0 0 calc(33% - 10px);  /* 2 cards visible */
    display: flex;
    flex-direction: column;
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.055);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

/* Card image */
.blog-card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

/* Image overlay */
.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 25, 55, 0.85) 0%,
        rgba(15, 25, 55, 0.30) 60%,
        transparent 100%
    );
    z-index: 1;
}

/* Overlay title on image */
.blog-card-overlay-text {
    position: absolute;
    bottom: 16px;
    right: 16px;                  /* RTL: text anchored right */
    left: 12px;
    z-index: 2;
    text-align: right;
}

.blog-card-overlay-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(13px, 1.3vw, 15px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.5;
}

/* Card body */
.blog-card-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    flex: 1;
}

.blog-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.35vw, 15.5px);
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.5;
    text-decoration-thickness: 1px;
}

.blog-card-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.9;
    margin: 0;
}

/*--------------------------------------------------------------
  Slider arrows
--------------------------------------------------------------*/
.blog-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    color: var(--heading-color);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    z-index: 10;
    /* Only show on image area height */
    top: 110px;
}

.blog-arrow:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.blog-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* RTL: prev = right side of slider, next = left side */
.blog-arrow-prev {
    right: auto;
    left: 0px;                 
}

.blog-arrow-next {
    right: auto;
    left: auto;
    right: 0px;             
}

/* Override both clearly for RTL */
.blog-slider-wrapper .blog-arrow-prev { left: 2px;  right: auto; }
.blog-slider-wrapper .blog-arrow-next { right: 2px; left: auto;  }

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .blog-section {
        padding: 60px 0;
    }

    /* Featured above slider */
    .blog-featured-col {
        order: 1;
    }

    .blog-slider-col {
        order: 2;
    }

    .blog-featured {
        padding-left: 0;
        padding-bottom: 10px;
    }
}

/* ---- Mobile (≤ 767px): 1 card visible ---- */
@media (max-width: 767px) {

    .blog-card {
        flex: 0 0 100%;
    }

    .blog-card-image-wrap {
        height: 200px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .blog-section {
        padding: 44px 0;
    }

    .blog-featured-title {
        font-size: 16px;
    }

    .blog-featured-text {
        font-size: 13.5px;
    }

    .blog-card-body {
        padding: 16px 14px;
    }

    .blog-card-image-wrap {
        height: 180px;
    }
}

/*--------------------------------------------------------------
 end Blog 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Section Hero Banner
--------------------------------------------------------------*/

/* === Section wrapper === */
.section-hero {
    background-color: var(--main-color2);
    padding: 80px 0;
    text-align: center;
}

/* === Content wrapper === */
.section-hero-content {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* === Title === */
.section-hero-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.4;
}

/* === Description === */
.section-hero-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    line-height: 2;
    margin: 0;
    text-align: center;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .section-hero {
        padding: 65px 0;
    }

    .section-hero-content {
        gap: 22px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .section-hero {
        padding: 50px 0;
    }

    .section-hero-title {
        font-size: 24px;
    }

    .section-hero-text {
        font-size: 14px;
        line-height: 1.9;
    }
}
/*--------------------------------------------------------------
  end Section Hero Banner
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Consulting Services Detail 
--------------------------------------------------------------*/

/* === Section wrapper === */
.consulting-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

/*--------------------------------------------------------------
  Media column (image + buttons)
--------------------------------------------------------------*/
.consulting-media-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;                   
    align-self: flex-start;
}

/* === Image === */
.consulting-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.10);
}

.consulting-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.consulting-image-wrap:hover .consulting-img {
    transform: scale(1.04);
}

/* === Action buttons row === */
.consulting-buttons {
    display: flex;
    gap: 12px;
    flex-direction: row-reverse; 
}

/* Primary CTA */
.consulting-btn-primary {
    flex: 1;
    background-color: var(--main-color2);
    color: var(--white-color);
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 6px;
    border: 2px solid var(--main-color2);
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.consulting-btn-primary:hover {
    background-color: transparent;
    color: var(--main-color2);
     border: 2px solid var(--main-color2);
}

/* WhatsApp button */
.consulting-btn-whatsapp {
    flex: 1;
    background-color: #25D366;
    color: var(--white-color);
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 6px;
    border: 2px solid #25D366;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.consulting-btn-whatsapp:hover {
    background-color: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.consulting-btn-whatsapp i {
    font-size: 17px;
}

/*--------------------------------------------------------------
  Services list column
--------------------------------------------------------------*/
.consulting-list-col {
    padding-right: 10px;         
}

.consulting-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* === Single service item === */
.consulting-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: right;
    transition: background-color 0.2s ease;
}

.consulting-item:first-child {
    padding-top: 0;
}

.consulting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Item title */
.consulting-item-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 10px 0;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--accent-color);
}

/* Item text */
.consulting-item-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.25vw, 14.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .consulting-section {
        padding: 60px 0;
    }

    /* Image col on top, list below */
    .consulting-media-col {
        order: 1;
        position: static;         
    }

    .consulting-list-col {
        order: 2;
        padding-right: 0;
    }

    .consulting-img {
        height: 260px;
    }

    .consulting-buttons {
        flex-direction: row;    
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .consulting-section {
        padding: 44px 0;
    }

    .consulting-img {
        height: 220px;
        border-radius: 10px;
    }

    .consulting-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .consulting-btn-primary,
    .consulting-btn-whatsapp {
        flex: unset;
        width: 100%;
    }

    .consulting-item {
        padding: 18px 0;
    }

    .consulting-item-title {
        font-size: 14px;
    }

    .consulting-item-text {
        font-size: 13.5px;
        line-height: 1.85;
    }
}

/*--------------------------------------------------------------
  end Consulting Services Detail 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Services Image Slider 
--------------------------------------------------------------*/

/* === Section wrapper === */
.services-slider-section {
    background-color: var(--background-color);
    padding: 70px 0;
   
}

/*--------------------------------------------------------------
  Slider outer wrapper (contains arrows + viewport)
--------------------------------------------------------------*/
.srv-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/*--------------------------------------------------------------
  Viewport: masks overflow
--------------------------------------------------------------*/
.srv-slider-viewport {
    overflow: hidden;
    flex: 1;
    margin: 0 8px;               
}

/*--------------------------------------------------------------
  Track: flex row of all cards
--------------------------------------------------------------*/
.srv-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    /* RTL: row starts from the right */
}

/*--------------------------------------------------------------
  Individual card
--------------------------------------------------------------*/
.srv-card {
    flex: 0 0 calc((100% - 48px) / 3);  /* 3 cards, 2 gaps of 24px */
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
}

/* Image wrapper */
.srv-card-image-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.srv-card:hover .srv-card-image-wrap {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
}

.srv-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.srv-card:hover .srv-card-img {
    transform: scale(1.05);
}

/* Card title below image */
.srv-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 700;
    color: var(--heading-color);
    text-align: right;
    margin: 0;
    line-height: 1.45;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--accent-color);
    transition: color 0.2s ease;
}

.srv-card:hover .srv-card-title {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
  Arrows
--------------------------------------------------------------*/
.srv-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
    color: var(--heading-color);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    z-index: 5;
    padding: 0;
}

.srv-arrow:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 14px rgba(31, 113, 107, 0.30);
}

.srv-arrow:disabled {
    opacity: 0.30;
    cursor: default;
    pointer-events: none;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px): 2 cards ---- */
@media (max-width: 991px) {

    .services-slider-section {
        padding: 55px 0;
    }

    .srv-card {
        flex: 0 0 calc((100% - 24px) / 2);   /* 2 cards, 1 gap */
    }

    .srv-card-img {
        height: 220px;
    }
}

/* ---- Mobile (≤ 575px): 1 card ---- */
@media (max-width: 575px) {

    .services-slider-section {
        padding: 40px 0;
    }

    .srv-card {
        flex: 0 0 100%;
    }

    .srv-card-img {
        height: 200px;
        border-radius: 10px;
    }

    .srv-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .srv-slider-viewport {
        margin: 0 4px;
    }

    .srv-card-title {
        font-size: 14px;
    }
}
/*--------------------------------------------------------------
 end  Services Image Slider 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Blog / Vision Section ]
--------------------------------------------------------------*/

/* === Section wrapper === */
.blog2-section {
    background-color: var(--background-color);
    padding: 70px 0 80px;
}

/* === Section title === */
.blog2-section-header {
    text-align: right;
    margin-bottom: 36px;
}

.blog2-section-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

/* Underline accent */
/* .blog2-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;                     
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
} */

/*--------------------------------------------------------------
  Featured article (right column)
--------------------------------------------------------------*/
.blog2-featured {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 28px;          
    text-align: right;
    text-decoration: none;
    height: 100%;
    transition: opacity 0.2s ease;
}

.blog2-featured:hover { opacity: 0.82; }

.blog2-featured-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.65;
    margin: 0;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--accent-color);
    transition: color 0.2s ease;
}

.blog2-featured:hover .blog2-featured-title {
    color: var(--accent-color);
}

.blog2-featured-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.25vw, 14.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.95;
    margin: 0;
}

/*--------------------------------------------------------------
  Blog card (anchor)
--------------------------------------------------------------*/
.blog2-card {
    display: flex;
    flex-direction: column;
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.055);
    text-decoration: none;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog2-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
    transform: translateY(-4px);
}

/* Card image */
.blog2-card-image-wrap {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog2-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog2-card:hover .blog2-card-img {
    transform: scale(1.05);
}

/* Overlay gradient */
.blog2-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 25, 55, 0.88) 0%,
        rgba(15, 25, 55, 0.28) 55%,
        transparent 100%
    );
    z-index: 1;
}

/* Title on image */
.blog2-card-overlay-text {
    position: absolute;
    bottom: 16px;
    right: 16px;                  /* RTL: right-anchored */
    left: 12px;
    z-index: 2;
    text-align: right;
}

.blog2-card-overlay-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(13px, 1.3vw, 15px);
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.5;
}

/* Card body */
.blog2-card-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    flex: 1;
}

.blog2-card-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(14px, 1.35vw, 15.5px);
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.5;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.blog2-card:hover .blog2-card-title {
    color: var(--main-color1);
}

.blog2-card-text {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.9;
    margin: 0;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {
    .blog2-section { padding: 55px 0 65px; }

    /* Featured on top, cards below */
    .blog2-featured-col { order: 1; }
    .blog2-cards-col    { order: 2; }

    .blog2-featured {
        padding-left: 0;
        margin-bottom: 8px;
    }

    .blog2-card-image-wrap { height: 200px; }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {
    .blog2-section { padding: 40px 0 50px; }

    .blog2-section-title  { font-size: 20px; }
    .blog2-featured-title { font-size: 15px; }
    .blog2-featured-text  { font-size: 13px; }

    .blog2-card-image-wrap { height: 190px; }
    .blog2-card-body       { padding: 15px 14px; }
}

/*--------------------------------------------------------------
  end Blog / Vision Section ]
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Single Blog Post Page 
--------------------------------------------------------------*/

/* === Page wrapper === */
.single-blog-page {
    background-color: var(--surface-color);
    padding: 70px 0 90px;
}

/* === Article wrapper === */
.single-blog-article {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* === Article title === */
.single-blog-title {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.6;
    margin: 0;
    text-align: right;
}

/*--------------------------------------------------------------
  Hero image
--------------------------------------------------------------*/
.single-blog-hero {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.10);
}

.single-blog-hero-img {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

/* WSR watermark badge - top right in RTL */
.single-blog-badge {
    position: absolute;
    top: 20px;
    right: 24px;                  
    left: auto;
    background-color: rgba(15, 25, 55, 0.55);
    border-radius: 8px;
    padding: 6px 12px;
    backdrop-filter: blur(4px);
}

.single-blog-badge-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/*--------------------------------------------------------------
  Article body
--------------------------------------------------------------*/
.single-blog-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Body paragraph */
.single-blog-para {
    font-family: var(--default-font-ar, 'Tajawal', sans-serif);
    font-size: clamp(14px, 1.4vw, 15.5px);
    font-weight: 400;
    color: var(--default-color);
    line-height: 2;
    margin: 0;
    text-align: right;
}

/* Bold inline emphasis (matches highlighted phrases in screenshot) */
.single-blog-strong {
    font-weight: 700;
    color: var(--heading-color);
}

/* Sub headings within article */
.single-blog-heading {
    font-family: var(--heading-font-ar, 'Cairo', sans-serif);
    font-size: clamp(17px, 1.9vw, 21px);
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 0;
    line-height: 1.5;
    text-align: right;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

    .single-blog-page {
        padding: 55px 0 70px;
    }

    .single-blog-article {
        gap: 24px;
    }

    .single-blog-hero-img {
        min-height: 260px;
        max-height: 380px;
    }
}

/* ---- Mobile (≤ 575px) ---- */
@media (max-width: 575px) {

    .single-blog-page {
        padding: 40px 0 55px;
    }

    .single-blog-title {
        font-size: 20px;
        line-height: 1.65;
    }

    .single-blog-hero {
        border-radius: 10px;
    }

    .single-blog-hero-img {
        min-height: 200px;
        max-height: 280px;
    }

    .single-blog-badge {
        top: 12px;
        right: 14px;
        padding: 4px 9px;
    }

    .single-blog-badge-logo {
        height: 20px;
    }

    .single-blog-para {
        font-size: 14px;
        line-height: 1.9;
    }

    .single-blog-heading {
        font-size: 17px;
    }
}

/*--------------------------------------------------------------
  end Single Blog Post Page 
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  Client Section
--------------------------------------------------------------*/
#client .swiper {
    pointer-events: none;
}

#client .content {
    background-color: var(--accent-color);
    border-radius: 0.7rem;
    width: 14%;
    height: 200px;
    text-align: center;
    padding: 2.5rem;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#client .content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

#client .content:hover img {
    transform: scale(1.3);
}

#client .client2 img,
#client .client6 img,
#client .client7 img,
#client .client12 img,
#client .client13 img, 
#client .client14 img{
    mix-blend-mode: multiply !important;
}

#client .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

#client .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (max-width: 768px) {
    #client .content {
        width: 35%;
        height: 150px;
        padding: 1.5rem;
        margin: 0.3rem;
    }

    #client .content:hover img {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    #client .content {
        width: 55%;
        height: 120px;
        padding: 1rem;
    }

    #client .content:hover img {
        transform: scale(1.03);
    }
}

/*--------------------------------------------------------------
  end  Client Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  Clients Section - all  Clients
--------------------------------------------------------------*/

/* === Section wrapper === */
.clients-section {
    background-color: var(--surface-color);
    padding: 70px 0 80px;

}

/*--------------------------------------------------------------
  Clients grid - CSS Grid auto-fill
--------------------------------------------------------------*/
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: center;
}

/*--------------------------------------------------------------
  Single logo cell
--------------------------------------------------------------*/
.client-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    /* Negative margins collapse borders into a clean grid */
    margin-right: -1px;
    margin-bottom: -1px;
    transition: background-color 0.25s ease;
}

.client-logo-wrap:hover {
    background-color: rgba(31, 113, 107, 0.04);
}

/* Logo image */
.client-logo {
    display: block;
    object-fit: contain;
    filter: grayscale(0);         /* keep original colors like screenshot */
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.client-logo-wrap:hover .client-logo {
    opacity: 0.85;
    transform: scale(1.05);
}

/* Size variants matching the varied sizes in screenshot */
.client-sm  .client-logo { width: auto; max-width: 100%; max-height: 80px; }
.client-md  .client-logo { width: auto; max-width: 100%; max-height: 100px; }
.client-lg  .client-logo { width: auto; max-width: 100%; max-height: 130px; }

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

/* ---- Desktop large: 5 columns (default above) ---- */

/* ---- Tablet (≤ 991px): 4 columns ---- */
@media (max-width: 991px) {

    .clients-section {
        padding: 55px 0 65px;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .client-logo-wrap {
        padding: 22px 16px;
    }

    .client-lg  .client-logo { max-height: 110px; }
    .client-md  .client-logo { max-height: 85px; }
    .client-sm  .client-logo { max-height: 65px; }
}

/* ---- Small tablet (≤ 767px): 3 columns ---- */
@media (max-width: 767px) {

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .client-logo-wrap {
        padding: 18px 12px;
    }

    .client-lg  .client-logo { max-height: 90px; }
    .client-md  .client-logo { max-height: 75px; }
    .client-sm  .client-logo { max-height: 60px; }
}

/* ---- Mobile (≤ 575px): 2 columns ---- */
@media (max-width: 575px) {

    .clients-section {
        padding: 40px 0 50px;
    }

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

    .client-logo-wrap {
        padding: 16px 10px;
    }

    .client-lg  .client-logo { max-height: 75px; }
    .client-md  .client-logo { max-height: 65px; }
    .client-sm  .client-logo { max-height: 55px; }
}

 /*--------------------------------------------------------------
    end Clients Section - all  Clients
--------------------------------------------------------------*/