/* General Styles */
:root {
  --primary-color: #304C89;
  --secondary-color: #FF5733;
  --background-light: #F5F7FA;
  --text-color: #304C89;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.2);
  --transition-default: all 0.3s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1.1em;
}

/* Header */
header {
  background-color: white;
  padding: 1rem 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Navigation Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: var(--primary-color);
}

.menu {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.menu li {
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.2em;
  font-weight: bold;
  transition: var(--transition-default);
}

.menu a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1.25rem;
  background-color: var(--background-light);
}

.hero-title {
  color: var(--primary-color);
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 1rem;
}

/* Key Benefits Section */
.key-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
  flex-wrap: wrap;
}

.benefit-box {
  border: 1px solid var(--primary-color);
  background-color: white;
  color: var(--primary-color);
  font-size: 1.2em;
  font-weight: bold;
  padding: 1.25rem;
  border-radius: 10px;
  text-align: center;
  width: 200px;
  transition: var(--transition-default);
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Section Text Styles */
.services > p,
.expertise > p,
.technology > p,
.why > p {
  text-align: center;
  max-width: 900px;
  margin: 3rem auto;
  font-size: 1.2em;
  line-height: 1.6;
  padding: 0 2rem;
  color: var(--text-color);
}

.technology-text {
  text-align: center;
  max-width: 900px;
  margin: 3rem auto;
  font-size: 1.2em;
  line-height: 1.6;
  padding: 0 2rem;
}

/* Section Headers */
.services h2,
.expertise h2,
.technology h2,
.why h2 {
  text-align: center;
  font-size: 2.5em;
  color: var(--primary-color);
  padding: 2rem 0;
  margin: 2rem auto;
  max-width: 800px;
}

/* Card Styles */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1.25rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-default);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Highlighted Text */
.highlight {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Technology Logos */
.tech-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-logos img {
  width: 100px;
  height: auto;
  opacity: 0.8;
  transition: var(--transition-default);
}

.tech-logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Remote Work Section */
.remote-work {
  text-align: center;
  padding: 4rem 1.25rem;
  background-color: var(--background-light);
}

.carousel {
  max-width: 800px;
  margin: 0 auto;
}

.slide {
  background-color: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 4rem 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 2rem auto 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background-color: var(--primary-color);
  color: white;
  font-size: 1.2em;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition-default);
  box-shadow: var(--shadow-sm);
}

.contact-form button:hover {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .menu.active {
    display: flex;
  }

  .hero-title {
    font-size: 2em;
  }

  .hero-subtitle {
    font-size: 1.2em;
  }

  .key-benefits {
    gap: 1rem;
  }

  .benefit-box {
    width: 100%;
    max-width: 300px;
  }

  .card-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .tech-logos {
    gap: 1rem;
  }

  .tech-logos img {
    width: 80px;
  }

  .contact-form {
    padding: 0 1rem;
  }
}

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

.hero,
.card,
.benefit-box {
  animation: fadeIn 0.6s ease-out;
}
