@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  ::-webkit-scrollbar {
    display: none;
  }
  scrollbar-width: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
}

.blocked {
  cursor: not-allowed;
}

.page-title {
  text-align: center;
  margin: 20px 0;
  font-size: 36px;
  color: #444;
}

.navbar {
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1d2438;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.navbar .nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-menu li {
  position: relative;
}

.navbar .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.navbar .nav-menu li a:hover {
  background-color: #575757;
}

.navbar .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -50px;
  background-color: #2a324c;
  min-width: 300px;
  padding: 0;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown .dropdown-menu li {
  list-style: none;
  padding: 0;
}

.navbar .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2a324c;
  min-width: 220px;
  padding: 12px 0;
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.navbar .dropdown .dropdown-menu li {
  list-style: none;
  margin: 0;
}

.navbar .dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  border-left: 4px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-left-color 0.3s ease;
}

.navbar .dropdown .dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #fffcd6;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.navbar .dropdown .dropdown-menu li a:hover::before {
  transform: scaleY(1);
}

.navbar .dropdown .dropdown-menu li a:hover {
  background-color: #3b4562;
}

.hamburger-icon {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger-icon .btn-line {
  background-color: #fff;
  height: 4px;
  width: 100%;
  margin: 4px 0;
  transition: all 0.4s ease;
  border-radius: 2px;
  position: relative;
}

.hamburger-icon.close .btn-line {
  background-color: #ff0000;
}

.hamburger-icon.close .btn-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.close .btn-line:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.close .btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #1d2438;
  z-index: 999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  overflow-y: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 999;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  display: block;
}

.mobile-menu ul li a:hover {
  color: #3498db;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .mobile-menu-heading {
  font-size: 22px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #3498db;
  padding-bottom: 5px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

#overlay.active {
  display: block;
}

footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 50px 0 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #3498db;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.footer-section ul li a i {
  margin-right: 5px;
  color: #3498db;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3498db;
  transform: translateY(-3px);
}

.connect h3 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.connect h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #3498db;
}

.connect p {
  margin: 10px 0;
  font-size: 16px;
  color: #b0b0b0;
  display: flex;
  align-items: center;
}

.connect p i {
  margin-right: 10px;
  color: #3498db;
}

.connect p a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.connect p a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  position: relative;
}

.back-to-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #3498db;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #2980b9;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .navbar .nav-menu > li:not(:last-child) {
    display: none;
  }

  .navbar .nav-menu {
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .hamburger-icon {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    height: 30px;
  }

  .hamburger-icon .btn-line {
    height: 5px;
    margin: 5px 0;
  }

  .hamburger-icon.close .btn-line {
    background-color: #ff0000;
  }

  .hamburger-icon.close .btn-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger-icon.close .btn-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-icon.close .btn-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .navbar .dropdown .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .back-to-top {
    right: 10px;
    bottom: 50px;
  }
}

.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d2438;
  color: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  font-size: 17px;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  text-align: center;
  line-height: 1.6;
}

.cookie-consent-banner button {
  margin-left: 10px;
  padding: 10px 18px;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cookie-consent-banner button.accept {
  background: #4caf50;
}

.cookie-consent-banner button.reject {
  background: #f44336;
}

.cookie-consent-banner button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}