/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Sep 12, 2022, 7:04:26 PM
    Author     : Karthikeyan
*/


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
    padding-bottom: 30px;
}

.services .icon-box {
    margin-bottom: 20px;
    padding: 30px 15px;
    border-radius: 6px;
    background: #fff;
}

.services .icon-box i {
    float: left;
    color: #4eb478;
    font-size: 40px;
    line-height: 0;
}

.services .icon-box h4 {
    margin-left: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services .icon-box h4 a {
    /*color: #444444;*/
    color: #ea0e0e;
    transition: 0.3s;
}

.services .icon-box .icon-box:hover h4 a {
    color: #4eb478;
}

.services .icon-box p {
    margin-left: 70px;
    line-height: 24px;
    font-size: 14px;
    color: #2f3091;
    font-family: futura;
}





/*----- Health Tips Section
--------------------------------------------------------------*/
.hrl-tips .grid-item.top-item .hrl-item {
  display: flex;
  background: #000;
  color: #fff;
  margin-bottom: 40px;
}

.grid-item.top-item .hrl-item .text-block {
  width: 48%;
  padding: 125px 80px;
}

.grid-item.top-item .hrl-item .text-block h3 {
  font-size: 2em;
  font-weight: 100;
  line-height: 1;
  color: #fde016;
}

.grid-item.top-item .hrl-item .text-block p {
  /*font-size: 1.6em;*/
  font-size: 1.0em;
  color: #fff;
  /*color: #cdcdcd;*/
}

.grid-item.top-item .hrl-item figure {
  width: 52%;
  margin-top: 20px;
  margin-right: 20px;
  margin-left: 20px;
}

.hrl-tips .hrl-grid-item.bottom-item {
  display: flex;
  margin-bottom: 180px;
}

.hrl-tips .hrl-grid-item.bottom-item .hrl-item {
  width: 33.33%;
  margin-right: 30px;
}

.hrl-tips .hrl-grid-item.bottom-item .hrl-item:last-child {
  margin-right: 0;
}

.hrl-grid-item.bottom-item img {
  width: 100%;
  height: 305px;
  object-fit: cover;
}

.hrl-grid-item.bottom-item h4 {
  font-size: 1.3em;
  font-weight: 500;
}



/*--- Image Hover Effects
-----------------------------------------------*/
.grid figure {
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
  /*object-fit: cover; -- karthikeyan murugan changed the image overflow in the renewable energy */ 
}

figure.effect-zoom-out img {
  opacity: 1;
  -webkit-transition: opacity 0.45s, -webkit-transform 0.45s;
  transition: opacity 0.45s, transform 0.45s;
  -webkit-transform: translate3d(-15px, 0, 0) scale(1.12);
  transform: translate3d(-15px, 0, 0) scale(1.12);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

figure.effect-zoom-out:hover img {
  opacity: 0.5;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.text-hvr-effect .grid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

figure.effect-zoom-out figcaption>.title {
  position: absolute;
  padding: 1em 1.2em;
  left: 28px;
  right: 0;
  bottom: 0;
}

figure.effect-zoom-out p {
  width: 80%;
  border-left: 3px solid #fff;
  opacity: 0;
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
  font-size: 1.2em;
  padding-left: 10px;
  margin: 100px 55px;
}

figure.effect-zoom-out:hover p {
  opacity: 1;
}
