:root {
    --primary-color: #2c3e50; 
    --accent-color: #c5a059;  
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.4s ease-in-out;
}

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

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

body {
    direction: rtl;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 2rem;
}

.nav-bar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-bar ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-bar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    right: 0;
    transition: var(--transition);
}

.nav-bar ul li a:hover::after, .nav-bar ul li a.active::after {
    width: 100%;
}

.btn-call {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.menu-icon, .close-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/bg.jpg'); 
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: -1;
    animation: zoomAnimation 20s infinite alternate;
}

@keyframes zoomAnimation {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary {
    border: 2px solid #fff;
    color: white;
}

.btn:hover {
    transform: scale(1.05);
    background: #fff;
    color: var(--primary-color);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .btn-call {
        display: none; 
    }

    .menu-icon {
        display: block;
        color: var(--primary-color);
    }

    .nav-bar {
        position: fixed;
        top: -100%; 
        right: 0;
        width: 100%;
        background: #fff;
        height: auto;
        padding: 50px 0;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .nav-bar.active {
        top: 0;
    }

    .nav-bar ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--primary-color);
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
.about {
    padding: 100px 0;
    background-color: var(--light-bg); 
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.about-image-container {
    flex: 1;
    position: relative;
    min-width: 350px;
}

.about-image-container img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    top: 20px;
    right: -20px;
    border-radius: 20px;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    opacity: 0.2;
    bottom: -30px;
    left: -30px;
    border-radius: 50%;
    z-index: 0;
    animation: float 4s infinite ease-in-out;
}
.about-content {
    flex: 1.2;
    min-width: 350px;
}

.sub-title {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 40px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-features li i {
    color: var(--accent-color);
    font-size: 1.3rem;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features li {
        justify-content: center;
    }

    .image-border {
        right: -10px;
        top: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
.services {
    padding: 100px 0;
    background-color: #151921; 
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.white {
    color: #ffffff;
}

.section-desc {
    color: #a0aab4; 
    max-width: 600px;
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: #1e242d; 
    border: 1px solid rgba(197, 160, 89, 0.15); 
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #c5a059, #8e6d2e);
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: #c5a059;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.15; 
}
.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.4s;
}

.card-icon i {
    font-size: 2rem;
    color: #c5a059; 
}

.service-card:hover .card-icon {
    background: #c5a059;
}

.service-card:hover .card-icon i {
    color: #fff;
}
.service-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.service-card p {
    color: #a0aab4;
    line-height: 1.7;
    font-size: 0.95rem;
    transition: 0.3s;
}

.service-card:hover h3 {
    color: #c5a059;
}

.service-card:hover p {
    color: #fff;
}
.card-bg-icon {
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03); 
    transition: 0.5s;
    z-index: -1;
}

.service-card:hover .card-bg-icon {
    transform: scale(1.2) rotate(-15deg);
    color: rgba(197, 160, 89, 0.05);
}

.services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.portfolio {
    padding: 100px 0;
    background-color: #fff;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.filter-controls .control {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.filter-controls .control.active, .filter-controls .control:hover {
    background: var(--primary-color);
    color: #fff;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    transition: all 0.5s ease;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in;
}

.portfolio-item img, .portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.video-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(1, 1fr); 
    }
    .portfolio-item {
        height: 250px;
    }
}
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #d4d4d6 0%, #c3c5c6 100%); 
    position: relative;
    overflow: hidden;
}

.why-us-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.why-card {
    background: #fff;
    padding: 50px 35px;
    border-radius: 30px;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.why-card::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197,160,89,0.05) 0%, transparent 70%);
    transition: 0.8s;
    z-index: -1;
}

.why-card:hover::before {
    top: -50%;
    right: -50%;
}

.why-icon-box {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.5s;
}

.why-icon-box i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: 0.5s;
}

.why-card:hover .why-icon-box {
    background: var(--accent-color);
    transform: rotateY(360deg);
}

.why-card:hover .why-icon-box i {
    color: #fff;
}

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

.why-card p {
    color: #777;
    line-height: 1.7;
    font-size: 1rem;
}
.card-step {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    transition: 0.5s;
}

.why-card:hover .card-step {
    color: rgba(197, 160, 89, 0.1);
    transform: scale(1.2);
}
.why-card {
    opacity: 0;
    transform: translateY(30px);
}

.why-card.show {
    opacity: 1;
    transform: translateY(0);
}
.contact {
    padding: 100px 0;
    background: #151921; 
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.contact-info-card, .contact-form-card {
    background: #1e242d; 
    padding: 40px;
    border-radius: 20px;
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a059;
    font-size: 1.5rem;
}

.info-text h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.info-text p, .contact-link {
    color: #a0aab4;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    color: #c5a059;
}

.area-badge {
    display: inline-block;
    margin-top: 10px;
    background: #c5a059;
    color: #fff;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
}
.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 15px;
    background: #282e39; 
    border: 1px solid #363e4a;
    border-radius: 10px;
    color: #fff;
    outline: none;
    font-family: 'Cairo', sans-serif;
    transition: 0.3s;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: #c5a059;
    background: #2d3542;
}
.btn-submit {
    width: 100%;
    padding: 15px;
    background: #25d366; 
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}
.main-footer {
    background: #0d1117; 
    color: #fff;
    padding: 80px 0 0;
    border-top: 2px solid #c5a059;
}

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

.footer-col h3 {
    color: #c5a059;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: #c5a059;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aab4;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-right: 10px;
}

.footer-col ul li a::before {
    content: '•';
    color: #c5a059;
}

.about-company p {
    color: #a0aab4;
    line-height: 1.8;
    margin-top: 20px;
}

.contact-info p {
    color: #a0aab4;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #c5a059;
}
.footer-bottom {
    background: #080a0e;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #7d858d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.dev-credit a {
    color: #c5a059;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.dev-credit a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #c5a059;
}
@keyframes pulse-effect {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.float-btn {
    animation: pulse-effect 2s infinite;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-actions {
        bottom: 20px;
        left: 20px;
    }
    
    .float-btn {
        width: 55px;
        height: 55px;
    }
}
.floating-actions {
position: fixed;
bottom: 30px;
left: 30px;
display: flex;
flex-direction: column;
gap: 15px;
z-index: 9999;
}
.float-btn {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
text-decoration: none;
font-size: 1.5rem;
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
transition: all 0.4s ease;
overflow: hidden;
position: relative;
}
.float-btn span {
position: absolute;
right: 70px;
background: #333;
padding: 5px 15px;
border-radius: 5px;
font-size: 0.8rem;
white-space: nowrap;
opacity: 0;
transition: 0.4s;
pointer-events: none;
}
.float-btn:hover {
width: 160px;
border-radius: 50px;
}
.float-btn:hover span {
opacity: 1;
right: 50px;
}
.whatsapp {
background: #25d366;
}
.phone {
background: var(--primary-color);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.float-btn {
animation: pulse 2s infinite;
}
@media (max-width: 768px) {
.floating-actions {
bottom: 20px;
left: 20px;
}
.float-btn:hover {
    width: 60px;
}

.float-btn span {
    display: none;
}
}