:root {
  --color-white: #FFFFFF;
  --color-navy: #0B1E3D;
  --color-sky-blue: #2F80ED;
  --color-soft-gray: #EAEAEA;
  --color-charcoal: #2C2C2C;
  --color-aqua: #37C2A3;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  --shadow-sm: 0 2px 8px rgba(11, 30, 61, 0.1);
  --shadow-md: 0 4px 16px rgba(11, 30, 61, 0.15);
  --shadow-lg: 0 8px 32px rgba(11, 30, 61, 0.2);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.fas, .far, .fab {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

a {
  color: var(--color-sky-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-aqua);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-wrapper {
  position: relative;
  background: var(--color-navy);
  padding: var(--space-md) 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-menu a {
  color: var(--color-white);
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, #1a3a5f 100%);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-md);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-navy) 0%, rgba(26, 58, 95, 0.1) 50%);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease;
}

.hero-content > div {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-content > div .btn {
  margin: 0;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-sky-blue);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn:hover {
  background: var(--color-aqua);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.thank-you-page .btn-secondary {
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
}

.thank-you-page .btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.section {
  padding: var(--space-xxl) var(--space-md);
}

.section-alt {
  background: var(--color-soft-gray);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sky-blue) 0%, var(--color-aqua) 100%);
  border-radius: 2px;
}

.section-title img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.section-title img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 30, 61, 0.25);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-xl);
}

.services-image-large {
  position: sticky;
  top: var(--space-xl);
}

.services-image-large img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.services-image-large img:hover {
  transform: scale(1.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.services-layout-alt {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-xl);
}

.services-grid-alt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.services-image-side {
  position: sticky;
  top: var(--space-xl);
}

.services-image-side img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.services-image-side img:hover {
  transform: scale(1.02);
}

.services-layout-design {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-xl);
}

.services-image-design {
  position: sticky;
  top: var(--space-xl);
}

.services-image-design img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.services-image-design img:hover {
  transform: scale(1.02);
}

.services-grid-design {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sky-blue) 0%, var(--color-aqua) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sky-blue);
}

.card:hover::before {
  transform: scaleX(1);
}

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

.card-icon {
  font-size: 2.5rem;
  color: var(--color-sky-blue);
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.1) 0%, rgba(55, 194, 163, 0.1) 100%);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.2) 0%, rgba(55, 194, 163, 0.2) 100%);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.pricing-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-sky-blue) 0%, var(--color-aqua) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sky-blue);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card.featured {
  border: 3px solid var(--color-sky-blue);
  transform: scale(1.05);
  background: linear-gradient(to bottom, var(--color-white) 0%, rgba(47, 128, 237, 0.02) 100%);
}

.pricing-card.featured::before {
  transform: scaleX(1);
  height: 6px;
}

.pricing-price {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-sky-blue);
  margin: var(--space-md) 0;
}

.pricing-features {
  list-style: none;
  margin: var(--space-lg) 0;
  text-align: left;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-aqua);
  font-weight: bold;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-navy);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-soft-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sky-blue);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: normal;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  list-style: none;
}

.footer-menu a {
  color: var(--color-white);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  opacity: 0.9;
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--color-aqua);
}

.footer-text {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  opacity: 0.8;
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-sky-blue);
  margin-bottom: var(--space-md);
}

.thank-you-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.thank-you-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.thank-you-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-md);
  background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-soft-gray) 100%);
  min-height: 80vh;
}

.legal-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sky-blue) 0%, var(--color-aqua) 100%);
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 3px solid var(--color-sky-blue);
  position: relative;
  color: var(--color-navy);
}

.legal-page h1::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--color-aqua);
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 4px solid var(--color-sky-blue);
  color: var(--color-navy);
  position: relative;
}


.legal-page p {
  line-height: 1.8;
  margin-bottom: var(--space-md);
  color: var(--color-charcoal);
}

.legal-page ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
  line-height: 1.8;
}

.legal-page ul li {
  margin-bottom: var(--space-sm);
  position: relative;
  color: var(--color-charcoal);
}

.legal-page ul li::marker {
  color: var(--color-sky-blue);
}

.legal-page strong {
  color: var(--color-navy);
  font-weight: 600;
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  -webkit-overflow-scrolling: touch;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-width: 600px;
}

.legal-page table th,
.legal-page table td {
  padding: var(--space-md);
  border: 1px solid var(--color-soft-gray);
  text-align: left;
}

.legal-page table th {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sky-blue) 100%);
  color: var(--color-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.legal-page table tr:nth-child(even) {
  background: var(--color-soft-gray);
}

.legal-page table tr:hover {
  background: rgba(47, 128, 237, 0.05);
  transition: background var(--transition-base);
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sky-blue) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.home-button::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: left 0.5s;
}

.home-button:hover {
  background: linear-gradient(135deg, var(--color-sky-blue) 0%, var(--color-aqua) 100%);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.home-button:hover::before {
  left: 100%;
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: none;
  max-width: 600px;
  margin: 0 auto;
}

.privacy-popup.show {
  display: block;
  animation: slideUp 0.5s ease;
}

.privacy-popup-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup-text {
  flex: 1;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.privacy-popup-btn {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  transition: background var(--transition-base);
}

.privacy-popup-btn.accept {
  background: var(--color-sky-blue);
  color: var(--color-white);
}

.privacy-popup-btn.accept:hover {
  background: var(--color-aqua);
  color: var(--color-white);
}

.privacy-popup-btn.decline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.privacy-popup-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .hero-section {
    min-height: 50vh;
  }

  .hero-content > div {
    flex-direction: column;
    align-items: center;
  }

  .hero-content > div .btn {
    width: 100%;
    max-width: 300px;
    margin-top: var(--space-xs);
  }

  .hero-content > div .btn:first-child {
    margin-top: 0;
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .services-layout,
  .services-layout-alt,
  .services-layout-design {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .services-image-large,
  .services-image-side,
  .services-image-design {
    position: static;
    order: -1;
  }

  .services-grid,
  .services-grid-alt,
  .services-grid-design {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }

  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .privacy-popup-btn {
    flex: 1;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .card,
  .pricing-card,
  .contact-form {
    padding: var(--space-md);
  }
}

