:root {
    --primary-color: #002e5d;
    /* Dark Blue Identity */
    --secondary-color: #005691;
    --accent-color: #e6e6e6;
    /* Steel Silver */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-light: #ffffff;
    --bg-dark: #0a1929;
    /* Very dark blue for sections */
    --font-heading-english: 'Bebas Neue', sans-serif;
    --font-body-english: 'Roboto', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body-english);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading-english);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.arabic-title,
.arabic-text,
.arabic-text-sm {
    font-family: var(--font-arabic);
}

.arabic-title {
    display: block;
    font-size: 0.6em;
    color: var(--secondary-color);
    margin-top: 5px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 2px;
    /* Industrial sharp edges */
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn span {
    display: block;
    font-family: var(--font-arabic);
    font-size: 0.8em;
    margin-top: 2px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.bg-light {
    background-color: #f9f9f9;
}

.dark-bg {
    background-color: var(--bg-dark);
    color: #fff;
}

/* Navbar */
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 20, 40, 0.9);
    /* Dark glassmorphism */
    backdrop-filter: blur(15px);
    /* Strong blur for modern look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    padding: 5px 0;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    font-weight: 500;
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item span {
    display: block;
    font-family: var(--font-arabic);
    font-size: 0.75em;
    opacity: 0.7;
    margin-top: 2px;
}

.nav-item:hover span {
    color: var(--secondary-color);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    margin-left: 15px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

/* Hero Section */
/* Hero Section - Dark Industrial Correction */
/* Hero Section - Strategic Partner Design */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-top: 80px;
    background-color: #001932;
    /* Fallback for white screen issue */
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use the dark rebar background if available, or hero-clean as placeholder */
    background-image: url('../assets/img/hero-clean.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 26, 38, 0.95) 0%, rgba(10, 20, 30, 0.8) 100%);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* Badge Style */
.hero-badge-top {
    background: rgba(255, 255, 255, 0.1);
    color: #cb5b38;
    /* Orange Accent */
    border: 1px solid rgba(203, 91, 56, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    display: inline-block;
}

/* Strategic Partner Headline */
.hero-title {
    font-family: var(--font-heading-english);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-title .highlight-orange {
    color: #cb5b38;
    /* Match reference orange */
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Main Orange Button */
.btn-primary-orange {
    background: #cb5b38;
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-orange:hover {
    background: #b04625;
    transform: translateY(-2px);
}

/* Outline/Dark Button */
.btn-outline-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: #fff;
    color: #001932;
}

/* Download Profile Button */
.btn-download-profile {
    background: linear-gradient(135deg, #005691 0%, #002e5d 100%);
    color: #fff;
    padding: 14px 35px;
    border-radius: 6px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 46, 93, 0.3);
}

.btn-download-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-download-profile:hover::before {
    left: 100%;
}

.btn-download-profile:hover {
    background: linear-gradient(135deg, #006bb3 0%, #003d7a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 46, 93, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-download-profile i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-download-profile:hover i {
    transform: translateY(2px);
    animation: downloadBounce 0.6s ease infinite;
}

@keyframes downloadBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Hero Stats Row fixed at bottom */
.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.h-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.h-stat-item span {
    color: #8899a6;
    font-size: 0.95rem;
}

.scroll-indicator {
    display: none;
    /* Removed as per new design focus */
}



.mouse {
    width: 30px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 28px;
        opacity: 0;
    }
}

/* Section Common */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.dark-bg .section-title {
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--secondary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin: 15px auto 0;
}

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Image UI/UX Enhancements */
.col-img,
.project-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Modern rounded corners */
}

/* Add an inner border effect for an "Engineered" look */
.col-img::before,
.project-img::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.95);
}

.col-img:hover::before,
.project-item:hover .project-img::before {
    opacity: 1;
    transform: scale(1);
}

.col-img img {
    width: 100%;
    border-radius: 8px;
    /* Clean shadow */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95);
}

.col-img:hover img {
    filter: brightness(1.05);
    /* Make pop */
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}


.exp-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.exp-badge .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.features-list span {
    margin-left: auto;
    font-family: var(--font-arabic);
    color: #666;
    font-size: 0.9em;
}

/* Vision Mission */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    height: 400px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card:hover .card-bg {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.card h3 span {
    font-family: var(--font-arabic);
    font-size: 0.6em;
    margin-left: 10px;
    color: var(--secondary-color);
}

/* Goals */
.goals-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.goal-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.3s;
}

.goal-item:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.goal-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.goal-item h4 span {
    display: block;
    font-family: var(--font-arabic);
    color: #888;
    margin-top: 5px;
    font-size: 0.9em;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.p-img {
    height: 200px;
    overflow: hidden;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .p-img img {
    transform: scale(1.1);
}

.p-content {
    padding: 20px;
}

.p-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.p-content h4 span {
    display: block;
    font-family: var(--font-arabic);
    font-size: 0.75em;
    color: var(--secondary-color);
    margin-top: 4px;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
    padding: 10px;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step-text {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    min-width: 50px;
}

/* Quality */
.quality-stamp {
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-block;
    padding: 10px 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0;
    transform: rotate(-5deg);
    opacity: 0.8;
}

/* Contact */
.contact-details {
    margin-top: 40px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.1rem;
}

.contact-details i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--secondary-color);
}

.contact-details span {
    margin-top: 8px;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 2px;
    font-family: var(--font-english);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: #050d15;
    color: rgba(255, 255, 255, 0.4);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 0.8s forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(50px);
    animation: slideLeft 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Projects Section */
.projects-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.project-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 300px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 46, 93, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.project-item:hover .overlay {
    opacity: 1;
}

.overlay .text {
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: #fff;
}

.project-item:hover .overlay .text {
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.overlay span {
    font-family: var(--font-arabic);
    color: var(--secondary-color);
}



/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
    }

    .step-line {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.m-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.m-links a {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.m-links a span {
    display: block;
    font-size: 0.5em;
    font-family: var(--font-arabic);
    color: var(--secondary-color);
    font-weight: 400;
    margin-top: 5px;
}

.lang-switch-mobile {
    background: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 1.5rem !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.lang-switch-mobile:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.lang-switch-mobile i {
    font-size: 1.2em;
}

/* Media Queries Update */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats-row {
        gap: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .row {
        flex-direction: column;
    }

    .col-img.animate-slide-right {
        order: -1;
    }

    .grid-2,
    .grid-4,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-line {
        display: none;
    }

    .step {
        width: 100%;
    }

    .projects-slider {
        flex-direction: column;
    }

    .project-item {
        max-width: 100%;
    }

}

/* Comprehensive Footer */
.footer {
    padding: 60px 0 20px;
    background: #050d15;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col h4 span {
    display: block;
    font-size: 0.7em;
    font-family: var(--font-arabic);
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Mobile Fix for Footer */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-btn,
.scroll-top-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.scroll-top-btn {
    background: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* RTL Adjustment for Floating Buttons */
html[dir="rtl"] .floating-btns {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .floating-btns {
        bottom: 20px;
        right: 20px;
    }

    html[dir="rtl"] .floating-btns {
        right: auto;
        left: 20px;
    }

    .whatsapp-btn,
    .scroll-top-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


/* --- WOW Upgrade Styles --- */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo img {
    width: 100px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10001;
    pointer-events: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--secondary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 86, 145, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* Hero Parallax & Ken Burns */
.hero {
    overflow: hidden;
    background-attachment: fixed;
    /* Simple parallax */
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Glassmorphism Cards */
.card,
.project-item,
.product-card,
.goal-item {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-bg .card {
    background: rgba(255, 255, 255, 0.02);
}

/* Text Reveal Animation */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transform: translateX(-101%);
    animation: revealBlock 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealBlock {
    0% {
        transform: translateX(-101%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(101%);
    }
}

/* 3D Tilt Effect on Hover (Logic in JS, Base here) */
.card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth Scroll HTML */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Arabic Version Font Override */
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
    font-family: var(--font-arabic) !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-weight: 700;
    letter-spacing: 0;
}

html[dir="rtl"] .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Responsive Design for Buttons */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .btn-primary-orange,
    .btn-outline-dark,
    .btn-download-profile {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 0.95rem;
    }

    .btn-download-profile i {
        margin-right: 6px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    html[dir="rtl"] .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {

    .btn-primary-orange,
    .btn-outline-dark,
    .btn-download-profile {
        padding: 14px 25px;
        font-size: 0.9rem;
    }
}