:root {
  --blue-dark: #0d47a1;
  --blue-main: #1565c0;
  --blue-light: #42a5f5;
  --gray: #555;
  --light: #f5f7fa;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--gray);
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--blue-main);
}

h1, h2, h3 {
  margin: 0 0 15px;
}

nav {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  margin-left: 20px;
  color: var(--gray);
  font-weight: 500;
}

nav a:hover {
  color: var(--blue-main);
}

/* Hero */
.hero {
  background: linear-gradient(rgba(13,71,161,0.7), rgba(13,71,161,0.7)),
              url("https://img.freepik.com/free-photo/it-engineer-in-server-room.jpg") center/cover;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.hero.small {
  padding: 80px 20px;
  background: linear-gradient(rgba(13,71,161,0.8), rgba(13,71,161,0.8)),
              url("https://img.freepik.com/free-photo/modern-office.jpg") center/cover;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--blue-light);
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--blue-main);
}

/* Sections */
section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--blue-dark);
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  color: var(--blue-main);
}

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card img {
  height: 60px;
  margin-bottom: 15px;
}

/* Team */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team div {
  flex: 1 1 250px;
  text-align: center;
}

.team img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Clients */
.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.clients img {
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.clients img:hover {
  opacity: 1;
  filter: none;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  flex: 1 1 300px;
  background: var(--light);
  border-radius: 12px;
  padding: 25px;
  font-size: 0.95rem;
  position: relative;
}

.testimonial::before {
  content: "“";
  font-size: 3rem;
  color: var(--blue-light);
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial h4 {
  margin-top: 20px;
  font-weight: 600;
  color: var(--blue-dark);
}

.testimonial span {
  font-size: 0.85rem;
  color: #777;
}

/* Cases */
.cases {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.case {
  background: #fff;
  border-left: 6px solid var(--blue-main);
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  color: white;
  text-align: center;
  padding: 60px 20px;
  border-radius: 12px;
}

.cta h2 {
  color: white;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 40px 20px;
  margin-top: 60px;
}

footer .footer-grid {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}footer h4 {
  color: white;
  margin-bottom: 15px;
}

footer a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

footer p {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .services, .stats, .testimonials, .team {
    flex-direction: column;
    align-items: center;
  }
}