/* Reset and Base Styles */
:root {
  --primary: #0047AB;  /* Strong Trustworthy Blue */
  --primary-light: #2168C6;
  --primary-dark: #002D69;
  --secondary: #f0f4f8;
  --accent: #D22B2B;  /* American Red */
  --text-dark: #1A1F2C;
  --text-light: #4A5568;
  --text-white: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-secondary: #f7fafc;
  --border-color: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: rgba(0, 71, 171, 0.1);
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.3em;
  background-color: rgba(0, 71, 171, 0.1);
  z-index: -1;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(0, 71, 171, 0.2);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(0, 71, 171, 0.05);
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn i {
  margin-left: 0.5rem;
}

.btn-cta {
  background-color: white;
  color: var(--primary-dark);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
  background-color: #f8f9fa;
}

.pulse-btn {
  position: relative;
}

.pulse-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  animation: fadeDown 0.3s ease-out;
}

.mobile-nav-link {
  color: var(--text-dark);
  padding: 0.5rem 0;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links a {
    color: var(--text-dark);
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-nav {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.image-glow {
  position: absolute;
  inset: -0.5rem;
  background: linear-gradient(to right, var(--primary-light), var(--primary));
  border-radius: var(--radius-lg);
  filter: blur(1rem);
  opacity: 0.3;
}

.image-container {
  position: relative;
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

.image-container img {
  border-radius: calc(var(--radius-lg) - 0.5rem);
  width: 100%;
  object-fit: cover;
}

.bg-gradient {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
  filter: blur(3rem);
}

.bg-gradient-top {
  top: 0;
  right: 0;
  width: 33%;
  height: 33%;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
}

.bg-gradient-bottom {
  bottom: 0;
  left: 0;
  width: 33%;
  height: 33%;
  background: linear-gradient(to top, var(--primary-light), transparent);
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 0 8rem;
  }
  
  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .hero-text p {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

/* Features Section */
.features {
  position: relative;
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform:capitalize;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
}

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

.feature-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 71, 171, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.bg-blur {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
  filter: blur(6rem);
}

.bg-blur-left {
  top: 25%;
  left: 0;
  width: 25%;
  height: 25%;
  background: linear-gradient(to right, var(--primary-light), transparent);
}

.bg-blur-right {
  bottom: 25%;
  right: 0;
  width: 25%;
  height: 25%;
  background: linear-gradient(to left, var(--primary-light), transparent);
}

.bg-blur-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 71, 171, 0.1) 0%, transparent 70%);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* Testimonials Section */
.testimonials {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--bg-light), var(--secondary));
}

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

.testimonial-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
}

.stars {
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CTA Section */
.cta {
  position: relative;
  padding: 6rem 0;
  color: white;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0047AB, #0065D1);
  z-index: -2;
}

.cta-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-feature i {
  color: rgba(255, 255, 255, 0.8);
}

.disclaimer {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

.usa-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(to right, #D22B2B, white, var(--primary));
  opacity: 0.7;
  z-index: -1;
}

/* Add decorative elements to CTA section */
.cta::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 10rem;
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  z-index: -1;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 15rem;
  height: 15rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  z-index: -1;
}

@media (min-width: 768px) {
  .cta h2 {
    font-size: 2.5rem;
  }
}

/* Footer */
.footer {
  background-color: #f0f4f8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--primary);
}

.footer-logo h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: rgba(0, 71, 171, 0.1);
  color: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.875rem;
}

.footer-disclaimer {
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .contact-info {
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 0;
  }
}

/* AOS Animation */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
}