/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background: linear-gradient(135deg, #0f1420 0%, #1a1e3a 50%, #0f1420 100%);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #3b82f6;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3b82f6;
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.3));
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    animation: float 6s ease-in-out infinite;
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.cube-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    transform: rotate(60deg);
}

.cube-3 {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(30deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(4) { top: 10%; left: 15%; animation-delay: 0s; }
.particle:nth-child(5) { top: 30%; left: 75%; animation-delay: 2s; }
.particle:nth-child(6) { top: 50%; left: 25%; animation-delay: 4s; }
.particle:nth-child(7) { top: 70%; left: 85%; animation-delay: 6s; }
.particle:nth-child(8) { top: 90%; left: 55%; animation-delay: 1s; }

@keyframes particle-float {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.hero-content {
    max-width: 800px;
    margin-bottom: 3rem;
    width: 100%;
}

.hero-glass-card {
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 3rem;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: #cbd5e1;
    margin-top: 0.5rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hero-image {
    max-width: 600px;
    width: 100%;
}

.image-glass-container {
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-glass-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: rgba(15, 20, 32, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-glass-card {
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.about-glass-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #3b82f6;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Services Section */
.services-header {
    padding: 50px 0;
}

.service-section {
    padding: 80px 0;
}

.service-section:nth-child(even) {
    background: rgba(15, 20, 32, 0.3);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-section.alternate .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-text {
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.service-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.service-number {
    display: inline-flex;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-text h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-text ul {
    list-style: none;
}

.service-text li {
    color: #cbd5e1;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-text li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: rgba(15, 20, 32, 0.5);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-glass-card {
    background: rgba(26, 30, 58, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    max-width: 600px;
}

.contact-glass-card h3 {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.contact-glass-card p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.contact-value {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value:hover {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background: rgba(15, 20, 32, 0.8);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #cbd5e1;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-glass-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-section.alternate .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-section.alternate .service-image {
        order: 2;
    }
    
    .service-section.alternate .service-text {
        order: 1;
    }
    
    .service-text {
        padding: 2rem;
    }
    
    .service-image img {
        height: 300px;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .hero-buttons,
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .floating-cube {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-glass-card {
        padding: 1.5rem;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .about-glass-card,
    .contact-glass-card {
        padding: 2rem;
    }
    
    .service-text {
        padding: 1.5rem;
    }
    
    .service-content {
        gap: 1.5rem;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .contact-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
} 