* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-dark: #1a2a6c;
  --primary-blue: #575757;
  --accent-blue: #fdbb2d;
  --text-gray: #666;
  --light-gray: #f5f5f5;
  --black: #111827;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --dark-blue: #1e3a8a;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header {
  background: none;
  color: white;
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: linear-gradient(135deg, #000033, #4a90e2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  text-decoration: none;
}

.logo-text img {
  width: 70px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4a90e2;
  transition: all 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu div {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 51, 0.95);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-menu.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu.active div:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.footer {
  background: linear-gradient(135deg, #000033, #1a1a1a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4a90e2, #357abd, #4a90e2);
  animation: gradient 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #4a90e2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  color: #4a90e2;
  font-size: 1.2rem;
  width: 25px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.quick-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links a:hover {
  color: #4a90e2;
  transform: translateX(5px);
}

.quick-links a i {
  font-size: 0.8rem;
}

.newsletter-form {
  position: relative;
  margin-top: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 1rem;
  padding-right: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: #fff6;
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #4a90e2;
}

.newsletter-button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #4a90e2;
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-button:hover {
  background: #357abd;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #4a90e2;
  transform: translateY(-5px);
}

.social-link i {
  color: #fff;
  font-size: 1.2rem;
  scale: 0.8;
  transition: all 0.3s ease;
}

.social-link:hover i {
  scale: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin: 0.5rem 0;
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4a90e2;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #357abd;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .footer-content {
    padding: 3rem 1rem 1rem;
  }
}
