/* Global Variables */
:root {
  --brand: #0066FF;
  --brand-dark: #0052CC;
  --brand-light: #3385FF;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.35) 100%);
  z-index: 1;
}

.hero-carousel .hero-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-carousel .hero-caption h1 {
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero-carousel .hero-caption .btn {
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: var(--transition);
  animation: fadeInUp 1s ease-out;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.hero-carousel .hero-caption .btn-light {
  background: white;
  color: #667eea;
}

.hero-carousel .hero-caption .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: white;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  opacity: 0.7;
  transition: var(--transition);
  z-index: 3;
  cursor: pointer;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.hero-carousel .carousel-control-prev {
  left: 30px;
}

.hero-carousel .carousel-control-next {
  right: 30px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: rgba(255,255,255,0.3);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-size: 100% 100%;
}

/* Service Cards */
.svc-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.3);
}

.svc-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #667eea;
  transition: var(--transition);
}

.svc-card:hover .svc-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.svc-card .h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.svc-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.svc-card a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.svc-card a:hover {
  color: #764ba2;
  gap: 0.5rem;
}

.svc-card a::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.svc-card:hover a::after {
  margin-left: 0.75rem;
}

/* Stats Section */
.stats-section {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* Section Headings */
section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Navbar Enhancements */
.navbar {
  transition: var(--transition);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  transition: var(--transition);
  color: #2E8BC0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-brand:hover {
  transform: scale(1.02);
  color: #2E8BC0;
  opacity: 0.9;
}

.navbar-brand img {
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(46, 139, 192, 0.1));
}

.navbar-brand:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(46, 139, 192, 0.2));
}

.navbar-brand span {
  color: #2E8BC0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', Arial, sans-serif;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  color: #5c636a;
  font-size: 1rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

.lang-link {
  color: #5c636a;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
  border-radius: 8px;
}

.lang-link:hover {
  color: var(--brand);
  background: rgba(102, 126, 234, 0.1);
}

/* Button Enhancements */
.btn-primary {
  background: var(--brand);
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.navbar .btn-primary {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #1a1a1a !important;
}

footer a {
  transition: var(--transition);
  display: inline-block;
}

footer a:hover {
  opacity: 0.9;
  transform: translateX(3px);
  color: var(--brand-light) !important;
}

footer .footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2E8BC0;
  font-weight: 700;
}

footer .footer-logo img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(69%) saturate(586%) hue-rotate(158deg) brightness(94%) contrast(90%);
}

footer .footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

footer h6 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer ul li a {
  font-size: 0.95rem;
}

footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

footer .social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

footer .social-link:hover {
  background: var(--brand);
  transform: translateY(-3px);
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

footer .contact-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

footer .contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 500px;
  }
  
  .hero-carousel .hero-caption h1 {
    font-size: 2.5rem;
  }
  
  .svc-card {
    padding: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .services-hero {
    padding: 3rem 0 !important;
  }
  
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .svc-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .svc-text h3 {
    font-size: 1.75rem;
  }
  
  .cta-section {
    padding: 4rem 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-carousel {
    height: 450px;
  }
  
  .hero-carousel .hero-caption h1 {
    font-size: 2rem;
  }
  
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
  }
}

/* Services Page Hero */
.services-hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 4rem 0 !important;
  margin-bottom: 3rem;
}

.services-hero h1 {
  color: #1a1a1a;
}

/* Services Sections */
.svc-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.svc-section:nth-child(even) {
  background: #f8f9fa;
}

.svc-photo {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.svc-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.svc-text h3 {
  color: var(--brand);
  font-weight: 800;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.svc-text h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.svc-text p.lead {
  color: #5c636a;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.service-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #5c636a;
  line-height: 1.6;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

.btn-outline-primary {
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  padding: 0.625rem 1.75rem;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: 5rem 0 !important;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-section .btn-primary {
  background: white;
  color: var(--brand);
  font-weight: 700;
}

/* Partners Carousel */
.partners-section {
  background: #f8f9fa;
  overflow: hidden;
  padding: 3rem 0;
}

.partners-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3rem;
  animation: scroll 60s linear infinite;
  width: max-content;
  align-items: center;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  width: 200px;
  height: 100px;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  flex-shrink: 0;
  flex-grow: 0;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.partner-item img {
  max-width: 160px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) scale(1.02);
}
