:root {
  --background: #faf9f7;
  --foreground: #1a3a66;
  --card: #ffffff;
  --card-foreground: #1a3a66;
  --popover: #ffffff;
  --popover-foreground: #1a3a66;
  --primary: #1a3a66;
  --primary-foreground: #ffffff;
  --secondary: #f0f0f0;
  --secondary-foreground: #1a3a66;
  --muted: #e5e5e5;
  --muted-foreground: #6b7280;
  --accent: #3366ff;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --border: #e5e5e5;
  --input: #f3f4f6;
  --ring: #3366ff;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

/* ===== ANIMATIONS ===== */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--foreground);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Section Spacing */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

section.hero-section {
  padding: 0;
}

.hero-title {
  opacity: 1;
}

.hero-subtitle {
  opacity: 1;
}

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

@media (min-width: 768px) {
  .stats-section {
    padding: 6rem 0;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  width: 100%;
  height: auto;
}

.site-header.scrolled {
  background-color: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0.25rem 0;
  width: 100%;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .navbar-inner {
    gap: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--primary-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
  flex-shrink: 0;
  margin-right: 2rem;
}

.site-header.scrolled .logo {
  color: var(--foreground);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}


.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.logo-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-direction: column;
}

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(26, 58, 102, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem;
    gap: 0.5rem;
    z-index: 40;
  }

  .navbar.menu-open .nav-menu {
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    padding: 0.75rem 0.5rem;
    display: block;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background-color: transparent;
    padding: 0;
    gap: 2rem;
    width: auto;
    margin: 0 auto;
    flex: 1;
    justify-content: center;
    align-items: center;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 0;
  }

  .nav-menu li {
    display: flex;
    align-items: center;
  }
}

.site-header.scrolled .nav-link {
  color: var(--foreground);
  opacity: 0.8;
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1.125rem;
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  z-index: 100;
}

.dropdown-toggle:hover {
  color: var(--primary);
}

.site-header.scrolled .dropdown-toggle {
  color: var(--foreground);
  opacity: 0.8;
}

.site-header.scrolled .dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.dropdown-menu {
  display: none;
  position: fixed;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  max-width: 300px;
  z-index: 9999;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  max-height: 600px;
  overflow-y: auto;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (max-width: 1023px) {
  .dropdown-menu {
    position: static;
    background-color: rgba(26, 58, 102, 0.95);
    box-shadow: none;
    border: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  font-size: 0.875rem;
  white-space: normal;
  border-radius: 0.375rem;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-item:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

@media (max-width: 1023px) {
  .dropdown-item {
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
  }

  .dropdown-item:hover {
    background-color: rgba(51, 102, 255, 0.2);
  }
}

.dropdown-item:hover {
  background-color: var(--secondary);
  color: var(--accent);
}


/* ============================================
   BUTTON VISIBILITY & STYLING
   ============================================ */
.btn,
.btn-primary,
.btn-outline,
.cta-buttons a {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
}

/* ============================================
   RELATED SERVICES SECTION
   ============================================ */
.related-services-section {
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

.related-service-card {
  opacity: 1 !important;
  visibility: visible !important;
}

.related-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(26, 58, 102, 0.15);
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-foreground);
  margin-left: auto;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle span {
  width: 1.5rem;
  height: 0.125rem;
  background-color: currentColor;
  transition: all 0.3s ease;
}

.site-header.scrolled .menu-toggle {
  color: var(--foreground);
}

/* Header CTA Button */
.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.header-cta .btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header.scrolled .header-cta .btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
}


/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 1px solid var(--border);
}

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

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  background-color: var(--primary-foreground);
  color: var(--primary);
  width: 2.75rem;
  height: 2.75rem;
}

.footer-logo .logo-name,
.footer-logo .logo-subtext {
  color: var(--primary-foreground);
}

.footer-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--primary-foreground);
  opacity: 0.7;
  margin: 0;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-foreground);
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--primary-foreground);
  opacity: 0.7;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary-foreground);
  opacity: 0.7;
  margin: 0;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--accent);
}

.contact-item a {
  color: var(--primary-foreground);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-item a:hover {
  opacity: 1;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  text-align: center;
  font-size: 0.875rem;
  gap: 0.5rem;
  height: 2.75rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.8s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

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

.btn-primary:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(51, 102, 255, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--border);
  transform: translateY(-2px);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--foreground);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: var(--muted-foreground);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 102, 0.1);
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="tel"]:disabled,
input[type="date"]:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--muted);
}

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

/* Messages */
.message-success {
  background-color: #dcfce7;
  border-color: #86efac;
  color: #166534;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid #22c55e;
}

.message-error {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid #ef4444;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fade-in-up {
  opacity: 1;
}

.fade-in-down {
  opacity: 1;
}

.fade-in-left {
  opacity: 1;
}

.fade-in-right {
  opacity: 1;
}

.fade-in-scale {
  opacity: 1;
}

.fade-in {
  opacity: 1;
}

.page-enter {
  opacity: 1;
}

.slide-up-stagger {
  opacity: 1;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

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

.card-alt {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-alt:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .nav-menu {
    gap: 1rem;
    font-size: 0.875rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 0.75rem;
  }

  /* Hero and large sections */
  section {
    padding: 3rem 0 !important;
  }

  /* Grid columns */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Forms */
  form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Two column layouts */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  
  .nav-menu {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .logo span {
    display: none;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
  }
}

/* Service Cards */
.services-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-section-header span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.services-section-header h2 {
  margin: 0.75rem 0 0 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
}

.services-section-header p {
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

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

/* New Service List Style */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

/* Service List Item */
.service-list-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.service-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-list-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(51, 102, 255, 0.1);
  transform: translateX(10px);
}

.service-list-item:hover::before {
  transform: scaleY(1);
}

.service-list-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 50px;
}

.service-list-icon {
  font-size: 2.5rem;
  min-width: 60px;
}

.service-list-content {
  flex: 1;
}

.service-list-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--primary);
}

.service-list-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.service-list-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-list-item:hover .service-list-arrow {
  background: var(--accent);
  color: var(--primary-foreground);
  transform: translateX(8px);
}

/* Service Cards - Kept for reference */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--border);
  background: var(--card);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(51, 102, 255, 0.15);
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a96 100%);
}

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

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

.service-card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
}

.service-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.service-card-title h3 {
  color: var(--foreground);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
}

.service-card-title span {
  color: var(--muted-foreground);
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  margin-top: 0.125rem;
}

.service-card:hover .service-card-title span {
  transform: scale(1.1);
}

.service-card-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0.75rem 0 0 0;
}

.service-card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0.75rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: auto;
}

.service-card:hover .service-card-cta {
  opacity: 1;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.stat-item {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(51, 102, 255, 0.15);
  border-color: var(--accent);
}

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

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin: 0;
}

/* Intro Statement Section */
.intro-section {
  position: relative;
  background-color: var(--background);
  padding: 4rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .intro-section {
    padding: 6rem 0;
  }
}

.intro-section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

/* Intro Statement Box */
.intro-box {
  position: relative;
  z-index: 10;
  background: transparent;
  border: 1px solid rgba(229, 229, 229, 0.3);
  border-radius: calc(var(--radius) * 2.5);
  padding: 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .intro-box {
    padding: 3rem 3rem;
  }
}

.intro-box p {
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.6;
  color: var(--foreground);
  font-weight: 600;
  margin: 0;
}

.intro-box .highlight {
  color: var(--accent);
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.industries-grid.outcomes {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.industry-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.industry-item h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.industry-item-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background-color: rgba(51, 102, 255, 0.1);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.industry-item:hover .industry-item-icon {
  background-color: var(--accent);
  color: white;
}

.industry-item-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.industry-item h3 {
  color: var(--primary);
  margin: 0;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0;
}

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

.testimonials-header h2 {
  color: var(--primary-foreground);
  margin: 0;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(51, 102, 255, 0.3);
}

.testimonial-quote {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-foreground);
}

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

.testimonial-role {
  opacity: 0.8;
  font-size: 0.875rem;
  margin: 0;
  color: var(--primary-foreground);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.why-us-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.why-us-item:hover {
  transform: translateY(-8px);
  border-color: rgba(51, 102, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.why-us-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(51, 102, 255, 0.2);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.why-us-item:hover .why-us-icon {
  background: var(--accent);
  color: var(--primary);
}

.why-us-item h3 {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-foreground);
}

.why-us-item p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.cta-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-content h2 {
  color: var(--primary-foreground);
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  max-width: 800px;
}

.cta-content p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
  color: var(--primary-foreground);
  max-width: 600px;
  line-height: 1.6;
}

/* Partners Section */
.partners-section {
  background-color: var(--background);
  padding: 5rem 0;
}

.partners-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.partners-header span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.partners-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
  gap: 1.5rem;
}

.partner-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.partner-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  /* Typography */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: 0.9rem; }

  .container {
    padding: 0 0.75rem;
  }

  /* Header */
  .navbar .container {
    padding: 0 0.75rem;
  }

  .logo-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .logo-name {
    font-size: 0.75rem;
  }

  .logo-subtext {
    font-size: 0.5rem;
  }

  /* Hero Sections */
  section[style*="min-height: 60vh"] {
    min-height: 50vh !important;
  }

  /* Service Cards */
  .service-card {
    border-radius: calc(var(--radius) * 1.25);
  }

  .service-card-image {
    height: 150px;
  }

  .service-card-content {
    padding: 1rem;
  }

  /* Grid Layouts */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    gap: 1.5rem;
  }

  .footer-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Sections */
  section {
    padding: 2rem 0;
  }

  .page-header {
    min-height: 40vh !important;
  }

  /* Form */
  form > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Buttons */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    height: 2.5rem;
  }

  /* Text */
  p {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .navbar .container {
    padding: 0 1rem;
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Hero */
  section[style*="min-height: 60vh"] {
    min-height: 55vh !important;
  }

  /* Grid Adjustments */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  /* Two Column Layouts */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Footer Grid */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Intro Box */
  .intro-box {
    padding: 2rem;
  }

  .intro-box p {
    font-size: 1rem;
  }
}

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

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

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

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

/* Large Screens */
@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .why-us-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .nav-menu {
    display: none;
  }
}
