/* Base styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--gray-700);
  overflow-x: hidden;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-text i {
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.btn-text:hover i {
  transform: translateX(4px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-content {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.logo img {
  /* filter: invert(1);  */
}
/* 
.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-right: 0.5rem;
} */

.nav-links {
  display: none;
}

.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: white;
  padding: 1rem;
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--gray-700);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* Solutions Section */
.solutions {
  padding: 3rem 0;
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--gray-600);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.solution-card {
  background-color: var(--gray-50);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s;
}

.solution-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.solution-card i {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Services Section */
.services {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card i {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonials Section */
.testimonials {
  padding: 3rem 0;
  background-color: white;
}

.testimonials-slider {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s;
}

.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 1rem;
}

.testimonial img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.testimonial p {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.testimonial h4 {
  color: var(--gray-900);
  font-weight: 600;
}

.testimonial .role {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.25);
}

/* Contact Section */
.contact {
  padding: 3rem 0;
  background-color: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand .logo i {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-right: 0.5rem;
}

.footer-brand p {
  color: var(--gray-400);
}

.footer h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--gray-400);
  transition: all 0.2s;
}

.social-icons a:hover {
  color: white;
  transform: scale(1.1);
}

.social-icons i {
  width: 1.5rem;
  height: 1.5rem;
}

.newsletter-form {
  display: flex;
  max-width: 20rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem 0 0 0.5rem;
}

.newsletter-form button {
  border-radius: 0 0.5rem 0.5rem 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-on-scroll {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

.scale-on-scroll.is-visible {
  opacity: 1;
  transform: scale(1);
}

.slide-on-scroll {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.slide-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0);
}
