/* Reset & basic styles */
* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: Arial, sans-serif; line-height: 1.6; scroll-behavior: smooth; }

/* Container */
.container { max-width: 1100px; margin: auto; padding: 20px; text-align: center; }

/* Hero section */
.hero {
  position: relative;
  background-image: url('images/hero.jpg'); /* original hero background */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px 120px 20px;
}

/* Header logo */
.header-logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 150px;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: rgba(0, 77, 153, 0.9);
  position: sticky;
  top: 0;
  padding: 10px 0;
  z-index: 1000;
}
.nav a { 
  color: white; 
  text-decoration: none; 
  font-weight: bold; 
  transition: all 0.3s ease;
}
.nav a:hover { color: #ffcc00; }
.nav a.btn {
  background-color: #ffcc00;
  color: #004d99;
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav a.btn:hover {
  background-color: #004d99;
  color: #ffcc00;
  transform: scale(1.05);
}

/* Services Section */
.services { padding: 60px 20px; }
.services h2 { margin-bottom: 40px; color: #004d99; }
.service-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.card { 
  background: #f5f5f5; 
  border-radius: 10px; 
  width: 250px; 
  padding: 20px; 
  text-align: center; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 15px; }
.card h3 { color: #004d99; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Contact Section with ECRA badge */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* vertically center */
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: #e6f2ff;
  position: relative;
}

.contact-info {
  max-width: 500px;
  text-align: left;
}

.contact-ecra {
  flex-shrink: 0;
}

.ecra-large {
  max-width: 360px; /* 3x bigger */
  width: auto;
  height: auto;
}

/* Contact buttons */
.contact .btn {
  background-color: #004d99;
  color: #ffcc00;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.contact .btn:hover {
  background-color: #ffcc00;
  color: #004d99;
  transform: scale(1.05);
}

/* Footer */
footer { background: #333; color: white; padding: 20px 0; }

/* Responsive */
@media(max-width:768px) {
  .service-cards { flex-direction: column; align-items: center; }
  .nav { flex-direction: column; gap: 10px; }
  .contact-container { flex-direction: column; align-items: center; }
  .contact-info { text-align: center; }
  .ecra-large { max-width: 250px; margin-top: 20px; }
}