.service-container{
    margin-bottom: 20px;
}

.main-service-container{
    margin-bottom: 20px;
    /* max-width:1100px; */
    padding:80px 20px;
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:20px;
}



.service-card{
  color: var(--white);
  background: var(--green-theme);
  display:flex;
  justify-content:space-around;
  align-items:center;
  overflow: hidden;
}


.service-card:hover, .department-card:hover{
    transform:translateY(-5px);
    box-shadow:
    0 10px 20px var(--green-theme);
}


.service-card::before, .department-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    border-radius:50%;
    right:-120px;
    top:-120px;
    background:rgba(255,255,255,.08);
}

.service-card::after, .department-card::after{
    content:"";
    position:absolute;
    width:170px;
    height:170px;
    bottom:-90px;
    right:40px;
    border-radius:40px;
    background:rgba(255,255,255,.06);
    transform:rotate(-20deg);
}



.card-content{
    z-index:2;
    padding: 0 10px;
}

.tag{

    display:inline-block;
    margin-bottom:15px;

    font-size:.8rem;
    font-weight:600;

    padding:5px 12px;

    border-radius:30px;

    background:rgba(255,255,255,.18);
}



/*  */

.dropdown-list,
.sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-list p, .dropdown-list ul{
    color: #000;
}

.sub-list ul, .sub-list p{
    list-style-type: disc;
    color: #000;
}




/* Header (clickable bar) */
.dropdown-header {
  background: var(--green-theme);
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin: 30px 0 ;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease-in;
}

/* .service-intro{
    padding: 30px 0;
    background: #ecf0f1;

} */

/* .dropdown-header:hover {
  background: #d1d0d0;
  color:#027528;
} */

/* Arrow animation */
.arrow {
  display: inline-block;
  transition: transform 0.3s;
}

/* Sub-list hidden by default */
.sub-list {
    max-height: 0;
    overflow: hidden;
    background: #ecf0f1;
    margin-bottom: 8px;
    border-radius: 5px;
    transition: max-height 0.3s ease;
    padding-left: 15px;
    display: grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    color: #000;
    /* padding: 10px; */
}

/* Sub-list content spacing */
.sub-list .list-item {
  padding: 8px 0;
  border: 1px solid #027528;
  padding: 10px;
}

.list-item h4{
    color: #027528;
    border-bottom: #ccc 1px solid;
    padding: 10px 0;
}

.list-item li, .list-item p{
    font-weight: lighter;
    font-size: 15px;
    margin-left: 20px;
}

.note{
    color: #027528;
    font-style: italic;
}



/* When active */
.sub-list {
  max-height: 100%;
  padding: 10px 15px;
}




/* Responsive */
@media (max-width: 768px) {
  .main-service-container{
    margin-bottom: 10px;
    padding:50px 10px;
    display:grid;
    grid-template-columns: repeat(1, 1fr);
    gap:20px;
  }

    .dropdown-header h2{
        font-size: 15px;
    }

    .sub-list{
          grid-template-columns:repeat(1,1fr);
          gap:10px;
    }

}


/* Small Phones */

@media(max-width:450px){

.services{

    padding:40px 15px;
}

.card{

    padding:25px;
    border-radius:22px;
}

.card h2{

    font-size:1.3rem;
}

.tag{

    font-size:.75rem;
}

.icon-box{

    width:90px;
    height:90px;
}

.icon-box i{

    font-size:50px;
}

}