/* Carousel styles for client logos */
.carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 2rem 0 1rem 0;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  will-change: transform;
  transition: transform 0.1s linear;
}
.carousel-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  background: transparent;
  user-drag: none;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-red: #ff0000;
  --brand-blue: #0026ff;
  --brand-white: #ffffff;
  --primary-gradient: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  --accent-gradient: linear-gradient(135deg, var(--brand-red) 0%, #ff4444 100%);
  --dark-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-primary: var(--brand-white);
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-dark: #1a1a2e;
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
  --border-radius: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark-gradient);
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Fluid media */
img, video {
  max-width: 100%;
  height: auto;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 38, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 0, 0, 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(1deg); }
  66% { transform: translateY(20px) rotate(-1deg); }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 70px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-nav {
  background: var(--primary-gradient);
  color: var(--brand-white);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
  border-color: var(--brand-red);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--brand-white);
  border-color: var(--brand-red);
}

.btn-primary:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-white);
  border-color: var(--brand-white);
}

.btn-secondary:hover {
  background: var(--brand-white);
  color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

/* Sections */
.section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--brand-white);
}

.about-brief {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
}

.about-brief p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.link {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--brand-blue);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--brand-red);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--brand-white);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Portfolio Gallery */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brand-white);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  color: var(--brand-white);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  text-align: center;
  padding: 4rem 2rem;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.client-logo {
  width: 120px;
  height: 60px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brand-red);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.1);
  border-color: var(--brand-blue);
}

blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--brand-white);
  margin: 2rem auto;
  max-width: 600px;
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--brand-red);
  position: absolute;
  top: -1rem;
  left: -2rem;
}

/* CTA Section */
.cta-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-social {
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--brand-white);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.footer-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--brand-white);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  nav {
    padding: 0.75rem 1rem;
  }
  .logo-img {
    height: 44px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .client-logos {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .section {
    padding: 4rem 1rem;
  }
  /* Mobile menu dropdown */
  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 26, 46, 0.98);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 1rem 1rem;
    z-index: 1001;
  }
  .nav-links.active li {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links.active li a {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.service-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll animations */
.section {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-gradient);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient);
}

/* Free client logo in testimonials */
.testimonials .client-logos img {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
  margin: 0 1rem 0 0;
  display: inline-block;
  vertical-align: middle;
}