/* Global Styles */
:root {
  --custom-blue: #1a365d;
  --custom-blue-light: #e6f0ff;
  --text-gray: #4a5568;
  --bg-gray-50: #f9fafb;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--text-gray);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  font-size: 0.9375rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-white {
  background-color: var(--white);
  color: var(--custom-blue);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  border: 2px solid var(--custom-blue);
  color: var(--custom-blue);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--custom-blue);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-white:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  background-color: var(--custom-blue);
  color: var(--white);
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #15294d;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Disabled state for all buttons */
.btn[disabled],
.btn:disabled {
  opacity: 0.65;
  pointer-events: none;
  box-shadow: none;
}

/* Loading state for all buttons */
.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Auth buttons specific styles */
.auth-buttons {
  display: flex;
  gap: 0.75rem;
}

.auth-buttons .btn {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 768px) {
  .auth-buttons {
    display: none;
  }
}

/* Header Styles */
.header {
  background-color: var(--custom-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  padding: 0.75rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  color: var(--custom-blue);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-subtext {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.desktop-menu {
  display: none;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  margin-left: 2rem;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.mobile-menu-button {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  right: 1rem !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
  background: rgba(24, 49, 83, 0.95) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 2rem !important;
  padding: 0.5rem 0.75rem !important;
  margin: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  pointer-events: auto !important;
  border: none !important;
}

.mobile-menu-button .menu-icon {
  color: #fff !important;
  stroke: #fff !important;
  width: 32px !important;
  height: 32px !important;
  filter: drop-shadow(0 0 2px #183153) !important;
  opacity: 1 !important;
  display: block !important;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 20rem;
  background-color: var(--custom-blue);
  padding: 1.5rem;
  z-index: 50;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-logo {
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
}

.close-menu-button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav-link {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 0;
  font-weight: 600;
}

.mobile-auth {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.mobile-nav-category {
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.mobile-nav-subcategory {
  color: #cccccc;
  padding: 0.5rem 1rem;
  padding-left: 2rem;
  text-decoration: none;
  display: block;
}

.mobile-nav-subcategory:hover {
  color: #ffffff;
}

/* Mobile Dropdown Styles */
.mobile-nav-dropdown {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: block !important;
}

.mobile-nav-dropdown-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--white) !important;
  background: none !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 0 !important;
  cursor: pointer !important;
  transition: color 0.2s ease;
}

.mobile-nav-dropdown-btn:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mobile-nav-dropdown-content {
  padding-left: 1rem !important;
  border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.mobile-dropdown-link {
  display: block !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  padding: 0.5rem 0 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

.mobile-dropdown-link:hover {
  color: white !important;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #1d3a6c;
  padding: 4rem 0;
  color: white;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 58, 108, 0.92) 0%,
    rgba(26, 54, 93, 0.85) 50%,
    rgba(22, 47, 82, 0.82) 100%
  );
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.9) contrast(1.1);
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  color: #f8fafc;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.hero .btn-primary {
  background-color: white;
  color: var(--custom-blue);
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #f8fafc;
}

.hero .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--custom-blue);
}

.btn-white:hover {
  background: var(--custom-blue-light);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(26, 54, 93, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(200px, -200px);
}

.features::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(74, 144, 226, 0.04) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-150px, 150px);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--custom-blue);
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--custom-blue), #4a90e2);
  border-radius: 2px;
}

.section-header p {
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--custom-blue), #4a90e2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4ff, #e6f0ff);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #e6f0ff, #d1e2ff);
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--custom-blue), #4a90e2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--custom-blue);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
  color: #4a90e2;
}

.feature-content {
  position: relative;
  z-index: 1;
}

.feature-content h3 {
  color: var(--custom-blue);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.feature-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
  color: #4a90e2;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 4rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-content h3 {
    font-size: 1.125rem;
  }

  .feature-content p {
    font-size: 0.875rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.125rem;
  }
}

/* Industries Section */
.industries {
  padding: 5rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.industry-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
}

/* CTA Section */
.cta {
  background-color: var(--custom-blue);
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  color: #e2e8f0;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.cta .btn-white {
  background-color: white;
  color: #1e3a8a;
}

.cta .btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.cta .btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
}

.cta .btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cta svg {
  transition: transform 0.2s;
}

.cta .btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cta {
    padding: 4rem 0;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1.125rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Trust Indicators Section */
.trust-indicators {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.trust-indicators::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(26, 54, 93, 0.03) 0%,
    transparent 70%
  );
  transform: rotate(-15deg);
}

.trust-indicators .container {
  position: relative;
  z-index: 2;
}

.trust-indicators h2 {
  color: var(--custom-blue);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.trust-indicators h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--custom-blue), #4a90e2);
  border-radius: 2px;
}

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.indicator-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.indicator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--custom-blue), #4a90e2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indicator-card:hover {
  transform: translateY(-5px);
}

.indicator-card:hover::before {
  opacity: 1;
}

.indicator-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--custom-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--custom-blue), #4a90e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.indicator-value::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  right: -0.5rem;
  width: 8px;
  height: 8px;
  background: #4a90e2;
  border-radius: 50%;
  opacity: 0.6;
}

.indicator-card p {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 1rem;
  position: relative;
}

.indicator-card p::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 1px;
}

.trust-description {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto 0;
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .trust-indicators {
    padding: 4rem 0;
  }

  .indicators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .indicator-card {
    padding: 2rem;
  }

  .indicator-value {
    font-size: 3rem;
  }

  .trust-indicators h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* Footer */
.footer {
  background-color: var(--custom-blue);
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 4rem;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.footer-logo .logo-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.footer-logo .logo-icon svg {
  width: 26px;
  height: 26px;
  color: var(--custom-blue);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo-title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-logo .logo-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-evenly;
  gap: 4rem;
}

.footer-links-column h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-column li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links-column a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.copyright a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }

  .footer-logo .logo-icon {
    width: 40px;
    height: 40px;
  }

  .footer-logo .logo-icon svg {
    width: 24px;
    height: 24px;
  }

  .footer-logo .logo-title {
    font-size: 1.25rem;
  }

  .footer-logo .logo-subtitle {
    font-size: 0.85rem;
  }

  .footer-description {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    background: rgba(24, 49, 83, 0.95) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 2rem !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
    pointer-events: auto !important;
    border: none !important;
  }
  .mobile-menu-button .menu-icon {
    color: #fff !important;
    stroke: #fff !important;
    width: 32px !important;
    height: 32px !important;
    filter: drop-shadow(0 0 2px #183153) !important;
    opacity: 1 !important;
    display: block !important;
  }
  .nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  .desktop-menu {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .mobile-menu-button {
    display: none !important;
  }
  .desktop-menu {
    display: flex !important;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* Contact Page Styles */
.contact-hero {
  position: relative;
  background-color: var(--custom-blue);
  padding: 4rem 0;
  color: white;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.contact-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.contact-hero .hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.contact-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.contact-hero .hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, #f9fafb);
  z-index: 2;
}

.contact-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  color: #f8fafc;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.info-card,
.faq-card,
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.info-card:hover,
.faq-card:hover,
.contact-form:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card h2,
.faq-card h2,
.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: rgba(26, 54, 93, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--custom-blue);
}

.info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.info-content {
  margin-left: 1rem;
}

.info-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.info-content p {
  color: #4a5568;
}

.faq-card {
  margin-top: 2rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  padding-left: 1rem;
  border-left: 4px solid var(--custom-blue);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #4a5568;
}

.contact-form {
  height: fit-content;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
}

.form-group .required {
  color: var(--custom-blue);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--custom-blue);
  box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.1);
}

.submit-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--custom-blue);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background-color: #15294d;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f0fdf4;
  color: #166534;
  border-radius: 0.5rem;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .contact-hero {
    min-height: 350px;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero p {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: 300px;
    padding: 3rem 0;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .info-content {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

/* Legal Pages Styles */
.legal-page {
  padding: 4rem 0;
  background-color: #f9fafb;
  min-height: calc(100vh - 80px);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--custom-blue);
  margin-bottom: 1rem;
}

.last-updated {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
  color: #475569;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-section .contact-info {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.legal-section .contact-info p {
  margin-bottom: 0.5rem;
}

.legal-section .contact-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 0;
  }

  .legal-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }

  .legal-section h3 {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .legal-content {
    padding: 1.5rem;
  }

  .legal-content h1 {
    font-size: 1.75rem;
  }
}

/* General Button Styles */
.btn-primary {
  background-color: var(--custom-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #15294d;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--custom-blue);
  border: 2px solid var(--custom-blue);
}

.btn-outline:hover {
  background: var(--custom-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 2rem;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  margin: -0.5rem 0;
}

.nav-dropdown-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  color: var(--custom-blue);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: #f0f4ff;
  color: #4a90e2;
}

@media (max-width: 768px) {
  .nav-dropdown {
    display: none;
  }
}
