/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ca8a04;
    --primary-hover: #a16207;
    --primary-glow: rgba(202, 138, 4, 0.3);
    --bg-light: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 8px 25px rgba(202, 138, 4, 0.25);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

body.dark-mode {
    --bg-light: #111827;
    --bg-gray: #1f2937;
    --bg-dark: #374151;
    --text-dark: #f9fafb;
    --text-gray: #d1d5db;
    --border-color: #374151;
}

body.rtl {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode header {
    background: rgba(17, 24, 39, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

body.dark-mode .nav-menu a {
    color: #d1d5db;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown .dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

body.dark-mode .dropdown-menu {
    background: rgba(31, 41, 55, 0.95);
}

body.rtl .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

body.dark-mode .dropdown-menu a {
    color: #d1d5db;
}

body.rtl .dropdown-menu a {
    border-left: none;
    border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(202, 138, 4, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

body.rtl .dropdown-menu a:hover {
    border-right-color: var(--primary-color);
    padding-right: 1.5rem;
    padding-left: 1.25rem;
}

.dropdown-menu a:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.dropdown-menu a:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle,
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

body.dark-mode .lang-toggle,
body.dark-mode .theme-toggle {
    color: #d1d5db;
}

.lang-toggle:hover,
.theme-toggle:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-toggle {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-icon,
.moon-icon {
    display: none;
}

body:not(.dark-mode) .sun-icon {
    display: block;
}

body.dark-mode .moon-icon {
    display: block;
}

.lang-ar {
    display: none;
}

body.rtl .lang-en {
    display: none;
}

body.rtl .lang-ar {
    display: inline;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #d97706);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 0.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(202, 138, 4, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.85rem 2rem;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-3px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.dark-mode .mobile-menu-toggle span {
    background: #d1d5db;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 5s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Floating particles effect */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10px) translateX(30px); opacity: 0; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

body.rtl .hero-subtitle {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #d1d5db;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.hero-stat {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.dark-mode .hero-stat {
    background: #1f2937;
}

.stat-icon {
    background: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

body.dark-mode .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.section-divider {
    width: 6rem;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 2rem;
}

.section-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* About Section */
.about {
    background: var(--bg-gray);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.mission-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

body.dark-mode .mission-section {
    background: linear-gradient(to right, rgba(202, 138, 4, 0.2), rgba(249, 115, 22, 0.2));
}

body.rtl .mission-section {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.mission-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.vision-logo {
    width: 120px;
    height: auto;
}

.mission-content p {
    flex: 1;
    color: var(--text-gray);
    line-height: 1.6;
}

.objectives-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.objective-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
}

body.dark-mode .objective-card {
    background: #1f2937;
}

.objective-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-bottom-color: var(--primary-color);
}

.objective-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.objective-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.objective-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.875rem;
}

.vision-section {
    background: #111827;
    color: white;
    padding: 4rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
}

body.dark-mode .vision-section {
    background: #030712;
}

.vision-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.vision-section p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #d1d5db;
    max-width: 1024px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: white;
}

body.dark-mode .services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(202, 138, 4, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.dark-mode .service-card {
    background: #1f2937;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-top-color: var(--primary-color);
}

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

.service-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Projects Section */
.projects {
    background: var(--bg-light);
    color: var(--text-dark);
}

.projects .section-header h2,
.projects .section-subtitle {
    color: var(--text-dark);
}

.projects .section-description {
    color: var(--text-gray);
}

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

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* On desktop, center the 7th project card in column 2 for perfect 3+3+1 balance */
@media (min-width: 1025px) {
    .projects-grid .project-card:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
}

.project-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

body.dark-mode .project-card {
    background: #1f2937;
    border-color: #374151;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(202, 138, 4, 0.4);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.rtl .project-badge {
    right: auto;
    left: 1rem;
}

.project-badge.active {
    background: #10b981;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-icon {
    font-size: 1.2rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .stat-item {
    background: #1f2937;
    border-color: #374151;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.stat-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Clients Section */
.clients {
    background: var(--bg-gray);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8rem;
    z-index: 10;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-gray), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-gray), transparent);
}

body.dark-mode .carousel-container::before {
    background: linear-gradient(to right, var(--bg-light), transparent);
}

body.dark-mode .carousel-container::after {
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

body.dark-mode .client-logo {
    background: #1f2937;
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.08) translateY(-2px);
    box-shadow: var(--shadow-gold);
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.client-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
}

body.dark-mode .stat-card {
    background: #1f2937;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-gray);
}

/* Partners Section */
.partners {
    background: white;
}

body.dark-mode .partners {
    background: var(--bg-light);
}

.partners-hero {
    margin-bottom: 3rem;
}

.partners-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

body.dark-mode .partner-card {
    background: #374151;
}

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

.partner-logo {
    height: 50px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.partner-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.partner-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.partner-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.partner-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.benefits-section {
    background: #111827;
    color: white;
    padding: 3rem;
    border-radius: 0.75rem;
    text-align: center;
}

body.dark-mode .benefits-section {
    background: #030712;
}

.benefits-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefits-section > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d1d5db;
}

.benefits-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-stat {
    text-align: center;
}

.benefit-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.benefit-stat .stat-label {
    font-size: 1rem;
    color: #d1d5db;
}

/* Contact Section */
.contact {
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contact-icon {
    background: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

body.dark-mode .contact-form {
    background: #374151;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

body.dark-mode .form-group label {
    color: #d1d5db;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #060d1a 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

body.dark-mode .footer {
    background: linear-gradient(180deg, #030712 0%, #000000 100%);
}

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

.footer-logo {
    height: 90px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav a::before {
    content: '›';
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1;
}

.footer-nav a:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

body.rtl .footer-nav a:hover {
    transform: translateX(-4px);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(202, 138, 4, 0.1);
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6b7280;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-badge {
    background: rgba(202, 138, 4, 0.1);
    border: 1px solid rgba(202, 138, 4, 0.2);
    color: #fbbf24;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border-top: 2px solid var(--primary-color);
    }
    
    body.dark-mode .nav-menu {
        background: rgba(15, 23, 42, 0.98);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        box-shadow: none;
        background: transparent;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stat {
        left: 1rem;
        bottom: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .header-actions .btn-primary {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll reveal animation base */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: if JS fails, show everything */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }



/* Team Pages Styles */
.board-section {
    padding: 120px 0 80px;
    background: var(--bg-gray);
    min-height: 100vh;
}

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

.board-section .section-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.board-section .section-description {
    max-width: 900px;
    margin: 2rem auto;
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    animation: fadeInUp 0.6s ease-out;
}

.member-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.member-image-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.member-position {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    text-align: justify;
    flex-grow: 1;
}

.back-button-container {
    text-align: center;
    margin-top: 3rem;
}

.team-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.team-link-card {
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.team-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: var(--text-light);
}

.team-link-card svg {
    margin-bottom: 1rem;
    transition: stroke 0.3s ease;
}

.team-link-card:hover svg {
    stroke: var(--text-light);
}

.team-link-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-link-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design for Team Pages */
@media (max-width: 768px) {
    .board-section {
        padding: 100px 0 60px;
    }
    
    .board-section .section-header h1 {
        font-size: 2rem;
    }
    
    .board-section .section-description {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-link-card {
        min-width: 100%;
    }
}

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



/* Team Photo Banner */
.team-photo-banner {
    margin: 3rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-photo-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}



/* ═══════════════════════════════════════════════════
   AESTHETIC ENHANCEMENTS — Brand Polish Pack
   ═══════════════════════════════════════════════════ */

/* 1. Gradient text on section headings */
.section-header h2 {
    background: linear-gradient(135deg, var(--text-dark) 30%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.dark-mode .section-header h2 {
    background: linear-gradient(135deg, #f9fafb 30%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 2. Smaller logo in header */
.logo img {
    height: 60px;
}

/* 3. Service icon — gold circle glow always visible */
.service-icon {
    width: 88px;
    height: 88px;
    background: rgba(202, 138, 4, 0.08);
    border: 1px solid rgba(202, 138, 4, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 24px rgba(202, 138, 4, 0.12), inset 0 0 16px rgba(202, 138, 4, 0.06);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: rgba(202, 138, 4, 0.15);
    box-shadow: 0 0 40px rgba(202, 138, 4, 0.35), inset 0 0 20px rgba(202, 138, 4, 0.1);
    border-color: rgba(202, 138, 4, 0.55);
    transform: scale(1.1) rotate(6deg);
}

/* 4. Stat icon wrapper */
.stat-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(202,138,4,0.12), rgba(251,191,36,0.08));
    border: 1px solid rgba(202,138,4,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    transition: var(--transition);
}
.stat-item:hover .stat-icon-wrap,
.stat-card:hover .stat-icon-wrap {
    background: rgba(202,138,4,0.22);
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 0 20px rgba(202,138,4,0.25);
}

/* 5. Vision section — gold dot pattern overlay */
.vision-section {
    position: relative;
}
.vision-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(202,138,4,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    border-radius: inherit;
}
.vision-section > * {
    position: relative;
    z-index: 1;
}

/* 6. Contact section — premium dark */
.contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #111827 100%) !important;
}
.contact .section-header h2 {
    background: linear-gradient(135deg, #f9fafb 30%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact .section-subtitle,
.contact .contact-info > p {
    color: #9ca3af !important;
}
.contact .contact-info h3,
.contact .contact-item h4 {
    color: #f9fafb !important;
}
.contact .contact-item p,
.contact .contact-item a {
    color: #9ca3af !important;
}
.contact-form {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(202,138,4,0.2) !important;
    backdrop-filter: blur(16px) !important;
}
body.dark-mode .contact-form {
    background: rgba(255,255,255,0.03) !important;
}
.contact .contact-form h3 {
    color: #f9fafb !important;
}
.contact .form-group label {
    color: #d1d5db !important;
}
.contact .form-group input,
.contact .form-group textarea {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(202,138,4,0.2) !important;
    color: #f9fafb !important;
}
.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
    color: #6b7280 !important;
}
.contact .form-group input:focus,
.contact .form-group textarea:focus {
    border-color: #ca8a04 !important;
    background: rgba(202,138,4,0.08) !important;
    box-shadow: 0 0 0 3px rgba(202,138,4,0.15) !important;
}

/* 7. Project image color tints for non-unique images */
.project-tint-blue .project-image img {
    filter: hue-rotate(180deg) brightness(0.82) saturate(1.3);
}
.project-tint-warm .project-image img {
    filter: sepia(0.4) brightness(0.85) saturate(1.4) contrast(1.1);
}
.project-tint-purple .project-image img {
    filter: hue-rotate(250deg) brightness(0.8) saturate(1.2);
}

/* 8. Objective card icon glow */
.objective-icon {
    width: 64px;
    height: 64px;
    background: rgba(202,138,4,0.08);
    border: 1px solid rgba(202,138,4,0.18);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 0 18px rgba(202,138,4,0.1);
}
.objective-card:hover .objective-icon {
    background: rgba(202,138,4,0.15);
    box-shadow: 0 0 32px rgba(202,138,4,0.3);
    transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════
   LIGHT HERO THEME
   ═══════════════════════════════════════════════════ */
.hero { background: #ffffff; background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px); background-size: 28px 28px; }
.hero::before, .hero::after { display: none; }
.hero-title { color: #111827; }
.hero-title .title-highlight { background: linear-gradient(135deg, #ca8a04, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { color: #374151; background: rgba(202,138,4,0.06); }
.hero-description { color: #6b7280; }
.btn-secondary { background: transparent; border: 2px solid #1f2937; color: #111827; }
.btn-secondary:hover { background: #111827; color: #ffffff; border-color: #111827; transform: translateY(-2px); }
.hero-image img { box-shadow: 0 0 0 3px rgba(202,138,4,0.15), 0 20px 60px rgba(0,0,0,0.12), 0 8px 25px rgba(202,138,4,0.08); }
.hero-stat { background: rgba(255,255,255,0.98); border: 1px solid #e5e7eb; box-shadow: 0 10px 40px rgba(0,0,0,0.1); color: #111827; }
.hero-stat .stat-number { color: #111827; }
.hero-stat .stat-label { color: #6b7280; }
.hero-particle { background: rgba(202,138,4,0.25); }

body.dark-mode .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%); background-image: none; }
body.dark-mode .hero::before, body.dark-mode .hero::after { display: block; }
body.dark-mode .hero-title { color: #ffffff; }
body.dark-mode .hero-title .title-highlight { background: linear-gradient(135deg, #fbbf24, #ca8a04); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.dark-mode .hero-subtitle { color: rgba(255,255,255,0.9); background: rgba(202,138,4,0.1); }
body.dark-mode .hero-description { color: rgba(255,255,255,0.8); }
body.dark-mode .btn-secondary { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); background: transparent; }
body.dark-mode .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); color: #ffffff; }
body.dark-mode .hero-stat { background: rgba(17,24,39,0.9); border-color: rgba(202,138,4,0.3); color: #f9fafb; }
body.dark-mode .hero-stat .stat-number { color: #fbbf24; }
body.dark-mode .hero-image img { box-shadow: 0 0 0 3px rgba(202,138,4,0.3), 0 20px 60px rgba(202,138,4,0.15), 0 10px 30px rgba(0,0,0,0.4); }

/* ═══════════════════════════════════════════════════
   HERO STATS STRIP
   ═══════════════════════════════════════════════════ */
.hero-stats-strip { background: #ffffff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; padding: 2rem 0; position: relative; z-index: 2; }
.hero-stats-strip::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, #ca8a04 30%, #fbbf24 50%, #ca8a04 70%, transparent 100%); }
.hero-stats-strip .container { display: flex; justify-content: center; align-items: stretch; }
.strip-stat { flex: 1; max-width: 240px; text-align: center; padding: 1.25rem 1.5rem; position: relative; transition: var(--transition); }
.strip-stat:hover { background: rgba(202,138,4,0.03); border-radius: 0.75rem; }
.strip-stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: linear-gradient(180deg, transparent, #e5e7eb, transparent); }
.strip-stat-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(202,138,4,0.1), rgba(251,191,36,0.06)); border: 1px solid rgba(202,138,4,0.18); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; transition: var(--transition); }
.strip-stat:hover .strip-stat-icon { background: rgba(202,138,4,0.15); transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 16px rgba(202,138,4,0.2); }
.strip-stat-number { font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 0.3rem; background: linear-gradient(135deg, #111827 20%, #ca8a04 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.strip-stat-label { font-size: 0.75rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

body.dark-mode .hero-stats-strip { background: #111827; border-top-color: #1f2937; border-bottom-color: #1f2937; }
body.dark-mode .strip-stat:not(:last-child)::after { background: linear-gradient(180deg, transparent, #374151, transparent); }
body.dark-mode .strip-stat:hover { background: rgba(202,138,4,0.05); }
body.dark-mode .strip-stat-number { background: linear-gradient(135deg, #f9fafb 20%, #fbbf24 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.dark-mode .strip-stat-label { color: #9ca3af; }
body.dark-mode .strip-stat-icon { background: rgba(202,138,4,0.12); border-color: rgba(202,138,4,0.25); }

@media (max-width: 768px) {
    .hero-stats-strip .container { flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
    .strip-stat { min-width: 44%; flex: 0 0 44%; }
    .strip-stat:not(:last-child)::after { display: none; }
    .strip-stat-number { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════
   PREMIUM CORPORATE BRANDING UPDATES
   ═══════════════════════════════════════════════════ */

.premium-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
body.dark-mode .premium-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
body.dark-mode .premium-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Services Disclaimer */
.premium-disclaimer {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(202,138,4,0.05);
    border-left: 4px solid #ca8a04;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}
body.dark-mode .premium-disclaimer {
    background: rgba(202,138,4,0.1);
    color: #cbd5e1;
}

/* Technical Capabilities Section */
.capabilities {
    background: #f8fafc;
}
body.dark-mode .capabilities {
    background: #0f172a;
}
.capabilities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.capability-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: default;
}
.capability-tag:hover {
    background: #ca8a04;
    color: #ffffff;
    border-color: #ca8a04;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(202,138,4,0.2);
}
body.dark-mode .capability-tag {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}
body.dark-mode .capability-tag:hover {
    background: #ca8a04;
    color: #ffffff;
    border-color: #ca8a04;
}

/* Project Scope */
.project-scope {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
body.dark-mode .project-scope {
    border-top-color: #374151;
}
.scope-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    font-weight: 700;
}
.scope-tags {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    font-weight: 500;
}
body.dark-mode .scope-tags {
    color: #cbd5e1;
}

/* Refine Project Cards for Premium Feel */
.project-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
body.dark-mode .project-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Project Value Journey Section */
.journey-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    border-top: 1px solid rgba(202, 138, 4, 0.3);
    border-bottom: 1px solid rgba(202, 138, 4, 0.3);
}

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

.journey-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 0.02em;
}

.journey-stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.journey-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(202, 138, 4, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
}

.journey-step:hover {
    background: rgba(202, 138, 4, 0.15);
    border-color: #fbbf24;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(202, 138, 4, 0.2);
}

.step-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.step-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.step-sub {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}


/* Accreditations & Certifications Section */
.accreditations-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}
body.dark-mode .accreditations-section {
    background: #111827;
}
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.accreditation-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
body.dark-mode .accreditation-card {
    background: #1f2937;
    border-color: #374151;
}
.accreditation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-color);
}
.cert-image-box {
    width: 100%;
    height: 380px;
    background: #f3f4f6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}
.cert-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.accreditation-card:hover .cert-image-box img {
    transform: scale(1.03);
}
.cert-info {
    padding: 1.5rem;
    text-align: center;
}
.cert-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.cert-info p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Case Study Project Cards & Badges
   ───────────────────────────────────────────── */
.project-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}
.project-meta-bullet {
    color: #9ca3af;
}
.project-scope {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.project-metric-box {
    background: rgba(202, 138, 4, 0.08);
    border-left: 3px solid var(--primary-color);
    padding: 0.6rem 0.85rem;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
body.rtl .project-metric-box {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}
body.dark-mode .project-metric-box {
    background: rgba(202, 138, 4, 0.15);
}
.metric-icon {
    font-size: 1.1rem;
}
.metric-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}
.card-action {
    margin-top: 0.5rem;
}
.btn-project-view {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
.btn-project-view:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}
body.rtl .btn-project-view:hover {
    transform: translateX(-4px);
}

.status-completed {
    background: #059669;
    color: white;
}
.status-planned {
    background: #d97706;
    color: white;
}

.all-projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ─────────────────────────────────────────────
   All Projects Page (projects.html)
   ───────────────────────────────────────────── */
.page-banner {
    padding: 8rem 0 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    color: white;
    text-align: center;
}
.page-banner h1 {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.banner-subtitle {
    font-size: 1.15rem;
    color: #d1d5db;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.all-projects-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}
body.dark-mode .all-projects-section {
    background: var(--bg-light);
}

.project-filters-card {
    background: white;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1.25rem;
    align-items: end;
}
body.dark-mode .project-filters-card {
    background: #1f2937;
    border-color: #374151;
}

@media (max-width: 992px) {
    .project-filters-card {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .project-filters-card {
        grid-template-columns: 1fr;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}
body.dark-mode .filter-group label {
    color: #e5e7eb;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}
.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);
}

.btn-clear-filters {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-clear-filters:hover {
    background: rgba(202, 138, 4, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.empty-state-box {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
}
body.dark-mode .empty-state-box {
    background: #1f2937;
}
.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.empty-state-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.empty-state-box p {
    color: var(--text-gray);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Hamdah Case Study Detail Page (hamdah-project.html)
   ───────────────────────────────────────────── */
.sub-nav-bar {
    background: #0f172a;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 70px;
}
.back-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}
.back-link:hover {
    color: #ffffff;
}

.project-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3.5rem 0 4rem;
}
.project-hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 992px) {
    .project-hero-content {
        grid-template-columns: 1fr;
    }
}
.project-meta-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.pill-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
}
.status-pill {
    background: rgba(5, 150, 105, 0.2);
    border-color: #059669;
    color: #34d399;
}
.project-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.project-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.6;
}
.project-main-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(202, 138, 4, 0.3);
}

.project-detail-body {
    padding: 5rem 0;
    background: var(--bg-light);
}
.project-detail-layout {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 3.5rem;
}
@media (max-width: 992px) {
    .project-detail-layout {
        grid-template-columns: 1fr;
    }
}

.detail-block {
    margin-bottom: 3.5rem;
}
.block-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}
.block-divider {
    width: 4rem;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1.5rem;
}
.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}
.detail-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.solution-item {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.25rem;
}
body.rtl .solution-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}
body.dark-mode .solution-item {
    background: #1f2937;
}
.solution-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlights-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(202, 138, 4, 0.05);
    padding: 1.1rem 1.3rem;
    border-radius: 0.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}
body.dark-mode .highlights-list li {
    background: rgba(202, 138, 4, 0.12);
}
.check-icon {
    color: #059669;
    font-weight: 900;
    font-size: 1.2rem;
}

.gallery-verified-img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}
.gallery-caption {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

/* Sidebar Facts Card */
.project-facts-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.facts-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
}
body.dark-mode .facts-card {
    background: #1f2937;
    border-color: #374151;
    border-top-color: var(--primary-color);
}
.facts-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.facts-card-divider {
    height: 2px;
    background: var(--border-color);
    margin-bottom: 1.5rem;
}
.fact-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}
.fact-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.fact-label {
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    font-weight: 700;
}
.fact-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}
.highlight-gold {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact CTA Section */
.project-cta-section {
    padding: 4rem 0 6rem;
    background: var(--bg-gray);
}
body.dark-mode .project-cta-section {
    background: #111827;
}
.cta-card-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 1.25rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(202, 138, 4, 0.3);
}
.cta-card-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.cta-card-box p {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.btn-cta-gold {
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
}