/* CSS RESET & GLOBAL STYLES */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', sans-serif;
background-color: #f2f9f6;
color: #333;
line-height: 1.6;
overflow-x: hidden;
}

/* Arabic: Cairo covers both Arabic script and Latin beautifully */
html[dir="rtl"] body {
font-family: 'Cairo', sans-serif;
}

/* Inter headings need slightly tighter tracking; Cairo headings look best at normal */
h1, h2, h3, h4, h5, h6 {
font-family: 'Inter', 'Cairo', sans-serif;
letter-spacing: -0.02em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
font-family: 'Cairo', sans-serif;
letter-spacing: 0;
font-weight: 700;
}

/* HEADER STYLES */
header {
    background: linear-gradient(135deg, #2a5c47 0%, #3D735C 55%, #4a8a6e 100%);
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
}

header.scrolled {
    background: linear-gradient(135deg, rgba(35,78,60,0.97) 0%, rgba(61,115,92,0.97) 100%);
    box-shadow: 0 4px 30px rgba(0,0,0,0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover {
    transform: scale(1.04);
    opacity: 0.92;
}

.logo img {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
    transition: filter 0.25s ease;
}

.logo:hover img {
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.3));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

/* Base nav link */
nav a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

/* Animated underline for regular nav links */
nav ul > li:not(.dropdown):not(.language-toggle) > a:not(.nav-btn):not(.nav-user)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: left 0.25s ease, right 0.25s ease;
}

nav ul > li:not(.dropdown):not(.language-toggle) > a:not(.nav-btn):not(.nav-user):hover::after {
    left: 10%;
    right: 10%;
}

nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.dropdown-arrow {
    font-size: 0.65em;
    opacity: 0.75;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    min-width: 270px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14), 0 2px 8px rgba(61,115,92,0.1);
    z-index: 1001;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    border-top: 3px solid #3D735C;
}

html[dir="rtl"] .dropdown-content {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(8px);
}

html[dir="rtl"] .dropdown:hover .dropdown-content {
    transform: translateX(50%) translateY(0);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: #2d5a47 !important;
    padding: 13px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, padding-left 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    border-radius: 0;
}

.dropdown-content a:last-child { border-bottom: none; }

.dropdown-content a::before {
    content: '🦷';
    font-size: 1rem;
    flex-shrink: 0;
}

.dropdown-content a:first-child::before { content: '😰'; }

.dropdown-content a:hover {
    background: linear-gradient(90deg, #eaf5f0, #f2f9f6);
    color: #3D735C !important;
    padding-left: 24px;
}

html[dir="rtl"] .dropdown-content a:hover {
    padding-left: 18px;
    padding-right: 24px;
}

/* Auth buttons */
.nav-btn {
    border-radius: 20px !important;
    padding: 0.4rem 1.1rem !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: all 0.25s ease !important;
}

.nav-btn--outline {
    border: 1.5px solid rgba(255,255,255,0.65) !important;
    background: transparent !important;
    color: rgba(255,255,255,0.92) !important;
}

.nav-btn--outline:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.9) !important;
    color: #fff !important;
}

.nav-btn--filled {
    background: #fff !important;
    color: #3D735C !important;
    border: 1.5px solid transparent !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.nav-btn--filled:hover {
    background: #f0faf5 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.16) !important;
    transform: translateY(-1px);
}

/* Override the underline animation for buttons */
nav ul > li > a.nav-btn::after { display: none; }

/* Logged-in username menu */
.nav-user-menu { position: relative; }

.nav-user {
    background: none;
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.2s;
}

.nav-user:hover,
.nav-user[aria-expanded="true"] {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

nav ul > li > a.nav-user::after,
nav ul > li > button.nav-user::after { display: none; }

/* Avatar circle in the nav-user button */
.nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0;
}
.nav-user:hover .nav-avatar,
.nav-user[aria-expanded="true"] .nav-avatar {
    background: rgba(255,255,255,0.32);
    border-color: rgba(255,255,255,0.85);
}

/* User dropdown panel */
.nav-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    padding: 0.35rem 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.nav-user-dropdown.is-open { display: block; }

/* Dropdown mini-header (name + role) */
.nav-user-dropdown__header {
    padding: 0.75rem 1rem 0.65rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: default;
}
.nav-user-dropdown__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3D735C 0%, #58a07a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0;
}
.nav-user-dropdown__info { min-width: 0; flex: 1; }
.nav-user-dropdown__name {
    font-size: 0.83rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-user-dropdown__role {
    display: inline-block;
    font-size: 0.67rem;
    font-weight: 600;
    background: #eaf5f0;
    color: #3D735C;
    border-radius: 8px;
    padding: 0.05rem 0.5rem;
    margin-top: 0.18rem;
}

.nav-user-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-user-dropdown li a:hover { background: #f5f5f5; color: #111; }

.nav-user-dropdown li a svg { flex-shrink: 0; opacity: 0.65; }

.nav-user-dropdown__divider {
    height: 1px;
    background: #eee;
    margin: 0.25rem 0;
}

.nav-user-dropdown__logout { color: #b71c1c !important; }
.nav-user-dropdown__logout:hover { background: #fef2f2 !important; }

/* Mobile responsiveness */
@media (max-width: 968px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 8px;
        width: 100%;
        padding-left: 1rem;
        transform: none !important;
        border-top: none;
        border-left: 3px solid rgba(255,255,255,0.3);
        background: rgba(255,255,255,0.07);
        opacity: 1;
        visibility: visible;
        margin-top: 0.3rem;
    }

    .dropdown-content a {
        color: rgba(255,255,255,0.9) !important;
        border-bottom-color: rgba(255,255,255,0.1);
    }

    .dropdown-content a:hover {
        background: rgba(255,255,255,0.1);
        color: #fff !important;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .nav-btn--filled {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
        border-color: rgba(255,255,255,0.4) !important;
        box-shadow: none;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* HERO SECTION */
.hero {
max-width: 1400px;
margin: 0 auto;
padding: 5rem 5%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
min-height: calc(100vh - 70px);
}

.hero-content h1 {
font-family: 'Inter', 'Cairo', sans-serif;
font-size: 3rem;
color: #3D735C;
margin-bottom: 1.5rem;
line-height: 1.2;
}

.hero-content p {
font-size: 1.1rem;
color: #555;
margin-bottom: 2rem;
line-height: 1.8;
}

.cta-button {
background-color: #3D735C;
color: white;
padding: 1rem 2.5rem;
border: none;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}

.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(61, 115, 92, 0.35);
background-color: #4a8a6e;
}

.hero-images {
position: relative;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
}

.hero-image {
width: 100%;
height: 100%;
object-fit: contain;
animation: float 6s ease-in-out infinite;
transform-origin: center center;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-images::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 25%;
    width: 50%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(61,115,92,0.12) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: shadow 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes shadow {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.image-placeholder {
background: linear-gradient(135deg, #D0E6DD 0%, #B2D7C7 100%);
border-radius: 15px;
min-height: 250px;
display: flex;
align-items: center;
justify-content: center;
color: #3D735C;
font-weight: 600;
border: 2px dashed #3D735C;
transition: transform 0.3s ease;
}

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

/* HOW IT WORKS SECTION */
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3D735C;
    background: #D0E6DD;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.9rem;
}

html[dir="rtl"] .section-eyebrow {
    letter-spacing: 0;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    position: relative;
}

/* Connecting line between icon circles */
.how-steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #B2D7C7 15%,
        #3D735C 50%,
        #B2D7C7 85%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

html[dir="rtl"] .how-steps-grid::before {
    background: linear-gradient(270deg,
        transparent 0%,
        #B2D7C7 15%,
        #3D735C 50%,
        #B2D7C7 85%,
        transparent 100%
    );
}

/* Individual step card */
.how-step {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(61,115,92,0.08), 0 1px 4px rgba(0,0,0,0.05);
    padding: 0 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid #e8f4ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Fade-in-up animation */
    opacity: 0;
    animation: howStepIn 0.5s ease forwards;
}

.how-step--1 { animation-delay: 0.05s; }
.how-step--2 { animation-delay: 0.15s; }
.how-step--3 { animation-delay: 0.25s; }
.how-step--4 { animation-delay: 0.35s; }

@keyframes howStepIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.how-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(61,115,92,0.16);
}

/* Accent top border per step */
.how-step--1 { border-top: 4px solid #3D735C; }
.how-step--2 { border-top: 4px solid #4a8a6e; }
.how-step--3 { border-top: 4px solid #5a9e80; }
.how-step--4 { border-top: 4px solid #6ab290; }

/* Icon circle */
.how-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3D735C 0%, #5a9e80 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(61,115,92,0.28);
    border: 4px solid #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.how-step:hover .how-step-icon {
    transform: scale(1.1) rotate(-4deg);
}

/* "Step 01" label */
.how-step-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3D735C;
    opacity: 0.65;
    margin-bottom: 0.45rem;
}

html[dir="rtl"] .how-step-num {
    letter-spacing: 0;
}

.how-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1b3d2e;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.how-step > p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

/* Chip-style bullet list */
.how-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.how-step-list li {
    background: #f2f9f6;
    border: 1px solid #D0E6DD;
    border-radius: 8px;
    padding: 0.38rem 0.7rem;
    font-size: 0.8rem;
    color: #2d5a47;
    text-align: start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.how-step-list li::before {
    content: '✓';
    color: #3D735C;
    font-weight: 800;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.how-step:hover .how-step-list li {
    background: #e8f5ef;
}

/* CTA below the steps */
.how-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 968px) {
    .how-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .how-steps-grid::before {
        display: none;
    }

    .how-step {
        padding: 0 1.2rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .how-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* SECTION CONTAINER */
.section {
max-width: 1400px;
margin: 5rem auto;
padding: 0 5%;
}

.section-header {
text-align: center;
margin-bottom: 3rem;
}

.section-header h2 {
font-family: 'Inter', 'Cairo', sans-serif;
font-size: 2.5rem;
color: #3D735C;
margin-bottom: 1rem;
}

.section-header p {
font-size: 1.1rem;
color: #666;
max-width: 700px;
margin: 0 auto;
}

.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
margin-bottom: 4rem;
}

.content-grid.reverse {
order: -1;
}

.content-text h3 {
font-size: 1.8rem;
color: #3D735C;
margin-bottom: 1rem;
}

.content-text p {
color: #555;
line-height: 1.8;
margin-bottom: 1.5rem;
}

/* SERVICES SECTION */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2.5rem;
margin-top: 3rem;
align-items: stretch;
}

.service-card {
background: #fff;
border-radius: 18px;
box-shadow: 0 5px 20px rgba(0,0,0,0.07);
padding: 2.5rem 2rem 2.5rem 2rem;
display: block;
min-height: 330px;
border: 1px solid #D0E6DD;
position: relative;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
color: inherit;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(61, 115, 92, 0.18);
border-color: #B2D7C7;
}

.service-card.coming-soon {
    opacity: 0.8;
    cursor: not-allowed;
}

.coming-soon-badge {
    background: #3D735C;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 600;
    display: inline-block;
    transform: translateY(-2px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.service-card.coming-soon .service-icon { opacity: 0.7; }
.service-card.coming-soon h3,
.service-card.coming-soon p { opacity: 0.8; }

.service-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #3D735C 0%, #4a8a6e 100%);
border-radius: 50%;
margin: 0 auto 1.5rem;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 2rem;
}

.service-card h3 {
font-size: 1.3rem;
color: #3D735C;
margin-bottom: 1rem;
}

.service-card p {
color: #666;
line-height: 1.6;
}

/* FOOTER */
footer {
    background: linear-gradient(160deg, #1b3d2e 0%, #2a5c47 50%, #1e4535 100%);
    color: white;
    padding: 0 0 0 0;
    margin-top: 5rem;
    position: relative;
}

/* Wave separator */
.footer-wave {
    color: #f2f9f6;
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    padding: 3.5rem 5% 2.5rem;
}

/* Section headings */
.footer-section h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.2rem;
}

html[dir="rtl"] .footer-section h4 {
    letter-spacing: 0;
}

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    max-width: 280px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

/* Nav link lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    position: relative;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 6px;
}

html[dir="rtl"] .footer-links li a:hover {
    padding-left: 0;
    padding-right: 6px;
}

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
}

.footer-contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}

.footer-back-top {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-back-top:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Footer responsive */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2.5rem 5% 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* PHOTO INSTRUCTIONS SECTION */
.instruction-card {
background: white;
border-radius: 20px;
padding: 3rem;
margin-bottom: 3rem;
box-shadow: 0 5px 30px rgba(0,0,0,0.07);
border: 1px solid #D0E6DD;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 40px rgba(61, 115, 92, 0.14);
}

.instruction-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: start;
}

.instruction-text {
position: relative;
}

.instruction-number {
position: absolute;
top: -15px;
left: -70px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #3D735C 0%, #4a8a6e 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 700;
box-shadow: 0 5px 15px rgba(61, 115, 92, 0.35);
}

html[dir="rtl"] .instruction-number {
left: auto;
right: -70px;
}

.instruction-text h3 {
font-size: 1.8rem;
color: #3D735C;
margin-bottom: 1.5rem;
font-family: 'Inter', 'Cairo', sans-serif;
}

.instruction-list {
list-style: none;
padding: 0;
}

.instruction-list li {
color: #555;
line-height: 1.8;
margin-bottom: 1rem;
padding-left: 2rem;
position: relative;
}

.instruction-list li:before {
content: "✓";
position: absolute;
left: 0;
color: #3D735C;
font-weight: 700;
font-size: 1.2rem;
}

html[dir="rtl"] .instruction-list li {
padding-left: 0;
padding-right: 2rem;
}

html[dir="rtl"] .instruction-list li:before {
left: auto;
right: 0;
}

.instruction-images {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

.instruction-images .image-placeholder {
min-height: 200px;
border-radius: 12px;
}

.instruction-images .instruction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 2px dashed transparent;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
.hero {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
}
.hero-content h1 { font-size: 2.5rem; }
.content-grid { grid-template-columns: 1fr; }
.content-grid.reverse { direction: ltr; }
.instruction-content { grid-template-columns: 1fr; }
.instruction-card { padding: 2rem; }
.instruction-number {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
}
nav ul {
    position: fixed;
    top: 68px;
    right: -100%;
    flex-direction: column;
    background-color: #3D735C;
    width: 100%;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
nav ul.active { right: 0; }
.hamburger { display: flex; }
.section-header h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
.hero-content h1 { font-size: 2rem; }
.services-grid { grid-template-columns: 1fr; }
.footer-container { grid-template-columns: 1fr; }
}
