@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: Arial, sans-serif; /* Added a fallback font */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Your existing CSS rules */
.logo img {
    width: 112px; /* Adjust to make it smaller */
    height: 90px; /* Keep height equal to width for a perfect circle */
    display: block;
    margin: 0 auto;
    cursor: pointer; /* Makes it clear that it's clickable */
    
    object-fit: cover; /* Ensures the image fits within the circle */
}


header {
    background-color: #000;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Adjusted padding for smaller screens */
}


/* Base styles for the select element */
.lang-selection {
    width: 100px; /* Set the width of the dropdown */
    padding: 10px; /* Add padding for better appearance */
    font-size: 1em; /* Adjust font size */
    font-weight: 500; /* Adjust font weight */
    color: rgb(240, 233, 233); /* Set text color */
    background-color: rgb(49, 49, 51); /* Set background color */
    border: 2px solid rgb(36, 37, 37); /* Add border */
    border-radius: 5px; /* Round the corners */
    outline: none; /* Remove the default outline */
    appearance: none; /* Remove the default arrow */
    cursor: pointer; /* Change the cursor to pointer */
    transition: border-color 0.3s ease; /* Add transition for border color */
    margin-left: 15px;
}

/* Add custom arrow */
.lang-selection::after {
    content: '▼'; /* Add a down arrow */
    position: absolute; /* Position it absolutely */
    right: 10px; /* Move it to the right edge */
    pointer-events: none; /* Disable pointer events */
}

/* Add a background image for the arrow */
.lang-selection {
    background: rgb(46, 46, 46) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><polygon points="70,100 35,50 105,50" fill="rgb(35, 95, 95)" /></svg>') no-repeat right 10px center; 
    background-size: 10px; /* Size of the arrow */
}

/* Hover effect */
.lang-selection:hover {
    border-color: blueviolet; /* Change border color on hover */
}

/* Focus effect */
.lang-selection:focus {
    border-color: blueviolet; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(108, 134, 247, 0.5); /* Add shadow on focus */
}

/* Style for the options */
.lang-selection option {
    padding: 10px; /* Add padding to options */
    background-color:rgb(183, 198, 247) ; /* Set background color */
    color: rgb(35, 95, 95); /* Set text color */
}


.navgiation a {
    text-decoration: none;
    color: rgb(35, 95, 95);
    font-weight: 500;
    font-size: 1.1em;
    padding-left: 15px; /* Adjusted padding for smaller screens */
}

.navgiation a:hover {
    color: blueviolet;
}

section {
    padding: 100px 20px; /* Adjusted padding for smaller screens */
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    background-size: cover;
    text-align: center; /* Center text for smaller screens */
    background: url(images/hero_1.jpeg) no-repeat center center/cover; /* Shorthand for background properties */
    background-attachment: fixed;
}

.main h2 {
    color: white;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    font-size: 3em;
    font-weight: 600;
    color: rgb(108, 134, 247);
    margin-top: 10px;
}

.main h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
    word-spacing: 0.5em;
   
}

.main-btn {
    color: #fff;
    background-color: rgb(108, 134, 247);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    border-radius: 15px;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}

.main-btn:hover {
    background-color: rgb(62, 95, 243);
    transform: scale(1.1);
}

.soical-icons a{
    color: #fff;
    font-size: 1.7em;
    padding: 15px;
}

.title {
    display: flex;
    justify-content: center;
    color: rgb(62, 95, 243);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap; /* Enabled flex-wrap for smaller screens */
}

.card {
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.icon {
    color: rgb(62, 95, 243);
    font-size: 7em;
    text-align: center;
}

.info h3 {
    color: rgb(62, 95, 243);
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
    padding-left: 0; /* Removed padding for smaller screens */
    text-align: center; /* Centered text */
}

.projects {
    background-color: #16282c;
}
.projects .content{
    margin-top: 30px;

}
.project-card {
    background-color:#fff ;
    border : 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;

}
.project-card:hover {
    transform: scale(1.1);

}
project-card:hover {
   opacity: 0.9;

}

.project-image img{
    width: 100%;
}
.project-info {
    padding: 1em;

}
.project-category{
    font-size: 0.8em;
    color: #000016;

}
.project-title{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}
.more-details {
    text-decoration: none;
    color: #3a6cf4;
}
.more-details:hover {
    color: #601cfc;
}
.contact .info h3 {
    color: rgb(0, 0, 2);
    padding-left: 0; /* Removed padding for smaller screens */
    text-align: center; /* Centered text */
}

.contact .icon {
    font-size: 4.5em;
}

.contact .info p {
    font-size: 1.3em;
    padding-left: 0; /* Removed padding for smaller screens */
    text-align: center; /* Centered text */
}

.whatsapp-icon{
    font-size: 4.5em;
    color: rgb(29, 196, 70);
 
    text-align: center;


}
.whatsapp-icon a {
    text-decoration: none;
    color: #25D366;
    font-size: 1em;


}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.map-container {
    margin: 50px;
  
}


.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Enabled flex-wrap for smaller screens */
    text-align: center; /* Centered text */
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #3a6cf4;
}

#heart-icon {
    color: red;
    padding: 10px;
}

/* Media Queries */
@media (max-width: 1200px) {
    header {
        padding: 10px 100px;
    }

    section {
        padding: 80px 100px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 50px;
        flex-direction: column; /* Stack elements */
    }

    .navigation {
        margin-top: 10px;
    }

    .main {
        flex-direction: column; /* Stack elements */
        padding: 20px; /* Adjusted padding */
    }

    .title {
        font-size: 1.8em;
    }

    .card {
        width: 100%; /* Full width cards */
        margin: 10px 0; /* Adjusted margin */
    }
    

    .footer {
        flex-direction: column; /* Stack elements */
        align-items: center; /* Center elements */
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.5em;
    }

    .navigation a {
        font-size: 1em;
        padding-left: 10px;
    }

    .main h2 {
        font-size: 1.2em;
    }

    .main h2 span {
        font-size: 2.5em;
    }

    .main h3 {
        font-size: 1.5em;
        letter-spacing: 0; /* Adjusted letter spacing */
    }

    .main-btn {
        padding: 0.5em 1.5em; /* Adjusted padding */
    }

    .icon {
        font-size: 5em;
    }

    .info h3 {
        font-size: 1em;
    }

    .contact .icon {
        font-size: 3em;
    }

    .contact .info p {
        font-size: 1em;
    }

    .footer {
        padding: 1em;
    }

    .footer-title {
        font-size: 1em;
    }
}

/* @media(max-width:1023){
    header {
        padding: 12px 20px;

    }
    .navgiation a{
        padding-left: 10px;

    }
    .title {
        font-size: 1.8em;

    }
    section{
        padding: 80px 20px;

    }

    .main-content h2 {
        font-size: 1em;
    }
    .main-content h3 {
        font-size: 1.6em;


    }
    .content{
        flex-direction: column;
        align-items: center;
    }

}
@media (max-width:641px){
    body{
        font-size: 12px;

    }
    .main-content h2 {
        font-size: 0.8em;

    }
    .main-content h3 {
        font-size: 1.4em;

    }
}
@media (max-width:300px) {
    body {
        font-size: 10px;
    }
} */