/* ====== Default ====== */
.mobile-navbar {
  display: none;
}

/* ====== Mobile View ====== */
@media (max-width: 768px) {
  .navbar {
    display: none; /* Hide desktop navbar */
  }

  .mobile-navbar {
    display: block;
    background-color:rgba(30, 61, 89, 0.95);
    color: white;
  }

  .mobile-menu-toggle {
    background-color: rgba(30, 61, 89, 0.95);
    color: white;
    padding: 8px 16px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
  }

  .mobile-nav-links {
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-links.active {
    display: flex;
  }

  .mobile-nav-links li {
    /* border-bottom: 1px solid #fff; */
    list-style: none;
  }

  .mobile-nav-links a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
  }

  .mobile-nav-links a:hover {
    background-color: rgba(4, 50, 90, 0.95);
  }

  /* Submenu Styles */
  .submenu {
    display: none;
    background-color:rgba(54, 100, 141, 0.95);
    font-size: 13px;
  }

  .submenu a {
    padding-left: 30px;
    background-color: rgba(18, 48, 75, 0.95);
  }

  .submenu.active {
    display: block;
  }

  .dropdown-toggle-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
  }
}



/* Header Styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(78, 77, 77, 0.5)), url("2716.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: headerGlow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes headerGlow {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}



header img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  animation: logoSpin 10s linear infinite;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

header img:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

header h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin: 1rem 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: textGlow 3s ease-in-out infinite alternate;
  position: relative;
  z-index: 1;
  color: #fff;
}

@keyframes textGlow {
  from { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
  to { text-shadow: 2px 2px 20px rgba(255,255,255,0.5); }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    gap: 10px;
    padding:auto;
  }

  header h1 {
    font-size:1.5rem;
    padding: auto;
  }
  
  header img {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size:1rem;
  }
  
  header img {
    width: 60px;
    height: 60px;
  }
}

/* @keyframes textGlow {
  from { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
  to { text-shadow: 2px 2px 20px rgba(255,255,255,0.5); }
} */




.head-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      padding: 10px 20px;
      background: linear-gradient(90deg, #002147, #004080);
      color: white;
      position: relative;
    }

    .contact-info {
      font-size: 16px;
    }

    .social-icons {
      display: flex;
      gap: 10px;
    }

    .social-icons a {
      color: white;
      font-size: 18px;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .social-icons a:hover {
      transform: scale(1.2);
      color: #ffc107;
    }

    .language-switcher {
      display: flex;
      gap: 5px;
    }

    .language-switcher button {
      background: white;
      border: none;
      padding: 5px 10px;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
    }

    .language-switcher a {
      text-decoration: none;
      color: #002147;
    }


    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    @media (max-width: 600px) {
      .head-bar {
        flex-direction: row;
        align-items: flex-start;
        gap:auto;
      }
    }