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

.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* CSS Variables */
:root {
  --primary-red: #e53e3e;
  --primary-red-hover: #c53030;
  --text-dark: #2d3748;
  --text-gray: #718096;
  --text-light: #a0aec0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--bg-light);
}

.btn {
  background: var(--primary-red);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 12px;
}

.contact-left {
  width: 40%;
  margin-top: 116px;
  margin-bottom: 149px;
}

.contact-right {
  margin-top: 116px;
  margin-bottom: 149px;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 138px;
}

.container {
  padding: 0 15px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer {
  background-color: #e5e5e5;
  color: white;
  padding: 3rem 0 1rem;
  padding-bottom: 190px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 0 15px;
}

.footer-section a {
  color: #000;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.footer-section p {
  color: #000;
  font-size: 12px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.form {
  padding: 40px 24px;
  background-color: #fff;
  width: 100%;
  border-radius: 10px;
}

.form > h2 {
  font-size: 32px;
  font-weight: 400;
}

.form p {
  font-size: 16px;
  margin-bottom: 24px;
}

.form-flex {
  width: 50%;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 0 15px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 142px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-left {
  width: 50%;
}

.hero-right {
  width: 40%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-hero-image {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-btn {
  background: white;
  color: var(--primary-red-hover);
  padding: 12px 24px;
  border: 1px solid var(--primary-red-hover);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 65px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-red);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-red-hover);
}

@media (max-width: 480px) {
  .contact-left {
    margin: 0;
    margin-bottom: 159px;
    width: 100%;
  }

  .contact-right {
    margin-top: 48px;
    margin-bottom: 32px;
  }

  .contact-section {
    flex-direction: column-reverse;
    gap: 0;
  }

  .form-flex {
    width: 100%;
  }

  .form-group {
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
  }

  .hero-left {
    width: 100%;
  }
  .hero-left > h1 {
    font-size: 40px;
  }

  .hero-right {
    width: 100%;
  }

  .mobile-hero-image {
    display: block;
    margin-top: 24px;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    width: 100%;
  }

  .stat-even {
    width: 100%;
    margin-top: 0;
  }

  .team-leader-card {
    width: 100%;
  }

  .web-hero-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .first {
    display: none;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-btn {
    display: none;
  }
}
