/* ConsultTik Global Styles */
:root {
  /* Light Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-accent: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --brand-primary: #0d6efd;
  --brand-secondary: #6610f2;
  --brand-success: #198754;
  --brand-warning: #ffc107;
  --brand-danger: #dc3545;
  --brand-info: #0dcaf0;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --navbar-bg: #ffffff;
  --footer-bg: #212529;
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-accent: #404040;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --brand-primary: #4dabf7;
  --brand-secondary: #845ef7;
  --border-color: #404040;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --navbar-bg: #1a1a1a;
  --footer-bg: #0d0d0d;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar Styles */
.navbar {
  background-color: var(--navbar-bg) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

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

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-primary) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 1px;
}

.dropdown-menu {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px var(--shadow-color);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
  color: var(--brand-primary);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none !important;
  border: none !important;
  color: var(--text-primary) !important;
  font-size: 1.1rem;
  padding: 0.5rem !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary) !important;
  transform: rotate(20deg);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--brand-primary) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--brand-secondary) 1px, transparent 1px);
  background-size: 100px 100px, 50px 50px;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.partner-badge {
  height: 60px;
  margin-right: 1rem;
  filter: grayscale(0);
  transition: all 0.3s ease;
}

.partner-badge:hover {
  transform: scale(1.1);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.hero-cta a.btn {
  position: relative !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
  display: inline-flex !important;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.floating-elements {
  position: relative;
  height: 500px;
  width: 500px;
  margin: 0 auto;
  overflow: visible;
  animation: orbitalRotation 20s linear infinite;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Ensure AOS animations don't block buttons */
[data-aos] {
  pointer-events: none !important;
}

[data-aos].hero-cta,
[data-aos] .btn {
  pointer-events: auto !important;
}

.floating-card {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  padding: 1rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform-origin: center center;
  pointer-events: auto;
  z-index: 1;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  animation: counterRotate 20s linear infinite;
}

/* Circular Arrangement - Cards positioned in a circle */
.floating-card:nth-child(1) {
  /* 0 degrees (top) */
  top: calc(50% - 160px - 60px);
  left: calc(50% - 60px);
  animation: orbitFloat 8s ease-in-out infinite, cardPulse 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  /* 45 degrees (top-right) */
  top: calc(50% - 113px - 60px);
  left: calc(50% + 113px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 1s, cardPulse 3s ease-in-out infinite 0.5s;
}

.floating-card:nth-child(3) {
  /* 90 degrees (right) */
  top: calc(50% - 60px);
  left: calc(50% + 160px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 2s, cardPulse 3s ease-in-out infinite 1s;
}

.floating-card:nth-child(4) {
  /* 135 degrees (bottom-right) */
  top: calc(50% + 113px - 60px);
  left: calc(50% + 113px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 3s, cardPulse 3s ease-in-out infinite 1.5s;
}

.floating-card:nth-child(5) {
  /* 180 degrees (bottom) */
  top: calc(50% + 160px - 60px);
  left: calc(50% - 60px);
  animation: orbitFloat 8s ease-in-out infinite 4s, cardPulse 3s ease-in-out infinite 2s;
}

.floating-card:nth-child(6) {
  /* 225 degrees (bottom-left) */
  top: calc(50% + 113px - 60px);
  left: calc(50% - 113px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 5s, cardPulse 3s ease-in-out infinite 2.5s;
}

.floating-card:nth-child(7) {
  /* 270 degrees (left) */
  top: calc(50% - 60px);
  left: calc(50% - 160px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 6s, cardPulse 3s ease-in-out infinite 3s;
}

.floating-card:nth-child(8) {
  /* 315 degrees (top-left) */
  top: calc(50% - 113px - 60px);
  left: calc(50% - 113px - 60px);
  animation: orbitFloat 8s ease-in-out infinite 7s, cardPulse 3s ease-in-out infinite 3.5s;
}

.floating-card i {
  font-size: 1.8rem;
  color: var(--brand-primary);
  margin-bottom: 0.3rem;
}

.floating-card span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 30px var(--shadow-color);
}

/* Circular Orbit Animation */
@keyframes orbitFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
  }
  25% { 
    transform: translateY(-15px) scale(1.02); 
  }
  50% { 
    transform: translateY(-25px) scale(1.05); 
  }
  75% { 
    transform: translateY(-15px) scale(1.02); 
  }
}

/* Card Pulse Animation */
@keyframes cardPulse {
  0%, 100% { 
    box-shadow: 0 4px 20px var(--shadow-color);
    border-color: var(--border-color);
  }
  50% { 
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.3);
  }
}

/* Orbital Rotation - Container rotates clockwise */
@keyframes orbitalRotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Counter Rotation - Content rotates counter-clockwise to stay upright */
@keyframes counterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

/* Interactive Card Effects */
.floating-card {
  cursor: pointer;
  user-select: none;
}

.floating-card:active {
  transform: scale(0.95) !important;
}

.card-ripple {
  position: absolute;
  background: rgba(13, 110, 253, 0.3);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Enhanced Button Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-wave {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  animation: btn-wave-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes btn-wave-animation {
  0% {
    transform: scale(0);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.btn:active {
  transform: scale(0.98) !important;
}

/* Floating Cards Responsive Behavior */
@media (max-width: 992px) {
  .floating-elements {
    height: 400px;
    width: 400px;
    position: relative;
    z-index: 1;
  }
  
  .floating-card {
    width: 100px;
    height: 100px;
    padding: 0.8rem;
  }
  
  .floating-card i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }
  
  .floating-card span {
    font-size: 0.7rem;
  }
  
  /* Reduce circle radius for tablets */
  .floating-card:nth-child(1) {
    top: calc(50% - 130px - 50px);
    left: calc(50% - 50px);
  }
  
  .floating-card:nth-child(2) {
    top: calc(50% - 92px - 50px);
    left: calc(50% + 92px - 50px);
  }
  
  .floating-card:nth-child(3) {
    top: calc(50% - 50px);
    left: calc(50% + 130px - 50px);
  }
  
  .floating-card:nth-child(4) {
    top: calc(50% + 92px - 50px);
    left: calc(50% + 92px - 50px);
  }
  
  .floating-card:nth-child(5) {
    top: calc(50% + 130px - 50px);
    left: calc(50% - 50px);
  }
  
  .floating-card:nth-child(6) {
    top: calc(50% + 92px - 50px);
    left: calc(50% - 92px - 50px);
  }
  
  .floating-card:nth-child(7) {
    top: calc(50% - 50px);
    left: calc(50% - 130px - 50px);
  }
  
  .floating-card:nth-child(8) {
    top: calc(50% - 92px - 50px);
    left: calc(50% - 92px - 50px);
  }
}

@media (max-width: 768px) {
  .floating-elements {
    height: 300px;
    width: 300px;
  }
  
  .floating-card {
    width: 80px;
    height: 80px;
    padding: 0.6rem;
  }
  
  .floating-card i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  }
  
  .floating-card span {
    font-size: 0.65rem;
  }
  
  /* Show only 6 cards on mobile - hide bottom 2 */
  .floating-card:nth-child(7),
  .floating-card:nth-child(8) {
    display: none;
  }
  
  /* Smaller circle radius for mobile */
  .floating-card:nth-child(1) {
    top: calc(50% - 100px - 40px);
    left: calc(50% - 40px);
  }
  
  .floating-card:nth-child(2) {
    top: calc(50% - 71px - 40px);
    left: calc(50% + 71px - 40px);
  }
  
  .floating-card:nth-child(3) {
    top: calc(50% - 40px);
    left: calc(50% + 100px - 40px);
  }
  
  .floating-card:nth-child(4) {
    top: calc(50% + 71px - 40px);
    left: calc(50% + 71px - 40px);
  }
  
  .floating-card:nth-child(5) {
    top: calc(50% + 100px - 40px);
    left: calc(50% - 40px);
  }
  
  .floating-card:nth-child(6) {
    top: calc(50% + 71px - 40px);
    left: calc(50% - 71px - 40px);
  }
}

@media (max-width: 480px) {
  .floating-elements {
    height: 250px;
    width: 250px;
  }
  
  .floating-card {
    width: 70px;
    height: 70px;
    padding: 0.4rem;
  }
  
  .floating-card i {
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }
  
  .floating-card span {
    font-size: 0.6rem;
    line-height: 1.1;
  }
  
  /* Show only top 4 cards on very small screens */
  .floating-card:nth-child(5),
  .floating-card:nth-child(6),
  .floating-card:nth-child(7),
  .floating-card:nth-child(8) {
    display: none;
  }
  
  /* Very small circle for tiny screens */
  .floating-card:nth-child(1) {
    top: calc(50% - 80px - 35px);
    left: calc(50% - 35px);
  }
  
  .floating-card:nth-child(2) {
    top: calc(50% - 35px);
    left: calc(50% + 80px - 35px);
  }
  
  .floating-card:nth-child(3) {
    top: calc(50% + 80px - 35px);
    left: calc(50% - 35px);
  }
  
  .floating-card:nth-child(4) {
    top: calc(50% - 35px);
    left: calc(50% - 80px - 35px);
  }
}

/* Services Section */
.services-overview {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

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

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Trust Section */
.trust-section {
  padding: 5rem 0;
  background: var(--bg-accent);
}

.trust-stats {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.stat-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badges img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
}

.cta-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  position: relative;
  z-index: 15;
}

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

.btn-outline-primary {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  position: relative;
  z-index: 15;
}

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

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

.btn-light:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--footer-bg) !important;
  color: white;
}

.footer-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-primary);
  padding-left: 5px;
}

.footer-links-inline a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links-inline a:hover {
  color: white;
}

.contact-info {
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  color: var(--brand-primary);
  margin-top: 0.2rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  color: white;
}

.office-info h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.office-info p {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 !important;
  }
  
  .footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-brand img {
    margin: 0 auto 1rem;
    display: block;
  }
  
  .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
  }
  
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    font-size: 0.95rem;
    padding: 0.25rem 0;
    display: inline-block;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .contact-item i {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
  }
  
  .contact-item div {
    width: 100%;
  }
  
  .contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .contact-item small {
    display: block;
    color: #b0b0b0;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .office-info {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .office-info h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .office-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  
  .footer-links-inline {
    text-align: center;
    margin-top: 1rem;
  }
  
  .footer-links-inline a {
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 0.9rem;
  }
  
  .footer-links-inline span {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 1.5rem 0 !important;
  }
  
  .footer .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  .footer-brand p {
    font-size: 0.85rem;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .contact-item strong {
    font-size: 0.95rem;
  }
  
  .contact-item small {
    font-size: 0.8rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .office-info h6 {
    font-size: 0.95rem;
  }
  
  .office-info p {
    font-size: 0.8rem;
  }
  
  .footer-links-inline a {
    font-size: 0.85rem;
    margin: 0 0.25rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .partner-badge {
    height: 40px;
    margin-bottom: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .floating-elements {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-item h4 {
    font-size: 2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  /* Mobile Navbar Improvements */
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
  }
  
  .dropdown-item {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Mobile Container Adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Mobile Button Improvements */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* Mobile Card Improvements */
  .service-card,
  .feature-card,
  .service-detailed-card,
  .industry-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Accordion Improvements */
  .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
}

/* Light/Dark Theme Specific Overrides */
[data-theme="dark"] .navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dropdown-menu {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .service-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .floating-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .floating-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out;
}

/* Utilities */
.bg-light-subtle {
  background-color: var(--bg-secondary) !important;
}

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

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

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow-color);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.video-section {
  padding: 3rem 0;
  background: var(--bg-secondary);
  margin: 2rem 0;
  border-radius: 16px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-item {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

/* Single video container for centered display */
.single-video-container {
  max-width: 800px;
  margin: 2rem auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .video-container {
    margin: 1.5rem 0;
  }
  
  .video-section {
    padding: 2rem 0;
    margin: 1.5rem 0;
  }
}

/* Additional SEO Content Sections */

/* Why Choose Dynamics Section */
.why-dynamics-section {
  background: var(--bg-primary);
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Services Detailed Section */
.services-detailed {
  background: var(--bg-secondary);
}

.service-detailed-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.service-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.service-detailed-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-detailed-content h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-detailed-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-primary);
}

.accordion-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-secondary);
  color: var(--brand-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border: none;
}

.accordion-body {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 1.5rem;
  line-height: 1.7;
}

/* Industry Solutions */
.industry-solutions {
  background: var(--bg-secondary);
}

.industry-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.industry-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(10deg);
}

.industry-card h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.industry-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .feature-card,
  .service-detailed-card,
  .industry-card {
    padding: 1.5rem;
  }
  
  .service-detailed-card {
    flex-direction: column;
    text-align: center;
  }
  
  .service-detailed-icon {
    margin: 0 auto 1rem;
  }
  
  .feature-icon,
  .industry-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .accordion-button,
  .accordion-body {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .service-features li {
    font-size: 0.9rem;
  }
  
  .industry-card p {
    font-size: 0.9rem;
  }
  
  /* Mobile Overflow Prevention */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .row {
    margin-left: -0.375rem;
    margin-right: -0.375rem;
  }
  
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
  .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
  .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
  .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  
  /* Ensure all cards and content fit properly */
  .service-card,
  .feature-card,
  .service-detailed-card,
  .industry-card,
  .accordion-item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix button alignment */
  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto;
    display: block;
  }
  
  .hero-cta .btn {
    width: auto;
    max-width: none;
    margin: 0.5rem;
  }
  
  /* Fix text overflow */
  .hero-title,
  .section-title,
  .service-card h4,
  .feature-card h4,
  .industry-card h5 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Fix floating cards on very small screens */
  .floating-elements {
    width: 280px !important;
    height: 280px !important;
  }
  
  .floating-card {
    min-width: 80px !important;
    height: 80px !important;
    padding: 0.5rem !important;
  }
  
  .floating-card i {
    font-size: 1rem !important;
  }
  
  .floating-card span {
    font-size: 0.7rem !important;
  }
  
  /* Hide some floating cards on very small screens */
  .floating-card:nth-child(3),
  .floating-card:nth-child(4),
  .floating-card:nth-child(5),
  .floating-card:nth-child(6),
  .floating-card:nth-child(7),
  .floating-card:nth-child(8) {
    display: none !important;
  }
  
  /* Ensure proper spacing */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  /* Additional Mobile Improvements */
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .hero-title {
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  .section-title {
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  /* Fix any potential overflow in cards */
  .service-card h4,
  .feature-card h4,
  .service-detailed-card h4,
  .industry-card h5 {
    word-break: break-word;
    hyphens: auto;
  }
  
  /* Ensure proper spacing in lists */
  .service-features li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  /* Fix contact form on mobile */
  .contact-form {
    padding: 0 0.5rem;
  }
  
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Ensure proper image sizing */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix any potential table overflow */
  table {
    font-size: 0.9rem;
  }
  
  /* Ensure proper spacing for trust badges */
  .trust-badges {
    text-align: center;
    margin-top: 2rem;
  }
  
  .trust-badges img {
    max-width: 150px;
    height: auto;
    margin: 0.5rem;
  }
}