/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */

:root {
  --primary-color: #7912a6;
  --primary-dark: #5a0d7d;
  --primary-light: #9b2fd0;
  --secondary-color: #00c896;
  --accent-color: #ff6b35;
  --dark-color: #1a1a2e;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --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);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-hero: linear-gradient(135deg, #7912a6 0%, #5a0d7d 50%, #3d0854 100%);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

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

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(121, 18, 166, 0.1) 0%, rgba(0, 200, 150, 0.1) 100%);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

.highlight {
  color: var(--primary-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

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

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  padding: 5px 0;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-img {
  height: 110px;
  width: auto;
  transition: var(--transition-normal);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.header.scrolled .logo-img {
  height: 110px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.logo-text {
  color: var(--dark-color);
}

.header.scrolled .logo-text {
  color: var(--dark-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--primary-color);
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.header.scrolled .nav-link {
  color: var(--text-color);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(121, 18, 166, 0.1);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary-color);
  background: rgba(121, 18, 166, 0.1);
}

.nav-link i {
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  padding: 12px 0;
  z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.header.scrolled .bar {
  background: var(--dark-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 120px 0 220px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 6V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--secondary-color);
}

.hero-text > p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
}

.hero-stats .stat-item {
  text-align: left;
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: inline;
}

.hero-stats .stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 4px;
}

.hero-image {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
}

.hero-img-wrapper img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #00a67d 100%);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.floating-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.floating-card strong {
  font-size: 1.125rem;
  color: var(--dark-color);
  font-weight: 700;
}

.card-1 {
  top: 20px;
  right: -30px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */

.partners {
  padding: 60px 0;
  background: var(--white);
}

.partners-title {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

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

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  transition: var(--transition-normal);
}

.partner-logo:hover {
  opacity: 1;
  color: var(--primary-color);
}

.partner-logo i {
  font-size: 1.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card.featured {
  background: var(--gradient-primary);
  border-color: transparent;
}

.service-card.featured * {
  color: var(--white);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(123, 45, 142, 0.1) 0%, rgba(0, 200, 150, 0.1) 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-color);
}

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

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.service-features li i {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.service-link:hover {
  gap: 12px;
}

.service-card.featured .service-link {
  color: var(--white);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.about-content .section-badge {
  margin-bottom: 16px;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content .lead {
  font-size: 1.125rem;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature .feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(123, 45, 142, 0.1) 0%, rgba(0, 200, 150, 0.1) 100%);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature .feature-icon i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.about-feature h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats {
  padding: 80px 0;
  background: var(--gradient-hero);
}

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

.stat-card {
  text-align: center;
  color: var(--white);
}

.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-card .stat-icon i {
  font-size: 1.75rem;
}

.stat-card .stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: inline;
  line-height: 1;
}

.stat-card .stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

/* ==========================================================================
   Specialties Section
   ========================================================================== */

.specialties {
  padding: 100px 0;
  background: var(--bg-light);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.specialty-card {
  background: var(--white);
  padding: 32px 20px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.specialty-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.specialty-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-color);
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process {
  padding: 100px 0;
  background: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 32px;
}

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

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

.author-info h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark-color);
}

.author-info span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
  padding: 100px 0;
  background: var(--gradient-hero);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info .section-badge {
  margin-bottom: 16px;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(123, 45, 142, 0.1) 0%, rgba(0, 200, 150, 0.1) 100%);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition-normal);
}

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

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 48px;
  border-radius: var(--border-radius-xl);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--dark-color);
  padding: 80px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-certifications {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-certifications span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-newsletter h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-newsletter > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9375rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  padding: 12px 16px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.newsletter-form button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

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

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

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

  .specialties-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }

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

  .nav-link {
    color: var(--text-color);
    width: 100%;
    padding: 12px 0;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
    background: none;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
    display: none;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

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

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 100px 0 180px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
  }

  .hero-stats .stat-item {
    text-align: center;
  }

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

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

  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-content p {
    font-size: 1.0625rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

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

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

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
  }

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

  .partners-logos {
    gap: 30px;
  }

  .partner-logo {
    font-size: 1rem;
  }

  .about-content h2,
  .contact-info h2 {
    font-size: 1.875rem;
  }

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Visually hidden class for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

