/* 
 * OneAfya - Main Stylesheet
 * Classic Corporate Theme
 * Version: 1.0.0
 */

/* ===== Variables ===== */
:root {
  /* Primary Colors */
  --primary: #1A365D;      /* Deep Navy Blue */
  --primary-light: #2D4B7A; /* Lighter Navy */
  --primary-dark: #0F2544;  /* Darker Navy */
  
  /* Secondary Colors */
  --secondary: #D4AF37;    /* Gold */
  --secondary-light: #E8C766;
  --secondary-dark: #B38F1C;
  
  /* Neutral Colors */
  --dark: #2D3748;        /* Slate Gray */
  --gray: #718096;
  --light: #F7FAFC;       /* Light Gray */
  --white: #FFFFFF;
  
  /* Accent Colors */
  --accent-teal: #2C7A7B;  /* Teal */
  --accent-maroon: #822727; /* Maroon */
  
  /* State Colors */
  --success: #2F855A;
  --warning: #B7791F;
  --danger: #C53030;
  --info: #2B6CB0;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  
  /* Spacing */
  --spacer: 1rem;
  --spacer-2: calc(var(--spacer) * 1.5);
  --spacer-3: calc(var(--spacer) * 3);
  --spacer-4: calc(var(--spacer) * 4);
  
  /* Border radius */
  --border-radius: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  
  /* Box shadow */
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Transition */
  --transition: all 0.2s ease-in-out;
}

/* ===== Industries Section ===== */
.industry-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    z-index: -1;
    border-radius: 16px;
    opacity: 0.7;
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.industry-card .card-body {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
}

.industry-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.industry-card:hover .icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.industry-card .icon-wrapper i {
    font-size: 1.75rem;
    color: white;
    transition: all 0.3s ease;
}

.industry-card h3 {
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.industry-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.industry-card:hover h3::after {
    width: 80px;
    background: var(--secondary);
}

.industry-card p {
    color: #4a5568;
    margin: 1.5rem 0;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 400;
}

.industry-card .btn {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.industry-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.industry-card .btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.industry-card .btn:hover::before {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .industry-card {
        margin-bottom: 1.5rem;
    }
    
    .industry-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .industry-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .industry-card h3 {
        font-size: 1.35rem;
    }
    
    .industry-card p {
        font-size: 1rem;
    }
}

/* ===== Businesses Section ===== */
.businesses-section {
  position: relative;
  background: #0A0E2A; /* Using the dark blue background from the color scheme */
  color: var(--white);
  overflow: hidden;
  z-index: 1;
  padding: 6rem 0;
}

/* Ensure text is visible */
.businesses-section .section-label,
.businesses-section .section-title,
.businesses-section .section-subtitle {
  color: var(--white);
}

.businesses-section .section-label {
  color: #00F0FF; /* Bright teal for the section label */
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.businesses-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #FFFFFF 0%, #A0AEC0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.businesses-section .section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.businesses-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(110, 58, 255, 0.1) 0%, transparent 40%);
  z-index: -1;
}

.business-card {
  background: rgba(16, 24, 64, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(110, 58, 255, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(16, 24, 80, 0.7);
}

.business-card:hover::before {
  opacity: 1;
}

.business-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
  transition: all 0.3s ease;
}

.business-card:hover .business-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.25);
}

.business-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  background: linear-gradient(90deg, #FFF 0%, #A0AEC0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.business-description {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.business-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
}

.business-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.business-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF 0%, #6E3AFF 100%);
  transition: width 0.3s ease;
}

.business-link:hover {
  color: #00F0FF;
}

.business-link:hover::after {
  width: 100%;
}

.business-link i {
  margin-left: 0.5rem;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.business-link:hover i {
  transform: translate(3px, -3px);
}

.coming-soon {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .business-card {
    padding: 1.5rem;
  }
  
  .business-title {
    font-size: 1.3rem;
  }
  
  .business-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .business-card {
    margin-bottom: 1.5rem;
  }
  
  .business-title {
    font-size: 1.4rem;
  }
}

/* ===== Metrics Section ===== */
.metrics-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0A0E2A 0%, #1A1F4B 100%);
    color: white;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(110, 58, 255, 0.1) 0%, transparent 30%);
    z-index: 1;
}

.metric-item {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00F0FF 0%, #6E3AFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.metric-value::after {
    content: '+';
    position: absolute;
    right: -1.5rem;
    top: 0;
    background: linear-gradient(90deg, #00F0FF 0%, #6E3AFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 1.1rem;
    color: #E6E6E6;
    font-weight: 500;
    margin-top: 0.75rem;
    position: relative;
    display: inline-block;
}

.metric-label::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00F0FF 0%, #6E3AFF 100%);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-item:hover .metric-label::after {
    opacity: 1;
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00F0FF 0%, #6E3AFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .metrics-section {
        padding: 4rem 0;
    }
    
    .metric-item {
        margin-bottom: 2rem;
    }
    
    .metric-value {
        font-size: 2.75rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    color: #6c757d;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.95)),
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') no-repeat center center/cover;
  color: #f8f9fa; /* Brighter white for better contrast */
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(42, 87, 154, 0.4) 0%, transparent 60%);
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  animation: fadeInUp 1s ease-out;
  color: #ffffff; /* Pure white for main heading */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for better readability */
}

.hero-title .highlight {
  color: #FFD700; /* Brighter gold for better contrast */
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #e9ecef; /* Lighter gray for better contrast */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background-color: #FFD700;
  border-color: #FFD700;
  color: #1a1a1a;
}

.hero-buttons .btn-primary:hover {
  background-color: #FFC107;
  border-color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.hero-buttons .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-buttons .bi {
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover .bi {
  transform: translateX(3px);
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: float 8s ease-in-out infinite;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 6rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-image {
    max-width: 80%;
    margin: 2rem auto 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ===== Base Styles ===== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 76px; /* Height of fixed navbar */
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: var(--font-sans);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

/* ===== Components ===== */
/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 2px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Cards */
.card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  margin-bottom: var(--spacer);
  overflow: hidden;
}

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

/* ===== Testimonials Section ===== */
.testimonials-section {
  position: relative;
  background-color: var(--primary);
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.testimonial-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 42, 0.9) 0%, rgba(14, 58, 92, 0.9) 100%);
  z-index: -1;
}

.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: -1;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-quote i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--secondary);
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  flex: 1;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.5rem;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-rating i {
  margin-right: 2px;
}

/* Carousel Controls */
.carousel-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.carousel-indicators {
  position: relative;
  margin: 0 1rem;
  display: flex;
  justify-content: center;
  padding: 0;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--secondary);
  width: 30px;
  border-radius: 5px;
}

/* Trusted By Section */
.trusted-by {
  margin-top: 5rem;
  text-align: center;
}

.trusted-by p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.trusted-logo {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trusted-logo img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%) brightness(0.5) contrast(0.5);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trusted-logo:hover img {
  filter: none;
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .testimonial-card {
    padding: 2rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    margin: 0 1rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-avatar {
    margin: 0 auto 1rem;
  }
  
  .testimonial-info {
    text-align: center;
  }
  
  .trusted-logo {
    height: 70px;
    padding: 1rem;
  }
  
  .trusted-logo img {
    max-height: 30px;
  }
}

/* Animation for carousel items */
.carousel-item {
  transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
  display: block;
}

/* Ensure smooth transitions */
.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transform: none;
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #0A0E2A 0%, #0E3A5B 100%);
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(14, 123, 134, 0.2) 0%, rgba(14, 58, 92, 0.1) 100%);
  z-index: -1;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: -1;
}

.cta-shape-1,
.cta-shape-2 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(14, 123, 134, 0.2) 0%, rgba(14, 58, 92, 0.1) 100%);
  filter: blur(60px);
  z-index: -1;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
  background: linear-gradient(90deg, rgba(14, 58, 92, 0.2) 0%, rgba(14, 123, 134, 0.1) 100%);
}

.cta-subtitle {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 1.5rem;
}

.cta-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background-color: var(--secondary);
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.cta-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--secondary) 0%, #FFC107 100%);
  color: var(--primary);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 165, 36, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 165, 36, 0.4);
  color: var(--primary);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

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

/* ===== Footer Styles ===== */
.footer-section {
  position: relative;
  background: #0A0E2A;
  color: #fff;
  padding: 5rem 0 2rem;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(14, 123, 134, 0.1) 0%, rgba(10, 14, 42, 0) 60%);
  z-index: -1;
}

.footer-shape-1,
.footer-shape-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

.footer-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0E7C86 0%, rgba(14, 123, 134, 0) 70%);
  top: -200px;
  right: -200px;
}

.footer-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6E3AFF 0%, rgba(110, 58, 255, 0) 70%);
  bottom: -150px;
  left: -150px;
}

.footer-brand h2 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

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

.footer-contact {
  margin-bottom: 2rem;
}

.footer-contact i {
  font-size: 1.2rem;
  min-width: 24px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
}

.footer-link:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px 0 0 50px;
  border-right: none;
  transition: all 0.3s ease;
}

.footer-newsletter .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter .btn-gradient {
  border-radius: 0 50px 50px 0;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(14, 123, 134, 0.4);
}

.footer-apps .btn {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.footer-apps .btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-apps .btn i {
  font-size: 1.25rem;
}

.footer-apps small {
  font-size: 0.6rem;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-apps span {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.footer-legal-link:hover {
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .footer-section {
    padding: 4rem 0 2rem;
  }
  
  .footer-brand h2 {
    font-size: 1.75rem;
  }
  
  .footer-heading {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
  }
  
  .footer-newsletter {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .footer-section {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-shape-1,
  .footer-shape-2 {
    display: none;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center !important;
    margin-top: 1rem;
  }
  
  .footer-apps .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .footer-apps .btn:last-child {
    margin-bottom: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .cta-section {
    padding: 5rem 0;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .cta-description {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-gradient,
  .btn-outline-light {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .cta-section {
    padding: 4rem 0;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Card Header Styles */
.card-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

/* Utility Classes */
.bg-light {
  background-color: var(--light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }
  
  .nav-link::after {
    display: none;
  }
}

/* Form Controls */
.form-control {
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* Alerts */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1rem 1.5rem;
}

.alert-primary {
  background-color: rgba(26, 54, 93, 0.1);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer a {
  color: var(--secondary);
}

.footer a:hover {
  color: var(--secondary-light);
  text-decoration: none;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 2rem;
}

.back-to-top:hover {
  background-color: var(--secondary-light);
  color: var(--primary);
  transform: translateY(-3px);
}
