/* Base Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-lighter: #60a5fa;
  --primary-lightest: #93c5fd;
  --primary-bg: #eff6ff;
  --secondary: #1e40af;
  --secondary-dark: #1e3a8a;
  --accent: #f59e0b;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #9ca3af;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-none: none;
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

ul,
ol {
  list-style: none;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Header Styles */
.header {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.logo p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 1.5rem;
}

.desktop-nav a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  opacity: 1;
  color: var(--primary-lightest);
}

.call-request-btn {
  background-color: var(--white);
  color: var(--primary);
  padding: 1rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.call-request-btn:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  font-size: 1.25rem;
}

.mobile-menu {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul {
  margin-bottom: 1rem;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--white);
  opacity: 0.9;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  opacity: 1;
  color: var(--primary-lightest);
}

.mobile-call-btn {
  width: 100%;
  text-align: center;
}

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

  .mobile-menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 5rem 0;
}

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

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
  align-self: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.image-bg {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 100%;
  height: 100%;
  background-color: var(--primary-lighter);
  opacity: 0.3;
  border-radius: var(--border-radius-lg);
  transform: rotate(3deg);
  z-index: 1;
}

.image-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.expert-card {
  position: absolute;
  top: 15rem;
  right: -2rem;
  background: linear-gradient(to right, var(--primary-dark), var(--secondary));
  padding: 1rem;
  border-radius: var(--border-radius);
  max-width: 250px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.expert-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.expert-card p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

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

.stars {
  display: flex;
  color: var(--accent);
}

.rating span {
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-image {
    flex: 1;
  }
}

/* Partners */
.partners-section {
  padding: 2rem 0;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partners-logos img {
  max-height: 50px;
  max-width: 120px;
  opacity: 0.8;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.partners-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* Page Hero */
.page-hero {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Quiz Form */
.quiz-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
}

.quiz-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: linear-gradient(to bottom, var(--white), transparent);
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.quiz-form {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.01);
  max-width: 700px;
  margin: 0 auto;
}

.quiz-title {
  font-size: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.progress-container {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.progress-bar {
  width: 100%;
  height: 0.75rem;
  background-color: var(--gray-100);
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  width: 20%;
  transition: width var(--transition);
}

.progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-medium);
}

.form-step-content {
  padding: 2rem;
}

.form-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.radio-option:hover {
  border-color: var(--primary);
  background-color: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-custom {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  margin-right: 1rem;
  position: relative;
  transition: all var(--transition-fast);
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: var(--primary);
  background-color: var(--primary-bg);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.radio-option input[type="radio"]:checked ~ span {
  color: var(--primary-dark);
  font-weight: 500;
}

.radio-option span {
  font-size: 1.125rem;
  color: var(--text-dark);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
}

.text-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius-xl);
  font-size: 1.125rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.text-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.btn-prev,
.btn-next,
.btn-submit {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-xl);
  font-weight: 500;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
}

.btn-prev {
  color: var(--text-dark);
  border: 1px solid var(--gray-300);
}

.btn-prev:hover:not(:disabled) {
  background-color: var(--gray-100);
}

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

.btn-next,
.btn-submit {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: var(--shadow-md), 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-next:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-prev i,
.btn-next i,
.btn-submit i {
  margin: 0 0.5rem;
}
.success-icon {
  width: 6rem;
  height: 6rem;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.05);
}

.success-icon i {
  font-size: 3rem;
  color: var(--success);
}

.success-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark); /* Предполагается, что у вас есть эта переменная, иначе замените на нужный цвет */
}

.success-text {
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.success-text.highlight {
  color: var(--success); /* Выделение цветом успеха */
  font-weight: 500;
}


.telegram-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-xl);
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0 auto;
  max-width: 300px;
  box-shadow: var(--shadow-md), 0 4px 14px rgba(59, 130, 246, 0.3);
  transition: all var(--transition-fast);
}

.telegram-button:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(59, 130, 246, 0.4);
}

.reset-form-btn {
  display: block;
  margin: 1rem auto 0;
  color: var(--text-medium);
  text-decoration: underline;
  font-size: 0.875rem;
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.stat-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-medium);
}

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

/* How We Work Section */
.how-we-work {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
}

.how-we-work::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: linear-gradient(to bottom, var(--white), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.service-card h4 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  margin: 0 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.service-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: linear-gradient(to bottom, var(--white), transparent);
}

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

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.testimonial-amount {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-medium);
  font-style: italic;
  text-align: center;
  margin-bottom: 0;
}

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

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.faq-question i {
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

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

.faq-answer p {
  color: var(--text-medium);
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background-color: var(--primary-bg);
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.primary-btn {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.primary-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.emergency-btn {
  background: linear-gradient(to right, var(--error), #f87171);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.emergency-btn:hover {
  background: linear-gradient(to right, #dc2626, var(--error));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: linear-gradient(to right, var(--secondary-dark), var(--secondary));
  color: var(--white);
  padding: 5rem 0 2rem;
}

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

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-lightest);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.75rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.contact-item:hover .contact-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-item span {
  font-size: 0.875rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-bottom: 0;
}

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

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal-content {
  background-color: var(--white);
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  position: relative;
  box-shadow: var(--shadow-2xl);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-medium);
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.submit-btn:hover:not(:disabled) {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.loading-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Blog Styles */
.blog-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.blog-card-header {
  padding: 1.5rem 1.5rem 0;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.blog-category {
  background-color: var(--primary-bg);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-read-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-card-content {
  padding: 0 1.5rem 1.5rem;
}

.blog-card-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.blog-read-more {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.blog-read-more:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

/* Services Full Page */
.services-full-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-full-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.service-full-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.service-full-card .service-icon {
  margin-bottom: 1.5rem;
}

.service-full-card h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.service-full-card p {
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 1.5rem;
}

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

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

/* Fraud Types Section */
.fraud-types-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.fraud-types-box {
  background-color: var(--primary-bg);
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.fraud-types-box h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.fraud-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.fraud-type-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fraud-type-item i {
  color: var(--success);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.fraud-type-item p {
  color: var(--text-dark);
  margin-bottom: 0;
}

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

/* Work Process Section */
.work-process-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.process-number {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.process-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

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

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.value-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

/* Team Section */
.team-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  background: linear-gradient(to bottom, var(--white), transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-stars {
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-medium);
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

/* Experience Section */
.experience-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.experience-container {
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.experience-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.experience-icon {
  color: var(--success);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.experience-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.experience-content p {
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.section-subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.contact-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-card-note {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

.emergency-contact-card {
  background-color: var(--primary-bg);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.emergency-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.emergency-contact-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.emergency-contact-card p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.emergency-contacts {
  list-style: none;
}

.emergency-contacts li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

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

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

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

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

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intl Tel Input Styles */
.iti {
  width: 100% !important;
}

.iti__flag-container {
  z-index: 10;
}
