
:root {
    --blue: #0066ff;
    --bg: #050a14;
}


header {
    background: rgba(5, 10, 20, 0.9);
    border-bottom: 1px solid #00aaff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.Aa1 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
  
    flex-direction: row; 
}

.Aa2 {
    display: flex;
    align-items: center;
    gap: 15px;
   
    order: 2; 
}

.Aa2 h1 {
    font-size: 22px;
    color: white;
    margin: 0;
}

.Aa2 span {
    color: #00aaff;
}

.LOGO1 {
    height: 45px;
    border-radius: 5px;
}

nav {
 
    order: 1; 
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00aaff;
}

body {
    background-color: #0a0e14;
    color: white;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    direction: rtl;
}


.v1-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}


.about-wrapper, .contact-wrapper {
    max-width: 1000px;
    margin: 50px auto;
    background: #161b22; 
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #30363d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}


.v1-header {
    text-align: center;
    margin-bottom: 35px;
}

.o3 {
    color: #00aaff; 
    font-size: 28px;
    margin-bottom: 10px;
}

.v1-header p {
    color: #8b949e;
    font-size: 16px;
}


.v1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}


.v2-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.v2-card:hover {
    border-color: #00aaff;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.1);
}


.v3-icon i {
    font-size: 40px;
    margin-bottom: 15px;
}

.v-title, .v4-info h3 {
    color: #ffffff;
    font-size: 20px;
    margin-top: 10px;
}

.v4-info p {
    color: #8b949e;
    font-size: 14px;
    margin: 10px 0;
}

.v4-info span {
    color: #00aaff;
    font-size: 13px;
    font-weight: bold;
}


.v5-btn {
    background: transparent;
    color: #00aaff;
    border: 1px solid #00aaff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
    transition: 0.3s;
}

.v5-btn:hover {
    background: #00aaff;
    color: #ffffff;
}


.about-text h3[style*="direction: ltr"], 
.about-text p[style*="direction: ltr"] {
    direction: ltr;
    text-align: center;
}


.v1-footer {
    background: #0d1117;
    border-top: 1px solid #30363d;
    padding: 40px 0 20px 0;
    margin-top: 60px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: #161b22;
    transition: 0.4s;
}

.wa:hover { background: #25d366; }
.fb:hover { background: #1877f2; }
.ig:hover { background: #e4405f; }


@media (max-width: 768px) {
    .about-wrapper, .contact-wrapper {
        padding: 20px;
        margin: 20px;
    }
    
    .v1-grid {
        grid-template-columns: 1fr;
    }
}



.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3, .footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
    background: #161b22;
}


.wa:hover { background: #25d366; box-shadow: 0 0 15px #25d366; } 
.fb:hover { background: #1877f2; box-shadow: 0 0 15px #1877f2; } 
.ig:hover { background: #e4405f; box-shadow: 0 0 15px #e4405f; } 

.footer-bottom {
    border-top: 1px solid #edf0f2;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 13px;
    text-align: center;
}
.back-home-btn {
    display: inline-block;
    background: #1a1f26;
    color: #00aaff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #30363d;
    font-weight: bold;
    transition: 0.3s;
     position: absolute;
    top: 75px;
    left: 1000px;
}

.back-home-btn:hover {
    background: #00aaff;
    color: white;
}