/* Base */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: #1a2b4c;
  color: #fff;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo span {
  color: #e60000;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #e60000;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

.btn {
  background: #e60000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #ff1a1a;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  padding: 8px 18px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #1a2b4c;
}

/* Hero */
.hero {
  background: linear-gradient(
      rgba(26, 43, 76, 0.7),
      rgba(26, 43, 76, 0.7)
    ),
    url('https://source.unsplash.com/1600x900/?technology,server') center/cover
      no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-buttons a {
  margin: 0 10px;
}

/* Services */
.services {
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
  color: #1a2b4c;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: #f5f5f5;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
}

.service-card h3 {
  color: #1a2b4c;
  margin-bottom: 15px;
}

/* About */
.about {
  background: #1a2b4c;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.about h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Case Studies */
.case-studies {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}

.case-studies h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
  color: #1a2b4c;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.case-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  text-align: left;
  transition: transform 0.3s ease;
  color: #333;
}

.case-card:hover {
  transform: translateY(-7px);
}

.case-card h3 {
  margin-bottom: 15px;
  color: #e60000;
}

/* Testimonials */
.testimonials {
  background: #1a2b4c;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #254070;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  font-style: italic;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.testimonial-card h4 {
  margin: 0;
  font-weight: 700;
  font-style: normal;
  color: #e60000;
  align-self: flex-end;
}

/* Client Logos */
.client-logos {
  padding: 50px 20px;
  background: #f0f0f0;
  text-align: center;
}

.client-logos h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
  color: #1a2b4c;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  align-items: center;
}

.logos-grid img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logos-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* CTA */
.cta {
  background: #e60000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* Contact */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #1a2b4c;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #e60000;
  outline: none;
}

.contact button {
  border: none;
  padding: 14px 20px;
  background: #e60000;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #ff1a1a;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #1a2b4c;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 25px 20px;
    border-radius: 0 0 0 8px;
    z-index: 10;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }

  .service-grid,
  .case-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .logos-grid {
    gap: 20px;
  }
}
