/* =========================================================
   TOP BAR
========================================================= */

.topbar {
  background: #073b5c;
  color: #ffffff;

  height: 42px;
  min-height: 42px;

  display: flex;
  align-items: center;

  font-size: 14px;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1001;
}

.topbar .container {
  min-height: 42px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 100%;
  padding-left: 30px;
  padding-right: 35px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-social a {
  color: #ffffff;
  font-size: 16px;
  transition: 0.3s;
  text-decoration: none;
}

.topbar-social a:hover {
  color: #54d6e4;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 30px;

  font-weight: 500;

  margin-left: auto;
}

.topbar-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-contact i {
  font-size: 16px;
  color: #ffffff;
}


/* =========================================================
   GLOBAL HEADER
========================================================= */

.header {
  color: var(--default-color);
  padding: 10px 0;

  transition: all 0.5s;

  position: fixed;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 1000;

  background:
    linear-gradient(
      110deg,
      #faf7f7 0%,
      #b7dde0 25%,
      #ffffff 50%,
      #d1f5f8 70%,
      #adadad 100%
    );

  background-size: 250% 250%;

  animation: headerFlow 5s ease infinite;

  box-shadow:
    0 3px 15px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   ANIMATED BOTTOM LINE
========================================================= */

.header::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 5px;

  background:
    linear-gradient(
      90deg,
      #04455f,
      #00c7d9,
      #7be5ee,
      #000000
    );

  background-size: 300% 100%;

  animation: headerLine 10s linear infinite;
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header .container {
  max-width: 100%;

  padding-left: 30px;
  padding-right: 35px;
}


/* =========================================================
   LOGO
========================================================= */

.header .logo {
  line-height: 1;

  margin-left: 0;
  /* margin-right: auto; */

  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 70px;
 
  margin-right: 10px;
}

.header .logo h1 {
  font-size: 26px;

  margin: 0;

  font-weight: 700;

  text-transform: uppercase;

  color: var(--heading-color);

  white-space: nowrap;
}

.header .logo span {
  color: var(--accent-color);

  font-size: 26px;

  font-weight: 700;
}


/* =========================================================
   HEADER SOCIAL LINKS
========================================================= */

.header .header-social-links {
  padding: 0 0 0 15px;
}

.header .header-social-links a {
  color:
    color-mix(
      in srgb,
      var(--default-color),
      transparent 40%
    );

  padding-left: 10px;

  display: inline-block;

  transition: 0.3s;

  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0;
}


/* =========================================================
   HEADER ANIMATION
========================================================= */

@keyframes headerFlow {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }

}


@keyframes headerLine {

  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }

}


/* =========================================================
   PAGE OFFSET
   Prevent page hiding behind fixed topbar + header
========================================================= */

body {
  padding-top: 132px;
}


/* =========================================================
   TABLET HEADER
========================================================= */

@media (max-width: 1200px) {

  .header .logo {
    order: 1;
  }

  .header .logo h1 {
    font-size: 24px;
  }

  .header .header-social-links {
    order: 2;

    padding: 0 15px 0 0;
  }

  .header .navmenu {
    order: 3;
  }

}


/* =========================================================
   NAVIGATION MENU
========================================================= */


/* ---------------------------------------------------------
   NAVMENU - DESKTOP
--------------------------------------------------------- */

@media (min-width: 1200px) {

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
    margin: 0 6px;
    padding-right: 12px;
  }

  .navmenu > ul > li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #073b5c;
    opacity: 0.5;
  }

  .navmenu a,
  .navmenu a:focus {

    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a i,
  .navmenu a:focus i {

    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a {
  padding: 10px 16px;
  border-radius: 6px;
  }

  .navmenu > ul > li:last-child > a {
  padding: 10px 16px;
  }

  .navmenu > ul > li > a {
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

  /* Main navigation hover */
  .navmenu li:hover > a,
  .navmenu a:hover {
    color: #041da8;
  }

  .navmenu > ul > li > a:hover {
    background: #00c7d9;
    color: #ffffff;
  }

  /* Current / active page */
  .navmenu .active,
  .navmenu .active:focus {
    color: #073b5c;
  }

  .navmenu > ul > li > a.active,
  .navmenu > ul > li > a.active:focus {
    background: #073b5c;
    color: #ffffff;
  }

  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  }


  /* -------------------------------------------------------
     DROPDOWN
  ------------------------------------------------------- */

  .navmenu .dropdown ul {

    margin: 0;
    padding: 10px 0;
    background:
      var(--nav-dropdown-background-color);

    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow:
      0 0 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {

    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color:  var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: #073b5c;
  }

  .navmenu .dropdown:hover > ul {

    opacity: 1;
    top: 100%;
    visibility: visible;
  }


  /* -------------------------------------------------------
     NESTED DROPDOWN
  ------------------------------------------------------- */

  .navmenu .dropdown .dropdown ul {

    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {

    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

}


/* =========================================================
   NAVMENU - MOBILE
========================================================= */

@media (max-width: 1199px) {

  .mobile-nav-toggle {

    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }


  .navmenu {

    padding: 0;
    z-index: 9997;
  }


  .navmenu ul {

    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color:  var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow:  0 0 30px rgba(0, 0, 0, 0.1);
  }


  .navmenu a,
  .navmenu a:focus {

    color:
      var(--nav-dropdown-color);

    padding: 10px 20px;

    font-family:
      var(--nav-font);

    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }


  .navmenu a i,
  .navmenu a:focus i {

    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;

    background-color:
      color-mix(
        in srgb,
        var(--accent-color),
        transparent 90%
      );
  }


  .navmenu a i:hover,
  .navmenu a:focus i:hover {

    background-color:
      var(--accent-color);

    color:
      var(--contrast-color);
  }


  .navmenu a:hover {
    color: #00c7d9;
  }

  .navmenu .active,
  .navmenu .active:focus {
    color: #073b5c;
  }


  .navmenu .active i,
  .navmenu .active:focus i {

    background-color:
      var(--accent-color);

    color:
      var(--contrast-color);

    transform:
      rotate(180deg);
  }


  .navmenu .dropdown ul {

    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;

    background-color:
      var(--nav-dropdown-background-color);

    border:
      1px solid
      color-mix(
        in srgb,
        var(--default-color),
        transparent 90%
      );

    box-shadow: none;
    transition:  all 0.5s ease-in-out;
  }


  .navmenu .dropdown ul ul {

    background-color:
      rgba(33, 37, 41, 0.1);
  }


  .navmenu .dropdown > .dropdown-active {

    display: block;
    background-color:  rgba(33, 37, 41, 0.03);
  }


  .mobile-nav-active {

    overflow: hidden;
  }


  .mobile-nav-active
  .mobile-nav-toggle {

    color: #ffffff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }


  .mobile-nav-active
  .navmenu {

    position: fixed;
    overflow: hidden;
    inset: 0;
    background:  rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }


  .mobile-nav-active
  .navmenu > ul {

    display: block;
  }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

  /* ---------------------------------
     TOP BAR
  --------------------------------- */

  .topbar {

    height: auto;
    min-height: 70px;
    padding: 7px 0;
  }


  .topbar .container {

    min-height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }


  .topbar-social {

    gap: 15px;
  }


  .topbar-contact {

    flex-direction: column;
    gap: 4px;
    margin-left: 0;
    font-size: 12px;
    text-align: center;
  }


  /* ---------------------------------
     MAIN HEADER
  --------------------------------- */

  .header {

    top: 70px;
    padding: 8px 0;
  }


  .header .container {

    padding-left: 10px;
    padding-right: 10px;
  }


  .header .logo img {

    max-height: 48px;
    margin-right: 7px;
  }


  .header .logo h1 {

    font-size: 16px;
    white-space: normal;
    line-height: 1.2;
  }


  /* ---------------------------------
     PAGE OFFSET
  --------------------------------- */

  body {

    padding-top: 145px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .topbar-contact {

    font-size: 11px;
  }


  .topbar-social a {

    font-size: 14px;
  }


  .header .logo img {

    max-height: 42px;
  }


  .header .logo h1 {

    font-size: 14px;
  }


  body {

    padding-top: 140px;
  }

}

/* =========================================================
   Technology Dropdown
========================================================= */

.technology-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.technology-menu a:hover .tech-icon {
  transform: scale(1.15);
}

.technology-menu li a {
  padding: 12px 18px;
  border-radius: 6px;
}

.technology-menu li a:hover {
  background: #e8f8fa;
}

.technology-menu li a span {
  text-align: left;
}

.technology-menu .tech-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 12px;
}

.technology-menu li a span {
  min-width: 100px;
}