/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --navy-deep: #0D2545;
  --navy-mid: #1A3C6B;
  --amber: #F9A01B;
  --amber-glow: rgba(249, 160, 27, 0.15);
  --surface-light: #F5F7FA;
  --border-light: rgba(45, 112, 186, 0.12);
  --shadow-md: 0 8px 24px rgba(13, 37, 69, 0.12);
  --radius-md: 16px;
  --radius-lg: 24px;
  --grad-hero: linear-gradient(to right, rgba(13, 37, 69, 0.97) 0%, rgba(13, 37, 69, 0.82) 50%, rgba(13, 37, 69, 0.15) 100%);
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface-light);
  color: #0D2545;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.35s ease;
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(13, 37, 69, 0.12);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 37, 69, 0.07);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem 0.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: transparent;
  transition: all 0.3s ease;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--amber);
}

.main-header.scrolled .mobile-menu-toggle {
  color: var(--navy-mid);
}

.main-nav {
  transition: all 0.3s ease;
  margin-left: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-links li {
  position: relative;
}

.nav-links a,
.dropdown-toggle {
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.main-header.scrolled .nav-links a,
.main-header.scrolled .dropdown-toggle {
  color: var(--navy-mid);
}

.main-header.scrolled .nav-links a:hover,
.main-header.scrolled .dropdown-toggle:hover {
  color: var(--amber);
}

.nav-links a:hover,
.dropdown-toggle:hover {
  color: var(--amber);
}

.nav-links a::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.dropdown-toggle:hover::after {
  transform: scaleX(1);
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FFFFFF;
  list-style: none;
  padding: 0.6rem 0;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(13, 37, 69, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s ease;
  z-index: 1001;
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--amber);
  min-width: 180px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  color: var(--navy-mid);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--amber-glow);
  color: var(--amber);
  padding-left: 1.5rem;
}

.dropdown-menu a:hover::before {
  content: '—';
  color: var(--amber);
  font-size: 0.7rem;
  margin-right: 0.4rem;
  font-weight: 700;
}

/* ========== HERO SECTION ========== */
#Hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 1200px;
  text-align: left;
  padding: 2rem;
}

.hero-content h1 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deep);
  color: #f0f4f8;
  padding: 3.5rem 0 0 0;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-about {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 320px;
  height: auto;
  display: block;
}

.footer-addresses {
  width: 100%;
  margin-bottom: 1.5rem;
}

.address-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.address-item i {
  color: var(--amber);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.address-details {
  flex: 1;
}

.address-details strong {
  display: block;
  font-size: 0.7rem;
  color: var(--amber);
  margin-bottom: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.address-details p {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--amber);
  color: var(--navy-deep);
  transform: translateY(-3px);
  border-color: var(--amber);
}

.footer-links-group {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin-right: 2rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--amber);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease, padding 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links ul li a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.copyright {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--navy-deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(249, 160, 27, 0.4);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  background: #FBBC56;
  box-shadow: 0 10px 30px rgba(249, 160, 27, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--navy-deep);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border-right: 1px solid rgba(249, 160, 27, 0.2);
    margin-left: 0;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    margin-left: 0;
  }

  .nav-links a,
  .dropdown-toggle {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    width: 100%;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-links a::after,
  .dropdown-toggle::after {
    display: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 0.5rem;
    box-shadow: none;
    display: none;
    width: 100%;
    min-width: 100%;
    padding: 0.5rem 0;
    border-radius: 8px;
    border: none;
    border-top: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    white-space: normal;
    width: 100%;
  }

  .dropdown-menu a:hover {
    background: rgba(249, 160, 27, 0.12);
    color: var(--amber);
    padding-left: 1.2rem;
  }

  .dropdown-menu a:hover::before {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-group {
    margin-right: 0;
  }

  .footer-logo img {
    width: 250px;
  }

  .back-to-top-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    width: 52px;
    height: 52px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .main-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .footer-logo img {
    width: 200px;
  }

  .footer-links-group {
    gap: 2rem;
  }

  .back-to-top-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }
}