/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: white;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

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

/* Icons */
.check-icon,
.arrow-icon,
.menu-icon,
.close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #111827;
}

.logo-image {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

/* Header logo specific styles */
.header .logo-image {
  width: 7rem;
  height: 4rem;
}

.header .logo-text {
  font-size: 1.25rem;
}

/* Footer logo specific styles */
.footer .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer .logo-image {
  width: 2.5rem;
  height: 2.5rem;
}

.footer .logo-text {
  font-size: 1.5rem;
}

/* Mobile responsive logo */
@media (max-width: 640px) {
  .logo-image {
    width: 2rem;
    height: 2rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .header .logo-image {
    width: 1.75rem;
    height: 1.75rem;
  }

  .header .logo-text {
    font-size: 1.125rem;
  }
}

/* Logo hover effects */
.logo:hover .logo-image {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.logo-image {
  transition: transform 0.2s ease;
}

/* Logo loading and fallback */
.logo-image {
  background-color: #f3f4f6;
  border-radius: 0.25rem;
}

.logo-image:hover {
  filter: brightness(1.1);
}

/* High DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Logo accessibility */
.logo-image:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Print styles for logo */
@media print {
  .logo-image {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  .logo-image {
    filter: brightness(1.1);
  }
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn:hover {
  color: #2563eb;
}

.mobile-menu {
  border-top: 1px solid #e5e7eb;
  background-color: white;
}

.mobile-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav-link:hover {
  color: #2563eb;
}

.mobile-cta {
  margin-top: 0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  padding: 5rem 0 8rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title-accent {
  color: #2563eb;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-features {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check-icon {
  color: #10b981;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-visual {
  position: relative;
}

.hero-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-1 {
  background-color: #dbeafe;
  color: #2563eb;
}

.step-2 {
  background-color: #dcfce7;
  color: #16a34a;
}

.step-3 {
  background-color: #f3e8ff;
  color: #9333ea;
}

.step-content h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: white;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

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

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

.service-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.875rem;
  color: #374151;
  position: relative;
  padding-left: 1rem;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #2563eb;
  border-radius: 50%;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.about-content {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-description {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  background-color: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
}

.value-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-description {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

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

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

.testimonial-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-content {
  color: #374151;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-content::before {
  content: '"';
}

.testimonial-content::after {
  content: '"';
}

.testimonial-author {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.author-name {
  font-weight: 600;
  color: #111827;
}

.author-title {
  font-size: 0.875rem;
  color: #6b7280;
}

.author-company {
  font-size: 0.875rem;
  color: #2563eb;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.contact-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 2fr 1fr;
  }
}

.form-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc2626;
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-message.success {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-message.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-message svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

/* Contact Info */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  margin-top: 0.125rem;
}

.contact-label {
  font-weight: 500;
  color: #111827;
}

.contact-value {
  font-size: 0.875rem;
  color: #6b7280;
}

.cta-card {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.cta-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-main {
  display: grid;
  gap: 2rem;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand .logo-image {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
}

.footer-description {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.newsletter {
  margin-bottom: 1.5rem;
}

.newsletter h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.newsletter p {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.375rem;
  color: white;
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #2563eb;
}

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

.social-link {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #60a5fa;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-services h3,
.footer-contact h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-services a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-services a:hover {
  color: #60a5fa;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Loading States */
.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline;
}

/* Responsive Design */
@media (max-width: 767px) {
  .section-title {
    font-size: 1.875rem;
  }

  .section-description {
    font-size: 1.125rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus Styles */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .mobile-menu,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .section-title {
    font-size: 18pt;
  }
}

/* Logo loading and fallback */
.logo-image {
  background-color: #f3f4f6;
  border-radius: 0.25rem;
}

.logo-image:hover {
  filter: brightness(1.1);
}

/* High DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Logo accessibility */
.logo-image:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Print styles for logo */
@media print {
  .logo-image {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  .logo-image {
    filter: brightness(1.1);
  }
}
