/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER ===== */
header {
  background-color: #00334d; /* dark teal */
  color: #fff;
  padding: 2rem;
  text-align: center;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 0.8rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s;
}

nav a:hover {
  background-color: #08A04B; /* teal hover */
  color: #fff;
}

/* ✅ ACTIVE PAGE HIGHLIGHT */
nav a.active {
  background-color: #08A04B;; /* green background */
  color: #fff;
}

nav a.active:hover {
  background-color: #08A04B; /* darker green on hover */
}

/* NAVBAR CONTACT BUTTON */
nav a.contact-btn {
  background-color: #2196f3; /* bright blue */
  color: #fff;
}

nav a.contact-btn:hover {
  background-color: #1976d2; /* darker blue hover */
}

/* ===== HERO SECTION ===== */
.hero {
  background: url('../images/hero-image.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 77, 115, 0.5); /* blue overlay */
  z-index: 1;
}

.hero h2, .hero p {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

/* ===== SECTIONS ===== */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0288d1; /* blue heading */
}

section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #555;
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ===== TEAM GRID ===== */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h3 {
  margin-bottom: 0.3rem;
  color: #0277bd; /* team name blue */
}

.team-member p {
  color: #777;
}

/* ===== CALL TO ACTION ===== */
.cta {
  background-color: #0288d1; /* blue background */
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin: 4rem 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta button {
  background-color: #2196f3;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

.cta button:hover {
  background-color: #1976d2;
}

/* ===== FOOTER ===== */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px){
  header h1, .hero h2 {
    font-size: 1.8rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  nav a {
    margin: 0 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 4rem 1rem;
  }
}

/* ===== SERVICE BOXES ===== */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-box {
  display: block;
  width: 300px;
  height: 300px;
  text-align: center;
  background-color: #e0f2f1;
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.service-box h3 {
  color: black;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* SMALL LOGO IN NAV */
nav img.logo-small {
  width: 50px;
  height: auto;
  margin-left: 10px;
  vertical-align: middle;
}
header {
  position: relative;
}
.logo-small {
  width: auto;
  height: 90px;      /* 30px taller */
  position: absolute;
  top: 45px;          /* same vertical position */
  right: 10px;        /* 50px more to the left */
  z-index: 0;         /* stay on bottom layer */
}
