/* Google font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
}

/* Section Title */
.sectors {
  text-align: center;
  padding: 50px 20px;
}

.sectors .title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.sectors .title span {
  color: #2e5d8b;
}

/* Grid Layout */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* Card */
.sector-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.sector-card:nth-child(2) { animation-delay: 0.2s; }
.sector-card:nth-child(3) { animation-delay: 0.4s; }
.sector-card:nth-child(4) { animation-delay: 0.6s; }

.sector-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sector-card:hover img {
  transform: scale(1.05);
}

/* Header Colors */
.sector-header {
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

.blue { background: #214f8b; }
.yellow { background: #d4a017; }

/* Animation Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sector-card img {
    height: 200px;
  }
}
