/**
* Template Name: Eterna - v4.9.1
* Template URL: https://bootstrapmade.com/eterna-free-multipurpose-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/


.date-box {
   width: 94px;
    font-size: 80px;
    font-size: 27px;
    font-weight: 300;
    color: #fff;
    line-height: 51px;
    padding: 0 9px;
    border-top: 1px solid #C0392B;
    border-bottom: 1px solid #C0392B;
    background-color: #C0392B;
    margin: 10px;
    /* height: 47px; */
    /* padding-top: 4px; */
    border-radius: 11px;
    float: left;}
.date-box h4{    font-size: 26px;
    font-weight: 700;}
.btn {
    font-weight: 700;
    height: 44px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
 
}

/*
 * Card component
 */
.card {
    background-color: #fff;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top:21px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}



/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.profile-name-card h4{font-size: 17px;
    font-weight: 600;
  
    position: relative;
    font-family: "Poppins", sans-serif;color: #000;}	
.button {
     border-radius: 4px;
    background-color: #16163f;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 22px;
    padding: -6px;
    width: 182px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 2px
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;color: #fff;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}	
.wrap {
    display: flex;
    background: white;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 7px 7px 30px -5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.wrap:hover {
    background: linear-gradient(135deg,#6394ff 0%,#0a193b 100%);
    color: white;
}

.ico-wrap {
    margin: auto;width: 80px;
}

.mbr-iconfont {
    font-size: 4.5rem !important;
    color: #313131;
    margin: 1rem;
    padding-right: 1rem;
}
.vcenter {
    margin: auto;
}

.mbr-section-title3 {
    text-align: left;
}
h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.display-5 {
    font-size: 15px;
}
.mbr-bold {
    font-weight: 700;
}

 p {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 25px; font-family: "Poppins", sans-serif;
}
.display-6 {
    font-size: 16px; font-family: "Poppins", sans-serif;}
.gallery-block.grid-gallery{
  padding-bottom: 60px;
  padding-top: 60px;
}

.gallery-block.grid-gallery .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block.grid-gallery .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery a:hover{
  opacity: 0.8;
}

.gallery-block.grid-gallery .item img{
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
  transition: 0.4s;
}

.gallery-block.grid-gallery .item{
  margin-bottom: 20px;
}

@media (min-width: 576px) {

  .gallery-block.grid-gallery .scale-on-hover:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
  }
}	
.hotal p {
    font-size: 36px;
    line-height: 53px;
    font-family: "Poppins", sans-serif;
    color: #fff;
}
 
 

#news-slider {
    margin-top:0px;
}

.post-slide {
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
}

.post-slide .post-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
   
 
}

.post-slide .post-img img {
    width: 100%;
    height: auto;
    transform: scale(1, 1);
    transition: transform 0.2s linear;
}

.post-slide:hover .post-img img {
    transform: scale(1.1, 1.1);
}

.post-slide .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: linear-gradient(-45deg, rgba(6, 190, 244, 0.75) 0%, rgba(45, 112, 253, 0.6) 100%);
    transition: all 0.50s linear;
}

.post-slide:hover .over-layer {
    opacity: 1;
    text-decoration: none;
}

.post-slide .over-layer i {
    position: relative;
    top: 45%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 25px;
}

.post-slide .post-content {
    background: #fff;
    padding: 2px 20px 40px;
    border-radius: 15px;
}

.post-slide .post-title a {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.post-slide .post-title a:hover {
    text-decoration: none;
    color: #3498db;
}

.post-slide .post-description {
    line-height: 24px;
    color: #808080;
    margin-bottom: 25px;
}

.post-slide .post-date {
    color: #a9a9a9;
    font-size: 14px;
}

.post-slide .post-date i {
    font-size: 20px;
    margin-right: 8px;
    color: #CFDACE;
}

.post-slide .read-more {
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196F3;
    color: #ffffff;
    box-shadow: 0px 10px 20px -10px #1376c5;
    border-radius: 25px;
    text-transform: uppercase;
}

.post-slide .read-more:hover {
    background: #3498db;
    text-decoration: none;
    color: #fff;
}

.owl-controls .owl-buttons {
    text-align: center;
    margin-top: 20px;
}

.owl-controls .owl-buttons .owl-prev {
    background: #fff;
    position: absolute;
    top: -13%;
    left: 15px;
    padding: 0 18px 0 15px;
    border-radius: 50px;
    box-shadow: 3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-next {
    background: #fff;
    position: absolute;
    top: -13%;
    right: 15px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after {
    content: "\f104";
    font-family: FontAwesome;
    color: #333;
    font-size: 30px;
}

.owl-controls .owl-buttons .owl-next:after {
    content: "\f105";
}

@media only screen and (max-width:1280px) {
    .post-slide .post-content {
        padding: 0px 15px 25px 15px;
    }
}

.post-slide .post-imges {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin:-12px 15px 8px 16px;
    width:173px;
}

.post-slide .post-imges img {
    width: 100%;
    height: auto;
    transform: scale(1, 1);
    transition: transform 0.2s linear;
}

.post-slide:hover .post-imges img {
    transform: scale(1.1, 1.1);
}
/*--------------------------------------------------------------
# new
--------------------------------------------------------------*/
#new {
  position: relative;
  width: 100%;
  padding: 100px 0;
  /* countdown */
}

#new h1 {
  margin: 0 0 10px 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#new h2 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 22px;
}
#new h2 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 22px;
}

#new .countdown {
  margin-bottom:0px;
}

#new .countdown div {
  text-align: center;
  margin: 10px;
  width: 100px;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.12);
  border-top: 5px solid #ff0000;
}

#new .countdown div h3 {
  font-weight: 700;
  font-size: 44px;
  margin-bottom: 15px;
}

#new .countdown div h4 {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 575px) {
  #new .countdown div {
    width: 70px;
    padding: 10px 0;
    margin: 10px 8px;
  }

  #new .countdown div h3 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  #new .countdown div h4 {
    font-size: 14px;
    font-weight: 500;
  }
}

#new .subscribe {
  font-size: 15px;
  text-align: center;
}

#new .subscribe h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#new .subscribe .subscribe-form {
  min-width: 300px;
  margin-top: 10px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  text-align: left;
}

#new .subscribe .subscribe-form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#new .subscribe .subscribe-form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #ff0000;
  color: #fff;
  transition: 0.3s;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#new .subscribe .subscribe-form input[type=submit]:hover {
  background: #f50000;
}

#new .subscribe .error-message {
  display: none;
  color: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

#new .subscribe .sent-message {
  display: none;
  color: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

#new .subscribe .loading {
  display: none;
  text-align: center;
  padding: 15px;
}

#new .subscribe .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading-notify 1s linear infinite;
  animation: animate-loading-notify 1s linear infinite;
}



.side {
   padding: 8px 0px 0px 0px;
    text-align: center;
    margin: 0px;
    width: 140px;
    height:51px;
  background:#0a8e9f;
    z-index: 15;
    top:23%;
    border-radius: 5px 5px 0px 0px;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: bottom right;
    position: fixed;
    right: 0px;
}

.side a{
    color:#fff;
    font-size: 15px;
    letter-spacing: 0.5px;
}


.side1 {
   padding: 8px 0px 0px 0px;
    text-align: center;
    margin: 0px;
    width: 140px;
    height:51px;
  background:#06685f;
    z-index: 15;
    top:51%;
    border-radius: 5px 5px 0px 0px;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: bottom right;
    position: fixed;
    right: 0px;
}

.side1 a{
    color:#fff;
    font-size: 15px;
    letter-spacing: 0.5px;
}
/* Global */
/**
* Appointment Button *
*/
.appointment-btn {
    margin-left: 44px;
    background: #16163f;
    color: #fff;
    border-radius: 44px;
    padding: 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    display: inline-block;
    margin-top: 2em;}

.appointment-btn:hover {
  background: #166ab5;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}
/* Equal height and centered logo */
.client-card {
  
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Equal height + flex center */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  overflow: hidden; /* prevent image overflow on zoom */
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Logo size control + zoom animation */
.client-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.client-card:hover .client-logo {
  transform: scale(1.1); /* Zoom effect */
}

/* Link should not disturb alignment */
.client-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .client-card {
    min-height: 120px;
  }
  .client-logo {
    max-height: 60px;
  }
}

@media (max-width: 575px) {
  .client-card {
    min-height: 100px;
  }
  .client-logo {
    max-height: 50px;
  }
}
.client-logos {
     max-width: 100%;
    max-height: 117px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;}
    
    .clients-card {
  
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Equal height + flex center */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  overflow: hidden; /* prevent image overflow on zoom */
}
.nav-link:focus, .nav-link:hover {
    color: #ceaf7f;
}