﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/*navbar*/

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.conta {
  border-bottom: 0px solid #E2E8F0;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: rgb(44, 52, 56);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Add bottom shadow */
}


.navright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(44, 52, 56);
  color: lightslategrey;
}

.navlogo {
  margin-right:2rem;
  width: 77px;
  height: 75px;
}

.navline {

  color: #d1e8ffbc;

}



.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #0085ca;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 20rem;

}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: #77d4fd;
  font-family: Dubaiw23, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75em;
}



/*.nav-link:hover{
    color:;
}*/




@media only screen and (max-width: 750px) {

  .navlogo {
    margin-right:2rem;
    width: 70px;
    height: 68px;
  }
  
}


@media only screen and (max-width: 1196px) {
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    transition: height 0.3s ease; /* Smooth slide down inside media query as well */
    height: 0; /* Initially hidden in mobile view */
    overflow: hidden; /* Hide overflow */
    z-index: 999;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    list-style: none;
    background-color: rgba(35, 43, 45, 0.9);
    border-radius: 3px;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    
  .nav-link {
      color: #77d4fd;
      font-family: Dubaiw23, Arial, sans-serif;
      font-size: 18px;
      font-weight: 761;
      line-height: 1.90em;

    }
    .nav-menu.active {
      height: auto; /* Expand when active in mobile view */
      transition: height 0.3s ease; /* Smooth transition when active */
    }
  }

  .navtitle {
    text-align:center;
    font-size: x-small;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }

  

  .nav-link:hover {
    color: #0780bd;
    /* Change to desired hover color */
  }

  .nav-item {
    margin: 2.9rem 0;
  }

  .navlogo {
    margin-right: 1rem;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    margin-left: 1rem;


  }

  .hamburger.active:hover span {
    background-color: rgba(195, 202, 206, 0.9); /* change the color to your desired hover color */
    opacity: 0.8;
    transition: 0.0s;
  }

  

  /*.hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);

  }

  .hamburger.active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);

  }
*/
 


}


/* Your existing CSS styles */

.nav-menu.active {
  display: block;
}



/* language switcher */

.language-switcher {
  width: 90px; /* Same width for the switcher and dropdown */
  position: absolute;
  display: inline-block;
  /*background-color:;*/
  color: rgb(245, 245, 245);
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-items: center;
  display: flex;
  margin-bottom: 12rem;
  margin-left:86rem;
  
}

/*.language-switcher:hover {
  background-color: ;
}*/

.language-switcher .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1px;
  z-index: 1;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s;
  width: 80%; /* Matches the width of the language switcher */
}

.language-switcher:hover .dropdown {
  display: block;
}

.language-switcher .dropdown a {
  display: flex;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s, transform 0.2s;
}

.language-switcher .dropdown a:hover {
  background-color: #e9ecef;
  transform: scale(1.02);
}

.language-switcher .dropdown a img {
  width: 20px; /* Smaller flag size */
  height: 14px;
  margin-right: 8px;
}

.language-switcher .dropdown a span {
  font-weight: bold;
  font-size: 12px;
}

.language-switcher .selected-flag {
  display: flex;
  align-items: center;
}

.language-switcher .selected-flag img {
  width: 20px;
  height: 14px;
  margin-right: 8px;
}

.language-switcher .caret {
  margin-left: 5px;
  font-size: 10px;
  color:rgb(245, 245, 245)
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media only screen and (max-width: 1196px) {

  .language-switcher {
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 10;
  } 
}




/* header */


header {
  position: relative;
  height: 585px;
  /* Adjust as needed */
  overflow: hidden;
  box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.4); /* Adds shadow to the bottom */

}

.header-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Existing CSS styles */

.header-video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the video covers the entire area */
  opacity: 0.4;
  /* Set the opacity value you desire */
}



.header-content {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}


/* Additional styles for the titles*/
.header-content {
  text-align: center;
  color: white;
  padding-top: 50px;
}

h1 {
  font-size:bold;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

h4 {
  display: inline-block;
  margin: 0px 20px;
}

hr {
  border: none;
  border-top: 1px solid #77d4fd;
  width: 30%;
  margin: 5px auto;
}

/* Media query for mobile devices to the titles */

@media screen and (max-width: 780px) {
  h1 {
    font-size: 1.5em;
  }

  h4 {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 0.9em;
  }

  hr {
    margin: 0px auto;
    width: 70%;
  }
  header {
    position: relative;
    height: 595px;
    /* Adjust as needed */
    overflow: hidden;
    box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.4); /* Adds shadow to the bottom */
  
  }

  .icon img {
    width: 10px;
    /* Adjust icon size as needed */
    height: auto;
    margin: 11px 25px;
    /* Adjust icon spacing as needed */
    border-radius: 50%;
    /* Create a circular shape */
    background-color: #f5f5f5;
    /* Set white background */
    padding: 10px;
    /* Adjust padding to fit text */
    transition: opacity 0.5s ease;
    /* Add a transition for opacity */
    border: 1px solid black;
    /* Add a black border */
  }


.icon span {
  display: block;
  margin-top: 0.9px;
  /* Adjust spacing between icon and text */
  color: #77d4fd;
  font-weight: 700;
}

.icons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
}


/* icons*/


.icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon {
  text-align: center;
  position: relative;
}

.icon a {
  text-decoration: none;
  color: inherit;
}

.icon img {
  width: 50px;
  /* Adjust icon size as needed */
  height: 50px;
  margin: 11px 25px;
  /* Adjust icon spacing as needed */
  border-radius: 50%;
  /* Create a circular shape */
  background-color: white;
  /* Set white background */
  padding: 10px;
  /* Adjust padding to fit text */
  transition: opacity 0.5s ease;
  /* Add a transition for opacity */
  border: 1px solid black;
  /* Add a black border */
}

.icon span {
  display: block;
  margin-top: 5px;
  /* Adjust spacing between icon and text */
  color: #77d4fd;
  font-weight: 700;
}

.icon a:hover span {
  color: rgb(194, 141, 57);
  /* Change text color on hover */
  transition: opacity 0.5s ease;
  /* Add a transition for opacity */

}

.icon:hover img {
  opacity: 0.7;
  /* Reduce opacity on hover */
}

/* Your existing CSS styles */



/* 3a title

.heading-big-light {

  color: #fff;
  text-align: center;
  border: 0pt solid #ffb337;
  border-style: solid none;
  border-radius: 1px;
  padding: 0px; /* Added padding for better sng paci
  font-family: Arial, sans-serif;
  font-size: 70px;
  font-weight: 300;
  line-height: 1.5em;
  background: linear-gradient(to bottom, rgba(18, 34, 42, 0.7) 0%, rgba(100, 150, 160, 0.2) 50%, rgba(218, 207, 194, 0.4) 100%);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.7); /* Black shadow on top and bottom 
}

.heading-big-light.text-blue {
  color: #0085ca;
  margin-bottom: 0rem;
  margin-top: 0rem;
  font-size: 30px;
}

.heading-big-light.text-blue.text-color-adj {
  color: #c4c4c4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 10px;
  font-weight: 700;
}

h2 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 36px;
}

*/

* {
  box-sizing: border-box;
}

/* User agent stylesheet reset for h2 */
user agent stylesheet h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}




body {

  background-color: #12222a;
  font-family: montserrat;
  min-height: 100vh;

}





/*Home section*/

home {

  display: flex;
  min-height: calc(100vh - 100px);
  background-color: rgb(229, 223, 217);


}

.sidebar {
  max-width: 289px;
  min-width: 192px;
  max-height: fit-content;
  display: flex;
  margin: 2rem 1rem;
  flex-direction: column;
}

.sidebar a {
  margin: 3rem;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  background-color: #00133B;
}

.sidebar h3 {
  margin: 2rem 2rem 1rem 2rem;
  text-align: center;
  color: #1d1b1b;
}

.sidebar p {
  padding: 1rem;
  padding-top: 1cap;
  width: 192;
  text-align: center;
  line-height: 2;
  font-weight: bold;
  color: rgb(186, 215, 215);
}

.content {

  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-top: 1cap;
  margin-bottom: 1cap;
}

.inner-text {

  font-weight: 700;
  font-size: 24px;
  margin: auto;

}

@media screen and (max-width: 992px) {

  home {
    flex-direction: column-reverse;
  }

  .sidebar {

    display: none !important;
    /*margin:auto !important;*/

  }

}



/*work section*/

/*
audio{
  margin: 15cap 0cap 0cap 0cap;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

video{
  margin: 3cap 0cap 7cap 0cap;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

*/

/* about section */

.parent {
  margin-top: 8rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  text-align: center;
}

.child {
  display: inline-block;
  padding: 1rem 1rem;
  vertical-align: text-top;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  color: rgb(23, 21, 21);
  font-size: 15px;
  text-align: right;

}

.child img {
  width: 400px;
  height: 300px;
}

.nileabout {
  padding-top: 0rem;
  max-width: 350px;
  text-align: center;
  line-height: 3.0;
  font-weight: bold;
  color: darkcyan;
}


@media screen and (max-width: 768px) {

  .parent {
    margin-top: 1rem;
    padding-top: 2rem;
    padding-bottom: 0rem;
    text-align: center;
  }

  .child img {
    width: 300px;
    height: 200px;
  }

  .nileabout {
    padding-top: 0rem;
    max-width: 250px;
    text-align: center;
    line-height: 2.0;
    font-weight: bold;
    color: darkcyan;
  }

}


/*article

  article {
    margin: auto;
    text-align: center; 
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem; 
    margin-top: 1cap; 
    max-width: 500px;
    line-height: 2.6;
    font-weight:bold;
    color: darkcyan;

  }
  
*/



.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1250px;
  margin: 170px auto;
  padding: 20px;
  gap: 20px;

}

.card-list .card-item {
  background: #fff;
  padding: 26px;
  border-radius: 8px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
  list-style: none;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border 0.5s ease;
}

.card-list .card-item:hover {
  border: 2px solid #000;
}

.card-list .card-item img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  object-fit:contain;
}

.card-list span {
  display: inline-block;
  background: #F7DFF5;
  margin-top: 32px;
  padding: 8px 15px;
  font-size: 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.card-list .developer {
  background-color: #F7DFF5;
  color: #B22485;
}

.card-list .designer {
  background-color: #d1e8ff;
  color: #2968a8;
}

.card-list .editor {
  background-color: #d6f8d6;
  color: #205c20;
}

.card-item h3 {
  color: #000;
  font-size: 1.438rem;
  margin-top: 28px;
  font-weight: 600;
}

.card-item .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-35deg);
  height: 40px;
  width: 40px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50%;
  margin-top: 40px;
  transition: 0.2s ease;
}

.card-list .card-item:hover .arrow {
  background: #000;
  color: #fff;
}

.card-list .card-item {
  transition: border 0.5s ease, transform 0.3s ease;
}
.card-list .card-item:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}


.card-list .card-item:hover .arrow {
  background: #000;
  color: #fff;
}
@media (max-width: 1200px) {

  .card-list {
    width: 100%;
    align-self: center;
    text-align: center;

  }

  .card-list .card-item {
    padding: 15px;
  }
}

@media screen and (max-width: 980px) {

  .card-list,
  .card-item {
    margin: 2rem;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .card-list {
    grid-template-columns: 1fr; /* Single column layout on smaller screens */
  }
  .card-item {
    margin: 1rem; /* Reduce margin for smaller screens */
  }
}



  /* footer section */
  footer {
    background-color: #00133B;
    color: #ffffff;
    padding: 7rem 1rem;
  }

  footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }

  footer a:hover {
    color: #cccccc;
  }

  .cont {
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-main {
    display: flex;
    margin-bottom: 4rem;
  }

  .footer-col {
    flex-basis: 200px;
    flex-grow: 1;
    text-align: center;
  }

  .footer-heading {
    margin-bottom: 1rem;
  }

  .footer-col img {
    width: 150px;
    height: 150px;
  }

  .footer-link {
    display: block;
    width: max-content;
    padding: 5px 10px;
    margin: 0 auto;
  }

  .footer-bootom {
    display: flex;
    justify-content: space-between;
  }

  .footer-img-container {
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .footer-img {
    max-width: 70px;
    margin: 0 auto 10px;
    width: 45px;
    height: 45px;
  }

  .footer-copyright {
    margin-right: auto;
  }

  .bootom-right {
    display: flex;
    align-items: end;
  }

  .footer-social {
    font-size: 20px;
    margin-left: 2rem;
  }

  /* for phone devices */
  @media only screen and (max-width: 768px) {
    .footer-main {
      flex-direction: column;
      gap: 2rem; /* Add spacing between footer columns */
    }

.footer-img-container img{
  display: none;
}

  }



  

  /* Add styles for the new bottom section */
  .footer-bottom-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #cccccc; /* Optional to visually separate the note */
  }

  .partner-link {
    text-decoration: none; /* Remove underline for the link */
  }

  .partner-section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    margin: 0 auto;
  }

  .partner-logo {
    width: 85px;
    height: 85px;
    margin-right: 10px;
  }

  .partner-text {
    font-size: 1.2em;
    color: #ffffff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }

  /* Ensure responsiveness */
  @media only screen and (max-width: 768px) {
    .partner-section {
      flex-direction: column-reverse; /* Make text appear above the logo */
    }

    .partner-logo {
      width: 70px;
      height: 70px;
      margin-top: 12px; /* Add spacing between text and logo */
    }

    .partner-text {
      font-size: 1em;
      margin-bottom: 5px; /* Add some space below the text */
    }
  }

   /*---the haytham bottom note---*/
   .bottom-note {
    font-size: 10px;
    line-height: 1.4;
    color: #6b5b95;
    font-family: 'Roboto', sans-serif;
    padding: 5px;
    background-color: rgb(195, 182, 168);
    ;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  .haytham{
    margin-left: 5%;
  }
  .bottom-note a {
    text-decoration: none;
  }

  .bottom-note a:hover {
    color: #2f2f4d;
  }
