/* AI Testing - Premium Bootstrap Theme */

:root {
  --primary-color: #0d264b;
  --secondary-color: #1a3a5c;
  --dark-color: #081829;
  --footer-bg: #0d264b;
  --light-color: #f8f9fa;
  --accent-color: #2563eb;
  --gradient-1: linear-gradient(135deg, #0d264b 0%, #1a3a5c 100%);
  --gradient-2: linear-gradient(135deg, #081829 0%, #0d264b 100%);
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(13, 39, 76, 0.4);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(13, 39, 76, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand .text-muted {
  font-weight: 400;
  font-size: 1rem;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

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

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(13, 39, 76, 0.15);
  border-radius: 12px;
  padding: 1rem 0;
  margin-top: 0.5rem;
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu-lg {
  min-width: 280px;
  max-height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.dropdown-menu-lg::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu-lg::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.dropdown-menu-lg::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.dropdown-menu-lg::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.dropdown-header {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem;
}

.dropdown-item {
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.dropdown-item i {
  margin-right: 0.5rem;
  color: var(--primary-color);
  width: 20px;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(13, 39, 76, 0.05) 0%, transparent 100%);
  color: var(--primary-color);
  padding-left: 2rem;
  transform: translateX(5px);
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(13, 39, 76, 0.1);
}

/* Hero Section */
.hero {
  background: var(--gradient-2);
  color: white;
  padding: 100px 0;
  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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Section Styling */
section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-1);
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(13, 38, 75, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(13, 38, 75, 0.2));
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 20px;
  pointer-events: none;
}

.service-feature:hover .card-icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(13, 38, 75, 0.4);
}

.service-feature:hover .card-icon::before {
  opacity: 1;
}

.card-icon .bi {
  font-size: 3rem;
  color: white !important;
  line-height: 1;
  vertical-align: 0 !important;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--light-color);
}

.feature-icon {
  font-size: 3rem;
  color: #0d264b;
  margin-bottom: 1rem;
}

/* Force all icons to use brand color */
.text-primary, .bi.text-primary, i.text-primary {
  color: #0d264b !important;
}

/* Process Timeline */
.process-step {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

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

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

.industry-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.industry-card h4 {
  color: var(--text-dark);
}

.industry-card-hover {
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
}

.industry-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(13, 39, 76, 0.2);
}

.industry-card-hover .card-img-top {
  transition: all 0.3s ease;
}

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

/* Statistics Cards */
.stat-card {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: var(--light-color);
}

.stat-card h2 {
  margin-bottom: 0.5rem;
}

.stat-card p {
  margin: 0;
  font-size: 1rem;
}

/* Icon Box */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* Use Case Cards */
.use-case-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: 100%;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(13, 39, 76, 0.15);
}

.use-case-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: block;
}

.use-case-card p {
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Breadcrumb */
/* Professional Breadcrumb Navigation */
.breadcrumb-navigation {
  background: white;
  padding: 1.5rem 0;
  margin-top: 70px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(13, 38, 75, 0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.breadcrumb-modern {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb-modern li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-modern li:not(:last-child)::after {
  content: "/";
  color: var(--text-light);
  margin-left: 0.5rem;
  font-weight: 300;
}

.breadcrumb-modern a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

.breadcrumb-modern a:hover {
  color: var(--primary-color);
  background: rgba(13, 38, 75, 0.05);
}

.breadcrumb-modern a i {
  font-size: 1rem;
}

.breadcrumb-modern .active {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
}

/* Breadcrumb for Dark Backgrounds (Hero Sections) */
.service-detail-header .breadcrumb,
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.service-detail-header .breadcrumb-item,
.breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-detail-header .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
  font-weight: 300;
}

.service-detail-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.service-detail-header .breadcrumb-item a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.service-detail-header .breadcrumb-item.active {
  color: white;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

/* CTA Section - Modern Design */
.cta-section-modern {
  background: var(--gradient-1);
  padding: 50px 0;
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

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

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.cta-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: white;
  color: var(--primary-color);
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: none;
}

.cta-btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: var(--primary-color);
}

.cta-btn-primary i:first-child {
  font-size: 1.3rem;
}

.cta-btn-primary i:last-child {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.cta-btn-primary:hover i:last-child {
  transform: translateX(5px);
}

.cta-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: white;
  color: var(--primary-color);
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(13, 38, 75, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cta-btn-secondary:hover {
  background: white;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cta-btn-secondary i {
  font-size: 1.1rem;
}

/* Layout Shift Fixes */
#header-placeholder {
  min-height: 80px; /* Approximate height of navbar */
  display: block;
}

#footer-placeholder {
  min-height: 300px; /* Approximate height of footer */
  display: block;
}

.cta-btn-secondary i:last-child {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.cta-btn-secondary:hover i:last-child {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .cta-section-modern {
    padding: 40px 0;
    margin: 30px 0;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-btn-primary {
    padding: 1.15rem 1.5rem;
    font-size: 1rem;
  }
  
  .cta-btn-secondary {
    padding: 1.15rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: white;
  padding: 60px 0 0;
}

footer h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

footer .logo-section {
  margin-bottom: 2rem;
}

footer .logo-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-contact {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-contact a {
  display: inline;
  margin: 0 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
}

/* Testimonials */
.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-color);
}

.testimonial-company {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Trusted By Section - Compact Strip Design */
.trusted-by-section {
  background: var(--primary-color);
  padding: 5px 0;
  min-height: auto;
}

/* Logo Grid - Auto Slider */
.logo-slider-wrapper {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
}

.logo-slider-wrapper::before,
.logo-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trusted-by-section .logo-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.trusted-by-section .logo-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--primary-color), transparent);
}



.logo-slider {
  display: flex;
  width: max-content;
  animation: slide 25s linear infinite;
  gap: 0.5rem;
  align-items: center;
  height: 100%;
}

.logo-slider:hover {
  animation-play-state: paused;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 1rem;
  transition: all 0.3s ease;
}

.logo-item img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Form Styling */
.form-control {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 39, 76, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(13, 39, 76, 0.1) 0%, rgba(43, 45, 49, 0.1) 100%);
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  background: linear-gradient(135deg, rgba(13, 39, 76, 0.1) 0%, rgba(43, 45, 49, 0.1) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-header {
  background: var(--gradient-2);
  color: white;
  padding: 80px 0 60px;
  margin-bottom: 3rem;
}

.service-detail-header h1 {
  margin-bottom: 1rem;
}

.service-detail-header .lead {
  font-size: 1.2rem;
  opacity: 0.9;
}

.service-feature {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.service-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-feature h4 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  section {
    padding: 60px 0;
  }
  
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

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

/* Utility Classes */
.bg-gradient {
  background: var(--gradient-1);
}

.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-light-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Modality Cards - Professional Design */
.modality-card {
  border: none;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  background: white;
}

.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.modality-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(13, 39, 76, 0.2);
}

.modality-card .card-body {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modality-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.modality-card .card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  /* Global Adjustments */
  section {
    padding: 50px 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  /* Hero Section */
  .hero {
    padding: 120px 0 60px; /* Increased top padding for fixed header */
    text-align: center;
  }

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

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-image {
    margin-top: 20px;
  }

  .hero .btn {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0 !important;
  }

  /* Cards & Grid */
  .card {
    margin-bottom: 20px;
  }

  .col-md-4, .col-lg-4, .col-lg-3, .col-md-6 {
    margin-bottom: 20px;
  }

  /* Trusted By Section */
  .trusted-by-section {
    padding: 20px 0;
  }
  
  .logo-item img {
    max-height: 50px; /* Smaller logos on mobile */
  }

  /* Process Steps */
  .process-step {
    margin-bottom: 30px;
  }

  /* Footer & CTA */
  .cta-section-modern {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-buttons-wrapper {
    width: 100%;
  }
  
  /* Footer Optimization */
  footer {
    padding: 40px 0 20px !important;
  }
  
  footer h5 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }
  
  footer .logo-section img {
    height: 50px !important; /* Smaller logo */
  }
  
  footer .col-lg-3 {
    margin-bottom: 20px;
  }
  
  .footer-contact {
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-contact .text-md-end {
    text-align: center !important;
    margin-top: 15px;
  }
  
  .social-icons {
    justify-content: center !important;
  }
  
  .footer-bottom {
    padding-top: 15px;
    margin-top: 15px;
  }
  
  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}
