.main{
  margin-top: -30px;
  font-family: 'Poppins';
  background:#f6f6f6;
  text-align:center;
  text-align: justify;
}

.side_space {
    width: 100%;
}

.side_space-inner {
    padding: 0 140px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .side_space-inner {
        padding: 0 20px;
    }
}

.services-hero {
  margin-bottom: 2px;
  text-align: left;
  background: linear-gradient(90deg, #071a3c, #380d0d);
  color:#fff;
  padding:50px 135px;
}

.services-hero h1{
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin:2px 0;
}


/* Tablet */
@media (max-width: 992px) {
  .services-hero {
    padding: 50px 30px;   /* Tablet */
  }
  
  .services-hero h1{
    font-size: 22px;     /* Tablet */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .services-hero {
    padding: 50px 30px;   /* Mobile */
  }
  
  .services-hero h1{
    font-size: 22px;     /* Tablet */
  }
}


.services-hero p{
  padding-top: 5px;
  max-width:80%;
  color: #ffffff;
  opacity:.9;
  line-height:1.2;
}

.services-hero .tag {
  font-size:18px;
  color:#FF0000;
  font-weight: 500;
  line-height: 0px;
}

.service-main {
  padding: 20px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.service-card {
  background-color: #fff;
  color: black;
}

.service-card img{
  width: 100%;
  aspect-ratio: 5 / 3;
}

.service-card h2 {
  color: #071a3c;
  text-align: left;
  padding: 5px 25px;
}

.service-card p {
  color: black;
  gap: 25px;
  text-align: left;
}

/* HERO */
.hero{
  background:linear-gradient(90deg,#0c1445,#081133);
  color:white;
  padding:80px 60px;
}

.tag{
  color:orange;
  letter-spacing:2px;
}


.team{
    padding: 0 0 100px;
    font-family: "Poppins";
    background: #e6f7f5; /* light teal background */
}

.team-title {
    color:#000000;
    padding:25px 40px;
    margin-bottom: 30px;
}

.team h1{
    font-size:25px;
    font-weight: 500;
    margin-bottom:10px;
    color:#000; /* black heading */
    text-align: center;
}

.subtitle{
    margin-inline-start: 100px;
    margin-inline-end: 100px;
    max-width: 100%;
    color:#000;
    line-height:1.6;
}

/* Cards wrapper */
.team-wrapper{
    padding: 0 40px;
    display:flex;
    justify-content: center;
    gap:30px;
    flex-wrap:wrap;
}

/* Card */
.team-card{
    width:180px;
    padding: 20px 20px 40px 20px;
    margin-bottom: 30px;
    border-radius:20px 20px 20px 20px;
    text-align:center;
    background:#F6FFF8; /* white card */
    position:relative;
    transition:0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* card shadow */
}

.team-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

/* Remove dark gradient */
.team-bg {
  background: #F6FFF8;
}

.avatar-wrapper {
  height: 100px;        
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-avatar {
font-family: 'Poppins';
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e6f7f5; /* light teal */
  color: #000; /* black letter */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

/* Text */
.team-card h3{
    margin:10px 0 5px;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    color:#333; /* black name */
}

.team-card span{
    font-weight: 450;
    color:#A9A9A9; /* dark grey role */
    font-size:14px;
}

/* Responsive */
@media(max-width:768px){
    .team h1{
        font-size:34px;
    }

    .team-card{
        width:180px;
    }
}

/* RESPONSIVE */
@media(max-width:900px){
  .services{grid-template-columns:1fr 1fr;}
}

@media(max-width:600px){
  .services{grid-template-columns:1fr;}
}