/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1B6DC1;
  --primary-dark: #0973ba;
  --primary-light: #4d8dd4;
  --secondary-color: #1D951B;
  --accent-color: #0973ba;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-lighter: #ffffff;
  --border-color: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient-1: linear-gradient(135deg, #1B6DC1 0%, #0973ba 100%);
  --gradient-2: linear-gradient(135deg, #1B6DC1 0%, #1D951B 100%);
  --gradient-3: linear-gradient(135deg, #1D951B 0%, #157a13 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Navigation */
nav {
  background-color: #1a1a1a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg-lighter);
  text-decoration: none;
  transition: opacity 0.3s ease;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  margin-top: 0;
  margin-bottom: -33px;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--bg-lighter);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Carousel Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--gradient-1);
  color: var(--bg-lighter);
  padding: 6rem 2rem;
  text-align: center;
}

.hero.carousel-hero {
  height: 600px;
  padding: 0;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.carousel .hero-container {
  padding: 6rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--bg-lighter);
}

.hero h1 {
  font-size: 2.9rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--bg-lighter);
  width: 40px;
  border-radius: 6px;
}

.cta-button {
  background-color: var(--bg-lighter);
  color: var(--primary-color);
  padding: 1.125rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background-color: var(--bg-light);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Main Content */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.content-section {
  margin-bottom: 5rem;
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content-section p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-section ul {
  color: var(--text-medium);
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-section ul li {
  margin-bottom: 0.75rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-card {
  background-color: var(--bg-lighter);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 2.5rem auto;
  background: var(--bg-lighter);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-lighter);
  box-shadow: 0 0 0 4px rgba(27, 109, 193, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.submit-button {
  background: var(--gradient-1);
  color: var(--bg-lighter);
  padding: 1.125rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.submit-button:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, var(--text-dark) 0%, #000000 100%);
  color: var(--bg-lighter);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--bg-lighter);
  text-decoration: underline;
}

.footer-container p {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Section */
.stats-section {
  background: var(--bg-lighter);
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-medium);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 4rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .container {
    padding: 3rem 1rem;
  }
}
