.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0px 10% 0px 10%;
    background-color: #ffffff;
    margin: 0;
}

.header .text-box{
    padding-top: 15%;
}

.sectors {
    text-align: center;
    margin: 0px auto;
    background-color: #293A4F;
}

.overview-sectors, .overview-services, .overview-team{
    max-width: 1500px;
    margin: auto;
    padding: 0 20px;
}

.sectors h1 {
    font-size: 28px;
    color: #f44336; /* green tone */
    margin-bottom: 30px;
    text-align: left;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.sector-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sector-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sector-card:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 0;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}


.services {
    text-align: center;
    margin: 0px auto;
}

.services h1 {
    font-size: 28px;
    color: #f44336;
    text-align: left;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px 20px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border: 2px solid #7AC142;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f7fdf7;
}

.icon-wrapper i {
    font-size: 30px;
    color: #7AC142;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: left;
}


/* footer */
.footer {
  background: #36454F;
  color: #eee;
  font-family: 'Poppins', sans-serif;
  padding: 1.2rem 0 0.6rem;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-left img {
  width: 8rem;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-center h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.footer-center p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #bbb;
  margin: 0 auto;
  max-width: 600px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.fIcon {
  width: 32px;
  height: 32px;
  background: #00bcd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}

.fIcon:hover {
  background: #fff;
  color: #00bcd4;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: #aaa;
}

.footer-bottom i {
  color: #00bcd4;
  margin: 0 0.25rem;
}


/* Team section - compact, centered, responsive */
.team {
  padding: 2rem 5rem;
  background: #ffffff;
  color: #111;
  font-family: "Poppins", Arial, sans-serif;
  background-color: #cbd3db;
}

.team-header{
    float: left;
}

.team-header h1 {
  font-size: 28px;
  color: #f44336; /* green accent */
  margin: 0 0 1.2rem 0;
  letter-spacing: 1px;
  line-height: 12rem;
}

/* Grid: up to 6 across on large screens, but adapts */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0rem;
  align-items: start;
  margin: 0px auto 0px 20rem;
}

/* Card */
.team-card {
  width: 100%;
  max-width: 200px;       /* keep compact */
  text-align: center;
  line-height: 1.2;
}

/* Avatar circle */
.avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 6px solid rgba(123,189,66,0.06); /* subtle ring */
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Name & role */
.team-info h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  color: #111;
}

.team-info .role {
  font-size: 0.82rem;
  color: #444;
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Keep the entire block compact on smaller screens */

@media (max-width: 1200px) {
    .container.team {
        padding: 2rem 1rem;
    }
    .team-grid{
        margin: 0px auto 0px 15rem;
    }
    .sectors h1, .services h1, .team-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
  .team-grid {
    gap: 1.25rem;
  }
  .avatar-wrap {
    width: 100px;
    height: 100px;
  }
  .team-card {
    max-width: 170px;
  }
  .team-header h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
}

/* Very small screens */
@media (max-width: 420px) {
  .avatar-wrap {
    width: 84px;
    height: 84px;
  }
  .team-info h3 {
    font-size: 0.95rem;
  }
  .team-info .role {
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    margin-top: 0.5rem;
  }
}




@media screen and (max-width: 1024px) {
    .header {
        min-height: 45vh;
    }
}
@media screen and (max-width: 800px) {
    .header {
        min-height: 35vh;
    }
    .team-header h1{
        line-height: 24rem;
    }
}
@media screen and (max-width: 600px) {
    .header {
        min-height: 30vh;
    }
    .team-header {
        float: none;
    }
    .team-header h1{
        line-height: 1em;
    }
    .team-grid{
        margin: 0px auto;
    }
    .sectors h1, .services h1, .team-header h1 {
        text-align: center;
    }
    .sectors h1, .services h1, .team-header h1 {
        font-size: 20px;
    }
}
@media screen and (max-width: 600px) {
    .team-card {
        max-width: 315px;
    }
}