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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  color: #0f172a;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.3s ease;
}

a:hover {
  color: #1d4ed8;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  padding: 0 20px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .logo a {
  display: block;
  width: 300px;
  height: 150px;
  padding-top: 10px;
  background-image: url('thinkdtm-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-weight: 500;
  color: #334155;
  transition: color 0.3s ease;
}

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

.nav-links .btn-primary,
.nav-links .btn-primary:hover {
  color: white;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #334155;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #2563eb;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 2px solid #2563eb;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1b202d, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.no-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero h1 .ai-icon {
  font-size: 0.7em; /* Use relative unit for scaling */
  vertical-align: middle; /* Keep for alignment consistency */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #475569;
}

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

.hero-image {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  color: #2563eb;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

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

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

.card-features {
  list-style: none;
  margin-top: 20px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #475569;
}

.card-features i {
  color: #10b981;
  font-size: 0.875rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 16px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2563eb;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.step:hover .step-icon {
  background: #2563eb;
  color: white;
  transform: scale(1.1);
}

/* Case Studies */
.case-study {
  position: relative;
}

.case-study-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case-study-header i {
  font-size: 1.5rem;
  color: #2563eb;
}

.case-study-metrics {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.metric {
  text-align: center;
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.metric-label {
  font-size: 0.875rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.testimonial {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.testimonial-content {
  position: relative;
  margin-bottom: 24px;
}

.testimonial-content i {
  color: #2563eb;
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -10px;
}

.testimonial-content p {
  font-style: italic;
  color: #475569;
  line-height: 1.7;
  margin-left: 20px;
}

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

.author-info h4 {
  color: #1a1a1a;
  margin-bottom: 4px;
}

.author-info p {
  color: #64748b;
  font-size: 0.875rem;
}

/* Pricing */
.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid #1a73e8;
  transform: scale(1.05);
}

.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a73e8;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 24px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin: 16px 0 8px;
}

.price span {
  font-size: 1rem;
  color: #475569;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 0.95rem;
}

.pricing-features i {
  color: #10b981;
  font-size: 0.875rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.7;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.value {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
}

.value i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 24px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  display: block;
}

.stat-label {
  color: #475569;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.resource-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.resource-card i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 16px;
}

.resource-card h3 {
  margin-bottom: 12px;
  color: #1a1a1a;
}

.resource-card p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

.resource-link {
  color: #1a73e8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

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

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
  color: #1a1a1a;
}

.contact-info p {
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}

.contact-item i {
  color: #2563eb;
  width: 20px;
}

.booking-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.booking-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.booking-card i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 20px;
}

.booking-card h3 {
  margin-bottom: 16px;
  color: #1a1a1a;
}

.booking-card p {
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}

.booking-feature i {
  color: #10b981;
  font-size: 1rem;
  margin-bottom: 0;
}

.booking-card .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px 24px;
}

.booking-card .btn-primary i {
  color: white;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 200px;
  opacity: 0.8;
  margin-bottom: 16px;
}

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

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

.footer-section ul li a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 24px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.notification-close:hover {
  opacity: 1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 80px; /* Matches navbar height */
    left: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 10px 0;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 15px 20px;
    width: 100%;
    text-align: left;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1000;
    transition: transform 0.3s ease;
  }

  .mobile-menu-toggle.active .fa-bars {
      display: none;
  }

  .mobile-menu-toggle.active::before {
      content: '\f00d'; /* Font Awesome 'times' icon */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      font-size: 1.5rem;
  }

  .hero {
    padding: 80px 20px;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

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

  .hero-image {
    display: none;
  }

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

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

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

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 60px 20px;
  }

  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .card {
    padding: 24px;
  }

  .pricing-card.featured {
    transform: none;
  }
}

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

.card, .step, .testimonial, .resource-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Resource Page Specific Styles */
.resource-page {
  background-color: #fff;
  padding: 60px 20px;
}

.resource-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: #334155;
  line-height: 1.8;
}

.resource-header {
  text-align: center;
  margin-bottom: 40px;
}

.resource-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.resource-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 30px;
}

.resource-hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  object-fit: cover;
  max-height: 450px;
}

.resource-content .lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: #475569;
  margin-bottom: 30px;
}

.resource-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.resource-content h2 .fas {
  margin-right: 12px;
  color: #4f46e5;
}

.resource-content p, .resource-content li {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.resource-content ul, .resource-content ol {
  padding-left: 30px;
}

.resource-content blockquote {
  border-left: 4px solid #4f46e5;
  padding-left: 25px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #475569;
}

.resource-content hr {
  border: 0;
  height: 1px;
  background-color: #e2e8f0;
  margin: 50px 0;
}

.resource-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checklist .fa-square {
  margin-right: 12px;
  color: #4f46e5;
  margin-top: 5px;
}

.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.icon-list .fas {
    width: 20px;
    margin-right: 15px;
    color: #4f46e5;
    margin-top: 5px;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
}

#case-studies {
  overflow: hidden; /* Constrains the carousel within the section's bounds */
}

/* Swiper Carousel Styles */
.swiper-container {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px; /* Space for pagination */
  position: relative; /* Establishes positioning context for arrows */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Ensure cards are same height */
}

.case-studies-carousel .case-study-card {
  width: 100%;
  height: 100%; /* Make card fill the slide height */
  max-width: 500px;
  display: flex;
  flex-direction: column;
  padding: 0; /* Remove padding for full-bleed image */
}

.case-study-card .card-image {
  height: 200px;
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.case-study-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-study-card:hover .card-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-study-content p {
  flex-grow: 1; /* Allow description to grow */
}

.swiper-pagination-bullet {
  background: #aab2c0;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2563eb;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2563eb;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Ensure they are on top */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #f1f5f9;
  transform: translateY(-50%) scale(1.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

/* About Section Layout */
.about-text-container {
  max-width: 850px; /* Constrain the intro text width */
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 1.1rem;
  color: #334155;
}

.about-stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px; /* More space before values */
}

.about-stats-container .stat {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Values Section */
.values-section {
  width: 100%;
  margin-top: 48px;
}

.values-section h4 {
  text-align: center; /* Center the heading */
  font-size: 1.75rem;
  color: #1e293b;
  margin-bottom: 40px; /* More space after heading */
  position: relative;
  padding-bottom: 12px;
}

.values-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Center the underline */
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #2563eb;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.value-icon {
  font-size: 2.25rem;
  color: #2563eb;
  margin-bottom: 16px;
  line-height: 1;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.value-description {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  flex-grow: 1;
}

/* Responsive adjustments for About Section */
@media (max-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-container {
    grid-template-columns: 1fr;
  }
}

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

/* Focus styles for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.quote-highlight {
  margin-bottom: 16px;
}

.quote-line {
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
}

.quote-subtext {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.8;
  margin-top: 8px;
}