/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

/* CSS Variables for consistent theming */
:root {
  /* Primary Colors */
  --primary-color: #0062ff;
  --secondary-color: #5e17eb;
  --accent-color: #00d9ff;
  --tech-color: #01c5c4;
  --success-color: #00ca72;
  --warning-color: #ffb946;
  --danger-color: #f25767;
  
  /* Gradient Colors */
  --primary-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--tech-color));
  --tech-gradient: linear-gradient(45deg, #0062ff, #00d9ff);
  --dark-gradient: linear-gradient(to right, #1a1e2c, #2d3748);
  --btn-gradient: linear-gradient(135deg, #0062ff, #7000ff);
  
  /* Text Colors */
  --text-primary: #16213e;
  --text-secondary: #394867;
  --text-light: #8d93ab;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --bg-tech: #f0f5ff;
  
  /* Shadow & Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.04), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 15px 25px rgba(0, 0, 0, 0.05), 0 5px 10px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 15px rgba(0, 98, 255, 0.15);
  --shadow-tech: 0 10px 20px rgba(0, 217, 255, 0.12);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Borders */
  --border-light: 1px solid rgba(0, 98, 255, 0.1);
  --border-tech: 2px solid var(--primary-color);
}

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

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-size: 1rem;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Code styling */
code, pre {
  font-family: 'Fira Code', monospace;
}

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

/* Header */
header {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--tech-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
  outline: none;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Main Content Spacing */
main {
  padding-top: 70px; /* Match header height */
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(to bottom right, 
    rgba(0, 98, 255, 0.03),
    rgba(0, 217, 255, 0.05));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 98, 255, 0.07) 0%, transparent 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
}

.hero .lead {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary {
  background: var(--btn-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(0, 98, 255, 0.1);
  transform: translateY(-3px);
}

.carousel-container {
  flex: 1;
  max-width: 500px;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-tech);
  background: var(--bg-card);
  border: var(--border-light);
}

.carousel-slide {
  padding: 2.5rem;
  text-align: center;
  background: var(--bg-tech);
  min-height: 320px;
  display: none;
  flex-direction: column;
  justify-content: center;
}

.carousel-slide.active {
  display: flex;
  animation: fadeIn 0.5s ease;
}

.slide-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.carousel-slide h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.carousel-slide p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 98, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

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

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 98, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Services Section */
.services-preview {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 98, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--dark-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at top right, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

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

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: var(--border-light);
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.testimonial-company {
  color: var(--primary-color);
  font-weight: 500;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 98, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

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

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

.cta .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 1.5rem;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

/* .footer-about-column {
  grid-column: span 2;
} */

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
}

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

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-contact-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.footer-contact-item p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: white;
}

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

/* Additional styles for new design */
.services-detailed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-detail {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
  overflow: hidden;
}

.service-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.service-detail .service-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-features {
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.feature-item svg {
  color: var(--success-color);
  flex-shrink: 0;
}

/* Contact page styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 98, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  background: white;
}

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

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

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
}

.contact-info {
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-details a:hover {
  color: white;
  text-decoration: underline;
}

.map-container {
  margin: 3rem 0;
}

.map-placeholder {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
}

.map-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.office-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.office-detail {
  text-align: center;
  padding: 1.5rem;
}

.office-icon {
  color: var(--primary-color);
  margin: 0 auto 1rem;
}

.quick-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 98, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 98, 255, 0.1);
}

.quick-contact h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  font-weight: 500;
  border: 1px solid rgba(0, 98, 255, 0.15);
}

.quick-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

.faq-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* About page specific styles */
.about-content {
  max-width: 900px;
  margin: 3rem auto 0;
}

.about-text {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

.mission-icon {
  color: var(--primary-color);
  margin: 0 auto 1.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

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

.about-icon {
  color: var(--primary-color);
  margin: 0 auto 1.25rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SEO Optimization */
.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;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero .container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .carousel-container {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-about-column {
    grid-column: span 1;
  }
  
  .mission-values {
    grid-template-columns: 1fr;
  }
  
  .quick-contact-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .service-item {
    padding: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f0f0;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}