.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fonts */
@font-face {
    font-family: 'CoconNextArabic';
    src: url('/anaqeed_website_custom/static/fonts/CoconNextArabic-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoconNextArabic';
    src: url('/anaqeed_website_custom/static//fonts/CoconNextArabic-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'CoconNextArabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --dark-teal: #0a5d5d;
    --teal-pattern: #0d7377;
    --gold: #D4AF37;
    --beige: #F5F1E8;
    --beige-dark: #e8e0d0;
    --beige-light: #faf8f3;
    --white: #ffffff;
    --text-white: #ffffff;
    --text-dark: #2c3e50;
    --text-grey: #5a6c7d;
    --border-light: #e0e0e0;
}

html {
    font-family: 'CoconNextArabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'CoconNextArabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-teal);
    /*color: var(--text-white);*/
    overflow-x: hidden;
}

/* RTL support for Arabic */
body[dir="rtl"] {
    direction: rtl;
}

/* LTR support for English */
body[dir="ltr"] {
    direction: ltr;
}

/* Ensure all text elements use the custom font */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
input, textarea, select, button,
label, table, th, td,
article, section, aside, nav,
header, footer, main {
    font-family: 'CoconNextArabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Ensure Font Awesome icons don't override the font for text */
.fa, .fas, .far, .fal, .fab, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
}

/* But keep text next to icons using our font */
.fa + span, .fas + span, .far + span,
span + .fa, span + .fas, span + .far {
    font-family: 'CoconNextArabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Header Styles */
.header {
    background-color: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Header scrolled state */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 0.8rem 0 !important;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
}

/* *Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* RTL: reverse logo order */
body[dir="rtl"] .logo-section {
    flex-direction: row-reverse;
}

/* LTR: normal logo order */
body[dir="ltr"] .logo-section {
    flex-direction: row;
}

.logo-icon {
    width: 200px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon img {
    max-width: 100%;
    height: auto;
}
.logo-icon .logo-mark-secondary{
margin-top: 35px;
}

.logo-mark {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* .logo-mark-secondary {
    transform: translateY(10px);
} */

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* RTL: align right */
body[dir="rtl"] .logo-text {
    align-items: flex-end;
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .logo-text {
    align-items: flex-start;
    text-align: left;
}

.logo-title-ar {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    /* line-height: 1.1; */
}

.logo-text-en {
    display: flex;
    flex-direction: column;
    /* gap: 0.1rem; */
}

.logo-en-main {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-dark);
}

.logo-en-sub {
    font-size: 0.6rem;
    font-weight: 400;
    /* letter-spacing: 0.22em; */
    text-transform: uppercase;
    color: var(--text-grey);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-teal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}




/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: #C9B384;
}

.nav-link.active {
    color: #C9B384;
}

.nav-link::after {
    display: none;
}

/* Separator */
/* .nav-separator {
    width: 1px;
    height: 40px;
    background: #a0c4d4;
    flex-shrink: 0;
} */

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-outline {
    background-color: white;
    color: #C9B384;
    border: 1px solid #C9B384
}

.btn-outline:hover {
    background-color: #C9B384;
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

        .btn-primary {
            text-decoration: none;
            background-color: #C9B384;
            color: var(--white);
            border: 1px solid #C9B384;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .btn-primary a{
            text-decoration: none;
            background-color: #C9B384;
            color: var(--white);
            border: 1px solid #C9B384;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .btn-primary:hover {
            background-color: white;
            color: #C9B384;
            border: 1px solid #C9B384;
        }
        .btn-primary:hover a {
            background-color: white;
            color: #C9B384;
            border: 1px solid #C9B384;
        }



.accessibility-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.accessibility-icon:hover {
    opacity: 0.7;
}

.lang-icon {
    font-size: 1rem;
    color: var(--text-grey);
    font-weight: 500;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 15px;
    text-align-last: center;
}

.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-grey);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #FFFFFF;
    border: 1.5px solid #C9B384;
    font-size: 14px;
    height: 38px;
    min-width: 120px;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(201, 179, 132, 0.1);
    font-family: 'CoconNextArabic', sans-serif;
}

.language-switcher .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.language-switcher .dropdown-toggle[aria-expanded="true"] {
    background-color: #C9B384;
    color: white;
    box-shadow: 0 4px 8px rgba(201, 179, 132, 0.25);
}

.language-switcher .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.language-switcher .dropdown-toggle[aria-expanded="true"] img {
    filter: brightness(0) invert(1);
}

.language-switcher .dropdown-toggle:hover {
    background-color: #C9B384;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(201, 179, 132, 0.25);
}

.language-switcher .dropdown-toggle img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(52%) sepia(12%) saturate(1015%) hue-rotate(358deg) brightness(93%) contrast(87%);
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover img,
.language-switcher .dropdown-toggle[aria-expanded="true"] img {
    filter: brightness(0) invert(1);
}

.language-switcher .dropdown-toggle .lang-name {
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

.language-switcher .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 160px;
    background-color: white;
    border: 1.5px solid #C9B384;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(201, 179, 132, 0.2);
    padding: 6px 0;
    margin: 0 !important;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-switcher .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.language-switcher .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    font-family: 'CoconNextArabic', sans-serif;
}

.language-switcher .dropdown-item:hover {
    background-color: #F5F1E8;
    color: var(--dark-teal);
}

.language-switcher .dropdown-item.active {
    background-color: #C9B384;
    color: white;
}

.language-switcher .dropdown-item.active:hover {
    background-color: #b89d6f;
    color: white;
}

.language-switcher .lang-flag {
    font-size: 18px;
    line-height: 1;
}

body[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 15px;
}

body[dir="rtl"] .language-switcher .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
}

body[dir="rtl"] .language-switcher .dropdown-menu {
    right: auto !important;
    left: 0 !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--dark-teal);
    overflow: visible;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

/* منحنى أسفل الهيرو */
.hero-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom:-100px;
    width: 100%;
    height: 240px;
    z-index: 5;
    overflow: hidden;
    display: block;
    pointer-events: none;
}

.hero-curve svg {
    width: 100%;
    height: 100%;
    display: block;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-teal);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.10;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-teal);
    opacity: 0.65;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 0;
    bottom: 0;
    /* background-image: url('images/Group\ 418.png'),url('images/Group\ 418.png'); */
    /* background-repeat: repeat-y, repeat-x; */
    background-size: 200px 200px; 
    background-position: 0 0;
    opacity: 0.25;
    z-index: 2;
}

/* صورة على اليمين */
/* Hero decorative images - for homepage hero section only */
.hero .hero-left-image {
    position: absolute;
    top: 0;
    left: 100px;
    bottom: 0;
    width: 300px;
    background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(2).svg');
    background-repeat: repeat-y;
    background-size: 200px auto;
    background-position: left center;
    opacity: 0.5;
    z-index: 2;
}

/* صورة في الأسفل */
.hero .hero-bottom-image {
    position: absolute;
    bottom: 100px;
    left: 300px;
    right: 0;
    height: 200px;
    background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(1).svg');
    background-repeat: repeat-x;
    background-size: auto 200px;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 2;
}

/* RTL/LTR support for hero decorative images */
[dir="ltr"] .hero .hero-left-image {
    left: auto;
    right: 100px;
    background-position: right center;
}

[dir="ltr"] .hero .hero-bottom-image {
    left: 0;
    right: 300px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
    overflow: visible;
    width: 100%;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 4;
    transform: translateY(10px);
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    flex: 1;
    width: auto;
    overflow: visible;
    max-width: 100%;
}

.hero-img {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transform: scaleX(-1); 
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 10;
}

/* * Hero Text */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 4;
    align-items: flex-start;
    max-width: 700px;
    flex: 1;
}

/* RTL: align right */
body[dir="rtl"] .hero-text {
    direction: rtl;
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .hero-text {
    direction: ltr;
    text-align: left;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    margin: 0;
}

/* RTL: align right */
body[dir="rtl"] .hero-title {
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .hero-title {
    text-align: left;
}

.hero-description {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
}

/* RTL: align right */
body[dir="rtl"] .hero-description {
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .hero-description {
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.btn-hero-primary {
    background-color: #C9B384;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
}

.btn-hero-primary a {
    color: white;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background-color: white;
    color: #C9B384;
    border: 2px solid #C9B384;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 241, 232, 0.3);
}

.btn-hero-primary:hover a {
    color: #C9B384;
    text-decoration: none;
}

.btn-hero-outline {
    background-color: var(--white);
    color: var(--dark-teal);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid var(--text-white);
    border-radius: 6px;
}

.btn-hero-outline a {
    color: var(--dark-teal);
    text-decoration: none;
}

.btn-hero-outline:hover {
    background-color: #C9B384;
    border: none;
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-hero-outline:hover a {
    color: var(--text-white);
    text-decoration: none;
}


/* Desktop Large Screens (1440px and above) */
@media (min-width: 1440px) {
   
    .hero-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-content {
        gap: 3rem;
        align-items: center;
        max-width: 100%;
        overflow: visible;
        width: 100%;
    }
    
    .hero-text {
        max-width: 700px;
        margin-right: 0;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 600px;
        max-height: 750px;
        object-fit: contain;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    
    .hero-curve {
        height: 240px;
    }
    
    .hero-curve svg {
        height: 240px;
    }
}

/* Specific for 1440px screens */
@media (min-width: 1440px) and (max-width: 1600px) {
    .hero-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-content {
        gap: 3rem;
        align-items: center;
        max-width: 100%;
        overflow: visible;
        width: 100%;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 550px;
        max-height: 700px;
        object-fit: contain;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    
    .hero-curve {
        bottom: -62px;
        height: 200px;
    }
    
    .hero-curve svg {
        height: 200px;
    }
}

/* Screen 1400px */
@media (min-width: 1400px) and (max-width: 1439px) {
    .services-section,
    .why-choose-section,
    .projects-section,
    .blog-section,
    .clients-section {
        padding: 6rem 0;
    }
    
    .services-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .clients-container,
    .hero-container {
        max-width: 1350px;
        padding: 0 3.5rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .services-center-wrapper {
        grid-column: 2 / 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        max-width: 100%;
    }
    
    .service-diamond-frame {
        width: 270px;
        height: 270px;
    }
    
    .service-image-wrapper {
        margin-top: 90px;
    }
    
    .service-card-content {
        margin-top: 130px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.75rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.25rem;
    }
}

/* Screen 1440px */
@media (min-width: 1440px) and (max-width: 1440px) {
    .services-section,
    .why-choose-section,
    .projects-section,
    .blog-section,
    .clients-section {
        padding: 6rem 0;
    }
    
    .services-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .clients-container,
    .hero-container {
        max-width: 1400px;
        padding: 0 4rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }

    .services-center-wrapper {
        grid-column: 2 / 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 4.5rem;
        max-width: 100%;
    }
    
    .service-diamond-frame {
        width: 280px;
        height: 280px;
    }
    
    .service-image-wrapper {
        margin-top: 100px;
    }
    
    .service-card-content {
        margin-top: 150px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }
}

/* Services Section - Large Screens */
@media (min-width: 1440px) {
    .hero-container,
    .services-container,
    .about-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .products-container,
    .footer-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .service-diamond-frame {
        width: 300px;
        height: 300px;
    }
    
    .service-image-wrapper {
        margin-top: 120px;
    }
    
    .service-card-content {
        margin-top: 180px;
    }
    
    .service-card-title {
        font-size: 1.75rem;
    }
    
    .service-card-description {
        font-size: 1.4rem;
    }
    
    .services-title {
        font-size: 2.5rem;
        margin-left: 200px;
    }
    
    .services-subtitle {
        font-size: 1.4rem;
        text-align: center !important;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-mark{
        margin-top: 10px;
    }
}

/* Screens between 1200px and 1440px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-text {
        max-width: 600px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 500px;
        max-height: 650px;
        object-fit: contain;
    }
    
    .hero-curve {
        height: 180px;
    }
    
    .hero-curve svg {
        height: 180px;
    }
}

/* Large Tablets (1024px - 1200px) */
@media (max-width: 1200px) {
    .hero {
        min-height: 90vh;
        padding: 3rem 0;
    }
    
    .hero-container {
        max-width: 1000px;
        padding: 0 2rem;
    }
    
    .hero-content {
        gap: 2rem;
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image {
        width: 100% !important;
        max-width: 100%;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 450px;
        max-height: 600px;
        object-fit: contain;
    }
    
    .hero-text {
        max-width: 100%;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .hero-buttons {
        gap: 1.2rem;
        justify-content: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .hero-background::before {
        background-size: 200px 200px;
        opacity: 0.22;
    }
    
    .hero-curve {
        height: 150px;
    }
    
    .hero-curve svg {
        height: 150px;
    }
}

/* Tablets (768px - 1024px) - Comprehensive Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-container {
        padding: 0 2rem;
    }
    
    .hero-content {
        gap: 2rem;
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        order: 1;
        text-align: center;
        align-items: center;
        gap: 1.25rem;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .hero-img {
        width: 100%;
        max-width: 600px;
        height: auto;
        min-height: 350px;
        max-height: 450px;
        object-fit: contain;
    }
    
    .hero-title {
        font-size: 2.25rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Services Section */
    .services-section {
        padding: 4.5rem 0;
    }
    
    .services-container {
        padding: 0 2rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .service-diamond-frame {
        width: 220px;
        height: 220px;
    }
    
    .service-image-wrapper {
        margin-top: 70px;
    }
    
    .service-card-content {
        margin-top: 110px;
    }
    
    .service-card-title {
        font-size: 1.15rem;
    }
    
    .service-card-description {
        font-size: 0.95rem;
    }
    
    /* Why Choose Section */
    .why-choose-section {
        padding: 4.5rem 0;
    }
    
    .why-choose-container {
        padding: 0 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 4.5rem 0;
    }
    
    .projects-container {
        padding: 0 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Blog Section */
    .blog-section {
        padding: 4.5rem 0;
    }
    
    .blog-container {
        padding: 0 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Clients Section */
    .clients-section {
        padding: 4.5rem 0;
    }
    
    .clients-container {
        padding: 0 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Footer */
    .footer-container {
        padding: 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-column {
        margin-bottom: 2rem;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
   
    .hero {
        min-height: auto;
        padding: 2.5rem 0;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 2.5rem;
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        order: 1;
        flex: 1 1 100%;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-image {
        order: 2;
        flex: 1 1 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        transform: translateY(0);
        width: 100% !important;
        max-width: 100%;
        margin: 1rem 0;
        visibility: visible !important;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 400px;
        max-height: 550px;
        object-fit: contain;
    }

    .hero .hero-left-image,
    .hero .hero-bottom-image {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.85rem 1.6rem;
        font-size: 0.95rem;
    }
    
    .hero-background::before {
        background-size: 180px auto;
    }
    
    .hero-curve {
        height: 120px;
    }
    
    .hero-curve svg {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        gap: 2.5rem;
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
        max-width: 100%;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-image {
        order: 2;
        width: 100% !important;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        transform: translateY(0);
        margin: 1rem 0;
        padding: 0 1rem;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 300px;
    }
    
    .hero-img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 400px !important;
        min-height: 300px;
        height: auto;
        object-fit: contain;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 350px;
        margin-top: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-background::before {
        background-size: 150px 150px;
        opacity: 0.20;
    }
    
    .hero .hero-left-image,
    .hero .hero-bottom-image {
        display: none;
    }
    
    .hero-curve {
        height: 100px;
    }
    
    .hero-curve svg {
        height: 100px;
    }
}

/* Mobile (480px - 640px) */
@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 2.5rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        gap: 2rem;
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
        gap: 1.2rem;
        align-items: center;
        text-align: center;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .hero-image {
        order: 2;
        width: 100% !important;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        transform: translateY(0);
        margin: 1rem 0 0;
        padding: 0 1rem;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 250px;
    }
    
    .hero-img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 350px !important;
        min-height: 250px;
        height: auto;
        object-fit: contain;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.9rem;
        width: 100%;
        max-width: 320px;
        margin-top: 0.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        padding: 0.9rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .hero-background::before {
        background-size: 120px 120px;
        opacity: 0.18;
    }
    
    .hero .hero-left-image,
    .hero .hero-bottom-image {
        display: none;
    }
    
    .hero-curve {
        height: 80px;
    }
    
    .hero-curve svg {
        height: 80px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 430px) {
    
   

    .logo-icon{
        left: -150px !important;
    }
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        gap: 1.5rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .hero-text {
        order: 1;
        gap: 1rem;
        align-items: center;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-image {
        order: 2;
        width: 100% !important;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        transform: translateY(0);
        margin: 1rem 0 0;
        padding: 0 1rem;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 200px;
    }

    .hero-img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 300px !important;
        min-height: 200px;
        height: auto;
        object-fit: contain;
    }
    
    .hero .hero-left-image,
    .hero .hero-bottom-image {
        display: none;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.25;
        text-align: center;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
        margin-top: 0.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        padding: 0.85rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-background::before {
        background-size: 100px 100px;
        opacity: 0.15;
    }
    
    .hero-curve {
        height: 120px;
        bottom: -50px;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .hero-curve svg {
        width: 100%;
        height: 120px;
        display: block;
        /* bottom: -50px; */

    }
}

/* Responsive Header - Large Tablets */
@media (max-width: 1200px) {
    .header-container {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}

/* Responsive Header - Tablets */
/* iPad 1024px */
@media (min-width: 1024px) and (max-width: 1024px) {
    .header-container {
        max-width: 1000px;
        padding: 0 2.5rem;
        gap: 1.2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}

/* iPad 1366px */
@media (min-width: 1366px) and (max-width: 1366px) {
    .header-container {
        max-width: 1200px;
        padding: 0 3rem;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.8rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

/* Screen 1400px */
@media (min-width: 1400px) and (max-width: 1439px) {
    .header-container {
        max-width: 1350px;
        padding: 0 3.5rem;
        gap: 1.8rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
}

/* Screen 1440px */
@media (min-width: 1440px) and (max-width: 1440px) {
    .header-container {
        max-width: 1400px;
        padding: 0 4rem;
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .logo-title-ar {
        font-size: 1.7rem;
    }
    
    .logo-en-main {
        font-size: 0.85rem;
    }
}

/* Responsive Header - Small Tablets and Mobile */
@media (max-width: 968px) {
    .header {
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        padding: 0 1.5rem;
    }
    
    .logo-section {
        order: 0;
        flex: 1;
        min-width: 0;
    }
    
    .logo-icon {
        width: 150px;
        height: 35px;
        margin-left: 170px;
        margin-top: 10px;
    }
    
    .logo-title-ar {
        font-size: 1.6rem;
    }
    
    .logo-en-main {
        font-size: 0.8rem;
    }
    
    .logo-en-sub {
        font-size: 0.55rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        width: 100%;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        order: 3;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 1.2rem 1rem;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.2rem;
        display: block;
        text-align: right;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--beige-light);
        padding-right: 1.5rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-separator {
        display: none;
    }
    
    .header-actions {
        order: 1;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .accessibility-icon {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
 
    .header {
        padding: 0.9rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo-section {
        gap: 0.75rem;
    }
    
    .logo-icon {
        width: 120px;
        height: 30px;
        left: -100px !important;
    }
    
    .logo-title-ar {
        font-size: 1.4rem;
    }
    
    .logo-en-main {
        font-size: 0.75rem;
    }
    
    .logo-en-sub {
        font-size: 0.5rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.4rem;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    /* Hero styles moved to dedicated responsive section above */
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .btn-about-primary,
    .btn-about-outline {
        width: 100%;
    }
    
    .services-title,
    .why-choose-title,
    .projects-title,
    .blog-title,
    .clients-title {
        font-size: 2rem;
    }
    
    .service-diamond-frame {
        width: 220px;
        height: 220px;
    }
    
    .why-choose-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0.8rem 0;
    }
    
    .header-container {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 100px;
        height: 25px;
    }
    
    .logo-title-ar {
        font-size: 1.2rem;
    }
    
    .logo-en-main {
        font-size: 0.65rem;
    }
    
    .logo-en-sub {
        font-size: 0.45rem;
    }
    
    .header-actions {
        gap: 0.4rem;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.3rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.7rem 0;
    }
    
    .header-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 90px;
        height: 22px;
    }
    
    .logo-title-ar {
        font-size: 1.1rem;
    }
    
    .logo-en-main {
        font-size: 0.6rem;
    }
    
    .logo-en-sub {
        font-size: 0.4rem;
    }
    
    .header-actions {
        gap: 0.3rem;
        flex-direction: row;
    }
    
    .btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
        min-width: auto;
    }
    
    .btn-outline {
        display: none; /* إخفاء زر تسجيل الدخول في الشاشات الصغيرة جداً */
    }
    
    .mobile-menu-toggle {
        padding: 0.25rem;
    }
    
    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }
    
    .nav-menu {
        padding: 4rem 1.5rem 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0.75rem;
    }
    
    /* Hero styles moved to dedicated responsive section above */
    
    .services-title,
    .why-choose-title,
    .projects-title,
    .blog-title,
    .clients-title {
        font-size: 1.75rem;
    }
    
    .services-subtitle,
    .why-choose-subtitle,
    .projects-subtitle,
    .blog-subtitle,
    .clients-subtitle {
        font-size: 1rem;
    }
    
    .service-diamond-frame {
        width: 180px;
        height: 180px;
    }
    
    .why-choose-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .why-choose-item-title {
        font-size: 1.1rem;
    }
    
    .why-choose-item-description {
        font-size: 0.9rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Services Section */
.services-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.services-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.services-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.services-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    margin-top: 20px;
}

.services-subtitle {
    font-size: 20px;
    color: var(--text-grey);
    margin: 0;
    text-align: center !important;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.services-grid,
.services-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.services-center-wrapper {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem;
    justify-items: center;
    width: 100%;
    max-width: 100%;
}

.service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 280px;
    max-width: 100%;
}

.service-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    
}

.service-diamond-frame {
    width: 280px;
    height: 280px;
    transform: rotate(45deg);
    border-radius: 30px;
    overflow: hidden;
    /* border: 3px solid var(--gold); */
    position: relative;
    z-index: 2;
}

.service-image {
    width: 140%;
    height: 140%;
    object-fit: cover;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -70%;
    margin-left: -70%;
    z-index: 2;
}
.service-image-wrapper {
    position: relative;
}

.Vector-7 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}
.Vector-8 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}
.service-card-content {
    margin-top: 150px;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card-description {
    font-size: 18px;
    font-weight: 400px;
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-link {
    color: #C9B384;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #c19d2a;
    border-color: #c19d2a;
}

.services-more-btn {
    text-align: center;
    margin-top: 3rem;
}

.btn-services-more {
    background:none !important;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-services-more a {
    text-decoration: none;
    background-color: #C9B384;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-services-more a:hover {
    background:none;
    color: #C9B384;
    border: 1px solid #C9B384;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: #D2C09B;
    background-image: url('/anaqeed_website_custom/static/img/Services\ \(3\).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    /* opacity: 0.14; */
    z-index: 1;

}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D2C09B;
    /* opacity: 0.5; */
    z-index: 1;
}

/* .why-choose-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/Vector.png');
    background-repeat: repeat;
    background-size: 200px auto;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
} */

.why-choose-decoration-left,
.why-choose-decoration-right {
    position: absolute;
    width: 200px;
    height: 100%;
    opacity: 0.8;
    z-index: 2;
    pointer-events: none;
    top: -50px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.why-choose-decoration-left {
    left: 0;
}

.why-choose-decoration-left::before,
.why-choose-decoration-left::after {
    content: '';
    width: 600px;
    height: 673px;
    background-image: url('/anaqeed_website_custom/static/img/why-choose-decoration-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* transform: scaleY(1) rotate(1350deg); */
    flex-shrink: 0;
    /* opacity: 0.3; */
    margin-top: -271px;
}

.why-choose-decoration-right {
    right: 0;
}

.why-choose-decoration-right::before,
.why-choose-decoration-right::after {
    content: '';
    width: 600px;
    height: 673px;
    background-image: url('/anaqeed_website_custom/static/img/why-choose-decoration-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* transform: scaleY(1) rotate(1350deg); */
    flex-shrink: 0;
    /* opacity: 0.3; */
    margin-top: -271px;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-choose-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.why-choose-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(25%) saturate(500%) hue-rotate(5deg) brightness(1.2) contrast(0.9);
}

.why-choose-title {
    font-size: 24px;
    font-weight: 700;
    color:#1D4042 ;
    margin: 0;
    margin-top: 30px;
}

.why-choose-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #1D4042;
    margin: 0;
    opacity: 0.9;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5rem;
}

.why-choose-item {
    text-align: center;
}

.why-choose-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.why-choose-icon-circle {
    width: 200px;
    height: 200px;
    background-color: #1D4042;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1D4042;
}

.why-choose-icon-img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(25%) saturate(500%) hue-rotate(5deg) brightness(1.2) contrast(0.9);
}

.why-choose-item-title {
    font-size: 20px;
    font-weight: 400;
    color: #1D4042;
    margin-bottom: 0.75rem;
    text-align: center;
}

.why-choose-item-description {
    font-size: 18px;
    font-weight: 400;
    color: #1D4042;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center;
}



/* *Projects Section */
.projects-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.projects-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.projects-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    margin-top: 30px;
}

.projects-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-grey);
    margin: 0;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

/* .project-card:hover .project-image {
    filter: brightness(0.7);
} */

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 100px;
    background-color: #486466;
    padding: 2.5rem 1.5rem 1.5rem;
    opacity: 0.8;
    transition: background 0.3s ease, padding 0.3s ease;
}



.project-overlay-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 ;
    margin-top: -20px;
    text-align: center !important;
    align-items: center;
}

.projects-more-btn {
    text-align: center;
}

.btn-projects-more {
    background:none !important;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-projects-more a {
    text-decoration: none;
    background-color: #C9B384;
    color: var(--white);
    padding: 1rem 3rem;
    width: 100px;
    height: 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-projects-more a:hover {
    background-color: white;
    border: 1px solid #C9B384;
    color: #C9B384;
    transform: translateY(-2px);
    
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.blog-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    margin-top: 30px;
}

.blog-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-grey);
    margin: 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: transparent;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    background: none !important;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--text-grey);
}

.btn-blog-read {
    text-decoration: none;
    color: #C9B384;
    background: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* border: 1px solid #C9B384; */
    color: #C9B384;
}
.btn-blog-read a {
    text-decoration: none;
    color: #C9B384;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blog-read a:hover {
    color: var(--white);
}

.blog-more-btn {
    text-align: center;
}

.btn-blog-more  {
    text-decoration: none;
    background: none;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-blog-more a {
    text-decoration: none;
    background-color: #C9B384;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blog-more a:hover {
    background-color: white;
    border: 1px solid #C9B384;
    color: #C9B384;
    transform: translateY(-2px);
}

/* Clients Section */
.clients-section {
    background-color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.clients-pattern-top,
.clients-pattern-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('/anaqeed_website_custom/static/img/Client.svg');
    background-repeat: repeat-x;
    background-size: 1550px auto;
    background-position: center;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    
}

.clients-pattern-top {
    top: 0;
}

.clients-pattern-bottom {
    bottom: 0;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.clients-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.clients-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.clients-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin-top: 30px;
}

.clients-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-grey);
    margin: 0;
    text-align: center;
}

.clients-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 3rem;
    padding: 2rem 0;
    position: relative;
}





.clients-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--dark-teal);
}

/* * slider */



@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}



.logos-container {
    width: 100%;
    padding: 20px 0;
    margin: auto;
    margin-bottom: 3rem;
    position: relative;
}

/* Logos Grid - Static Display */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* RTL: margin on left */
body[dir="rtl"] .logos-grid {
    margin-left: 50px !important;
    margin-right: 0;
}

/* LTR: margin on right */
body[dir="ltr"] .logos-grid {
    margin-right: 50px !important;
    margin-left: 0;
}

/* Individual Logo Item */
.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 200px;
}

.logo-item img {
    margin-left: 0px !important;
    height: 100%;
    width: 100%;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Dots Indicators */
.logos-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.logos-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1D4042;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logos-dots .dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .logo-item {
        width: 180px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .logos-container {
        padding: 40px 0;
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .logo-item {
        width: 150px;
        height: 75px;
    }
}

@media (max-width: 640px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .logo-item {
        width: 140px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .logo-item {
        width: 120px;
        height: 60px;
    }
    
    .logos-dots {
        margin-top: 1.5rem;
    }
    
    .logos-dots .dot {
        width: 10px;
        height: 10px;
    }
}


  

/* Footer */
.footer {
    position: relative;
    background-color: var(--dark-teal);
    padding: 4rem 0 0;
    overflow: hidden;
}

/* Footer Decorative Elements */
.footer-decoration{
    position: absolute;
    top: -100px;
    bottom: 0;
    width: 400px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
}

/* Footer decoration positioning for LTR/RTL */
body[dir="ltr"] .footer-decoration {
    left: auto;
    right: 0;
}

body[dir="rtl"] .footer-decoration {
    right: auto;
    left: 0;
}

.footer-deco-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    opacity: 0.35;
    flex-shrink: 0;
}

.footer-deco-img.top-deco {
    align-self: flex-start;
}

.footer-deco-img.bottom-deco {
    align-self: flex-end;
}

.bottom-deco {
    margin-top: -100px;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/anaqeed_website_custom/static/img/Services\ \(6\).jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}


.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Footer content padding based on decoration position */
body[dir="ltr"] .footer-content {
    padding-right: 320px;
    padding-left: 0;
}

body[dir="rtl"] .footer-content {
    padding-left: 320px;
    padding-right: 0;
}

/* Footer Responsive - iPad 1024px */
@media (min-width: 1024px) and (max-width: 1024px) {
    .footer-container {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    .footer-content {
        padding-left: 0;
        padding-right: 0;
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

/* Footer Responsive - iPad 1366px */
@media (min-width: 1366px) and (max-width: 1366px) {
    .footer-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .footer-content {
        padding-left: 0;
        padding-right: 0;
        gap: 3rem;
    }
    
    body[dir="ltr"] .footer-content {
        padding-right: 200px;
        padding-left: 0;
    }
    
    body[dir="rtl"] .footer-content {
        padding-left: 200px;
        padding-right: 0;
    }
}

/* Footer Responsive - Screen 1400px */
@media (min-width: 1400px) and (max-width: 1439px) {
    .footer-container {
        max-width: 1350px;
        padding: 0 3.5rem;
    }
    
    .footer-content {
        padding-left: 0;
        padding-right: 0;
        gap: 3.5rem;
    }
    
    body[dir="ltr"] .footer-content {
        padding-right: 280px;
        padding-left: 0;
    }
    
    body[dir="rtl"] .footer-content {
        padding-left: 280px;
        padding-right: 0;
    }
}

/* Footer Responsive - Screen 1440px */
@media (min-width: 1440px) and (max-width: 1440px) {
    .footer-container {
        max-width: 1400px;
        padding: 0 4rem;
    }
    
    .footer-content {
        padding-left: 0;
        padding-right: 0;
        gap: 4rem;
    }
    
    body[dir="ltr"] .footer-content {
        padding-right: 320px;
        padding-left: 0;
    }
    
    body[dir="rtl"] .footer-content {
        padding-left: 320px;
        padding-right: 0;
    }
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-icon {
    width: 200px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-mark {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}



.footer-logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.footer-logo-subtitle {
    font-size: 0.75rem;
    color: var(--beige);
    margin: 0;
}

.footer-description {
    font-size: 1rem;
    color: var(--white) !important;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-column-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white) !important;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 1rem;
}

.footer-links-list a,
.footer-links-list a:link,
.footer-links-list a:visited {
    color: var(--white) !important;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links-list a:hover {
    opacity: 1;
    color: var(--gold) !important;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1rem;
    opacity: 0.9;
}

.footer-contact-list span {
    color: var(--white);
}

.footer-contact-list a,
.footer-contact-list a:link,
.footer-contact-list a:visited {
    color: var(--white) !important;
}

.footer-contact-list i {
    color: var(--white);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon-facebook {
    background-color: var(--white);
    color: #1D4042;
    filter: contrast(1.2);
}

.social-icon-facebook:hover {
    background-color: #1877F2;
    color: var(--white);
    filter: none;
}

/* Products Section */
.products-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.products-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    margin-top: 20px;
}

.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin: 0;
    text-align: center !important;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    /* background-color: var(--white); */
    border-radius: 3px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-favorite:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.product-favorite i {
    color: #999;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.product-favorite:hover i,
.product-favorite.active i {
    color: #e74c3c;
}

.product-card-content {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 1.5rem;
}

.btn-add-to-cart {
    background-color: #C9B384;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'CoconNextArabic', sans-serif;
}

.btn-add-to-cart:hover {
    background-color: #b89d6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 179, 132, 0.3);
}

.btn-add-to-cart i {
    font-size: 0.9rem;
}

.btn-product {
    background-color: var(--gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-product:hover {
    background-color: #c19d2a;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.footer-copyright {
    background-color: #C9B384;
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 0;
    left: 0;
    right: 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.footer-copyright.fade-in-up,
.footer-copyright.fade-in-up.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* إلغاء الأنيميشن على جميع عناصر الفوتر */
.footer-column,
.footer-column.fade-in-up,
.footer-column.fade-in-up.visible,
.footer-logo,
.footer-links,
.footer-contact,
.footer-social,
.footer-description,
.footer-logo-section,
.footer-links-list,
.footer-contact-list {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.footer-copyright p {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    width: 100%;
    padding: 0 3rem;
    text-align: center !important;
}

/* Responsive Design for New Sections */
/* iPad Pro 1024px */
@media (min-width: 1024px) and (max-width: 1024px) {
    .services-section,
    .why-choose-section,
    .projects-section,
    .blog-section,
    .clients-section {
        padding: 5rem 0;
    }
    
    .services-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .clients-container {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    /* About Section - نفس تصميم الهاتف */
    .about-section {
        padding: 40px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image-wrapper {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        order: 1;
        width: 100%;
    }
    
    /* إخفاء البترن في iPad Pro */
    .about-side-pattern {
        display: none;
    }
    
    .about-image {
        min-height: 350px;
        width: 100%;
        margin-top: 0;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
    }
    
    .about-main-img {
        width: 100% !important;
        height: auto;
        min-height: 350px;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        clip-path: polygon(
            0% 0%,
            calc(100% - 60px) 0%,
            100% 8%,
            100% calc(100% - 8%),
            calc(100% - 60px) 100%,
            0% 100%
        );
        margin-left: 22px;
    }
    
    .about-text-wrapper {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    /* Services Wrapper - Flexbox مع flex-wrap */
    .services-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5rem;
        justify-content: center;
        margin-bottom: 3rem;
    }
    
    .service-card {
        flex: 0 0 calc(33.333% - 1.67rem);
        min-width: 280px;
        max-width: 100%;
        margin-left: 57px;

    }
    
    /* Services Grid - للتوافق مع الكود القديم */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .services-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .service-diamond-frame {
        width: 240px;
        height: 240px;
    }
    
    .service-image-wrapper {
        margin-top: 75px;
    }
    
    .service-card-content {
        margin-top: 115px;
    }
    
    .hero-container {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* إظهار الانحناء على iPad Pro 1024px في جميع الصفحات */
    .hero-curve {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 140px;
        z-index: 5;
        overflow: hidden;
        display: block !important;
        pointer-events: none;
    }
    
    .hero-curve svg {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .page-header {
        position: relative;
        overflow: visible;
    }
    
    /* إظهار الصور الجانبية والسفلية في الهيرو على iPad Pro 1024px */
    .hero .hero-left-image {
        position: absolute;
        top: 0;
        left: 50px;
        bottom: 0;
        width: 250px;
        background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(2).svg');
        background-repeat: repeat-y;
        background-size: 180px auto;
        background-position: left center;
        opacity: 0.5;
        z-index: 2;
        display: block !important;
    }
    
    .hero .hero-bottom-image {
        position: absolute;
        bottom: 100px;
        left: 200px;
        right: 0;
        height: 180px;
        background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(1).svg');
        background-repeat: repeat-x;
        background-size: auto 180px;
        background-position: center bottom;
        opacity: 0.5;
        z-index: 2;
        display: block !important;
    }
    
    .page-header .hero-left-image,
    .page-header .hero-bottom-image {
        display: block !important;
    }
}

/* iPad Pro 1366px */
@media (min-width: 1366px) and (max-width: 1366px) {
    .services-section,
    .why-choose-section,
    .projects-section,
    .blog-section,
    .clients-section {
        padding: 5.5rem 0;
    }
    
    .services-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .clients-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    /* About Section - نفس تصميم الهاتف */
    .about-section {
        padding: 40px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image-wrapper {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        order: 1;
        width: 100%;
    }
    
    /* إخفاء البترن في iPad Pro */
    .about-side-pattern {
        display: none;
    }
    
    .about-image {
        min-height: 350px;
        width: 100%;
        margin-top: 0;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
    }
    
    .about-main-img {
        width: 100% !important;
        height: auto;
        min-height: 350px;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        clip-path: polygon(
            0% 0%,
            calc(100% - 60px) 0%,
            100% 8%,
            100% calc(100% - 8%),
            calc(100% - 60px) 100%,
            0% 100%
        );
        margin-left: 22px;
    }
    
    .about-text-wrapper {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    /* Services Wrapper - Flexbox مع flex-wrap */
    .services-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
        justify-content: center;
        margin-bottom: 3rem;
    }
    
    .service-card {
        flex: 0 0 calc(33.333% - 2rem);
        min-width: 300px;
        max-width: 100%;
    }
    
    /* Services Grid - للتوافق مع الكود القديم */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
    
    .services-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .service-diamond-frame {
        width: 260px;
        height: 260px;
    }
    
    .service-image-wrapper {
        margin-top: 85px;
    }
    
    .service-card-content {
        margin-top: 125px;
    }
    
    .hero-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.25rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.25rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
    
    /* إظهار الانحناء على iPad Pro 1366px في جميع الصفحات */
    .hero-curve {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -101px;
        width: 100%;
        height: 140px;
        z-index: 5;
        overflow: hidden;
        display: block !important;
        pointer-events: none;
    }
    
    .hero-curve svg {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .page-header {
        position: relative;
        overflow: visible;
    }
    
    /* إظهار الصور الجانبية والسفلية في الهيرو على iPad Pro 1366px */
    .hero .hero-left-image {
        position: absolute;
        top: 0;
        left: 80px;
        bottom: 0;
        width: 280px;
        background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(2).svg');
        background-repeat: repeat-y;
        background-size: 200px auto;
        background-position: left center;
        opacity: 0.5;
        z-index: 2;
        display: block !important;
    }
    
    .hero .hero-bottom-image {
        position: absolute;
        bottom: 100px;
        left: 280px;
        right: 0;
        height: 200px;
        background-image: url('/anaqeed_website_custom/static/img/Frame-hero%20(1).svg');
        background-repeat: repeat-x;
        background-size: auto 200px;
        background-position: center bottom;
        opacity: 0.5;
        z-index: 2;
        display: block !important;
    }
    
    .page-header .hero-left-image,
    .page-header .hero-bottom-image {
        display: block !important;
    }
}

/* Large Tablets (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {
    .services-section,
    .why-choose-section,
    .projects-section,
    .blog-section,
    .clients-section {
        padding: 5rem 0;
    }
    
    .services-container,
    .why-choose-container,
    .projects-container,
    .blog-container,
    .clients-container {
        padding: 0 2.5rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .service-diamond-frame {
        width: 250px;
        height: 250px;
    }
    
    .service-image-wrapper {
        margin-top: 80px;
    }
    
    .service-card-content {
        margin-top: 120px;
    }
}

/* Tablet and Medium Screens (968px - 1200px) */
@media (max-width: 1200px) {
    .services-section {
        padding: 5rem 0;
    }
    
    .services-container {
        padding: 0 2.5rem;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
        justify-content: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .service-diamond-frame {
        width: 250px;
        height: 250px;
    }
    
    .service-image-wrapper {
        margin-top: 80px;
    }
    
    .service-card-content {
        margin-top: 140px;
    }
    
    .service-card-title {
        font-size: 20px;
    }
    
    .service-card-description {
        font-size: 1.2rem;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr;
        padding-left: 320px;
        gap: 3rem;
    }
    
    .footer-decoration {
        width: 280px;
    }
    
    .footer-container {
        padding: 0 3rem;
    }
    
    .footer-deco-img {
        max-width: 250px;
    }
    
    .footer-logo-icon {
        width: 180px;
        height: 70px;
    }
    
    .footer-column-title {
        font-size: 1.2rem;
    }
    
    /* Sections Padding for Medium Screens */
    .services-section,
    .why-choose-section,
    .projects-section,
    .products-section {
        padding: 5rem 0;
    }
    
    .services-container,
    .projects-container,
    .products-container {
        padding: 0 3rem;
    }
}

/* Small Tablets (768px - 968px) */
@media (max-width: 968px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .services-container {
        padding: 0 3rem;
    }
    
    .services-header {
        margin-bottom: 3rem;
    }
    
    .services-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5rem;
        justify-content: center;
        margin-bottom: 3rem;
    }
    
    .service-card {
        flex: 0 0 100%;
        min-width: 280px;
        max-width: 600px;
    }
    
    .services-grid,
    .services-extra {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
        margin: 0 auto 3rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .service-diamond-frame {
        width: 240px;
        height: 240px;
    }
    
    .service-image-wrapper {
        margin-top: 60px;
    }
    
    .service-card-content {
        margin-top: 120px;
        max-width: 500px;
    }
    
    .service-card-title {
        font-size: 1.5rem;
    }
    
    .service-card-description {
        font-size: 1.1rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-left: 0;
    }
    
    .footer-decoration {
        display: none;
    }
    
    .footer-container {
        padding: 0 3rem;
    }
    
    .footer-copyright p {
        padding: 0 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 820px) {
.hero-img {
    margin-top: -100px !important;
    width: 300px !important;
}

    .logo-icon {
        margin-left: 250px !important;
    }

    .hero-curve {
        bottom: -11px;
        height: 150px;
    }
    
    .hero-curve svg {
        height: 150px;
    }
    
    .about-image-wrapper {
        margin-left: 0;
    }
    
    .about-main-img {
        margin-left: 0;
        border-radius: 5px !important;
        border-top-right-radius: 5px !important;
        border-bottom-right-radius: 5px !important;
        border-top-left-radius: 5px !important;
        border-bottom-left-radius: 5px !important;
        clip-path: none !important;
    }

    .about-buttons {
        margin-left: 0 !important;
        justify-content: center;
    }
    
    .hero-img {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3.5rem 0;
    }
    
    .services-container {
        padding: 0 1.5rem;
    }
    
    .services-header {
        margin-bottom: 2.5rem;
    }
    
    .services-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        margin-bottom: 2.5rem;
    }
    
    .service-card {
        flex: 0 0 100%;
        min-width: 280px;
        max-width: 100%;
    }
    
    .services-grid,
    .services-extra {
        gap: 2.5rem;
        max-width: 100%;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 100%;
    }
    
    .services-title,
    .why-choose-title,
    .projects-title,
    .blog-title,
    .clients-title {
        font-size: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .service-diamond-frame {
        width: 200px;
        height: 200px;
    }
    
    .service-image-wrapper {
        margin-top: 50px;
    }
    
    .service-card-content {
        margin-top: 100px;
    }
    
    .service-card-title {
        font-size: 1.3rem;
    }
    
    .service-card-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .services-subtitle {
        font-size: 0.95rem;
    }
    
    .Vector-7,
    .Vector-8 {
        width: 100%;
        height: 70%;
        margin-top: 0px;
    }
    
    .why-choose-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-logo-icon {
        width: 150px;
        height: 60px;
    }
    
    .footer-column-title {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .footer-links-list a,
    .footer-contact-list li {
        font-size: 0.95rem;
    }
    
    .footer-copyright p {
        padding: 0 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Services Section Responsive */
    .services-section {
        padding: 4rem 0;
    }
    
    .services-container {
        padding: 0 1.5rem;
    }
    
    /* Why Choose Us Section Responsive */
    .why-choose-section {
        padding: 4rem 0;
    }
    
    /* Projects Section Responsive */
    .projects-section {
        padding: 4rem 0;
    }
    
    .projects-container {
        padding: 0 1.5rem;
    }
    
    /* Products Section Responsive */
    .products-section {
        padding: 4rem 0;
    }
    
    .products-container {
        padding: 0 1.5rem;
    }
}

/* About Us Section */
.about-section {
    background-color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* About Page Content - General styles for About page */
.about-section .about-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
    align-items: center;
    direction: ltr; /* Keep LTR direction like static HTML */
    width: 100%;
    min-width: 0;
}

/* RTL: Keep same layout (image left, text right) - grid direction stays ltr */
body[dir="rtl"] .about-section .about-content {
    direction: ltr; /* Keep LTR for grid, like static HTML */
}

body[dir="rtl"] .about-section .about-image-wrapper {
    grid-column: 1; /* Image on left (column 1) */
}

body[dir="rtl"] .about-section .about-text-wrapper {
    grid-column: 2; /* Text on right (column 2) */
}

/* Left Side - Image */
.about-section .about-image-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    direction: ltr;
    height: 100%;
    overflow: visible;
    margin-left: -200px;
    width: auto !important;
    min-height: auto !important;
    align-self: stretch !important;
}

/* RTL: margin on left (like static HTML), direction ltr for image wrapper */
body[dir="rtl"] .about-section .about-image-wrapper {
    direction: ltr; /* Keep LTR like static HTML */
    margin-left: -200px;
    margin-right: 0;
}

.about-section .about-image {
    position: relative;
    flex: 1;
    overflow: visible;
    min-height: 550px;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 150px;
    margin-top: 60px;
}

/* RTL: border-radius on right side (facing text), order after pattern (like static HTML) */
body[dir="rtl"] .about-section .about-image {
    order: 2; /* Image after pattern, like static HTML */
}

/* LTR: border-radius on right side, order after pattern */
body[dir="ltr"] .about-section .about-image {
    order: 2;
}

.about-section .about-main-img {
    width: 650px;
    height: 515px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    clip-path: polygon(
        0 0,
        calc(120% - 240px) 0,
        100% 20%,
        100% calc(100% - 20%),
        calc(112% - 192px) 100%,
        0 100%
    );
}

/* Right Side - Text */
.about-section .about-text-wrapper {
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* About Section Side Pattern - Specific for About page sections */
.about-section .about-side-pattern {
    width: 105px !important;
    height: 515px;
    background-color: #393D46;
    background-image: url("/anaqeed_website_custom/static/img/Group%20418%20(1).png");
    background-repeat: repeat-y;
    background-size: 100px auto;
    background-position: center 0;
    background-blend-mode: overlay;
    opacity: 0.85;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 60px;
}

/* RTL: pattern on left side of image (order 1, like static HTML) */
body[dir="rtl"] .about-section .about-side-pattern {
    order: 1; /* Pattern on left side, like static HTML */
}

/* LTR: pattern on left side of image */
body[dir="ltr"] .about-section .about-side-pattern {
    order: 1;
}

.about-section .about-side-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 10px,
            rgba(57, 61, 70, 0.5) 60px,
            rgba(57, 61, 70, 0.5) 120px
        );
    pointer-events: none;
    z-index: 1;
}

/* Homepage About Section - Specific styles for homepage only */
.homepage-about-section .homepage-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
    column-gap: 4rem;
    align-items: center;
    direction: ltr; /* Keep LTR direction like static HTML */
}

/* RTL: Keep same layout (image left, text right) - grid direction stays ltr */
body[dir="rtl"] .homepage-about-section .homepage-about-content {
    direction: ltr; /* Keep LTR for grid, like static HTML */
}

body[dir="rtl"] .homepage-about-section .homepage-about-image-wrapper {
    grid-column: 1; /* Image on left (column 1) */
}

body[dir="rtl"] .homepage-about-section .homepage-about-text-wrapper {
    grid-column: 2; /* Text on right (column 2) */
}

/* LTR: Image on left (first column), text on right (second column) */
body[dir="ltr"] .homepage-about-section .homepage-about-content {
    direction: ltr;
}

body[dir="ltr"] .homepage-about-section .homepage-about-image-wrapper {
    grid-column: 1;
}

body[dir="ltr"] .homepage-about-section .homepage-about-text-wrapper {
    grid-column: 2;
}

/* Homepage Image wrapper - Specific for homepage */
.homepage-about-section .homepage-about-image-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    overflow: visible;
}

/* RTL: margin on left (like static HTML), direction ltr for image wrapper */
body[dir="rtl"] .homepage-about-section .homepage-about-image-wrapper {
    direction: ltr; /* Keep LTR like static HTML */
    margin-left: -200px;
    margin-right: 0;
}

/* LTR: margin on left, border-radius on right */
body[dir="ltr"] .homepage-about-section .homepage-about-image-wrapper {
    direction: ltr;
    margin-left: -200px;
    margin-right: 0;
}

/* Homepage About Side Pattern - Specific for homepage */
.homepage-about-section .homepage-about-side-pattern {
    width: 105px;
    height: 515px;
    background-color:#393D46;
    background-image: url("/anaqeed_website_custom/static/img/Group%20418%20(1).png");
    background-repeat: repeat-y;
    background-size: 100px auto;
    background-position: center 0;
    background-blend-mode: overlay;
    opacity: 0.85;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 60px;
}

/* RTL: pattern on left side of image (order 1, like static HTML) */
body[dir="rtl"] .homepage-about-section .homepage-about-side-pattern {
    order: 1; /* Pattern on left side, like static HTML */
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 200px),
        100% 100%,
        0 100%
    );
}

/* LTR: pattern on left side of image */
body[dir="ltr"] .homepage-about-section .homepage-about-side-pattern {
    order: 1;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 200px),
        100% 100%,
        0 100%
    );
}

.homepage-about-section .homepage-about-side-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 10px,
            rgba(57, 61, 70, 0.5) 60px,
            rgba(57, 61, 70, 0.5) 120px
        );
    pointer-events: none;
    z-index: 1;
}

.about-side-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 10px,
            rgba(57, 61, 70, 0.5) 60px,
            rgba(57, 61, 70, 0.5) 120px
        );
    pointer-events: none;
    z-index: 1;
}



/* Homepage About Image - Specific for homepage */
.homepage-about-section .homepage-about-image {
    position: relative;
    flex: 1;
    overflow: visible;
    min-height: 550px;
    margin-top: 60px;
}

/* RTL: border-radius on right side (facing text), order after pattern (like static HTML) */
body[dir="rtl"] .homepage-about-section .homepage-about-image {
    order: 2; /* Image after pattern, like static HTML */
    border-top-right-radius: 200px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* LTR: border-radius on right side, order after pattern */
body[dir="ltr"] .homepage-about-section .homepage-about-image {
    order: 2;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* .about-image::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    border-radius: 0 0 120% 0;
    z-index: 1;
    clip-path: ellipse(100% 104px at 160% 0%);
} */

/* Homepage About Main Image - Specific for homepage */
.homepage-about-section .homepage-about-main-img {
    width: 650px;
    height: 75%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

/* RTL: border-radius and clip-path for right side (facing text) - matching static HTML */
body[dir="rtl"] .homepage-about-section .homepage-about-main-img {
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    clip-path: polygon(
        0 0,
        calc(120% - 240px) 0,
        100% 20%,
        100% calc(100% - 20%),
        calc(112% - 192px) 100%,
        0 100%
    );
}

/* LTR: border-radius and clip-path for right side */
body[dir="ltr"] .homepage-about-section .homepage-about-main-img {
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    clip-path: polygon(
        0 0,
        calc(120% - 240px) 0,
        100% 20%,
        100% calc(100% - 20%),
        calc(112% - 192px) 100%,
        0 100%
    );
}

/* About Page Section - Use homepage styles */
.about-page-section .about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    direction: ltr; /* Keep LTR direction like static HTML */
}

/* RTL: Keep same layout (image left, text right) - grid direction stays ltr */
body[dir="rtl"] .about-page-section .about-page-content {
    direction: ltr; /* Keep LTR for grid, like static HTML */
}

body[dir="rtl"] .about-page-section .about-page-image-wrapper {
    grid-column: 1; /* Image on left (column 1) */
}

body[dir="rtl"] .about-page-section .about-page-text-wrapper {
    grid-column: 2; /* Text on right (column 2) */
}

/* LTR: Image on left (first column), text on right (second column) */
body[dir="ltr"] .about-page-section .about-page-content {
    direction: ltr;
}

body[dir="ltr"] .about-page-section .about-page-image-wrapper {
    grid-column: 1;
}

body[dir="ltr"] .about-page-section .about-page-text-wrapper {
    grid-column: 2;
}

/* About Page Image wrapper */
.about-page-section .about-page-image-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    overflow: visible;
}

/* RTL: margin on left (like static HTML), direction ltr for image wrapper */
body[dir="rtl"] .about-page-section .about-page-image-wrapper {
    direction: ltr; /* Keep LTR like static HTML */
    margin-left: -200px;
    margin-right: 0;
}

/* LTR: margin on left, border-radius on right */
body[dir="ltr"] .about-page-section .about-page-image-wrapper {
    direction: ltr;
    margin-left: -200px;
    margin-right: 0;
}

/* About Page Side Pattern */
.about-page-section .about-page-side-pattern {
    width: 105px;
    height: 515px;
    background-color: #393D46;
    background-image: url("/anaqeed_website_custom/static/img/Group%20418%20(1).png");
    background-repeat: repeat-y;
    background-size: 100px auto;
    background-position: center 0;
    background-blend-mode: overlay;
    opacity: 0.85;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 60px;
}

/* RTL: pattern on left side of image (order 1, like static HTML) */
body[dir="rtl"] .about-page-section .about-page-side-pattern {
    order: 1; /* Pattern on left side, like static HTML */
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 200px),
        100% 100%,
        0 100%
    );
}

/* LTR: pattern on left side of image */
body[dir="ltr"] .about-page-section .about-page-side-pattern {
    order: 1;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 200px),
        100% 100%,
        0 100%
    );
}

.about-page-section .about-page-side-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 10px,
            rgba(57, 61, 70, 0.5) 60px,
            rgba(57, 61, 70, 0.5) 120px
        );
    pointer-events: none;
    z-index: 1;
}

/* About Page Image */
.about-page-section .about-page-image {
    position: relative;
    flex: 1;
    overflow: visible;
    min-height: 550px;
    margin-top: 60px;
}

/* RTL: border-radius on right side (facing text), order after pattern (like static HTML) */
body[dir="rtl"] .about-page-section .about-page-image {
    order: 2; /* Image after pattern, like static HTML */
    border-top-right-radius: 200px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* LTR: border-radius on right side, order after pattern */
body[dir="ltr"] .about-page-section .about-page-image {
    order: 2;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* About Page Main Image */
.about-page-section .about-page-main-img {
    width: 650px;
    height: 493px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

/* RTL: border-radius and clip-path for right side (facing text) - matching static HTML */
body[dir="rtl"] .about-page-section .about-page-main-img {
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    clip-path: polygon(
        0 0,
        calc(120% - 240px) 0,
        100% 20%,
        100% calc(100% - 20%),
        calc(112% - 192px) 100%,
        0 100%
    );
}

/* LTR: border-radius and clip-path for right side */
body[dir="ltr"] .about-page-section .about-page-main-img {
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    clip-path: polygon(
        0 0,
        calc(120% - 240px) 0,
        100% 20%,
        100% calc(100% - 20%),
        calc(112% - 192px) 100%,
        0 100%
    );
}

/* About Page Text Wrapper */
.about-page-section .about-page-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* RTL: direction right, padding on left to avoid overlap */
body[dir="rtl"] .about-page-section .about-page-text-wrapper {
    direction: rtl;
    padding-left: 2rem;
    padding-right: 0;
    text-align: right;
}

/* LTR: direction left, padding on right to avoid overlap */
body[dir="ltr"] .about-page-section .about-page-text-wrapper {
    direction: ltr;
    padding-left: 0;
    padding-right: 2rem;
    text-align: left;
}

.about-decoration-gold,
.about-decoration-light {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.6;
    z-index: 2;
}

.about-decoration-gold {
    top: 15px;
    right: 15px;
}

.about-decoration-light {
    bottom: 15px;
    left: 15px;
}

.about-decoration-gold img,
.about-decoration-light img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Homepage About Text Wrapper - Specific for homepage */
.homepage-about-section .homepage-about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* RTL: direction right, padding on left to avoid overlap */
body[dir="rtl"] .homepage-about-section .homepage-about-text-wrapper {
    direction: rtl;
    padding-right: 0;
    text-align: right;
}

/* LTR: direction left, padding on right to avoid overlap */
body[dir="ltr"] .homepage-about-section .homepage-about-text-wrapper {
    direction: ltr;
    padding-left: 0;
    padding-right: 2rem;
    text-align: left;
}

.about-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
}

/* RTL: align right */
body[dir="rtl"] .about-title-section {
    justify-content: flex-start;
    direction: rtl;
}

/* LTR: align left */
body[dir="ltr"] .about-title-section {
    justify-content: flex-start;
    direction: ltr;
}

.about-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    font-family: 'CoconNextArabic', sans-serif;
    align-items: center;
    margin-top: 20px;
}

/* RTL: align right */
body[dir="rtl"] .about-title {
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .about-title {
    text-align: left;
}

/* RTL: align right */
body[dir="rtl"] .about-title {
    text-align: right;
}

/* LTR: align left */
body[dir="ltr"] .about-title {
    text-align: left;
}

.about-title-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.about-logo-primary,
.about-logo-secondary {
    position: absolute;
    width: 70%;
    height: 70%;
    object-fit: contain;
    
}

.about-logo-primary {
    z-index: 2;
    opacity: 1;
    margin-top: 45px;

}


.about-logo-secondary {
    z-index: 1;
    transform: translateY(3px) translateX(-1px);
    opacity: 0.85;
}

.about-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-grey);
    margin: 0;
}

/* RTL: direction right */
body[dir="rtl"] .about-description {
    direction: rtl;
    text-align: right;
}

/* LTR: direction left */
body[dir="ltr"] .about-description {
    direction: ltr;
    text-align: left;
}

.about-page-description {
    text-align-last: auto !important;
}

/* RTL: direction right */
body[dir="rtl"] .about-page-description {
    direction: rtl !important;
    text-align: right !important;
    text-align-last: right !important;
}

/* LTR: direction left */
body[dir="ltr"] .about-page-description {
    direction: ltr !important;
    text-align: left !important;
    text-align-last: left !important;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-features-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* RTL: icon on right, text on left */
body[dir="rtl"] .about-feature-item {
    flex-direction: row;
    direction: rtl;
}

/* LTR: icon on left, text on right */
body[dir="ltr"] .about-feature-item {
    flex-direction: row;
    direction: ltr;
}

.feature-icon {
    width: 28px;
    height: 28px;
    /* background-color: #486466; */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.6;
}

/* RTL: text align right */
body[dir="rtl"] .feature-text {
    text-align: right;
}

/* LTR: text align left */
body[dir="ltr"] .feature-text {
    text-align: left;
}

.about-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-direction: row-reverse;
}


.btn-about-primary {
    text-decoration: none;
    background-color: #C9B384;
    color: white;
    /* padding: 1rem 2.5rem; */
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CoconNextArabic', sans-serif;
}

.btn-about-primary:hover {
    background-color: var(--white);
    color: #C9B384;
    border: 2px solid #C9B384;
}

.btn-about-primary a {
    text-decoration: none;
    /* background-color: #C9B384; */
    color: white;
    text-align: center;
    align-items: center;
    padding: 2.5rem;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CoconNextArabic', sans-serif;
}

.btn-about-primary:hover a {
    color: #C9B384;
}

.btn-about-outline {
    background-color: var(--white);
    color: #C9B384;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: 2px solid #C9B384;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CoconNextArabic', sans-serif;
}

.btn-about-outline:hover {
    background-color: #C9B384;
    color: var(--white);
    border: none;
    transform: translateY(-2px);
}

/* Enhanced About Section Styling - Curved Bottom Edge */
/* .about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    border-radius: 0 0 50% 50%;
    z-index: 10;
    clip-path: ellipse(100% 80px at 50% 0%);
} */

/* Responsive Design for About Section */
@media (max-width: 1440px) {
    
    .about-image-wrapper{
        margin-left: -50px;
    }

}
@media (max-width: 1200px) {
    .about-content {
        gap: 3rem;
    }
    
    .about-image {
        min-height: 500px;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 968px) {
   .lang-icon {
    margin-left: 10px !important;
    width: 100px;
    height: 25px;
   }

    .about-section {
        padding: 5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        flex-direction: column;
        /* border-radius: 20px 20px 0 0; */
    }
    
    /* .about-image-wrapper::after {
        bottom: -60px;
        height: 60px;
        clip-path: ellipse(100% 60px at 50% 0%);
    }
     */
    .about-side-pattern {
        width: 100%;
        height: 60px;
        border-radius: 20px 20px 0 0;
        background-repeat: repeat-x;
        background-size: auto 40px;
        display: none;

    }
    
    .about-side-pattern::after {
        display: none;
    }
    
    .about-image {
        border-radius: 0;
        min-height: 400px;
    }
    
    .about-image::after {
        height: 60px;
        border-radius: 0 0 50% 50%;
        clip-path: ellipse(100% 60px at 50% 0%);
    }
    
    .about-main-img {
        width: 100% !important;
        height: auto;
        min-height: 400px;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        clip-path: polygon(
            0% 0%,
            calc(100% - 60px) 0%,
            100% 8%,
            100% calc(100% - 8%),
            calc(100% - 60px) 100%,
            0% 100%
        );
        margin-left: 22px;
    }
    
    .about-image {
        width: 100%;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
    }
    
    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
   
    .logo-icon{
        left: -60px !important;
    }
    .about-section {
        padding: 40px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-content {
        gap: 2.5rem;
    }
    
    .about-image {
        min-height: 350px;
        width: 100%;
        
    }
    
    .about-main-img {
        width: 95% !important;
        height: auto;
        min-height: 350px;
        margin-left: 50px;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-about-primary,
    .btn-about-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Services Section - Small Mobile */
    .logo-icon{
        left: -100px !important;
    }

    .services-section {
        padding: 3rem 0;
    }
    
    .services-container {
        padding: 0 1rem;
    }
    
    .services-header {
        margin-bottom: 2rem;
    }
    
    .services-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .service-card {
        flex: 0 0 100%;
        min-width: 250px;
        max-width: 100%;
    }
    
    .services-grid,
    .services-extra {
        gap: 2rem;
    }

    .services-center-wrapper {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .service-diamond-frame {
        width: 180px;
        height: 180px;
        margin-top: 20px;
    }
    
    .service-image-wrapper {
        margin-top: 40px;
    }
    
    .service-card-content {
        margin-top: 80px;
    }
    
    .service-card-title {
        font-size: 1.2rem;
    }
    
    .service-card-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .services-subtitle {
        font-size: 0.9rem;
    }
    
    .Vector-7,
    .Vector-8 {
        margin-top: 20px;
        width: 100%;
        height: 75%;
    }
    /* .service-image {
        margin-top: 10px;
    }
     */
    .btn-services-more {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* About Section - Small Mobile */
    .about-section {
        padding: 3rem 0;
    }
    
    .about-container {
        padding: 0 1rem;
    }

    .about-image-wrapper{
        margin-left: 0;
    }
    
    .about-image {
        min-height: 300px;
        width: 100%;
        /* border-top-right-radius: 40px;
        border-bottom-right-radius: 40px; */
    }
    
    .about-main-img {
        width: 100% !important;
        height: auto;
        min-height: 300px;
        margin-left: 0;
        border-radius: 5px !important;
        border-top-right-radius: 5px !important;
        border-bottom-right-radius: 5px !important;
        border-top-left-radius: 5px !important;
        border-bottom-left-radius: 5px !important;
        clip-path: none !important;
    }

    .about-text-wrapper {
        margin-left: 0;
        padding: 0 1rem;
    }
    
    .about-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .about-title-icon {
        width: 35px;
        height: 35px;
    }

    .about-description {
        font-size: 0.9rem;
        text-align: center;
        margin-left: 0;
        padding: 0;
    }
    
    .feature-icon {
        width: 30px;
        height: 26px;
        font-size: 0.9rem;
    }
    .three {
        margin-top: -20px;
    }
    .feature-text {
        font-size: 1rem;
    }
    
    /* Hide decoration images on mobile */
    .why-choose-decoration-left::before,
    .why-choose-decoration-left::after,
    .why-choose-decoration-right::before,
    .why-choose-decoration-right::after {
        display: none;
    }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) {
.logo-icon{
    margin-left: 150px !important;
    width: 100px;
    height: 25px;
}

    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-img {
        max-height: 250px !important;
        min-height: 180px;
    }
    
    .hero-curve {
        height: 100px;
    }
    
    .hero-curve svg {
        height: 100px;
        width: 400px;
        
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo-icon {
        width: 80px;
        height: 20px;
    }
    
    .logo-title-ar {
        font-size: 1rem;
    }
    
    .services-title,
    .why-choose-title,
    .projects-title,
    .blog-title,
    .clients-title {
        font-size: 1.5rem;
    }
    
    .about-title {
        font-size: 1.3rem;
    }
    
    .about-description {
        font-size: 0.85rem;
    }
    
    .service-diamond-frame {
        width: 150px;
        height: 150px;
    }
    
    .about-main-img {
        min-height: 250px;
    }
}

/* *Login Section Styles */

.login-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color:white ;
}

.login-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    /* background: var(--white); */
    border-radius: 16px;
    padding: 3rem;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
    animation: fade-in-up 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 1rem;
    color: var(--text-grey);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-teal);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'CoconNextArabic', sans-serif;
    color: var(--text-dark);
    background-color: #F5F5F5;
    transition: all 0.3s ease;
}

/* RTL: direction right */
body[dir="rtl"] .form-input {
    direction: rtl;
}

/* LTR: direction left */
body[dir="ltr"] .form-input {
    direction: ltr;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder {
    color: var(--text-grey);
    opacity: 0.6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-grey);
    cursor: pointer;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--dark-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--gold);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 1rem 2rem;
    background: #C9B384;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'CoconNextArabic', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); */
    background-color: white;
    color: #C9B384;
    border: 1px solid #C9B384;
}

.btn-login:active {
    transform: translateY(0);
}

/* Responsive Login Styles */
@media (max-width: 768px) {
    .login-section {
        padding: 2rem 1rem;
        min-height: calc(100vh - 150px);
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 1.75rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem 1rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-subtitle {
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-login {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   COMPREHENSIVE RTL/LTR SUPPORT
   ============================================ */

/* Clients title wrapper - icon on left for LTR, right for RTL (like other sections) */
body[dir="ltr"] .clients-title-wrapper {
    flex-direction: row-reverse; /* Icon on left, title on right */
}

body[dir="rtl"] .clients-title-wrapper {
    flex-direction: row; /* Icon on right, title on left */
}

/* Blog title wrapper - icon on left for LTR, right for RTL (like other sections) */
body[dir="ltr"] .blog-title-wrapper {
    flex-direction: row; /* Icon on left, title on right */
}

body[dir="rtl"] .blog-title-wrapper {
    flex-direction: row-reverse; /* Icon on right, title on left */
}

/* About buttons - reverse direction in RTL */
body[dir="rtl"] .about-buttons {
    flex-direction: row-reverse;
}

body[dir="ltr"] .about-buttons {
    flex-direction: row;
}

/* Text alignment for content sections */
body[dir="rtl"] .section-title,
body[dir="rtl"] .section-subtitle,
body[dir="rtl"] .about-content-text,
body[dir="rtl"] p,
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
    text-align: right;
}

body[dir="ltr"] .section-title,
body[dir="ltr"] .section-subtitle,
body[dir="ltr"] .about-content-text,
body[dir="ltr"] p,
body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] h3,
body[dir="ltr"] h4,
body[dir="ltr"] h5,
body[dir="ltr"] h6 {
    text-align: left;
}

/* Service card text always center-aligned regardless of direction */
.service-card-title,
.service-card-description {
    text-align: center !important;
}

/* Why Choose, Projects, and Blog card text always center-aligned regardless of direction */
.why-choose-item-title,
.why-choose-item-description,
.why-choose-subtitle,
.project-overlay-text,
.projects-subtitle,
.blog-card-title,
.blog-card-excerpt,
.blog-subtitle,
.clients-subtitle {
    text-align: center !important;
}

/* Center-aligned elements stay centered */
.text-center,
.section-title,
.clients-title,
.clients-header,
.footer-copyright p {
    text-align: center !important;
}

/* Navigation menu alignment */
body[dir="rtl"] .nav-menu {
    direction: rtl;
}

body[dir="ltr"] .nav-menu {
    direction: ltr;
}

/* Form inputs and textareas */
body[dir="rtl"] input,
body[dir="rtl"] textarea,
body[dir="rtl"] select {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] input,
body[dir="ltr"] textarea,
body[dir="ltr"] select {
    direction: ltr;
    text-align: left;
}

/* Buttons alignment */
body[dir="rtl"] .btn,
body[dir="rtl"] button {
    direction: rtl;
}

body[dir="ltr"] .btn,
body[dir="ltr"] button {
    direction: ltr;
}

/* Breadcrumb alignment */
body[dir="rtl"] .breadcrumb {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .breadcrumb {
    direction: ltr;
    text-align: left;
}

/* Footer content alignment */
body[dir="rtl"] .footer-content,
body[dir="rtl"] .footer-column,
body[dir="rtl"] .footer-links-list,
body[dir="rtl"] .footer-contact-list {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .footer-content,
body[dir="ltr"] .footer-column,
body[dir="ltr"] .footer-links-list,
body[dir="ltr"] .footer-contact-list {
    direction: ltr;
    text-align: left;
}

/* Contact form alignment */
body[dir="rtl"] .contact-form,
body[dir="rtl"] .form-group {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .contact-form,
body[dir="ltr"] .form-group {
    direction: ltr;
    text-align: left;
}

/* Service link and project link alignment */
body[dir="rtl"] .service-link,
body[dir="rtl"] .project-link,
body[dir="rtl"] .blog-link {
    direction: rtl;
}

body[dir="ltr"] .service-link,
body[dir="ltr"] .project-link,
body[dir="ltr"] .blog-link {
    direction: ltr;
}

/* Why choose us section */
body[dir="rtl"] .why-choose-item,
body[dir="rtl"] .why-choose-content {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .why-choose-item,
body[dir="ltr"] .why-choose-content {
    direction: ltr;
    text-align: left;
}

/* Blog post content */
body[dir="rtl"] .blog-post-content,
body[dir="rtl"] .blog-post-meta {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .blog-post-content,
body[dir="ltr"] .blog-post-meta {
    direction: ltr;
    text-align: left;
}

/* Project detail content */
body[dir="rtl"] .project-detail-content,
body[dir="rtl"] .project-detail-description {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .project-detail-content,
body[dir="ltr"] .project-detail-description {
    direction: ltr;
    text-align: left;
}

/* Service detail content - match about-description style */
.service-detail-text,
.service-detail-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-grey);
    margin: 0;
}

.service-detail-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 1.5rem 0 1rem 0;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-point-item {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-grey);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-point-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-grey);
    font-size: 20px;
}

/* Service detail content direction */
body[dir="rtl"] .service-detail-content,
body[dir="rtl"] .service-detail-description,
body[dir="rtl"] .service-detail-text {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] .service-point-item {
    padding-left: 0;
    padding-right: 1.5rem;
    text-align: right;
}

body[dir="rtl"] .service-point-item::before {
    left: auto;
    right: 0;
}

body[dir="ltr"] .service-detail-content,
body[dir="ltr"] .service-detail-description,
body[dir="ltr"] .service-detail-text {
    direction: ltr;
    text-align: left;
}

body[dir="ltr"] .service-point-item {
    padding-left: 1.5rem;
    padding-right: 0;
    text-align: left;
}

body[dir="ltr"] .service-point-item::before {
    left: 0;
    right: auto;
}

