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

:root {
  --navy-dark: #0f1c3f;
  --navy-medium: #1a2f5c;
  --navy-light: #2a4073;
  --blue-bright: #0088ff;
  --blue-light: #33a3ff;
  --blue-lighter: #66b8ff;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-medium: #e8ecf1;
  --gray-dark: #4a5568;
  --text-dark: #2d3748;
  --text-light: #718096;
  --success: #48bb78;
  --error: #f56565;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Loading mechanism styles */
.dynamic-content {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.dynamic-content.loaded {
    opacity: 1;
}

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

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 136, 255, 0.3);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.info-banner {
  background: var(--navy-dark);
  color: var(--white);
  padding: 12px 0;
  font-size: 14px;
}

.info-banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.info-item:hover {
  color: var(--blue-bright);
}

.info-item svg {
  flex-shrink: 0;
}

.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--blue-bright);
}

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

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navy-dark);
  transition: all 0.3s;
  border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width 0.3s;
}

.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a:not(.nav-cta).active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--blue-bright);
}

.nav-cta {
  background: var(--blue-bright);
  color: var(--white) !important;
  padding: 10px 25px;
  border-radius: 6px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
}

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L50 50L0 100" stroke="rgba(0,136,255,0.1)" stroke-width="2" fill="none"/></svg>');
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 136, 255, 0.2);
  color: var(--blue-bright);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--blue-bright);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

.hero-image {
  animation: fadeInRight 1s ease-out;
  position: relative;
}

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

.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.btn-primary {
  display: inline-block;
  background: var(--blue-bright);
  color: var(--white);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--blue-bright);
}

.btn-primary:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--white);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--navy-dark);
}

.btn-secondary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy-dark);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--navy-dark);
}

.btn-outline:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15, 28, 63, 0.3);
}

section {
  padding: 80px 0;
}

.services-intro {
  padding-bottom: 40px;
}

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

.section-badge {
  display: inline-block;
  background: rgba(0, 136, 255, 0.1);
  color: var(--blue-bright);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--navy-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

.stats-section {
  background: var(--gray-light);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

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

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  animation: fadeInLeft 0.8s ease-out;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--blue-bright);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.4);
}

.about-content {
  animation: fadeInRight 0.8s ease-out;
}

.about-content h2 {
  font-size: 42px;
  color: var(--navy-dark);
  margin-bottom: 25px;
  font-weight: 700;
}

.about-content p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.check-list {
  list-style: none;
  margin-bottom: 35px;
}

.check-list li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 16px;
  color: var(--text-dark);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 136, 255, 0.2);
}

.service-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-icon {
  position: absolute;
  top: 220px;
  left: 30px;
  width: 80px;
  height: 80px;
  background: var(--blue-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 136, 255, 0.3);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--navy-dark);
  transform: rotate(360deg);
}

.service-icon svg {
  color: var(--white);
}

.service-card h3 {
  font-size: 24px;
  color: var(--navy-dark);
  margin: 60px 30px 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  padding: 0 30px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--blue-bright);
  text-decoration: none;
  padding: 0 30px 30px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s;
}

.service-link:hover {
  color: var(--navy-dark);
  padding-left: 35px;
}

.services-cta {
  text-align: center;
}

.trust-section {
  background: var(--gray-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.trust-card {
  background: var(--white);
  padding: 50px 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  border-top: 4px solid var(--blue-bright);
}

.trust-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.trust-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.trust-label {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 2px;
  font-weight: 600;
}

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

.benefit-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
  transform: rotateY(360deg);
}

.benefit-icon svg {
  color: var(--white);
}

.benefit-card h3 {
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.process-section {
  background: var(--gray-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.step-number {
  font-size: 64px;
  font-weight: 700;
  color: rgba(0, 136, 255, 0.15);
  margin-bottom: 20px;
  line-height: 1;
}

.process-step h3 {
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  border-left: 4px solid var(--blue-bright);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 16px;
  color: var(--navy-dark);
  margin-bottom: 3px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-light);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.insight-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

.insight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
}

.insight-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.insight-card:hover .insight-image img {
  transform: scale(1.1);
}

.insight-content {
  padding: 30px;
}

.insight-meta {
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insight-content h3 {
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.insight-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.insight-link {
  color: var(--blue-bright);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.insight-link:hover {
  color: var(--navy-dark);
}

.faq-section {
  background: var(--gray-light);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.6s ease-out;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-dark);
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--blue-bright);
}

.faq-icon {
  transition: transform 0.3s;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}

.coverage-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.coverage-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(0, 136, 255, 0.1);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.coverage-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
  font-weight: 700;
}

.coverage-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.coverage-list {
  list-style: none;
  margin-bottom: 35px;
}

.coverage-list li {
  padding: 15px 0;
  padding-left: 40px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coverage-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 24px;
}

.coverage-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.features-section {
  background: var(--gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.2);
  background: var(--blue-bright);
  color: var(--white);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s;
}

.feature-icon svg {
  color: var(--white);
}

.feature-box:hover .feature-icon {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
  transform: rotateY(360deg);
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--navy-dark);
  font-weight: 700;
  transition: color 0.3s;
}

.feature-box:hover h3 {
  color: var(--white);
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.7;
  transition: color 0.3s;
}

.feature-box:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

.cta-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-content .btn-primary {
  background: var(--white);
  color: var(--blue-bright);
}

.cta-content .btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  border-color: var(--white);
}

.contact-section {
  padding: 100px 0;
}

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

.contact-info h2 {
  font-size: 42px;
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 10px;
  transition: all 0.3s;
}

.contact-item:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateX(10px);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--blue-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
  background: var(--white);
}

.contact-item-icon svg {
  color: var(--white);
  transition: color 0.3s;
}

.contact-item:hover .contact-item-icon svg {
  color: var(--blue-bright);
}

.contact-item-content h3 {
  font-size: 16px;
  color: var(--navy-dark);
  margin-bottom: 5px;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-item:hover .contact-item-content h3 {
  color: var(--white);
}

.contact-item-content p,
.contact-item-content a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item:hover .contact-item-content p,
.contact-item:hover .contact-item-content a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 14px;
}

.form-group label .required {
  color: var(--error);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

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

/* Better select arrow spacing / consistent cross-browser rendering */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Leave room for the custom arrow */
  padding-right: 2.75rem;

  /* Custom arrow (SVG). Change %2364748b to another hex if needed. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
}

/* IE / legacy Edge: hide native arrow */
.form-group select::-ms-expand {
  display: none;
}

.error-message {
  color: var(--error);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-message.show {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group label a {
  color: var(--blue-bright);
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--blue-bright);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover:not(:disabled) {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
  margin-left: 10px;
}

.submit-btn.loading .btn-loader {
  display: block;
}

.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: var(--white);
  padding: 18px 35px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transition: bottom 0.4s ease-out;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.toast.show {
  bottom: 30px;
}

.toast.error {
  background: var(--error);
}

.toast svg {
  flex-shrink: 0;
}

.privacy-hero,
.terms-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.privacy-hero h1,
.terms-hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.content-section {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 32px;
  color: var(--navy-dark);
  margin: 40px 0 20px;
  font-weight: 700;
}

.content-wrapper h3 {
  font-size: 24px;
  color: var(--navy-dark);
  margin: 30px 0 15px;
  font-weight: 600;
}

.content-wrapper p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-wrapper a {
  color: var(--blue-bright);
  text-decoration: none;
}

.content-wrapper a:hover {
  text-decoration: underline;
}

.footer {
  background: linear-gradient(180deg, #0a1428 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(0,136,255,0.1)"/></svg>');
  opacity: 0.4;
}

.footer-main {
  padding: 80px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-item:hover {
  color: var(--blue-bright);
  background: rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
  transform: translateX(5px);
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--blue-bright);
  border-radius: 2px;
}

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

.footer-column ul li {
  margin-bottom: 14px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  position: relative;
}

.footer-column ul li a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.footer-column ul li a:hover {
  color: var(--blue-bright);
  padding-left: 8px;
}

.footer-column ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-location {
  display: flex;
  align-items: start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.footer-location:hover {
  background: rgba(0, 136, 255, 0.08);
  border-color: rgba(0, 136, 255, 0.2);
}

.footer-location svg {
  color: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-location p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 15px;
}

.footer-bottom {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--blue-bright);
  color: var(--white);
  border-color: var(--blue-bright);
  transform: translateY(-3px);
}

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

  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    gap: 0;
  }

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

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--gray-medium);
    padding: 15px 0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .hero-grid,
  .about-grid,
  .coverage-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .info-banner-content {
    gap: 20px;
    font-size: 13px;
  }

  .info-item span {
    display: none;
  }

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

  .footer-main {
    padding: 60px 0 40px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-form {
    padding: 30px;
  }

  .stats-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

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

  .coverage-image {
    order: -1;
  }

  .toast {
    bottom: -100px;
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 16px 24px;
    font-size: 14px;
  }

  .toast.show {
    bottom: 80px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

  .section-header h2 {
    font-size: 36px;
  }

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.footer-with-padding .footer-grid {
  padding-top: 80px;
}
