* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5fdd81;
    --secondary-color: #4ADE80;
    --dark-bg: #0A0A0A;
    --text-light: #FFFFFF;
    --text-gray: #A0A0A0;
}
html,
body{
    overflow-x: hidden;
    background: url('../assets/hero-bg.webp') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

body::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: -1;
}
.glass-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 40px;
    border-radius: 20px;
    max-width: 1400px;
    margin: auto;
}
/* خلفية زجاجية فاتحة */
.glass-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

/* خلفية زجاجية داكنة */
.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

/* خلفية زجاجية ملونة (برتقالي) */
.glass-orange {
    background: rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 2rem;
}
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 120px;
    height: auto;
}



.social-links-nav {
    display: flex;
    gap: 1.5rem;
}

.social-links-nav a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.social-links-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    
    display: flex;
    align-items: center;
}

/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,0.7));
} */

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
} */

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero-logo {
    position: relative;
    z-index: 1;
}

.logo-ar {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Services Section */
.services-section {
    padding: 40px 0;
    position: relative;
}

.services-image {
    border-radius: 20px;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-image:hover img {
    transform: scale(1.05);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    font-size: 1.5rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-list li:hover {
    padding-left: 20px;
    color: var(--primary-color);
}

.star-icon {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    animation: rotate 10s linear infinite;
}
.icon{
    max-width: 100px;
    margin: auto;
    margin-top: 30px;
}
.icon img{
    
}
.star-icon.bottom {
    top: auto;
    bottom: -90px;
}

@keyframes rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Projects Grid */
.projects-section {
   padding-bottom: 50px;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.project-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
    text-decoration: none;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-name-ar {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Project Page Styles */
.project-page {
    background: #000;
}

.project-gallery-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.no-images {
    text-align: center;
    padding: 100px 20px;
    font-size: 1.5rem;
    color: var(--text-gray);
}

/* Project Navigation */
.project-navigation {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link svg {
    transition: transform 0.3s ease;
}

.nav-link.prev:hover svg {
    transform: translateX(-5px);
}

.nav-link.next:hover svg {
    transform: translateX(5px);
}

.name-ar {
    display: block;
    font-size: 1rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .logo-text{
        font-size: 2.5rem;
    }
    .logo{
        width: 80px;
         height: auto;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-ar {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-list li {
        font-size: 1.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}









/* ============================================
    CTA Button with Glowing Effect
    ============================================ */

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 24px;
    font-weight: 700;
    color: #0A0A0A;
    background: linear-gradient(135deg, #5fdd81 0%, #4ADE80 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(95, 221, 129, 0.4),
        0 0 40px rgba(95, 221, 129, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
    width: 550px;
    max-width: 300px;
}

/* Glow Animation */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(95, 221, 129, 0.4),
            0 0 40px rgba(95, 221, 129, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(95, 221, 129, 0.6),
            0 0 60px rgba(95, 221, 129, 0.4),
            0 0 80px rgba(95, 221, 129, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Shine Effect */
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Hover Effect */
.cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(95, 221, 129, 0.7),
        0 0 80px rgba(95, 221, 129, 0.5),
        0 0 120px rgba(95, 221, 129, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Active Effect */
.cta-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 
        0 0 20px rgba(95, 221, 129, 0.5),
        0 0 40px rgba(95, 221, 129, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Icon Support */
.cta-btn svg {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(-4px);
}

/* Particles Effect (Optional) */
.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #5fdd81, #4ADE80, #5fdd81);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotateBorder 3s linear infinite;
}

.cta-btn:hover::after {
    opacity: 0.6;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Different Sizes */
.cta-btn-sm {
    padding: 12px 30px;
    font-size: 16px;
}

.cta-btn-lg {
    padding: 20px 50px;
    font-size: 20px;
}

/* Button Variations */
.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}


/* Custom Popup Styles */
.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.custom-popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
}

.error-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.popup-content p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}
@font-face{
    font-family: "Graphik";
    src: url('../fonts/Graphik\ Arabic\ SemiBold.ttf') format('opentype');
}
.arabic {
    font-family: "Graphik", sans-serif;
}



