*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
span{
   color: aqua;
}
nav{
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;

}
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    
}
.nav-links {
    display: flex;
    list-style: none;
    margin-right: 50px;
}
.nav-links li {
   margin-left: 10px;
    
}
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    gap: 20px;
    
    align-items: center;
    padding: 12px;
    width: 100px;
    transition: all 0.3s ease;
    border-radius: 10px;
    border-color: aqua;
    border-width: 0 3px 3px 0;
    border-style: solid ;
    
}
.nav-links li a:hover {
    background-color: aqua;
    border-radius: 5px;
}


.logo {
    display: flex;
    align-items: center;
    margin-right: 100px;
}
.logo a {
    color: white;
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
    align-items: center;
    border-color: aqua;
    border-width: 0px 0px 3px 3px;
    border-style: solid;
    border-radius: 10px;
    padding: 12px;
    
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}
.nav-links {
    transition: 0.3s;
}
#menu-toggle {
    display: none;
}
#menu-toggle:checked ~ .nav-links {
    display: flex;
}
#menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
@media (max-width: 1200px) {
    .menu {
        position: relative;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 0;
        margin: 0;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    }
    .nav-links li {
        margin: 0;
        text-align: center;
        display: block;
    }
    .nav-links li a {
        width: 100%;
        padding: 15px;
        border: none;
        background-color: #333;
        display: block;
        border-bottom: 1px solid aqua;
    }
    .hamburger {
        display: flex;
    }
    .logo {
        margin-right: auto;
    }
    #menu-toggle:checked ~ .nav-links {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links li a {
        font-size: 14px;
        padding: 10px;
    }
}
.contener-main{
    background-color: #333;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.contener-main img{
    width: 550px;
    height: 500px;
    border-color: aqua;
    border-width: 0 30px 30px 0;
    border-style: solid;
    border-radius: 10px;
    margin-left: 20px;

}
.row-main h1{
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}
.row-main p{
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: capitalize;
    

}

/* Projects Section Styling */
#services {
    background-color: #222;
    padding: 60px 20px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.projects-text {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 50px;
}
.projects-text h1 {
    color: white;
    font-size: 40px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}
.projects-text h1::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: aqua;
    margin: 5px auto 0;
    border-radius: 2px;
}
.card {
    background-color: #333;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    border-color: aqua;
}
.icon {
    font-size: 45px;
    margin-bottom: 20px;
    color: aqua;
}
.card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 24px;
}
.card p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}
.view-button {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid aqua;
    border-radius: 30px;
    color: aqua;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.view-button span {
    color: inherit; /* لضمان تغير لون السهم مع النص */
}
.view-button:hover {
    background-color: aqua;
    color: #333;
    box-shadow: 0 0 15px aqua;
}

/* About Us Section */
.contener-about {
    background-color: rgba(0, 255, 255, 0.322);
    padding: 60px 20px;
}
.contener-about h1 {
    color: rgb(8, 8, 8);
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
}
#contact {
    padding: 60px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.contact-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 600px;
}

.contact-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
}

.fs-field {
    margin-bottom: 20px;
}

.fs-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.fs-input, .fs-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.fs-input:focus, .fs-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    outline: none;
}

.fs-description {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.fs-button {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fs-button:hover {
    background-color: aqua;
}

/* Footer Section */
footer {
    background-color: #000;
    padding: 30px 20px;
    text-align: center;
    color: white;
    border-top: 1px solid #333;
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0 15px;
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid aqua;
    border-radius: 30px;
    color: aqua;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 14px;
    gap: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.social-icons a:hover {
    transform: scale(1.05);
    background-color: aqua;
    color: #333;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
}
.social-icons a.instagram:hover {
    background-color: #E1306C;
    border-color: #E1306C;
    color: #fff;
    box-shadow: 0 0 18px rgba(225, 48, 108, 0.6);
}
.social-icons a.tiktok:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
}
.social-icons a.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.6);
}
.social-icons a i {
    font-size: 20px;
}
.icon-text {
    font-weight: 600;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
footer p {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}
