
/*  Nav bar style  */

.gradient-1     {
background-color: rgb(8, 102, 255);
}
* {
    margin: 0px;
    padding: 0px;
    font-family: roboto, 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.nav-bar-con {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo {
    height: 60px;
    width: 80px;
}

.site-name {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 40%;
}

.site-name a {
    text-decoration: none;
    color:  white;
    font-size: 2rem;
    font-weight: 600;
}

.nav-bar-items {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
}

.nav-bar-items a {
    text-decoration: none;
    color:white;
    font-size: 1rem;
}

.nav-bar-con a:hover {
    color: purple;
    transition: 1s;
}


.lang-btn {
    border: solid white 1px;
    margin-right: 30px;
}

/* Hero section style */

.Hero-con {
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    width: 100%;
    padding-top: 50px;
}

.Hero-title {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 4rem;
    padding-left: 35px;
    padding-top: 80px;
    padding-bottom: 30px;
}

.Hero-p {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

span {
    color: rgb(8, 102, 255);
    font-size: 3rem;
}

/* Services section style */

#Services {
    background-color: whitesmoke;
    margin-top: 50px;
    padding-top:50px;
}

.services-head {
    color:rgb(8, 102, 255) ;
    font-weight: 600;
    font-size: 2rem;
}

/* About Me Section style */

#About-Me {
    padding-top: 50px;
    padding-bottom:30px ;
}

.About-1 {
    width: 100%;
    padding-top: 50px;
}

.about-head {
    color: rgb(8, 102, 255);
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 50px;
    padding-left: 12px;
}

.About-1 p {
    padding-left: 12px;
}

.about-head-2 {
    padding-left: 12px;
    padding-top: 25px;
    padding-bottom: 25px;
    color: rgb(8, 102, 255);
}

/* Contact Me section style */

#Contact-Me {
    background-color: whitesmoke;
}

.Contact-1 {
    width: 100%;
    padding-top: 50px;
}

.contact-head {
    color: rgb(8, 102, 255);
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 50px;
    padding-left: 12px;
}

.contacts-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.item-123 {
    display: inline-block;
    width: 33%;
    justify-content: center;
    align-items: center;
    padding-left: 50px;
    padding-bottom: 50px;
}

.item-123 a {
    text-decoration: none;
    color: black;
    font-size: 20px;
}

.item-123 a:hover {
    color: purple;
    transition: 1s;
}

.item-123 i {
    padding-right: 20px;
}

.contact-us-link {
    color: rgb(8, 102, 255);
    font-size: 2rem;
}

.contact-us-link:hover {
    color: purple;
    transition: 1s;
    cursor: pointer;
}

/* Footer section style */


.footer-style {
    color: white;
    font-size: 1.1rem;
}

.footer-style-1 {
    color: white;
    font-size: 1.1rem;
}

.footer-style:hover {
    color: purple;
    transition: 1s;
}

/* responsive style */

@media screen and (max-width:991px) {
    .item-123 {
        width :100%;
    }
}

@media screen and (max-width:1000px) {

    .Hero-con {
        display: flex;
        height: 300px;
        align-items: center;
        justify-content: space-around;
        padding-top: 80px;
    }

    .Hero-title {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0px;
        padding-top: 0px;
    }

    .Hero-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0px;
        padding-bottom: 0px;
    }

    .Hero-p {
        display: flex;
        font-size: 15px;
        padding-top: 0px;
        align-items: center;
        justify-content: center;
    }
    
    .Hero-p p {
        margin-bottom: 0;
    }

    .Hero-link a {
        font-size: 15px;
        padding-left: 0px;

    }

    .Hero-title h1 {
        font-size: 20px;
        
    }

    span {
        font-size: 20px;
    }
}

/* Hamburger menu icon */
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Dropdown menu styles */
.dropdown-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background-color: rgb(8, 102, 255);
    color: white;
    z-index: 100;
    padding: 60px 20px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dropdown-menu a {
    display: block;
    margin: 10px;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
}

.dropdown-menu a:hover {
    color: purple;
    transition: 0.3s;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Show the hamburger menu and hide navigation items on small screens */
@media screen and (max-width: 1000px) {
    .nav-bar-items {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
}



/* contact us form styles */

.error-message {
    color: red;
    display: none;
}
.flag {
    width: 24px;
    height: 16px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/f/fe/Flag_of_Egypt.svg');
    background-size: cover;
    display: inline-block;
    margin-right: 5px;
}

#registrationForm {
    margin-top: 40px;
    margin-bottom: 100px;
}

.contact-us-header {
    padding-top: 120px;
}

.contact-us-header h2 {
    color: rgb(8, 102, 255);
    font-size: 3rem;
    font-family: roboto, 'Montserrat', sans-serif;
    font-weight: 500;
}

.submit-btn {
    background-color: rgb(8, 102, 255);
    cursor: pointer;
}

@media screen and (max-width:500px) {
    .hamburger-menu {
        font-size: 1rem;
        padding-right: 15px;
    }
}


/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  }
  
  /* Modal content */
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
  }
  
  /* Close button */
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* OK button */
  .modal-ok-btn {
    background-color: rgb(8, 102, 255); /* Adjust to match your site's color scheme */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
  }
  
  .modal-ok-btn:hover {
    background-color: blue; /* Darker shade on hover */
    transition: 1s;
  }

  @media screen and (max-width:500px) {
    .close-btn {
        display: none;
    }
  }