/*
 * Surflex Technology - Main Stylesheet
 * This file implements the theme system and customizes Bootstrap
 * Version: 1.0
 */

/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Import theme variables and components */
@import url('theme.css');

/* Bootstrap Customization */
:root {
  /* Override Bootstrap variables with our theme variables */
  --bs-primary: var(--surflex-primary);
  --bs-secondary: var(--surflex-secondary);
  --bs-success: var(--surflex-success);
  --bs-info: var(--surflex-info);
  --bs-warning: var(--surflex-warning);
  --bs-danger: var(--surflex-danger);
  --bs-light: var(--surflex-light);
  --bs-dark: var(--surflex-dark);
  
  --bs-primary-rgb: 26, 75, 140;
  --bs-secondary-rgb: 45, 156, 219;
  --bs-font-sans-serif: var(--surflex-font-primary);
  --bs-border-radius: var(--surflex-border-radius);
  --bs-border-radius-lg: var(--surflex-border-radius-lg);
}

/* Custom Components */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.85); /* Semi-transparent dark background */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15); /* Glowing blue shadow */
  border-bottom: 1px solid rgba(96, 165, 250, 0.2); /* Subtle blue border */
  transition: all 0.4s ease;
  overflow: hidden;
}

.site-header:hover {
  background-color: rgba(15, 23, 42, 0.95); /* Slightly darker on hover */
  box-shadow: 0 4px 25px rgba(59, 130, 246, 0.25); /* Enhanced glow on hover */
}

/* Navbar glow effect */
.nav-glow-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: navGlowPulse 8s infinite ease-in-out;
}

@keyframes navGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

/* Logo */
.site-logo {
  max-height: 50px;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5)); /* Subtle glow effect */
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.navbar-brand {
  position: relative;
  overflow: hidden;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  animation: logoGlowPulse 3s infinite ease-in-out;
}

@keyframes logoGlowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.navbar-brand:hover .site-logo {
  transform: scale(1.05); /* Slight grow effect on hover */
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.9)); /* Enhanced glow on hover */
}

/* Main Navigation */
.main-nav .nav-item {
  margin: 0 0.5rem;
}

.main-nav .nav-link {
  position: relative;
  padding: 0.6rem 1.2rem;
  color: var(--surflex-gray-dark) !important; /* Light text for dark navbar */
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Custom easing */
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-text {
  position: relative;
  z-index: 2;
}

.nav-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  opacity: 0;
  z-index: 1;
  transition: all 0.4s ease;
  transform: scaleX(0.7) scaleY(0.4);
  border-radius: 4px;
}

.main-nav .nav-link:hover .nav-hover-effect,
.main-nav .nav-link.active .nav-hover-effect {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.main-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transform: translateX(-100%);
  transition: all 0.6s ease;
  z-index: 1;
}

.main-nav .nav-link:hover::before {
  transform: translateX(100%); /* Shine effect animation */
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--surflex-primary), var(--surflex-secondary), var(--surflex-accent)); /* Gradient underline */
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); /* Glow effect */
  z-index: 3;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #ffffff !important; /* Brighter text on hover/active */
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); /* Text glow effect */
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 80%;
}

/* Add a subtle pulse animation to active nav link */
.main-nav .nav-link.active .nav-hover-effect {
  animation: navPulse 2s infinite ease-in-out;
}

@keyframes navPulse {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); }
  50% { opacity: 1; box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
}

/* Navbar Animation Effects */
@keyframes navGlow {
  0% { box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15); }
  50% { box-shadow: 0 4px 25px rgba(59, 130, 246, 0.25); }
  100% { box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15); }
}

.site-header {
  animation: navGlow 4s infinite ease-in-out;
}

/* Navbar Item Animation */
.main-nav .nav-item {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInDown 0.5s forwards;
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation delay for nav items */
.main-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.main-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.main-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.main-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.main-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }

/* Adjust navbar padding for better spacing */
.navbar {
  padding: 0.75rem 0;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, var(--surflex-primary) 0%, var(--surflex-secondary) 70%, var(--surflex-accent) 100%);
  padding: 7rem 0 5rem;
  color: var(--surflex-white);
  overflow: hidden;
  z-index: 1;
}

/* Futuristic particle effect */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: -1;
  animation: particleFloat 20s infinite linear;
}

/* Animated gradient overlay */
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(59, 130, 246, 0.2) 0%, 
    rgba(16, 185, 129, 0.2) 25%, 
    rgba(139, 92, 246, 0.2) 50%, 
    rgba(236, 72, 153, 0.2) 75%, 
    rgba(59, 130, 246, 0.2) 100%);
  background-size: 400% 400%;
  z-index: -1;
  animation: gradientShift 15s infinite ease;
}

@keyframes particleFloat {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero content styling */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  animation: titleGlow 3s infinite alternate;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
  100% { text-shadow: 0 0 40px rgba(59, 130, 246, 0.8); }
}

/* Hero buttons */
.hero-banner .btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-banner .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.hero-banner .btn:hover::before {
  left: 100%;
}

.hero-banner .btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--surflex-primary);
  border: none;
}

.hero-banner .btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hero image animation */
.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-banner .animate-on-scroll img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: floatImage 6s infinite ease-in-out;
  transform-origin: center center;
  position: relative;
  z-index: 2;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(16, 185, 129, 0.3) 50%, transparent 70%);
  filter: blur(30px);
  opacity: 0.6;
  z-index: 1;
  animation: heroGlow 8s infinite alternate ease-in-out;
}

@keyframes heroGlow {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); filter: blur(30px); }
  100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); filter: blur(20px); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Hero particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-particles::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 110%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0.5px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 1.5px),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.3) 0.5px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.2) 1px, transparent 1.5px);
  background-size: 100px 100px, 150px 150px, 100px 100px, 200px 200px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  animation: particlesMove 30s infinite linear;
  transform: translateZ(0);
}

@keyframes particlesMove {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 100px 100px, 150px 150px, -100px 100px, -200px 200px; }
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: var(--surflex-border-radius);
  overflow: hidden;
  box-shadow: var(--surflex-shadow-sm);
  transition: var(--surflex-transition);
  height: 100%;
  background-color: var(--surflex-white);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--surflex-shadow);
}

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.service-card .card-title {
  color: var(--surflex-primary);
}

/* Client Logo Section */
.client-logo {
  max-height: 80px;
  max-width: 100%;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.7;
  transition: var(--surflex-transition);
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1.5);
  opacity: 1;
}

/* Testimonial Carousel */
.testimonial-carousel .carousel-item {
  padding: 2rem;
}

.testimonial-quote {
  font-style: italic;
  position: relative;
  padding: 1rem 2rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: -1rem;
  left: -1rem;
  color: var(--surflex-gray-light);
  font-family: serif;
}

.testimonial-quote::after {
  content: '\201D';
  top: auto;
  left: auto;
  bottom: -3rem;
  right: -1rem;
}

/* Contact Form */
.contact-form .form-control {
  border: 1px solid var(--surflex-gray-light);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--surflex-primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 75, 140, 0.25);
}














/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Styles */
.site-footer {
  position: relative;
  background-color: rgba(15, 23, 42, 0.95);
  color: var(--surflex-gray-dark);
  padding: 5rem 0 2rem;
  overflow: hidden;
  z-index: 1;
}

.footer-glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: footerGlowPulse 8s infinite ease-in-out;
}

@keyframes footerGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.footer-logo {
  max-height: 50px;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
  transition: all 0.3s ease;
}

.footer-brand {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-about {
  color: var(--surflex-gray-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--surflex-primary), var(--surflex-secondary));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--surflex-gray-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding-left: 1rem;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--surflex-accent);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateX(3px);
}

.footer-link:hover::before {
  opacity: 1;
  color: var(--surflex-secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--surflex-gray-dark);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0.5);
  border-radius: 50%;
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.social-link:hover .social-hover-effect {
  opacity: 1;
  transform: scale(1);
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer-contact-info i {
  color: var(--surflex-accent);
  margin-right: 1rem;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.footer-contact-info p {
  margin-bottom: 0.25rem;
  color: var(--surflex-gray-dark);
  font-size: 0.95rem;
}

.footer-divider {
  margin: 3rem 0 2rem;
  border-color: rgba(59, 130, 246, 0.2);
  opacity: 0.3;
}

.footer-bottom {
  font-size: 0.9rem;
}

.footer-bottom p {
  color: var(--surflex-gray-dark);
  opacity: 0.8;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-bottom-links li a {
  color: var(--surflex-gray-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footer-bottom-links li a:hover {
  color: #ffffff;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--surflex-primary), var(--surflex-secondary));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
  overflow: hidden;
}

.back-to-top-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

.back-to-top:hover .back-to-top-effect {
  opacity: 0.8;
  animation: backToTopPulse 1.5s infinite ease-in-out;
}

@keyframes backToTopPulse {
  0% { opacity: 0.5; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(0.5); }
}

/* Footer Animation */


.footer-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Footer Adjustments */
@media (max-width: 991.98px) {
  .site-footer {
    padding: 4rem 0 2rem;
  }
  
  .footer-title {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  
  
  .back-to-top {
    width: 40px;
    height: 40px;
    right: 20px;
    bottom: 20px;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--surflex-primary), var(--surflex-secondary) 80%, var(--surflex-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Navbar Toggler Button */
.navbar-toggler {
  border: none;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.navbar-toggler:hover {
  background: rgba(59, 130, 246, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28226, 232, 240, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  /* Custom light-colored hamburger icon */
}

/* Partner Logos Styles */
.partner-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo {
  max-height: 30px;
  width: auto;
  transition: all 0.3s ease;
  object-fit: contain;
/*  filter: brightness(0) invert(1) opacity(0.7); /* Make logos white with transparency */
}

.partner-logo:hover {
  transform: scale(1.1);
  filter: brightness(0) invert(1) opacity(1); /* Full opacity on hover */
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.493)); /* Subtle glow */
}

/* Responsive adjustments for partner logos */
@media (max-width: 991.98px) {
  .partner-logos {
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Light border for dark theme */
    flex-direction: column;
    width: 100%;
  }
  
  .partner-logos span {
    display: block;
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
    font-weight: 600;
    color: var(--surflex-gray-dark); /* Light text for dark navbar */
  }
  
  .partner-logos .d-flex {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .navbar-collapse {
    padding-bottom: 1rem;
    background-color: rgba(15, 23, 42, 0.95); /* Match navbar background */
    border-radius: 0 0 8px 8px; /* Rounded bottom corners */
    margin-top: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Shadow for dropdown */
  }
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--surflex-primary) 0%, var(--surflex-secondary) 70%, var(--surflex-accent) 100%);
}

.section-padding {
  padding: 5rem 0;
}

.section-margin {
  margin: 5rem 0;
}

/* Locations Section */
.locations-section .card {
  transition: all 0.3s ease;
  border: none;
  border-radius: var(--surflex-border-radius);
  overflow: hidden;
  box-shadow: var(--surflex-shadow-sm);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.locations-section .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--surflex-shadow);
  border-color: rgba(59, 130, 246, 0.3);
}

.locations-section .card-title {
  color: var(--surflex-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.locations-section .card-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--surflex-primary), var(--surflex-secondary));
  border-radius: 2px;
}

.locations-section .card-text {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--surflex-gray-dark);
}

.locations-section .btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--surflex-primary), var(--surflex-secondary));
  border: none;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.locations-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-banner {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-banner {
    padding: 3rem 0;
  }
  
  .service-card .card-img-top {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-banner {
    padding: 2rem 0;
  }
  
  
}