/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
:root {
  --ads-primary: #1a365d;
  --ads-secondary: #2d3748;
  --ads-success: #38a169;
  --ads-info: #3182ce;
  --ads-warning: #d69e2e;
  --ads-danger: #e53e3e;
  --ads-light: #f7fafc;
  --ads-dark: #1a202c;
  --ads-gradient-primary: linear-gradient(135deg, #1a365d 0%, #0f2a42 100%);
  --ads-gradient-secondary: linear-gradient(135deg, #2d3748 0%, #232936 100%);
  --ads-gradient-text: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 50%, #a0aec0 100%);
  --ads-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --ads-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --ads-shadow-lg: 0 8px 15px rgba(0,0,0,0.1);
  --ads-border-radius: 0.375rem;
  --ads-border-radius-lg: 0.5rem;
  --ads-border-radius-sm: 0.25rem;
  --bs-primary: #1a365d;
  --bs-secondary: #2d3748;
  --bs-success: #38a169;
  --bs-info: #3182ce;
  --bs-warning: #d69e2e;
  --bs-danger: #e53e3e;
  --bs-light: #f7fafc;
  --bs-dark: #1a202c;
}

body {
  font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ads-dark);
}
@media screen and (max-height: 930px) {
  body {
    padding-top: 60px;
  }
}
@media screen and (max-height: 600px) {
  body {
    padding-top: 60px;
  }
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  line-height: 1.2;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}
.navbar-brand:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.btn-ads-primary {
  background: var(--ads-gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--ads-border-radius);
  box-shadow: var(--ads-shadow-md);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-ads-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ads-shadow-lg);
  color: white;
  text-decoration: none;
}
.btn-ads-primary:active {
  transform: translateY(0);
}

.btn-ads-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--ads-border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
}
.btn-ads-secondary:hover {
  background: white;
  color: var(--ads-primary);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: var(--ads-shadow-md);
  text-decoration: none;
}

.btn-ads-secondary-light {
  background: transparent;
  border: 2px solid var(--ads-primary);
  color: var(--ads-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--ads-border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-ads-secondary-light:hover {
  background: var(--ads-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--ads-shadow-md);
  text-decoration: none;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: white;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 58, 109, 0.85) 0%, rgba(26, 54, 93, 0.75) 50%, rgba(45, 65, 90, 0.8) 100%);
  z-index: 1;
}
.hero-section .container {
  z-index: 2;
}
.hero-section h1 {
  color: #ffffff !important;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px;
}
.hero-section h1 .text-white, .hero-section h1 span {
  color: #ffffff !important;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(93, 216, 255, 0.3);
  font-weight: 900 !important;
}
.hero-section .lead {
  color: #f0f9ff !important;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  .hero-section .lead {
    font-size: 1.1rem !important;
  }
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ads-primary);
  margin-bottom: 1rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--ads-gradient-primary);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.service-card {
  background: white;
  border-radius: var(--ads-border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--ads-shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(26, 54, 93, 0.1);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ads-shadow-lg);
  border-color: rgba(26, 54, 93, 0.2);
}
.service-card .service-icon {
  width: 70px;
  height: 70px;
  background: var(--ads-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}
.service-card .service-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ads-primary);
  margin-bottom: 1rem;
}
.service-card .service-description {
  color: var(--ads-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.stats-section {
  background: var(--ads-gradient-primary);
  color: white;
}
.stats-section .stat-card {
  text-align: center;
}
.stats-section .stat-card h3 {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.stats-section .stat-card p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.coverage-card {
  background: white;
  border-radius: var(--ads-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--ads-shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}
.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ads-shadow-md);
}
.coverage-card .coverage-icon {
  width: 60px;
  height: 60px;
  background: rgba(26, 54, 93, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--ads-primary);
  font-size: 1.5rem;
}

.footer-section {
  background: var(--ads-dark);
  color: white;
}
.footer-section .footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-section .footer-links {
  list-style: none;
  padding: 0;
}
.footer-section .footer-links li {
  margin-bottom: 0.5rem;
}
.footer-section .footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section .footer-links li a:hover {
  color: white;
}
.footer-section .social-links {
  display: flex;
  gap: 1rem;
}
.footer-section .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-section .social-links a:hover {
  background: var(--ads-primary);
  transform: translateY(-2px);
}

.navbar {
  background-color: rgb(42, 66, 99) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
  background-color: rgba(26, 54, 93, 0.95) !important;
  backdrop-filter: blur(15px);
  box-shadow: var(--ads-shadow-md);
}

.navbar-brand, .navbar-nav .nav-link {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover {
  color: #60a5fa !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.text-gradient {
  background: var(--ads-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.bg-light {
  background-color: var(--ads-light) !important;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .service-card {
    margin-bottom: 2rem;
  }
  .section-padding {
    padding: 3rem 0;
  }
  .stat-card h3 {
    font-size: 2.5rem;
  }
}
.contact-form-container {
  background: white;
  border-radius: var(--ads-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--ads-shadow-md);
}

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

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

.logo-with-bg {
  background: rgba(255, 255, 255, 0.36);
  padding: 0.5rem 1rem;
  border-radius: var(--ads-border-radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.logo-with-bg:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.02);
}
@media (max-width: 975px) {
  .logo-with-bg {
    margin-top: 0.5rem;
  }
}

.logo-with-bg-subtle {
  background: rgba(255, 255, 255, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--ads-border-radius-sm);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .logo-with-bg-subtle {
    margin-top: 0.5rem;
  }
}

:root {
  /* Improved contrast palette */
  --ads-primary: #0f3a6d;
  --ads-secondary: #445065;
  --ads-success: #38a169;
  --ads-info: #2b6cb0;
  --ads-warning: #e5b83b;
  --ads-danger: #dc2626;
  --ads-light: #f9fafb;
  --ads-dark: #111827;
  /* Softer gradients with improved luminance contrast */
  --ads-gradient-primary: linear-gradient(135deg, #0f3a6d 0%, #122b52 100%);
  --ads-gradient-secondary: linear-gradient(135deg, #445065 0%, #2e384b 100%);
  --ads-gradient-text: linear-gradient(135deg, #e8edf3 0%, #cbd5e0 50%, #94a3b8 100%);
  /* Shadows and radii unchanged */
  --ads-shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --ads-shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --ads-shadow-lg: 0 8px 20px rgba(0,0,0,0.12);
  /* Bootstrap overrides (sync) */
  --bs-primary: var(--ads-primary);
  --bs-secondary: var(--ads-secondary);
  --bs-success: var(--ads-success);
  --bs-info: var(--ads-info);
  --bs-warning: var(--ads-warning);
  --bs-danger: var(--ads-danger);
  --bs-light: var(--ads-light);
  --bs-dark: var(--ads-dark);
}

/* Navbar hover visibility tweak */
.navbar-nav .nav-link:hover {
  color: #93c5fd !important; /* Lighter blue hover for contrast */
}

/* Secondary button for light backgrounds */
.btn-ads-secondary-light:hover {
  background: var(--ads-primary);
  color: #f9fafb;
}

.clients-carousel-wrapper {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}
.clients-carousel-wrapper::before, .clients-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.clients-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--ads-light) 0%, transparent 100%);
}
.clients-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--ads-light) 0%, transparent 100%);
}

.clients-carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
  padding: 1rem 0;
}
.clients-carousel-track.reverse {
  animation-direction: reverse;
}
.clients-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.client-item {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: var(--ads-border-radius-lg);
  box-shadow: var(--ads-shadow-sm);
  transition: all 0.3s ease;
}
.client-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--ads-shadow-lg);
}
.client-item:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.client-item .client-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ads-dark);
  margin-bottom: 0.75rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.client-item .client-logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: var(--ads-light);
  border-radius: var(--ads-border-radius);
}
.client-item .client-logo {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Navbar Logo Styles */
.navbar-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover effect on entire navbar brand */
.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

/* Ensure logo and text are vertically centered */
.navbar-brand {
  display: flex;
  align-items: center;
}

/* Add some spacing between logo and text */
.navbar-logo.me-2 {
  margin-right: 0.75rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-logo {
    height: 35px;
    max-width: 120px;
  }
}
@media (max-width: 480px) {
  .navbar-logo {
    height: 30px;
    max-width: 100px;
  }
  /* Optional: Hide text on very small screens and show only logo */
  /* Uncomment if needed */
  /*
  .navbar-brand span {
    display: none;
  }
  .navbar-logo {
    margin-right: 0 !important;
  }
  */
}
/* For high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
/* Ensure proper alignment in navbar */
.navbar-brand {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Add subtle shadow to logo for better visibility */
.navbar-logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Smooth transition for all logo changes */
.navbar-logo {
  transition: all 0.3s ease;
}

/* When navbar is scrolled (if you add scroll effect) */
.navbar-scrolled .navbar-logo {
  height: 35px;
}
