  /* Case Study */
        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --primary-light: #e6e9ff;
            --secondary: #3f37c9;
            --accent: #f72585;
            --dark: #212529;
            --gray-dark: #495057;
            --gray: #6c757d;
            --gray-light: #adb5bd;
            --light: #f8f9fa;
            --white: #ffffff;
            --success: #4cc9f0;
            --warning: #f8961e;
            --error: #ef233c;
            --border-radius: 12px;
            --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--white);
            -webkit-font-smoothing: antialiased;
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* Header */
  .case-header {
    background-image: url('img/rain-bow-corporation.JPG'); /* Set background image */
    background-size: cover; /* Cover the entire header */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repetition */
    color: white; /* Ensure text is readable */
    text-align: center; /* Center-align text */
    padding: 0px 0px; /* Add spacing */
    position: relative;
}

/* Optional: Add a dark overlay for better readability */
.case-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black overlay */
}
.case-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8); /* darkens the image */
    z-index: 1;
}
/* Ensures content is above the overlay */
.case-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    text-align: center;
}

/* Headings */
.case-header h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 1200px;
}

.case-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Meta tags container */
.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* Centers the meta tags */
    margin-bottom: 2rem;
}

/* Individual meta tags */
.meta-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Centers text inside the tag */
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.meta-tag.highlight {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Hero image effect */
.case-hero-image {
    display: flex;
    justify-content: center; /* Centers image */
}

.case-hero-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.case-hero-image:hover {
    transform: translateY(-5px);
}

/* Main content */
.case-content {
    padding: 4rem 0;
    text-align: justify;
}


        .section {
            margin-bottom: 4rem;
        }

        .section:last-child {
            margin-bottom: 0;
        }

.section-header {
    margin-bottom: 2.5rem;
    text-align: center; /* Center all header content */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center children horizontally */
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block; /* Needed for the underline to work properly */
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%; /* Start from center */
    transform: translateX(-50%); /* Center the underline */
    bottom: -8px;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin-left: auto; /* These two lines center the paragraph */
    margin-right: auto;
}

        /* Grid Layout */
        .grid {
            display: grid;
            gap: 2rem;
        }


        .grid-cols-2 {
            grid-template-columns: repeat(2, 1fr);
        }
        
        /* Optional Image Styling */
.custom-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

        /* Challenge Cards */
        .challenge-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .challenge-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--box-shadow);
            border-top: 4px solid var(--primary);
            transition: var(--transition);
        }

        .challenge-card:hover {
            transform: translateY(-5px);
        }

        .challenge-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .challenge-card p {
            color: var(--gray-dark);
        }

        /* Solution Features */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .feature-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background-color: var(--primary);
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .feature-card p {
            color: var(--gray-dark);
        }

        .feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
               text-align: center;
        }

        /* Process Timeline */
        .process-timeline {
            position: relative;
            padding-left: 2rem;
            margin: 3rem 0;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 7px;
            height: 100%;
            width: 2px;
            background-color: var(--primary-light);
        }

        .process-step {
            position: relative;
            padding-bottom: 3rem;
        }

        .process-step:last-child {
            padding-bottom: 0;
        }

        .step-number {
            position: absolute;
            left: -2rem;
            top: 0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--primary);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            z-index: 2;
        }

        .process-content {
            padding-left: 2rem;
        }

        .process-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .process-content p {
            color: var(--gray-dark);
        }

        /* Results */
        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 3rem 0;
        }

        .result-card {
            text-align: center;
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 2rem 1rem;
            box-shadow: var(--box-shadow);
        }

        .result-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
            line-height: 1;
        }

        .result-label {
            font-size: 0.875rem;
            color: var(--gray-dark);
        }

        /* Testimonial */
        .testimonial-card {
            background-color: var(--primary);
            color: var(--white);
            border-radius: var(--border-radius);
            padding: 3rem;
            margin: 3rem 0;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 0;
            left: 2rem;
            font-size: 8rem;
            font-family: Georgia, serif;
            color: rgba(255,255,255,0.1);
            line-height: 1;
        }

        .testimonial-content {
            position: relative;
            z-index: 2;
        }

        .testimonial-content p {
            font-size: 1.25rem;
            font-style: italic;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .testimonial-author {
            font-weight: 600;
        }

        .testimonial-title {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        /* CTA Section */
        .cta-section {
            background-color: var(--light);
            padding: 4rem 0;
            text-align: center;
            border-radius: var(--border-radius);
            margin: 4rem 0;
        }

        .cta-section h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .cta-section p {
            font-size: 1.125rem;
            color: var(--gray-dark);
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            background-color: var(--primary);
            color: var(--white);
            padding: 0.875rem 2rem;
            border-radius: 2rem;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(67, 97, 238, 0.3);
        }

        .cta-button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
        }

        .cta-button i {
            margin-left: 0.5rem;
            transition: var(--transition);
        }

        .cta-button:hover i {
            transform: translateX(3px);
        }

        /* Related Cases */
        .related-cases {
            margin-top: 4rem;
        }

        .cases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .case-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }

        .case-card:hover {
            transform: translateY(-5px);
        }

        .case-image {
            height: 200px;
            overflow: hidden;
        }

        .case-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .case-card:hover .case-image img {
            transform: scale(1.05);
        }

        .case-body {
            padding: 1.5rem;
        }

        .case-body h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .case-industry {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.25rem 0.75rem;
            border-radius: 2rem;
            margin-bottom: 0.75rem;
        }

        .case-body p {
            color: var(--gray-dark);
            margin-bottom: 1rem;
            font-size: 0.9375rem;
        }

        .case-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9375rem;
            text-decoration: none;
        }

        .case-link i {
            margin-left: 0.5rem;
            transition: var(--transition);
        }

        .case-link:hover i {
            transform: translateX(3px);
        }

        /* Footer */
        .case-footer {
            background-color: var(--dark);
            color: var(--white);
            padding: 3rem 0;
            text-align: center;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .back-link:hover {
            color: var(--primary-light);
        }

        .back-link i {
            margin-right: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .case-header h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .case-header {
                padding: 4rem 0 3rem;
            }
            
            .case-header h1 {
                font-size: 2rem;
            }
            
            .case-subtitle {
                font-size: 1.125rem;
            }
            
            .grid-cols-2 {
                grid-template-columns: 1fr;
            }
            
            .section {
                margin-bottom: 3rem;
            }
            
            .section-header h2 {
                font-size: 1.75rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }
            
            .case-header {
                padding: 3rem 0 2rem;
            }
            
            .case-header h1 {
                font-size: 1.75rem;
            }
            
            .results-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .testimonial-card {
                padding: 2rem 1.5rem;
            }
            
            .testimonial-content p {
                font-size: 1.125rem;
            }
        }
       /* ================ BREADCRUMB ================ */
.breadcrumb {
  padding: 0.75rem 0;
  background-color: #f5f5f5; /* Light gray background */
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-bottom: 1px solid #e0e0e0; /* Subtle border */
}

.breadcrumb .container {
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.25rem 0;
}

/* Separator between breadcrumb items */
.breadcrumb li:not(:last-child)::after {
  content: '›'; /* More modern chevron separator */
  margin: 0 0.5rem;
  color: #757575; /* Medium gray */
  font-size: 0.9em;
}

/* Current page item */
.breadcrumb [aria-current="page"] {
  color: #212121; /* Dark gray */
  font-weight: 500;
  pointer-events: none;
}

/* Link styles */
.breadcrumb a {
  color: #616161; /* Dark gray */
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: #1565c0; /* Blue color for hover */
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.5rem 0;
  }
  
  .breadcrumb .container {
    padding: 0 1rem;
  }
  
  .breadcrumb li {
    font-size: 0.8125rem;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.375rem;
  }
}

/* Add this at the top of your CSS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to all sections */
.section {
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

/* Stagger the animations for better visual flow */
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }

/* Header animation */
.case-header {
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

/* Footer animation */
.case-footer {
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.7s;
}

/* Keep all your existing styles below */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  /* ... rest of your root variables ... */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  /* ... rest of your body styles ... */
}
/* ... continue with all your existing CSS ... */

 /* Animation Keyframes */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Base styles for animated elements */
  .section,
  .case-header,
  .case-footer,
  .challenge-card,
  .feature-card,
  .result-card,
  .case-card,
  .process-step,
  .testimonial-card {
    opacity: 0;
    will-change: transform, opacity;
  }

  /* Animation trigger class */
  .animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  /* No-animation fallback for SEO and accessibility */
  .no-js .section,
  .no-js .case-header,
  .no-js .case-footer,
  .no-js .challenge-card,
  .no-js .feature-card,
  .no-js .result-card,
  .no-js .case-card,
  .no-js .process-step,
  .no-js .testimonial-card {
    opacity: 1 !important;
    transform: none !important;
  }

  @media (prefers-reduced-motion) {
    .section,
    .case-header,
    .case-footer,
    .challenge-card,
    .feature-card,
    .result-card,
    .case-card,
    .process-step,
    .testimonial-card {
      animation: none !important;
      transition: opacity 0.3s ease !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
  
  
  
   .custom-image {
        width: 100%;
        height: auto;
    }
    
    

.case-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.support-badge {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.support-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.support-icon {
    margin-right: 12px;
}

.support-icon svg {
    width: 24px;
    height: 24px;
}

.support-info {
    display: flex;
    flex-direction: column;
}

.support-label {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1;
}

.support-number {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    margin-top: 2px;
}

.support-number:hover {
    text-decoration: underline;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@media (max-width: 768px) {
    .case-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .support-badge {
        padding: 10px 14px;
    }
    
    .support-number {
        font-size: 14px;
    }
}




.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 1px solid #3498db;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact center */
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap; /* Prevent text from wrapping */
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.features-list li {
    padding: 8px 0;
    color: #34495e;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}



.pricing-card.popular .pricing-button {
    background: #2ecc71;
}

.pricing-button:hover {
    background: #2980b9;
}

.pricing-card.popular .pricing-button:hover {
    background: #27ae60;
}

.custom-pricing-note {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.custom-pricing-note a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.custom-pricing-note a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}



/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem; /* Add padding for small screens */
  box-sizing: border-box; /* Include padding in width/height */
}

.modal-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh; /* Limit height and enable scrolling */
  overflow-y: auto; /* Enable scrolling for tall content */
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
  margin: auto; /* Center horizontally */
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-height: 85vh; /* Slightly smaller on very small screens */
  }
  
  .close-modal {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.25rem;
  }
}

/* Add smooth transitions for modal */
.modal.modal-fade-in {
  animation: modalBgFadeIn 0.3s ease-out;
}

@keyframes modalBgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Add this for touch devices */
@media (hover: none) {
  .cta-button:hover {
    background-color: #2563eb; /* Remove hover effect on touch devices */
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
}

/* CTA Button Styles */
.cta-button {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

/* Responsive button sizing */
@media (max-width: 480px) {
  .cta-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    width: 100%; /* Full width on small screens */
  }
}

/* Focus styles for accessibility */
.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}



.results-cta {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(191, 219, 254, 0.3);
  box-shadow: 
    0 8px 32px rgba(31, 100, 233, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.results-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  z-index: -1;
}

.results-cta:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(31, 100, 233, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.results-cta h3 {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 auto 1.5rem auto; /* Updated margin for centering */
  position: relative;
  display: block; /* Changed from inline-block to block */
  text-align: center; /* Added text alignment */
  width: fit-content; /* Ensures the underline doesn't span full width */
}

.results-cta h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%; /* Center the underline */
  transform: translateX(-50%); /* Perfect centering */
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, transparent);
  border-radius: 2px;
}

.stat-grid {
  display: grid;
  gap: 1.5rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(219, 234, 254, 0.5);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #3b82f6, #93c5fd);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 15px -3px rgba(31, 100, 233, 0.1),
    0 4px 6px -2px rgba(31, 100, 233, 0.05);
  border-color: rgba(147, 197, 253, 0.8);
}

.stat-box div:first-child {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-box div:last-child {
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
  opacity: 0.9;
}

.cta-button {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 
    0 4px 6px rgba(29, 78, 216, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.cta-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* Your existing button styles */
  width: fit-content; /* Prevents button from stretching full width */
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 15px rgba(29, 78, 216, 0.2),
    0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:active {
  transform: translateY(0);
}

/* Modern Grid Layout */
@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Glass Morphism Effect */
@media (prefers-color-scheme: dark) {
  .results-cta {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(30, 58, 138, 0.3);
  }
  
  .stat-box {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(30, 58, 138, 0.3);
  }
  
  .stat-box div:last-child {
    color: #e5e7eb;
    opacity: 0.8;
  }
  
       .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background-color: #4361ee;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        font-size: 1.25rem;
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: #3a0ca3;
        transform: translateY(-3px);
    }
