/* Import Google Fonts for sophisticated typography */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Open+Sans:wght@300;400;500;600&display=swap");

/* Added CSS custom properties definition at the top */
:root {
  /* Design tokens for sophisticated insurance website */
  --background: #ffffff;
  --foreground: #475569;
  --card: #ecfeff;
  --card-foreground: #164e63;
  --popover: #ffffff;
  --popover-foreground: #164e63;
  --primary: #164e63;
  --primary-foreground: #ffffff;
  --secondary: #475569;
  --secondary-foreground: #ffffff;
  --muted: #f8fafc;
  --muted-foreground: #374151;
  --accent: #6366f1;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --border: #d1d5db;
  --input: #f8fafc;
  --ring: rgba(22, 78, 99, 0.5);
  --radius: 0.5rem;
}

/* Dark mode support */
.dark {
  --background: #0f172a;
  --foreground: #f1f5f9;
  --card: #1e293b;
  --card-foreground: #f1f5f9;
  --popover: #1e293b;
  --popover-foreground: #f1f5f9;
  --primary: #ecfeff;
  --primary-foreground: #164e63;
  --secondary: #334155;
  --secondary-foreground: #f1f5f9;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #6366f1;
  --accent-foreground: #ffffff;
  --border: #334155;
  --input: #1e293b;
  --ring: rgba(236, 254, 255, 0.5);
}

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

body {
  /* Updated to use Open Sans and design tokens */
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  font-weight: 400;
}

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

/* Navigation */
.navbar {
  /* Enhanced navbar with design tokens and backdrop blur */
  background: transparent;
  /* backdrop-filter: blur(10px); */
  /* box-shadow: 0 4px 20px rgba(22, 78, 99, 0.1); */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  /* border-bottom: 1px solid var(--border); */
  position: absolute;
  top: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo h2 {
  /* Updated logo styling with Montserrat and primary color */
  color: var(--primary);
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.nav-link {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

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

/* Added elegant hover underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  /* Enhanced hero with sophisticated gradient and increased padding */
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 50%, var(--accent) 100%);
  padding: 100px 0 100px;
  position: relative;
  overflow: hidden;
  height: 100vh ;
  display: flex;
  align-items: center;
}

.hero::after {
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 50%, var(--accent) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

/* Added subtle pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./assets/heroImage.jpg');
  background-size: cover;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  /* Enhanced typography with Montserrat and better spacing */
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}
.cta-div{
  display: flex;
  justify-content: center;
}
.cta-button {
  /* Enhanced CTA button with modern styling */
  background: var(--accent);
  color: white;
  padding: 18px 36px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
}

.cta-button:hover {
  background: #5855eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.services-label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 16px;
  display: block;
}

.services-intro h2 {
  color: #f1f5f9;
  font-family: "Montserrat", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.services-description p {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.service-icon svg {
  color: #94a3b8;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.1);
}

.service-card:hover .service-icon svg {
  color: #f1f5f9;
}

.service-card h3 {
  color: #f1f5f9;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-card p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Form Section */
.form-section {
  padding: 100px 0;
  background: var(--muted);
  position: relative;
}

.form-section h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.form-section p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted-foreground);
  margin-bottom: 60px;
  font-weight: 300;
}

.insurance-form {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(22, 78, 99, 0.1);
  border: 1px solid var(--border);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  background: var(--input);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--muted);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.checkbox-label {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

.submit-button {
  /* Enhanced submit button with primary color and modern styling */
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(22, 78, 99, 0.3);
}

.submit-button:hover {
  background: #0e3a4a;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(22, 78, 99, 0.4);
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

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

.testimonial-card {
  /* Enhanced testimonial cards with modern styling */
  background: var(--card);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(22, 78, 99, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(22, 78, 99, 0.15);
}

/* Added quote icon */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  color: var(--card-foreground);
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.7;
  padding-left: 20px;
}

.testimonial-author h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  /* Enhanced CTA section with gradient background */
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.cta-section .cta-button:hover {
  background: var(--muted);
  color: var(--primary);
}

/* Footer */
.footer {
  /* Enhanced footer with primary color and better spacing */
  background: var(--primary);
  color: white;
  padding: 80px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Page Styles */
.page-header {
  /* Enhanced page headers with gradient background */
  background: linear-gradient(135deg, var(--muted) 0%, var(--card) 100%);
  padding: 140px 0 80px;
  margin-top: 80px;
  text-align: center;
}

.page-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-content {
  padding: 80px 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin: 40px 0 20px;
  font-size: 1.8rem;
}

.page-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--foreground);
  font-size: 1.05rem;
}

.page-content ul {
  margin: 20px 0 20px 40px;
  color: var(--foreground);
}

.page-content ul li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* About Us Section */
.about-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--muted) 50%, var(--card) 100%);
  position: relative;
}

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

.about-text .section-label {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 16px;
  display: block;
}

.about-text h2 {
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-text p {
  color: var(--foreground);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 400;
}

.about-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}

.stat {
  text-align: center;
  /* padding: 30px 20px; */
  /* background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(22, 78, 99, 0.1);
  border: 1px solid var(--border); */
  transition: all 0.3s ease;
}

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

.stat h3 {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}

.stat p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(22, 78, 99, 0.15);
  border: 1px solid var(--border);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

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

  /* Added responsive styles for About Us section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Added responsive styles for services section */
  .services-header {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .services-intro h2 {
    font-size: 2.5rem;
  }

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

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

  .nav-menu {
    display: none;
  }

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

  .insurance-form {
    padding: 30px;
  }

  .form-section h2,
  .testimonials h2,
  .cta-section h2 {
    font-size: 2.2rem;
  }
}

/* Added smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}