* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

:root {
  --nav-color: #1565C0;
  --button-text-footer: #0a2e52;
  --badge-color: #1976D2;        
  --extra-color: #ffffff;
  --default-color: #546e7a;
}

/* HERO */
.infra-hero {
  background-image: url('https://images.unsplash.com/photo-1497366216548-3d260c1a7772?q=80&w=2069&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10, 46, 82, 0.9) 0%, rgba(21, 101, 192, 0.8) 100%);
  display: flex; align-items: center; justify-content: center;
}
.infra-hero .container { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-title { color: var(--extra-color); font-size: 56px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.hero-subtitle { color: rgba(255, 255, 255, 0.9); font-size: 20px; max-width: 600px; margin: 0 auto; }

/* Subtitle Styling */
.infra-subtitle { font-size: 18px; color: var(--nav-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.infra-main-heading { color: var(--button-text-footer) !important; font-weight: 700; margin-top: 10px; }

/* CARDS */
.infra-card {
  background-color: var(--extra-color);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nav-color), var(--badge-color));
  transition: width 0.5s ease-in-out;
  z-index: 2;
}

.infra-card:hover::before { width: 100%; }

.infra-card:hover {
  background-color: rgba(21, 101, 192, 0.04);
  border-color: rgba(21, 101, 192, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(21, 101, 192, 0.15);
}

.infra-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(21, 101, 192, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.infra-card:hover .infra-icon-box {
  background-color: var(--nav-color);
  box-shadow: 0 0 20px rgba(21, 101, 192, 0.4);
}

.infra-icon {
  font-size: 28px;
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.infra-card:hover .infra-icon { color: #ffffff; }

.infra-title {
  color: var(--button-text-footer);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.infra-card:hover .infra-title { color: var(--nav-color); }

.infra-desc {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.5;
}

/* Gallery Images */
.infra-gallery-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.infra-gallery-img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .infra-hero { min-height: 300px; }
  .infra-gallery-img { height: 200px; }
}