

/* 
   Aklil Aloula - Full Cinematic Redesign 
   Architecture: Modern, Geometric, Premium (KAFD Style)
*/

:root {
    /* Color Palette */
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text-white: #e0e1dd;
    --text-muted: #a0aec0;
    --bg-light: #f8fafc;
    --white: #ffffff;

    /* Effects */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Spacing */
    --padding-xxl: 120px 0;
    --padding-xl: 80px 0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography Utilities */
h1,
h2,
h3 {
    line-height: 1.3;
    font-weight: 700;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--accent), #b8860b);
    color: var(--white);
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    padding: 13px 34px;
    border: 1px solid var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Loader */
.loader-container {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 15px;
}

.loader-bar {
    width: 100px;
    height: 3px;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    background: var(--accent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: all 0.5s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.logo-text {
    color: var(--text-white);
}

.logo-text .main-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
}

.logo-text .sub-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.btn-nav {
    padding: 10px 25px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg-zoom {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero-bg.png') center/cover no-repeat;
    animation: kenburns 30s infinite alternate;
    z-index: 0;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 27, 42, 0.4), rgba(13, 27, 42, 0.9)),
        linear-gradient(to bottom, transparent, rgba(13, 27, 42, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 30px;
    font-weight: 900;
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(to right, #d4af37, #f6e07b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.85;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Geometric Shapes */
.hero-shapes .shape {
    position: absolute;
    z-index: 2;
    opacity: 0.1;
}

.shape.s1 {
    width: 600px;
    height: 600px;
    border: 1px solid var(--accent);
    top: -100px;
    right: -200px;
    transform: rotate(45deg);
    animation: rotate 60s linear infinite;
}

.shape.s2 {
    width: 400px;
    height: 400px;
    border: 1px solid var(--white);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes rotate {
    100% {
        transform: rotate(405deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }
}

/* Profile Section */
.profile-section {
    padding: var(--padding-xxl);
    background: var(--white);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-stack {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.main-img-placeholder {
    width: 100%;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.medical-clients-title {
    text-align: center;
    margin: 60px 0 30px;
    position: relative;
}

.medical-clients-title h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
}

.major-clients-grid.medical {
    margin-top: 0;
}


.accent-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    background: var(--accent);
    border-radius: 8px;
    z-index: 1;
    opacity: 0.1;
}

.profile-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.profile-text .lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    border-right: 4px solid var(--accent);
    padding-right: 20px;
}

.vision-mission {
    display: grid;
    gap: 30px;
}

.pm-item {
    display: flex;
    gap: 25px;
}

.pm-icon {
    min-width: 65px;
    height: 65px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.pm-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.pm-info p {
    font-size: 0.95rem;
    color: #555;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat fixed;
    color: var(--white);
    position: relative;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* Values Section */
.values-section {
    padding: var(--padding-xl);
    background: var(--bg-light);
}

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

.value-card {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 12px;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.value-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: block;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Services Section */
.services-section {
    padding: var(--padding-xxl);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.7s;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-img.s1 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.service-img.s2 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6958?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.service-img.s3 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(13, 27, 42, 0.9));
}

.service-content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    z-index: 2;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-text {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Why Us Section */
.why-section {
    padding: var(--padding-xxl);
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    margin-top: 40px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.why-list li i {
    color: var(--accent);
    font-size: 1.3rem;
}

.why-image {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.7)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}


.why-box {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.experience-year {
    font-size: 8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.why-box p {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Certificates */
.cert-section {
    padding: var(--padding-xl);
    background: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.cert-card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.cert-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Partners */
.partners-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.partners-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.4;
}

.partner-logo {
    font-size: 3rem;
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    padding: var(--padding-xxl);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-items {
    margin-top: 50px;
}

.i-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.i-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
}

.i-item h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.i-item a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--text-white);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.f-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
}

.f-links h4,
.f-social h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
}

.f-links ul li {
    margin-bottom: 12px;
}

.f-links ul li a {
    color: var(--text-muted);
}

.f-links ul li a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .profile-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .services-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Add mobile menu logic in JS if needed */
    .hero-title {
        font-size: 2.8rem;
    }
}

/* ISO Badges in Stats Section */
.iso-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iso-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
}

.iso-badge i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.iso-badge span {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--white);
    display: block;
}

.iso-badge small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

.iso-badge:hover {
    transform: translateY(-5px);
}

/* Products Section */
.products-section {
    padding: var(--padding-xxl);
    background: var(--bg-light);
    position: relative;
}

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

.product-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--accent);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 50%;
    transition: 0.4s;
}

.product-card:hover .product-icon {
    background: var(--accent);
    color: var(--primary);
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Major Clients Section (Partners) */
.partners-section {
    padding: var(--padding-xxl);
    background: var(--white);
}

.major-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo-box {
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    filter: none;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid transparent;
}

.client-logo-box i,
.client-logo-box .client-logo-image {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-box i {
    font-size: 2.5rem;
    color: var(--primary);
}

.client-logo-box .client-logo-image {
    max-width: 120px;
    object-fit: contain;
}


.client-logo-box span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.client-logo-box:hover {
    filter: grayscale(0);
    opacity: 1;
    background: var(--white);
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .iso-badges {
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile Menu Styles */
    .hamburger {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
        transition: 0.4s;
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 40px;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
}

/* Ensure hamburger is hidden on desktop */
.hamburger {
    display: none;
}


/* Agency Section */
.agency-section {
    padding: var(--padding-xxl);
    background: var(--white);
}

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

.agency-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--white);
    transition: 0.4s;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.agency-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.5s;
}

.agency-item:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.agency-item:hover img {
    transform: scale(1.1);
}

/* Local Clients Section */
.local-clients-section {
    padding: var(--padding-xxl);
    background: var(--bg-light);
}

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

.local-client-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.local-client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.local-client-card .client-icon,
.local-client-card .client-logo-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.local-client-card .client-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.local-client-card .client-logo-img img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}


.local-client-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.local-client-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Scope of Work Section */
.scope-section {
    padding: var(--padding-xxl);
    background: var(--white);
    position: relative;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scope-card {
    background: var(--bg-light);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.scope-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.scope-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.scope-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

/* Branches Section */
.branches-section {
    padding: var(--padding-xxl);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

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

.branch-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 27, 42, 0.05);
    z-index: 1;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
}

.branch-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--accent);
    transition: 0.5s;
}

.branch-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: 0.5s;
}

.branch-card p {
    color: #666;
    margin-bottom: 25px;
    transition: 0.5s;
}

.branch-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.branch-features span {
    font-size: 0.9rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.5s;
}

.branch-features i {
    color: var(--accent);
}

.branch-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.2);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-card:hover h3,
.branch-card:hover p,
.branch-card:hover .branch-features span {
    color: var(--white);
}

.branch-card:hover .branch-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: rotateY(360deg);
}

.branch-card:hover .branch-features {
    border-color: rgba(255, 255, 255, 0.1);
}

.branch-card {
    background-size: cover !important;
    background-position: center !important;
}

.b-tripoli {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)), url('https://images.unsplash.com/photo-1596464716127-f2a82984de30?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.b-baniwalid {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.b-khums {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

/* Ensure text is white for static state too since we have image backgrounds */
.branch-card h3,
.branch-card p,
.branch-card .branch-features span {
    color: var(--white);
}

.branch-card .branch-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.branch-card .branch-features {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.lang-btn {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.scrolled .lang-btn {
    border-color: rgba(13, 27, 42, 0.1);
    color: var(--primary);
}

.scrolled .lang-btn:hover,
.scrolled .lang-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* LTR Layout Overrides */
[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}

[dir="ltr"] .nav-links {
    margin-right: 0;
    margin-left: auto;
}

[dir="ltr"] .btn-nav {
    margin-right: 0;
    margin-left: 20px;
}

[dir="ltr"] .lang-switcher {
    margin-right: 0;
    margin-left: 20px;
}

[dir="ltr"] .profile-text {
    padding-right: 0;
    padding-left: 50px;
}

[dir="ltr"] .why-list li i {
    margin-right: 15px;
    margin-left: 0;
}

[dir="ltr"] .branch-features {
    text-align: left;
}

[dir="ltr"] .branch-features span {
    flex-direction: row;
}

[dir="ltr"] .footer-top {
    text-align: left;
}

[dir="ltr"] .f-links ul li a i {
    margin-right: 10px;
    margin-left: 0;
}

@media (max-width: 991px) {
    [dir="ltr"] .profile-text {
        padding-left: 0;
    }
}