:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --steel-blue: #4a7c9b;
  --steel-blue-light: #5d9aba;
  --steel-blue-dark: #3a6580;
  --accent: #5ba4cc;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --light-grey: #e8ecf1;
  --mid-grey: #8a95a5;
  --dark-text: #1a2332;
  --body-text: #2d3748;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--steel-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--steel-blue-light);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-text);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 55px;
  width: 55px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--steel-blue);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: var(--steel-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 155, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-close {
  display: none;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  margin-top: 72px; /* Offset for fixed navbar height */
  height: auto;
}

.hero-image-wrapper {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(26, 35, 50, 0.88) 0%, rgba(26, 35, 50, 0.65) 35%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding-top: 16%;
  padding-bottom: 40px;
}

.hero-text {
  max-width: 440px;
  text-align: left;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--steel-blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 155, 0.35);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid var(--light-grey);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.package-featured {
  border-color: var(--steel-blue);
  box-shadow: 0 8px 30px rgba(74, 124, 155, 0.15);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--steel-blue);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.package-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.package-price {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-text);
  display: block;
  line-height: 1.1;
}

.price-type {
  font-size: 0.85rem;
  color: var(--mid-grey);
  font-weight: 500;
  display: block;
}

.payment-type {
  font-size: 0.85rem;
  color: var(--mid-grey);
  font-weight: 500;
  display: block;
}

.package-ideal {
  font-size: 0.9rem;
  color: var(--mid-grey);
  margin-bottom: 20px;
  font-style: italic;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  flex-grow: 1;
}

.package-features li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.95rem;
  color: var(--body-text);
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--steel-blue);
  font-weight: 700;
}

.package-monthly {
  background: var(--off-white);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.monthly-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-text);
}

.monthly-label {
  font-size: 0.85rem;
  color: var(--mid-grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-care-desc {
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: 20px;
}

.package-btn {
  width: 100%;
}

.packages-note {
  text-align: center;
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-top: 32px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--steel-blue);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--mid-grey);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--light-grey);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--steel-blue);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--steel-blue), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--mid-grey);
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: process;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 64px;
  height: 64px;
  background: var(--steel-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  color: var(--mid-grey);
  font-size: 0.95rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel-blue-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.service-detail:not(:last-child) {
  border-bottom: 1px solid var(--light-grey);
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail .detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--steel-blue), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-detail h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail p {
  color: var(--mid-grey);
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail ul li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  color: var(--body-text);
}

.service-detail ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--steel-blue);
  font-weight: 700;
}

.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-box {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--off-white), var(--light-grey));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid var(--light-grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--light-grey);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0px;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 24px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  width: 100%;
  margin-top: 10px;
  margin-left: 0;
  padding-left: 0;
}

.checkbox-group input {
  width: 16px !important;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  margin: 0;
  cursor: pointer;
  font-weight: 400 !important;
  font-size: 0.7rem !important;
  color: var(--mid-grey);
  white-space: nowrap;
  line-height: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-grey);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--body-text);
  transition: border-color 0.3s ease;
  background: var(--white);
}

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

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

.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}

.alert-success {
  background: #e6f7ed;
  color: #1a7d3e;
  border: 1px solid #b3e6c7;
}

.alert-error {
  background: #fde8e8;
  color: #c53030;
  border: 1px solid #f5b3b3;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--mid-grey);
  margin-bottom: 32px;
  line-height: 1.8;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.info-item .info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.info-item h4 {
  margin-bottom: 4px;
}

.info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.legal-page {
  padding: 140px 0 80px;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--mid-grey);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-grey);
}

.legal-page h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page p {
  margin-bottom: 16px;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.footer {
  background: var(--white);
  color: var(--dark-grey);
  padding: 60px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-brand .footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  font-style: italic;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--mid-grey);
  font-size: 0.9rem;
  line-height: 2.2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--steel-blue);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mid-grey);
}

.footer-bottom p {
  margin-bottom: 4px;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.modal-content h3 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.modal-content p {
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal-content .btn {
  margin-top: 16px;
  min-width: 160px;
}

.modal-error .modal-icon {
  color: #e74c3c;
}

.page-404 {
  text-align: center;
  padding: 200px 0 100px;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--steel-blue);
}

.page-404 p {
  font-size: 1.25rem;
  color: var(--mid-grey);
  margin-bottom: 32px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    gap: 24px;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
  }

  .nav-menu a {
    padding: 16px 16px;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .hero-image-wrapper {
    height: auto;
  }

  .hero-bg-img {
    width: 100%;
    height: auto;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  }

  .hero .tagline {
    font-size: 1.3rem;
  }

  .hero .subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0;
  }

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

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

  .contact-form {
    padding: 24px;
  }
}
