@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:1rem;
  width: 90px;
  height: auto;
}




.navline {
  display: inline-block;
  width: 2.4px; /* Width of the line */
  height: 30px; /* Height of the line */
  background-color: #f7fafebc; /* Color of the line */
  vertical-align: middle; /* Align with text */
  margin-right: 0.1;
}



.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: 3.5rem;
}

.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) {

  .nav-menu {
    text-align: left;
  }

  .nav-link {
    
    margin-left: 1.0cap;


  }

  .nav-item {
    margin: 1.8rem 0;
    text-align: left;

  }



}


@media only screen and (min-width: 1196px) {
.nav-extra{
  display: none;
}

.location-icon {

 display: none;
 

}

}




@media only screen and (max-width: 1196px) {
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 107px;
    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: #f2f2f2;
    border-radius: 3px;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    
    .nav-link {
      color: rgb(36, 155, 235); /* Link color */
      font-family: 'Dubaiw23', Arial, sans-serif; /* Font family */
      font-size: 15px; /* Font size */
      font-weight: 600; /* Set a more standard font weight */
      line-height: 0.9em; /* Line height for readability */
      padding: 5px; /* Add some padding for better touch targets */

    }
  

    .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: 8.4px; /* Adjust font size as needed */
    font-weight:bold;
    white-space: nowrap; /* Prevent text from wrapping */
    color: lightslategrey ; /* Adjust color to match your design */
    margin-left: 0.6rem; /* Add spacing if needed */
    font-family:Arial, Helvetica, sans-serif;
  }
  


  .nav-link:hover {
    color: #0780bd;
    /* Change to desired hover color */
  }

  .nav-item {
    margin: 1.8rem 0;


  }

  

  .navlogo {
    width: 75px; /* Adjusted width to better fit navbar height */
    height: auto; /* Maintains aspect ratio */
    margin-right: 0.4rem; /* Adds spacing between logo and text */
  }

  .navline {
    display: inline-block;
    width: 1.9px; /* Width of the line */
    height: 30px; /* Height of the line */
    background-color: rgb(187, 188, 189); /* Color of the line */
    vertical-align: middle; /* Align with text */
  }
  
  .nav-extra {
    text-align: center;
    margin-top: 0.4rem;
  }
  
  .dropdown-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  
  .login-links {
    display: flex;
    gap: 0.3rem;
    color: gray;
    font-size: 14px;
    font-weight: 600;
  }
  
  .login-link {
    color: #666;
    text-decoration: none;
  }
  
  .login-link:hover {
    color: #333;
  }
  
  .tracking-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .track-input {
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  
  .track-submit {
    padding: 0.4rem 0.8rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .track-submit:hover {
    background-color: #0056b3;
  }
  
  
 
  .hamburger {
    display: block;
    cursor: pointer;
    margin-left: 1.2rem;
    margin-right: 0.5rem;
  }
  
  .bar {
    width: 20.7px; /* Reduced width for smaller icon */
    height: 3.4px; /* Reduced height */
    margin: 3.1px auto; /* Less margin between bars */
    transition: all 0.3s ease-in-out;
    background-color: rgb(3, 133, 195);
  }

  
  
  
  .hamburger.active:hover .bar {
    background-color: rgba(181, 190, 195, 0.9);
    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: 10rem;
  margin-left:85rem;
  
}

/*.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: 600px;
  /* 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: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.headericon img {
  width: 150px;
  height: 150px;
 }

/* 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;
  font-size:larger;
  font-weight: lighter;
}

h5{
  margin-left: 1cap;
}

hr {
  border: none;
  border-top: 1px solid #77d4fd;
  width: 30%;
  margin: 5px auto;
}

/* Hide the line break on desktop screens */
@media (min-width: 768px) {
  .mobile-break {
      display: none;

  }

  hr{width: 40%;}
}


/* Media query for mobile devices to the titles */

@media screen and (max-width: 768px) {

  header {
    position: relative;
    height: 788px;
    /* Adjust as needed */
    overflow: hidden;
    box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.4); /* Adds shadow to the bottom */
  
  }

  .header-content {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }

  
   .headericon img {
    width: 140px;
    height: 140px;
   }
  

  h1 {
    font-size: 1.9em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }

  h4 {
    margin-top: 2px;
    margin-bottom:2.5cap;
    margin-left: 1px;
    margin-right: 1px;    
    font-size: 1.0em;
    font-weight: lighter;
    font-family:'Times New Roman', Times, serif;
  }

h5{
  
  font-size:x-small;
  

}



  hr {
    margin: 0px auto;
    width: 78%;
  }

  .icons {
    margin-top: 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
    }

    .icon span {
      display: block;
      margin-top: 0px;
      margin-bottom: 2cap;
      /* Adjust spacing between icon and text */
      color: #77d4fd;
      font-weight: 680;
    }

  .hrBottom{
    display: none;
  }


}


/* 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: 54px;
  /* Adjust icon size as needed */
  height: 54px;
  margin: 11px 30px;
  /* Adjust icon spacing as needed */
  border-radius: 50%;
  /* Create a circular shape */
  background-color: rgba(225, 222, 222, 0.9);
  /* Set white background */
  padding: 10px;
  /* Adjust padding to fit text */
  transition: opacity 0.5s ease;
  /* Add a transition for opacity */
  box-shadow: inset 0 0 0 0.5px black; /* Inner white border */
  

}

.icon span {
  display: block;
  margin-top: 8px;
  /* Adjust spacing between icon and text */
  color: rgb(94, 183, 243);
  font-weight:bolder;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  border: 2cap #000 ;
}

.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(4, 49, 91);


}

.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: 0rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  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: center;
}

.aboutus {
  padding-top: 1rem;
  max-width: 650px;
  line-height: 2.0;
  font-weight: bold;
  color: rgb(191, 210, 210);
}

@media screen and (max-width: 768px) {
  .parent {
    margin-top: 0rem;
    padding-top: 0rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .aboutus {
    padding-top: 1rem;
    max-width: 100%;
    line-height: 1.8;
    font-weight: bold;
    color: rgb(143, 166, 166);
  }

  .footer-3a-copyrights-icon{
    display: none;
  }
}



/*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: rgba(4, 35, 64, 0.9);
  padding: 26px;
  border-radius: 8px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
  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 #f2efef;
}

.card-list .card-item img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  object-fit: cover;
}

.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: #f0ebeb;
  border: 1px solid #eee9e9;
  border-radius: 50%;
  margin-top: 40px;
  transition: 0.2s ease;
}

.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;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90%;  /* Make image responsive */
  max-width: 1200px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal-content {
    width: 100%;  /* Full width on mobile */
  }
}

@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 */
    }
  }


   /* stile for the 3a copyrights icon */
  .footer-3a-copyrights-icon{
    width: 60px;
    height: auto;
  }

  

  /* 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(23, 34, 45);
    ;
    position: relative;
    bottom: 0;
    width: 100%;
  }
 
.haytham{
  margin-left: 6%;
}

  .bottom-note a {
    text-decoration: none;
  }

  .bottom-note a:hover {
    color: #2f2f4d;
  }

 