/* Professional ISO 27001 Theme */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.navbar-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.navbar-text-brand {
  line-height: 1;
  margin-left: 0.5rem;
}

/* Mobile navbar brand adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-logo {
    height: 35px;
  }
  
  .navbar-text-brand {
    margin-left: 0.4rem;
  }
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Active menu item styling */
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.active .nav-link {
  color: var(--accent-color) !important;
  font-weight: 600;
  position: relative;
}



/* Dropdown menu styling - ensure Services link matches other nav links */
.navbar-nav .dropdown-toggle {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle:focus {
  color: var(--accent-color) !important;
}

.navbar-nav .dropdown-toggle.show {
  color: var(--accent-color) !important;
}

/* Active dropdown styling */
.navbar-nav .dropdown.active .dropdown-toggle,
.navbar-nav .dropdown-toggle.active,
.navbar-nav .nav-item.active .dropdown-toggle {
  color: var(--accent-color) !important;
  font-weight: 600;
  position: relative;
}

.navbar-nav .dropdown.active .dropdown-toggle::after,
.navbar-nav .dropdown-toggle.active::after,
.navbar-nav .nav-item.active .dropdown-toggle::after {
  border-top-color: var(--accent-color) !important;
}

/* Override Bootstrap default dropdown styling */
.navbar-nav .dropdown-toggle:not(.show):not(:hover):not(:focus):not(.active) {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure active state works for dropdown in nav-item */
.navbar-nav .nav-item.active .dropdown-toggle:not(.show):not(:hover):not(:focus) {
  color: var(--accent-color) !important;
}

/* Ensure dropdown arrow color matches */
.navbar-nav .dropdown-toggle::after {
  border-top-color: currentColor !important;
}

/* Hero Section */
.hero-section {
  background: 
    linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%),
    url('https://cdn.midjourney.com/8b16d1c6-6926-43f3-803f-4cf169a4741f/0_1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Ensure buttons in hero section are clickable above overlay */
.hero-section .d-flex {
  position: relative;
  z-index: 2;
}

.hero-section .btn {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary-custom {
  background: var(--accent-color);
  border: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Cards */
.service-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

/* Services section with white background and moving diagonal gradient line */
#services {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(59, 130, 246, 0.15) 48%,
    rgba(59, 130, 246, 0.25) 50%,
    rgba(59, 130, 246, 0.15) 52%,
    transparent 60%,
    transparent 100%
  );
  animation: diagonalMove 25s linear infinite;
  filter: blur(3px);
  z-index: 1;
}

#services .container {
  position: relative;
  z-index: 2;
}

@keyframes diagonalMove {
  0% { 
    transform: translate(-100%, -100%); 
  }
  100% { 
    transform: translate(100%, 100%); 
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.bg-light-custom {
  background-color: var(--bg-light);
}

/* Footer */
footer {
  background: var(--text-dark) !important;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Form styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--secondary-color);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--text-light);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Certification Badges */
.certification-badges {
  padding: 2rem 0;
}

.badge-container {
  padding: 1rem;
  transition: transform 0.3s ease;
}

.badge-container:hover {
  transform: translateY(-5px);
}

.iso-badge {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.iso-badge:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.badge-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.iso-badge:hover .badge-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.iso-badge h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.iso-badge small {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive adjustments for badges */
@media (max-width: 768px) {
  .iso-badge {
    padding: 1rem;
  }
  
  .badge-circle {
    width: 60px;
    height: 60px;
  }
  
  .badge-circle i {
    font-size: 1.8rem !important;
  }
}

/* Benefits Section */
.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card-image {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.benefit-card-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.benefit-card-image h4 {
  color: var(--text-dark);
  font-weight: 600;
}

.benefit-card-image p {
  color: var(--text-light);
}

.benefit-card-image .benefit-list li {
  color: var(--text-light);
}

/* Ensure content appears above background */
.position-relative .container {
  z-index: 2;
  position: relative;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.benefit-icon i {
  font-size: 2.5rem;
}

.benefit-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
  z-index: -1;
}

.benefit-card h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  color: var(--text-light);
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

.stats-highlight {
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.stats-highlight h3 {
  font-weight: 700;
  font-size: 2rem;
}

.text-purple {
  color: #8b5cf6 !important;
}

/* Responsive adjustments for benefits section */
@media (max-width: 768px) {
  .benefit-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .benefit-icon i {
    font-size: 2rem;
  }
  
  .stats-highlight h3 {
    font-size: 1.5rem;
  }
}

/* Image Background for Benefits Section */
.image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); /* Fallback gradient */
  background-image: url('https://cdn.midjourney.com/e2e4c536-8c1e-4a3b-baa4-03e241cf8940/0_0.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Alternative approach - apply background directly to section */
.section-padding.bg-light-custom.position-relative.overflow-hidden {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  background-image: url('https://cdn.midjourney.com/e2e4c536-8c1e-4a3b-baa4-03e241cf8940/0_0.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.7); /* Primary color overlay */
  z-index: 1;
}

/* Service cards with image background styling */
.service-card-image {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.service-card-image:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Ensure content is above background */
#services .container {
  z-index: 2;
}

#services .section-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile optimizations for image background */
@media (max-width: 768px) {
  .image-background {
    background-attachment: scroll; /* Better performance on mobile */
  }
  
  .image-overlay {
    background: rgba(30, 58, 138, 0.9); /* Stronger overlay on mobile */
  }
}

/* Privacy Page Styling */
.privacy-content {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

/* Contact Page Cards - No zoom or movement effect */
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.1);
}

.privacy-content h3 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.privacy-content p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.privacy-content ul {
  color: var(--text-light);
  padding-left: 1.5rem;
}

.privacy-content ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

.privacy-content ul li::marker {
  color: var(--secondary-color);
}

.privacy-content .contact-list li {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.privacy-footer {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  margin-top: 2rem;
}

.privacy-footer p:first-child {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive adjustments for privacy page */
@media (max-width: 768px) {
  .privacy-content {
    padding: 2rem 1.5rem;
  }
  
  .privacy-content h3 {
    font-size: 1.25rem;
  }
  
  .privacy-footer {
    padding: 1.5rem;
  }
}

/* About Page Hero Section */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="aboutGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23aboutGrid)"/></svg>');
  opacity: 0.3;
}

.hero-stats {
  margin-top: 3rem;
}

.hero-stat-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero-stat-item p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0;
}

.text-accent {
  color: var(--accent-color) !important;
}

.hero-cta .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
  transition: all 0.3s ease;
}

.hero-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Smooth scroll for anchor link */
html {
  scroll-behavior: smooth;
}

/* About Page Styling */
.about-hero-stats {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0;
}

.about-content {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.about-content p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-content h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.about-content h4:first-child {
  margin-top: 0;
}

/* Industry items styling */
.industry-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.industry-item h6 {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
  /* Hero section mobile */
  .about-hero {
    min-height: 60vh;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-stat-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-stat-item h3 {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    margin-top: 2rem !important;
  }
  
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-cta .btn:last-child {
    margin-bottom: 0;
  }
  
  /* Container padding for mobile */
  .container.section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .about-content {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .about-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .about-content h4:first-child {
    margin-top: 0;
  }
  
  /* Add spacing between major sections on mobile */
  .row.mb-5 {
    margin-bottom: 3rem !important;
  }
  
  /* Header section mobile */
  .section-title {
    margin-bottom: 1.5rem !important;
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Credentials section mobile spacing */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem !important;
  }
  
  /* Methodology section mobile spacing */
  .bg-light-custom {
    padding: 2rem 1.5rem !important;
    margin-bottom: 2rem;
  }
  
  .bg-light-custom .row.g-4 > .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .bg-light-custom .row.g-4 > .col-md-6:last-child {
    margin-bottom: 0;
  }
  
  /* Industry items mobile spacing - FIX FOR SCREENSHOT ISSUE */
  .industry-item {
    margin-bottom: 1rem !important;
    padding: 1.5rem 1rem !important;
  }
  
  .industry-item i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .industry-item h6 {
    font-size: 0.8rem !important;
    line-height: 1.2;
  }
  
  .row.g-3 {
    gap: 0.75rem !important;
  }
  
  .row.g-3 > .col-md-3 {
    margin-bottom: 0.75rem;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  
  /* Section headings mobile spacing */
  h3.mb-4 {
    margin-bottom: 2rem !important;
    font-size: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* CTA section mobile spacing */
  .row.mt-5 {
    margin-top: 4rem !important;
  }
  
  .row.mt-5 .p-4 {
    padding: 2.5rem 1.5rem !important;
  }
  
  /* Additional mobile spacing fixes */
  .col-lg-10.mx-auto {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .col-lg-8.mx-auto {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Industry section specific mobile fixes */
  .row.mb-5:has(.industry-item) {
    margin-bottom: 4rem !important;
  }
}

/* Pricing Factors Section */
.pricing-factor-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.pricing-factor-card:hover {
  border-color: var(--primary-color) !important;
}

.pricing-factor-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 138, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.pricing-factor-icon i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Enhanced spacing for pricing factors */
.pricing-factor-card h6 {
  font-size: 1rem;
  line-height: 1.3;
}

.pricing-factor-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mobile responsiveness for pricing factors */
@media (max-width: 768px) {
  .pricing-factor-card {
    margin-bottom: 1rem;
  }
  
  .pricing-factor-icon {
    width: 40px;
    height: 40px;
  }
  
  .pricing-factor-icon i {
    font-size: 1.1rem;
  }
}

/* Toast Notifications */
.toast-container {
  z-index: 1080;
}

.toast {
  background-color: white;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  min-width: 350px;
  margin-bottom: 1rem;
  transition: none !important; /* Disable Bootstrap's default transition */
}

.toast-header {
  border-bottom: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.toast-header.bg-success {
  background-color: #22c55e !important;
}

.toast-header.bg-danger {
  background-color: #ef4444 !important;
}

.toast-body {
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.toast .btn-close {
  font-size: 0.8rem;
  padding: 0.25rem;
}

.toast-header i {
  font-size: 1.1rem;
}

/* Remove custom animations - let Bootstrap handle it naturally */
.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.hide {
  opacity: 0;
  transform: translateX(100%);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  background-color: var(--primary-color);
  color: white;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.back-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  color: white;
}

.back-to-top.show {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness for back to top button */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid #dee2e6;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .btn {
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cookie-banner .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie-category {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}

.cookie-category:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-category h6 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-check-input:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Toast Container */
.toast-container {
  z-index: 9999;
}

.toast {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cookie-banner {
    background: rgba(33, 37, 41, 0.98);
    border-top-color: #495057;
    color: #fff;
  }
  
  .cookie-category {
    background-color: #343a40;
    border-color: #495057;
  }
  
  .cookie-category h6 {
    color: #fff;
  }
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 0.75rem 0;
  }
  
  .cookie-banner .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    margin: 0.125rem;
  }
  
  .cookie-banner .row {
    text-align: center;
  }
  
  .cookie-banner .col-lg-4 {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .cookie-banner .btn {
    display: block;
    width: 100%;
    margin: 0.25rem 0;
  }
  
  .cookie-banner .d-flex {
    flex-direction: column;
  }
}