.counter-widget{text-align:center;}
.rl-highlight h2{position:relative;}
.rl-highlight h2:after{position:absolute; content:""; height:1px; width:60px; background:#184D40; bottom:15px; right:-75px;}
.dl-highlight h2{position:relative;}
.dl-highlight h2:before{position:absolute; content:""; height:1px; width:60px; background:#184D40; bottom:15px; left:-75px;}
.dl-highlight h2:after{position:absolute; content:""; height:1px; width:60px; background:#184D40; bottom:15px; right:-75px;}
.approach-badge {
    position: relative;
}

.approach-badge:after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #005A63; /* same BG color */
}

.approach-badge p{margin-bottom:0;}

.approach-badge h6{margin:0; font-size:32;}

/* MAIN WRAPPER: Must be flex */
.services-wrapper {
    display: flex;
    width: 100%;
    gap: 20px;
}

/* EACH BOX (vertical strip) */
.service-box { 
    height: 520px;
    background: #F2F2F3; 
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
    flex-shrink: 0;               /* IMPORTANT */
    cursor: pointer;
}

.service-box .service-icon{margin-top:-100px;}

/* EXPAND ONLY HOVERED BOX */
.service-box:hover {
    width: 1000px;                /* expanded width */ 
}
.service-box.active {
    width: 1000px;                /* expanded width */ 
} 

/* default content */
.service-box .default-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    transition: opacity .3s;
} 

/* vertical text */
.service-box .default-content h3 {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 26px;
    margin: 0;
}

/* hover content hidden initially */
.service-box .hover-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

/* show hover content */
.service-box:hover .hover-content {
    opacity: 1;
    visibility: visible;
} 

/* show hover content */
.service-box.active .hover-content {
    opacity: 1;
    visibility: visible;
} 

/* hide default text on hover */
.service-box:hover .default-content {
    opacity: 0;
    visibility: hidden;
}

/* image full coverage */
.service-box .hover-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* text + button on image */
.service-box .info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

/* button */
.service-box .btn {
    background: #006c70;
    padding: 10px 18px;
    display: inline-block;
    margin-top: 12px;
    border-radius: 6px;
    color: #fff;
}

.hover-card {
  position: relative;
  height: 300px; /* your fixed height */
  box-shadow: 0px 0px 10px 0px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 30px;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

h4.box-title {
	text-align: center !important;
}

/* Normal View Content (Icon + Title) */
.normal-content {
  display: flex;
	left: 0%;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* spacing between icon & title */
  transition: 0.3s ease;
}

/* Description hidden initially */
.box-desc {
  position: absolute;
  opacity: 0;
	padding: 0px 5px;
  transition: 0.3s ease;
}

/* Hide icon + title on hover */
.hover-card:hover .normal-content {
  opacity: 0;
  visibility: hidden;
}

/* Show description at center */
.hover-card:hover .box-desc {
  opacity: 1;
  visibility: visible;
}
.floating-icons {
    position: fixed;
    display: flex;
    bottom: 4%;
    right: 3%;
    flex-direction: column;
    align-items: center;
    z-index: 99;
}
.wa-float {
    background-color: #37bb00;
	box-shadow: 1px 1px 6px 0px;
    width: 57px;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 38px;
    list-style: none;
    height: 57px;
}
.wa-float i {
	font-size: 38px;
	color: #fff;
}
.call-float {
	background-color: #175c65;
	box-shadow: 1px 1px 6px 0px #fff;
	width: 57px;
	text-align: center;
	padding: 10px;
	margin-bottom: 15px;
	border-radius: 38px;
	list-style: none;
	height: 57px;
}
.call-float i {
    font-size: 31px;
    color: #fff;
    padding-top: 3px;
}
.book-float {
    background: #f5888e;
	box-shadow: 1px 1px 6px 0px;
    width: 134px;
    text-align: center;
    padding: 13px;
    margin-bottom: 15px;
    border-radius: 28px;
    list-style: none;
    height: 52px;
}
.book-float a {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
}
.main-float {
	animation: crescendo 1.5s alternate infinite ease-in;
}

.office-contact {
	fill: #fff !important;
	background-color: #175C65;
	padding: 16px 15px 9px;
	border: 1px solid #175C65;
}
.information:hover > .office-contact {
	fill: #175C65 !important;
	background-color: #fff;
	border: 1px solid #175C65;
}

.contact-appoint {
	height: 670px;
	margin-top: -18%;
}

.top-scroll {
    position: relative;
    width: 100%;
    z-index: 999 !important;
    transition: all 0.5s ease-in-out;
}

.top-scroll.is-scroll {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.review-bg:hover .review-text {
	color: #fff;
}

.contact-rise input[type=date], .contact-rise input[type=email], .contact-rise input[type=number], .contact-rise input[type=password], .contact-rise input[type=search], .contact-rise input[type=tel], .contact-rise input[type=text], .contact-rise input[type=url], .contact-rise select, .contact-rise textarea {
	width: 593px;
	background-color: #fff;
	color: #333;
	margin-top: 6px;
	border-radius: 5px;
}

.contact-rise input[type="submit"] {
	border-color: #175c65;
	color: #fff;
}

.categories-post li a {
	color: #005C65;
	font-weight: 600;
}

.categories-post li {
    list-style: none;
    line-height: 35px;
}

.categories-post ul {
    padding-left: 0;
    margin-left: 0;
}

.categories-post h5 {
    font-size: 23px;
    font-weight: 600;
}


/* Animation Keyframes Start */

@keyframes crescendo {
  0%   {transform: scale(1);}
  100% {transform: scale(1.1);}
}

/* Animation Keyframes End */

/* ================================ */
/* RESPONSIVE – TABLET (768–1024px) */
/* ================================ */

@media (max-width: 1024px) {
    .services-wrapper {
        gap: 15px;
    }

    .service-box {
        width: 120px;
        height: 420px;
    }

    .service-box:hover {
        width: 600px;  /* smaller expand */
    }

    .service-box .default-content h3 {
        font-size: 20px;
    }
    .contact-rise input[type=date], .contact-rise input[type=email], .contact-rise input[type=number], .contact-rise input[type=password], .contact-rise input[type=search], .contact-rise input[type=tel], .contact-rise input[type=text], .contact-rise input[type=url], .contact-rise select, .contact-rise textarea {
        width: 387px !important;
    }
}

/* ================================ */
/* RESPONSIVE – MOBILE (0–767px)    */
/* ================================ */

@media (max-width: 767px) {
    .services-wrapper {
        flex-direction: column;
    }

    .service-box {
        width: 100%;
        height: 200px;            /* square-style feel */
    }

    /* ON MOBILE = EXPAND DOWNWARDS */
    .service-box:hover,
    .service-box:active {
        height: 420px;  
        width: 100%;
    }

    /* Image becomes square on expand */
    .service-box .hover-content img {
        height: 100%;
        object-fit: cover;
    }

    .service-box .default-content h3 {
        transform: rotate(0deg);
        font-size: 22px;
    }
    
    .service-box .default-content {
        justify-content: center;
        padding-top: 85px;
    }
    
    .dl-highlight h2:before {
        display: none;
    }
    
    .dl-highlight h2:after {
        display: none;
    }
    
    .contact-rise input[type=date], .contact-rise input[type=email], .contact-rise input[type=number], .contact-rise input[type=password], .contact-rise input[type=search], .contact-rise input[type=tel], .contact-rise input[type=text], .contact-rise input[type=url], .contact-rise select, .contact-rise textarea {
        width: 337px !important;
    }
}

