/* 

TemplateMo 562 Space Dynamic

https://templatemo.com/tm-562-space-dynamic

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 50%;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 30px;
  color: #2a2a2a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #03a4ed;
  color: #fff;
}

::-moz-selection {
  background: #03a4ed;
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.page-section {
  margin-top: 120px;
}

.section-heading h2 {
  font-size: 30px;
  text-transform: capitalize;
  color: #2a2a2a;
  font-weight: 700;
  letter-spacing: 0.25px;
  position: relative;
  z-index: 2;
  line-height: 44px;
}

.section-heading h2 em {
  font-style: normal;
  color: #28a745;
}

.section-heading h2 span {
  color: #FF7F27;
}

.main-blue-button a {
  display: inline-block;
  background-color: #03a4ed;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
}

.main-red-button a {
  display: inline-block;
  background-color: #28a745;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
}

.main-white-button a {
  display: inline-block;
  background-color: #fff;
  font-size: 15px;
  font-weight: 400;
  color: #fe3f40;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
}

/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.background-header {
  background-color: #fff!important;
  height: 80px!important;
  position: fixed!important;
  top: 0px;
  left: 0px;
  right: 0px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #1e1e1e!important;
}

.background-header .main-nav .nav li:hover a {
  color: #fe3f40!important;
}

.background-header .nav li a.active {
  color: #fe3f40!important;
}

.header-area {
  background-color: #fafafa;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header-area .main-nav .logo h4 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #03a4ed;
    line-height: 100px;
    float: left;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.logo h4 span {
  color: #fe3f40;
}

.background-header .main-nav .logo h4 {
  line-height: 80px;
}

.background-header .main-nav .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
  padding-left: 40px;
}

.header-area .main-nav .nav li:last-child a ,
.background-header .main-nav .nav li:last-child a {
  color: #fff !important;
  padding: 0px 20px;
  font-weight: 400;
}

.header-area .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li:last-child a.active {
  color: #fff !important;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: #2a2a2a;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li a {
  color: #2a2a2a;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #28a745!important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #28a745!important;
  opacity: 1;
}

.header-area .main-nav .nav li:last-child a:hover ,
.background-header .main-nav .nav li:last-child a:hover {
  background-color: #03a4ed;
}

.header-area .main-nav .nav li.submenu {
  position: relative;
  padding-right: 30px;
}

.header-area .main-nav .nav li.submenu:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #2a2a2a;
  position: absolute;
  right: 18px;
  top: 12px;
}

.background-header .main-nav .nav li.submenu:after {
  color: #2a2a2a;
}

.header-area .main-nav .nav li.submenu ul {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 50px;
  opacity: 0;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.header-area .main-nav .nav li.submenu ul li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.submenu ul li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.submenu ul li a:hover {
  background: #fff;
  color: #fe3f40!important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.submenu ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.submenu:hover ul {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #fe3f40;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 992px) {
  .header-area .main-nav .nav li:last-child  ,
  .background-header .main-nav .nav li:last-child {
    display: none;
  }
  .header-area .main-nav .nav li:nth-child(6),
  .background-header .main-nav .nav li:nth-child(6) {
    padding-right: 0px;
  }
}

@media (max-width: 767px) {
  .background-header .main-nav .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #28a745!important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  .header-area {
    background-color: #f7f7f7;
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .background-header .nav {
    margin-top: 80px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 100px;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #28a745!important;
  }
  .header-area .main-nav .nav li.submenu ul {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
  }
  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }
  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }
  .header-area .main-nav .nav li.submenu ul.active {
    height: auto !important;
  }
  .header-area .main-nav .nav li.submenu:after {
    color: #3B566E;
    right: 25px;
    font-size: 14px;
    top: 15px;
  }
  .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

/* 
---------------------------------------------
preloader
--------------------------------------------- 
*/

.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@-webkit-keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@-webkit-keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: #fe3f40;
    border-radius: 50%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-animation: dot 2.8s infinite;
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    -webkit-animation: dots 2.8s infinite;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: #fe3f40;
    border-radius: 50%;
}



/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 226px 0px 120px 0px;
  position: relative;
  overflow: hidden;
}

.main-banner:after {
  content: '';
  background-image: url(../images/baner-dec-left.png);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 100px;
  width: 193px;
  height: 467px;
}

.main-banner:before {
  content: '';
  background-image: url(../images/baner-dec-right.png);
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 100px;
  width: 98px;
  height: 290px;
}

.main-banner .left-content {
  margin-right: 45px;
}

.main-banner .left-content h6 {
  text-transform: uppercase;
  font-size: 18px;
  color: #FF7F27;
  margin-bottom: 15px;
}

.main-banner .left-content h2 {
  font-size: 50px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 72px;
}

.main-banner .left-content h2 em {
  color: #FF7F27;
  font-style: normal;
}

.main-banner .left-content h2 span {
  color: #28a745;
}

.main-banner .left-content p {
  margin: 20px 0px;
}

.main-banner .left-content form {
  margin-top: 30px;
  width: 470px;
  height: 66px;
  position: relative;
}

.main-banner .left-content form button {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-block;
  background-color: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #fe3f40;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  outline: none;
  border: none;
}

.main-banner .left-content form input {
  width: 470px;
  height: 66px;
  background-color: #03a4ed;
  border-radius: 33px;
  border: none;
  outline: none;
  padding: 0px 25px;
  color: #fff;
  letter-spacing: 0.25px;
  font-size: 15px;
  font-weight: 300;
}

.main-banner .left-content form input::placeholder {
  color: #fff;
}



/* 
---------------------------------------------
About Us Style
--------------------------------------------- 
*/

#about {
  margin-top: 120px;
}

.about-us {
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 140px 0px 120px 0px;
}

.about-us .left-image {
  margin-right: 45px;
}

.about-us .services .item {
  margin-bottom: 30px;
}

.about-us .services .item .icon {
  float: left;
  margin-right: 25px;
}

.about-us .services .item .icon img {
  max-width: 70px;
}

.about-us .services .item h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-us .services .item p {
  color: #fff;
}


/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.our-services {
  margin-top: 0px;
  padding-top: 120px;
}

.our-services .left-image {
  margin-right: 45px;
}

.our-services .section-heading h2 {
  margin-right: 100px;
}

.our-services .section-heading p {
  margin-top: 30px;
  margin-bottom: 60px;
}

.our-services .progress-skill-bar {
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}

.our-services .progress-skill-bar span {
  position: absolute;
  top: 0;
  font-size: 18px;
  font-weight: 600;
  color: #03a4ed;
}

.our-services .first-bar span {
  left: 69%;
}

.our-services .second-bar span {
  left: 81%;
}

.our-services .third-bar span {
  left: 88%;
}

.our-services .progress-skill-bar h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 14px;
}

.our-services .progress-skill-bar .full-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: #f7eff1;
  position: relative;
  z-index: 1;
}

.our-services .progress-skill-bar .filled-bar {
  background: rgb(255,77,30);
  background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);
  height: 6px;
  border-radius: 3px;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
}

.our-services .first-bar .filled-bar {
  width: 71%;
}

.our-services .second-bar .filled-bar {
  width: 83%;
}

.our-services .third-bar .filled-bar {
  width: 90%;
}


/* 
---------------------------------------------
Portfolio
--------------------------------------------- 
*/

.our-portfolio {
  padding-top: 120px;
  margin-top: 0px;
}

.our-portfolio .section-heading h2 {
  text-align: center;
  margin: 0px 90px 0px 90px;
  margin-bottom: 120px;
  position: relative;
  z-index: 1;
}

.our-portfolio .item {
  position: relative;
}

.our-portfolio .item:hover .hidden-content {
  top: -100px;
  opacity: 1;
  visibility: visible;
}

.our-portfolio .item:hover .showed-content {
  top: 90px;
}

.our-portfolio .hidden-content {
  background: rgb(255,77,30);
  background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  top: 0;
  visibility: hidden;
  position: absolute;
  z-index: 2;
  transition: all 0.5s;
}

.our-portfolio .hidden-content:after {
  width: 20px;
  height: 20px;
  position: absolute;
  background: rgb(255,77,30);
  content: '';
  left: 50%;
  bottom: -8px;
  margin-left: -5px;
  transform: rotate(45deg);
  background: linear-gradient(105deg, rgba(255,52,69,1) 0%, rgba(255,51,78,1) 100%);
  z-index: -1;
}

.our-portfolio .hidden-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.our-portfolio .hidden-content p {
  color: #fff;
}

.our-portfolio .showed-content {
  top: 0px;
  position: relative;
  z-index: 3;
  background-color: #fff;
  text-align: center;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  transition: all 0.5s;
}

.our-portfolio .showed-content img {
  max-width: 100px;
}


/* 
---------------------------------------------
Blog
--------------------------------------------- 
*/

.our-blog {
  position: relative;
  margin-top: 80px;
  padding-top: 120px;
}

.our-blog .section-heading h2 {
  margin-right: 180px;
}

.our-blog .top-dec {
  text-align: right;
  margin-top: -80px;
}

.our-blog .top-dec img {
  max-width: 270px;
}

.our-blog .left-image {
  position: relative;
}

.our-blog .left-image img {
  border-radius: 20px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

.our-blog .left-image .info {
  position: relative;
}

.our-blog .left-image .info .inner-content {
  background-color: #fff;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
  border-radius: 20px;
  margin-right: 75px;
  position: absolute;
  margin-top: -100px;
  padding: 30px;
}

.our-blog .left-image ul li {
  display: inline-block;
  font-size: 15px;
  color: #afafaf;
  font-weight: 300;
  margin-right: 20px;
}

.our-blog .left-image ul li:last-child {
  margin-right: 0px;
}

.our-blog .left-image ul li i {
  color: #ff4d61;
  font-size: 16px;
  margin-right: 8px;
}

.our-blog .left-image h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 20px 0px 15px 0px;
}

.our-blog .left-image .info .main-blue-button {
  position: absolute;
  bottom: -80px;
  left: 0;
}

.our-blog .right-list {
  margin-left: 30px;
}

.our-blog .right-list ul li {
  display: inline-flex;
  width: 100%;
  margin-bottom: 30px;
}

.our-blog .right-list .left-content {
  margin-right: 45px;
}

.our-blog .right-list .left-content span {
  font-size: 15px;
  color: #afafaf;
  font-weight: 300;
}

.our-blog .right-list .left-content span i {
  color: #ff4d61;
  font-size: 16px;
  margin-right: 8px;
}

.our-blog .right-list .left-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 20px 0px 15px 0px;
}


.our-blog .right-list .right-image img {
  width: 250px;
  border-radius: 20px;
}


/* 
---------------------------------------------
contact
--------------------------------------------- 
*/

.contact-us {
  padding: 160px 0px;
  background-image: url(../images/contact-bg.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.contact-us .section-heading h2,
.contact-us .section-heading h2 em,
.contact-us .section-heading h2 span {
  color: #fff;
}

.contact-us .section-heading p {
  color: #fff;
  margin-top: 30px;
}

.phone-info {
  margin-top: 40px;
}

.phone-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.phone-info h4 span i {
  width: 46px;
  height: 46px;
  display: inline-block;
  text-align: center;
  line-height: 46px;
  background-color: #fff;
  border-radius: 50%;
  color: #ff3b2c;
  font-size: 22px;
  margin-left: 30px;
  margin-right: 15px;
}

.phone-info h4 span a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

form#contact .contact-dec {
  position: absolute;
  right: -166px;
  bottom: 0;
}

form#contact .contact-dec img {
  max-width: 178px;
}

form#contact {
  margin-left: 30px;
  position: relative;
  background-color: #fff;
  padding: 60px 30px;
  border-radius: 20px;
}

form#contact input {
  width: 100%;
  height: 46px;
  border-radius: 33px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 0px 20px;
  margin-bottom: 20px;
}

form#contact input::placeholder {
  color: #2a2a2a;
}

form#contact textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 180px;
  min-height: 140px;
  height: 140px;
  border-radius: 20px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 15px 20px;
  margin-bottom: 20px;
}

form#contact textarea::placeholder {
  color: #2a2a2a;
}

form#contact button {
  display: inline-block;
  background-color: #03a4ed;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  border: none;
  outline: none;
  transition: all .3s;
}

form#contact button:hover {
  background-color: #fe3f40;
}


/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

footer p {
  text-align: center;
  margin: 30px 0px 45px 0px;
}

footer p a {
  color: #fe3f40;
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1645px) {
  form#contact .contact-dec {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-banner {
    padding-top: 196px;
  }
  .main-banner .left-content {
    margin-right: 0px;
    text-align: center;
    margin-bottom: 45px;
  }
  .main-banner:after {
    top: 76px;
    z-index: -1;
  }
  .main-banner .left-content form,
  .main-banner .left-content form input {
    width: 100%!important;
  }
  #about {
    margin-top: 0px;
  }
  .about-us {
    position: relative;
    background-image: none;
    padding: 0px;
  }
  .about-us .left-image {
    margin-right: 0px;
    position: absolute;
    bottom: -220px;
    right: 0;
  }
  .about-us .services {
    text-align: center;
  }
  .about-us .services .item  {
    background: rgb(255,77,30);
    background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);
    padding: 30px;
    border-radius: 20px;
    display: inline-block;
  }
  .about-us .services .item .right-text {
    text-align: left;
  }
  .our-services {
    margin-top: 200px;
  }
  .our-services .left-image {
    margin-right: 0px;
    margin-bottom: 45px;
  }
  .our-services .section-heading h2,
  .our-services .section-heading p {
    margin-right: 0px;
    text-align: center;
  }
  .our-portfolio .section-heading h2 {
    margin: 0px 0px 80px 0px;
  }
  .our-portfolio .item {
    margin-bottom: 15px;
  }
  .our-blog {
    margin-top: 0px;
  }
  .our-blog .top-dec {
    display: none;
  }
  .our-blog .section-heading h2 {
    margin-right: 0px;
    text-align: center;
    margin-bottom: 45px;
  }
  .our-blog .left-image .info .inner-content {
    position: relative;
    margin-right: 0px;
  }
  .our-blog .left-image .info .main-blue-button {
    position: relative;
    bottom: 0px;
    margin-top: 30px;
  }
  .our-blog .left-image {
    margin-bottom: 45px;
  }
  .contact-us {
    margin-top: 60px;
    padding: 120px 0px;
  }
  .contact-us .section-heading {
    text-align: center;
  }
  form#contact {
    margin-left: 0px;
    margin-top: 30px;
  }
  form#contact .contact-dec {
    display: none;
  }
  footer p {
    margin: 15px 0px 30px 0px;
  }
}

@media (max-width: 767px) {
  .about-us .left-image {
    bottom: -280px;
  }
  .our-blog .right-list {
    margin-left: 0px;
  }
  .our-blog .right-list ul li {
    display: inline-block;
    margin-top: 0px;
    padding-top: 30px;
    border-top: 1px solid #eee;
  }
  .our-blog .right-list .left-content {
    margin-right: 0px;
    width: 100%;
    margin-bottom: 15px;
  }
  .our-blog .right-list .right-image,
  .our-blog .right-list .right-image img {
    width: 100%;
  }
  .phone-info h4 span {
    display: block;
    margin-top: 15px;
  }
  .phone-info h4 span i {
    margin-left: 0px;
  }
}

/* Logo PNG */
.header-area .main-nav .logo {
  display: flex;
  align-items: center;
  line-height: normal; /* para que no fuerce el alto del texto viejo */
  height: 100%;
  margin: 0;
  padding: 0;
}

.header-area .main-nav .logo .logo-img {
  display: block;
  width: auto;
  max-height: 90px;
  margin-top: 0; /* quita el empuje */
}

/* Cuando el header se hace pequeño al bajar */
.background-header .main-nav .logo .logo-img {
  max-height: 80px;   /* más pequeño para que quepa */
  margin-top: 0;      /* IMPORTANTÍSIMO */
}

/* Base del botón en header */
.header-area .main-nav .nav li:last-child a,
.background-header .main-nav .nav li:last-child a {
  background-color: #28a745 !important;
  color: #fff !important;
  border-radius: 23px;
  transition: background-color 0.3s ease;
}

/* Hover */
.header-area .main-nav .nav li:last-child a:hover,
.background-header .main-nav .nav li:last-child a:hover {
  background-color: #218838 !important;
}

.intro-block-content__social {
  display: flex;
  align-items: center;
  gap: 12px;            /* espacio entre iconos */
  list-style: none;     /* quita viñetas */
  padding: 0;
  margin: 0;
}

.intro-block-content__social li {
  margin: 0;
}

/* ===== Centrar main-banner en responsive ===== */
@media (max-width: 991px) {

  /* Contenedor de texto del banner */
  .main-banner .left-content {
    text-align: center !important;
    margin-bottom: 30px;
  }

  /* Subtítulo / título / párrafo */
  .main-banner .left-content h6,
  .main-banner .left-content h2,
  .main-banner .left-content p {
    text-align: center !important;
  }

  /* Lista de redes (si está dentro del banner) */
  .main-banner .intro-block-content__social {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 15px 0 20px 0;
    list-style: none;
  }

  /* Centrar formulario/botón del banner si existe */
  .main-banner .search-input {
    margin: 0 auto !important;
    text-align: center;
  }

  /* Centrar botón suelto si usas uno */
  .main-banner .main-blue-button,
  .main-banner .main-red-button {
    text-align: center;
  }

  /* Imagen derecha centrada */
  .main-banner .right-image {
    text-align: center !important;
    margin-top: 20px;
  }

  .main-banner .right-image img {
    margin: 0 auto;
    display: block;
  }
}

/* Main banner: texto por delante de la imagen */
.main-banner .left-content.header-text {
  position: relative;
  z-index: 3;
}

.main-banner .right-image {
  position: relative;
  z-index: 1;
}

/* ===== About Us: imagen completa, proporcional y armoniosa ===== */
.about-us .left-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.about-us .left-image img {
  width: 100%;
  max-width: 100%;
  height: auto;           /* NO deforma */
  object-fit: contain;    /* por si alguna regla de la plantilla mete height */
  display: block;
  border-radius: 18px;    /* opcional */
  box-shadow: 0 8px 22px rgba(0,0,0,0.12); /* opcional, se ve más bonito */
}

/* Ajuste visual para desktop */
.about-us .left-image img {
  max-width: 92%;
}

/* ===== About Us - texto institucional (reemplaza los services) ===== */
.about-us .about-school-content {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 28px 32px;
  color: #fff;
  backdrop-filter: blur(2px); /* opcional, si no te gusta lo quitas */
}

.about-us .about-school-content h3 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-us .about-school-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-us .about-school-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .about-us .about-school-content {
    margin-top: 25px;
    padding: 22px 20px;
    text-align: center;
  }

  .about-us .about-school-content h3 {
    font-size: 28px;
  }

  .about-us .about-school-content p {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ===== ABOUT US responsive fix ===== */
@media (max-width: 991px) {

  /* Sección con más aire en tablet/móvil */
  .about-us {
    min-height: auto !important;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  /* Centrar columnas y evitar superposición */
  .about-us .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Imagen */
  .about-us .left-image {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    margin-bottom: 0;
  }

  .about-us .left-image img {
    width: 100%;
    max-width: 520px;   /* evita que se haga gigante */
    height: auto !important;
    object-fit: contain !important;
    display: block;
    border-radius: 14px;
  }

  /* Tarjeta de texto */
  .about-us .about-school-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 22px 20px;
    text-align: center;
    border-radius: 16px;
  }

  .about-us .about-school-content h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .about-us .about-school-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
}

/* ===== móvil pequeño ===== */
@media (max-width: 575px) {
  .about-us .left-image {
    padding: 0 6px;
  }

  .about-us .left-image img {
    max-width: 100%;
    border-radius: 12px;
  }

  .about-us .about-school-content {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .about-us .about-school-content h3 {
    font-size: 24px;
  }

  .about-us .about-school-content p {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 991px) {
  .about-us .about-school-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 3;
  }

  .about-us .left-image {
    position: relative;
    z-index: 2;
  }
}

/* ===== ABOUT responsive overlay (texto sobre imagen) ===== */
@media (max-width: 991px) {
  .about-us {
    min-height: auto !important;
    padding: 50px 0 70px 0;
  }

  .about-us .container {
    position: relative;
    z-index: 2;
  }

  .about-us .row {
    position: relative;
    display: block;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Contenedor visual de la imagen */
  .about-us .left-image {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    z-index: 1;
  }

  .about-us .left-image img {
    width: 100%;
    max-width: 900px;
    height: auto !important;
    display: block;
    border-radius: 16px;
    object-fit: contain !important;
  }

 /* ===== About responsive: texto encima de la imagen SIEMPRE ===== */
@media (max-width: 991px) {
  .about-us .row {
    position: relative;
    min-height: 520px; /* ajusta según tu imagen */
  }

  /* Imagen como base */
  .about-us .left-image {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 10px;
  }

  .about-us .left-image img {
    width: 100%;
    max-width: 520px;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
  }

/* ===== ABOUT responsive limpio: texto arriba, imagen abajo ===== */
@media (max-width: 991px) {
  .about-us {
    min-height: auto !important;
    padding: 55px 0 80px 0;
  }

  /* Reset de overlays anteriores */
  .about-us .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 18px;
    position: relative;
    min-height: auto !important;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    position: static !important;
  }

  /* TEXTO primero */
  .about-us .col-lg-8.align-self-center {
    order: 1;
  }

  .about-us .about-school-content {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;

    width: calc(100% - 24px);
    max-width: 700px;
    margin: 0 auto !important;
    z-index: auto !important;

    background: rgba(0, 0, 0, 0.42);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .about-us .about-school-content h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
  }

  .about-us .about-school-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.96);
  }

  .about-us .about-school-content p:last-child {
    margin-bottom: 0;
  }

  /* IMAGEN después del texto */
  .about-us .col-lg-4 {
    order: 2;
  }

  .about-us .left-image {
    position: static !important;
    z-index: auto !important;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    margin-top: 6px; /* separación extra */
  }

  .about-us .left-image img {
    width: 100%;
    max-width: 520px;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
  }
}

/* ===== móvil pequeño ===== */
@media (max-width: 575px) {
  .about-us .row {
    gap: 14px;
  }

  .about-us .about-school-content {
    width: calc(100% - 16px);
    padding: 16px 12px;
    border-radius: 14px;
  }

  .about-us .about-school-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .about-us .about-school-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .about-us .left-image {
    padding: 0 6px;
    margin-top: 4px;
  }

  .about-us .left-image img {
    max-width: 100%;
    border-radius: 12px;
  }
    }
  }
}

/* ===== ABOUT: evitar punto intermedio feo (tablet/desktop pequeño) ===== */
@media (max-width: 1100px) {
  .about-us {
    min-height: auto !important;
    padding: 70px 0 90px 0;
  }

  .about-us .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 18px;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Texto arriba */
  .about-us .col-lg-8.align-self-center {
    order: 1;
  }

  .about-us .about-school-content {
    position: static !important;
    transform: none !important;
    width: calc(100% - 28px);
    max-width: 760px;
    margin: 0 auto !important;
    padding: 22px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .about-us .about-school-content h3 {
    font-size: 30px;
    line-height: 1.2;
  }

  .about-us .about-school-content p {
    font-size: 16px;
    line-height: 1.65;
  }

  /* Imagen abajo */
  .about-us .col-lg-4 {
    order: 2;
  }

  .about-us .left-image {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    margin-top: 4px;
  }

  .about-us .left-image img {
    width: 100%;
    max-width: 520px;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
  }
}

/* =========================================================
   ABOUT US - FIX GLOBAL (desktop / intermedio / móvil)
   ========================================================= */

/* Base */
.about-us {
  background-color: #f3f3f3;   /* respaldo visual */
  min-height: 680px;
  position: relative;
}

.about-us .container,
.about-us .row,
.about-us .left-image,
.about-us .about-school-content {
  position: relative;
  z-index: 2;
}

/* Imagen (base) */
.about-us .left-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us .left-image img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  border-radius: 14px;
}

/* Tarjeta texto (base) */
.about-us .about-school-content {
  border-radius: 16px;
  padding: 24px 22px;
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.about-us .about-school-content h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-us .about-school-content p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 12px;
}

.about-us .about-school-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   1) DESKTOP GRANDE (mantener 2 columnas)
   ========================================================= */
@media (min-width: 1200px) {
  .about-us {
    min-height: 760px;   /* sube para evitar cortes */
    padding-top: 120px;
    padding-bottom: 140px;
    background-color: #f3f3f3;
  }

  .about-us .row {
    display: flex;
    align-items: center;
  }

  .about-us .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .about-us .col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }

  .about-us .left-image {
    padding: 0 10px;
  }

  .about-us .left-image img {
    max-width: 95%;
  }

  .about-us .about-school-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding: 28px 32px;
  }

  .about-us .about-school-content h3 {
    font-size: 32px;
    line-height: 1.2;
  }

  .about-us .about-school-content p {
    font-size: 17px;
    line-height: 1.75;
  }
}

/* =========================================================
   2) RANGO INTERMEDIO (tablets y desktop pequeño)
   Forzar apilado + fondo gris para evitar glitches
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
  .about-us {
    min-height: auto !important;
    padding-top: 70px;
    padding-bottom: 90px;
    background-color: #f3f3f3 !important;
  }

  /* Si el decorativo está en pseudo-elementos, lo apagamos aquí */
  .about-us::before,
  .about-us::after {
    opacity: 0 !important;
  }

  /* Si el decorativo está como background-image */
  .about-us {
    background-image: none !important;
  }

  .about-us .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    position: static !important;
  }

  /* Texto arriba */
  .about-us .col-lg-8.align-self-center {
    order: 1;
  }

  .about-us .about-school-content {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 0 auto !important;
    z-index: auto !important;
    text-align: center;
    background: rgba(0,0,0,0.42);
    padding: 22px 20px;
    border-radius: 16px;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .about-us .about-school-content h3 {
    font-size: 30px;
    line-height: 1.2;
  }

  .about-us .about-school-content p {
    font-size: 16px;
    line-height: 1.65;
  }

  /* Imagen abajo */
  .about-us .col-lg-4 {
    order: 2;
  }

  .about-us .left-image {
    padding: 0 14px;
    margin-top: 2px;
  }

  .about-us .left-image img {
    max-width: 560px;
  }
}

/* =========================================================
   3) MÓVIL
   ========================================================= */
@media (max-width: 767px) {
  .about-us {
    min-height: auto !important;
    padding-top: 55px;
    padding-bottom: 80px;
    background-color: #f3f3f3 !important;
    background-image: none !important;
  }

  .about-us::before,
  .about-us::after {
    opacity: 0 !important;
  }

  .about-us .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px;
  }

  .about-us .col-lg-4,
  .about-us .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .about-us .col-lg-8.align-self-center {
    order: 1;
  }

  .about-us .about-school-content {
    position: static !important;
    transform: none !important;
    width: calc(100% - 16px);
    max-width: 100%;
    margin: 0 auto !important;
    text-align: center;
    background: rgba(0,0,0,0.42);
    padding: 16px 12px;
    border-radius: 14px;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .about-us .about-school-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .about-us .about-school-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .about-us .col-lg-4 {
    order: 2;
  }

  .about-us .left-image {
    padding: 0 6px;
    margin-top: 4px;
  }

  .about-us .left-image img {
    max-width: 100%;
    border-radius: 12px;
  }
}

/* =========================================================
   4) PANTALLAS MUY GRANDES
   ========================================================= */
@media (min-width: 1600px) {
  .about-us {
    min-height: 860px;
    padding-top: 145px;
    padding-bottom: 170px;
  }
}

@media (min-width: 1900px) {
  .about-us {
    min-height: 940px;
    padding-top: 165px;
    padding-bottom: 190px;
  }
}

/* Quitar línea/sombra fea encima del banner About */
.about-us,
.about-us::before,
.about-us::after,
.about-us .container,
.about-us .services {
  box-shadow: none !important;
  filter: none !important;
}

.about-us {
  background-color: #ffffff !important;
}

.about-us {
  min-height: 680px;
}

/* Evitar corte del banner decorativo en pantallas grandes */
.about-us {
  overflow: visible !important;
}

@media (min-width: 1400px) {
  .about-us {
    min-height: 820px !important;
    padding-top: 130px !important;
    padding-bottom: 170px !important;
  }
}

@media (min-width: 1700px) {
  .about-us {
    min-height: 920px !important;
    padding-top: 150px !important;
    padding-bottom: 190px !important;
  }
}

@media (min-width: 1900px) {
  .about-us {
    min-height: 980px !important;
    padding-top: 165px !important;
    padding-bottom: 210px !important;
  }
}

/* =========================================================
   ABOUT US - Desktop grande
   Mantiene banner SIN cortar + centra imagen/texto horizontalmente
   ========================================================= */
@media (min-width: 1200px) {
  /* IMPORTANTE: mantener lo que ya te funcionó */
  .about-us {
    min-height: 680px !important;   /* ← este fue el que te sirvió */
    overflow: visible !important;
    /* NO tocar padding-top/padding-bottom aquí */
  }

  /* Reset de estilos conflictivos de la plantilla */
  .about-us .row,
  .about-us .col-lg-4,
  .about-us .col-lg-8,
  .about-us .left-image,
  .about-us .services,
  .about-us .about-school-content {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Centrar el conjunto imagen + texto dentro del banner */
  .about-us .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    min-height: 500px !important; /* área útil, pero sin empujar el banner */
  }

  /* Columna imagen */
  .about-us .col-lg-4 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .about-us .left-image {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .about-us .left-image img {
    display: block !important;
    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 12px;
  }

  /* Columna texto */
  .about-us .col-lg-8.align-self-center {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .about-us .services {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .about-us .about-school-content {
    width: 640px !important;
    max-width: 640px !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    border-radius: 14px;
    text-align: left;
  }

  .about-us .about-school-content h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
  }

  .about-us .about-school-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 8px 0 !important;
  }

  .about-us .about-school-content p:last-child {
    margin-bottom: 0 !important;
  }
}

/* Ultra wide: solo escalar contenido un poco, sin tocar altura del banner */
@media (min-width: 1800px) {
  .about-us .row {
    gap: 32px !important;
    min-height: 520px !important;
  }

  .about-us .left-image img {
    width: 270px !important;
    max-width: 270px !important;
  }

  .about-us .about-school-content {
    width: 690px !important;
    max-width: 690px !important;
  }
}

/* Mapa en sección Contact */
.contact-us .map-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.contact-us .map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

/* Mantener decoración sin estorbar al mapa */
.contact-us .map-card .contact-dec {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none; /* para que no bloquee clics del mapa */
}

/* Responsive */
@media (max-width: 991px) {
  .contact-us .map-card,
  .contact-us .map-card iframe {
    min-height: 380px;
  }

  .contact-us .map-card {
    margin-top: 25px;
  }
}

@media (max-width: 575px) {
  .contact-us .map-card,
  .contact-us .map-card iframe {
    min-height: 320px;
  }
}

/* ===== Contacto (lado izquierdo) ===== */
.contact-info-box .contact-actions {
  display: flex;
  align-items: center;
  justify-content: center; /* centrados */
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.contact-info-box .contact-btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* mismo tamaño para ambos */
  min-width: 165px;
  height: 50px;
  padding: 0 18px;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.22);
}

/* Botón teléfono */
.contact-info-box .phone-btn {
  background: linear-gradient(135deg, #ff7a3d, #f25c2f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 92, 47, 0.28);
}

.contact-info-box .phone-btn i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Botón WhatsApp */
.contact-info-box .whatsapp-btn {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.24);
}

.contact-info-box .whatsapp-btn svg {
  display: block;
  flex-shrink: 0;
}

/* Hover */
.contact-info-box .contact-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info-box .phone-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff874f, #ff6636);
}

.contact-info-box .whatsapp-btn:hover {
  color: #fff;
  background: #20ba59;
}

/* Redes sociales */
.contact-info-box .contact-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
  margin: 8px 0 0;
  list-style: none;
}

.contact-info-box .contact-socials li {
  margin: 0;
}

.contact-info-box .contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-info-box .contact-socials a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* ===== Responsive: centrar todo cuando baja de ~991px ===== */
@media (max-width: 991px) {
  .contact-info-box {
    text-align: center;
  }

  .contact-info-box .contact-actions {
    justify-content: center;
  }

  .contact-info-box .contact-socials {
    justify-content: center;
  }

  .contact-info-box .section-heading h2,
  .contact-info-box h2,
  .contact-info-box p {
    text-align: center;
  }
}

/* Más pequeño (móvil) */
@media (max-width: 576px) {
  .contact-info-box .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .contact-info-box .contact-btn {
    width: 100%;
    max-width: 280px;
    min-width: unset;
  }

  .contact-info-box .contact-socials {
    gap: 12px;
  }
}

/* Redes sociales centradas (desktop y mobile) */
.contact-info-box .intro-block-content__social {
  display: flex;
  justify-content: center;   /* centra horizontalmente */
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 12px 0 18px;
  list-style: none;
  width: 100%;
}

.contact-info-box .intro-block-content__social li {
  margin: 0;
  display: flex;
}

.contact-info-box .intro-block-content__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.contact-info-box .intro-block-content__social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.contact-info-box .intro-block-content__social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff !important; /* para que se vean bien sobre fondo verde */
}

/* =========================================
   PORTFOLIO FIX DEFINITIVO (override template)
   ========================================= */

.our-portfolio {
  padding-top: 70px;
  padding-bottom: 90px;
}

.our-portfolio .section-heading {
  margin-bottom: 40px;
}

.our-portfolio .row > .col-lg-3,
.our-portfolio .row > .col-sm-6 {
  margin-bottom: 28px;
}

/* Card */
.our-portfolio .item {
  position: relative !important;
  width: 100% !important;
  min-height: 240px !important;
  border-radius: 22px !important;
  background: #fff !important;
  overflow: visible !important; /* para que se vea la nube */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.our-portfolio .item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10) !important;
}

/* CONTENEDOR DE IMAGEN (pisando el template) */
.our-portfolio .item .showed-content {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: 100% !important;
  height: 240px !important;
  margin: 0 !important;
  padding: 0 !important;

  border-radius: 22px !important;
  overflow: hidden !important;
  background: #f4f4f4 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1 !important;
}

/* IMAGEN PROPORCIONADA */
.our-portfolio .item .showed-content img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;
  object-position: center center !important;

  display: block !important;
  border-radius: 22px !important;
  transition: transform .35s ease !important;
}

.our-portfolio .item:hover .showed-content img {
  transform: scale(1.04) !important;
}

/* NUBE / TEXTO HOVER (pisando estilos viejos) */
.our-portfolio .item .hidden-content {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: -18px !important;
  transform: translateX(-50%) !important;

  width: calc(100% - 24px) !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 14px 12px !important;

  border-radius: 16px !important;
  text-align: center !important;
  z-index: 5 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14) !important;
  transition: all .28s ease !important;
}

/* Mostrar nube en hover */
.our-portfolio .item:hover .hidden-content {
  opacity: 1 !important;
  visibility: visible !important;
  bottom: -10px !important;
}

/* Títulos y texto de nube */
.our-portfolio .item .hidden-content h4 {
  margin: 0 0 6px 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  color: #fff !important;
}

.our-portfolio .item .hidden-content p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Colores alternos (verde / naranja) */
.our-portfolio .row .col-lg-3:nth-child(1) .hidden-content,
.our-portfolio .row .col-lg-3:nth-child(3) .hidden-content {
  background: linear-gradient(135deg, #1fa34a, #37c96f) !important;
}

.our-portfolio .row .col-lg-3:nth-child(2) .hidden-content,
.our-portfolio .row .col-lg-3:nth-child(4) .hidden-content {
  background: linear-gradient(135deg, #f58220, #ff9d4a) !important;
}

/* Mantener espacio para la nube (para que no se corte abajo) */
.our-portfolio .row .col-lg-3 {
  padding-bottom: 24px;
}

/* TABLET */
@media (max-width: 991px) {
  .our-portfolio .item {
    min-height: 220px !important;
    border-radius: 18px !important;
  }

  .our-portfolio .item .showed-content {
    height: 220px !important;
    border-radius: 18px !important;
  }

  .our-portfolio .item .showed-content img {
    border-radius: 18px !important;
  }

  /* En tablet/móvil: nube visible siempre */
  .our-portfolio .item .hidden-content {
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 10px !important;
    width: calc(100% - 16px) !important;
    border-radius: 14px !important;
    padding: 10px 10px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,.10) !important;
  }

  .our-portfolio .item:hover .hidden-content {
    bottom: 10px !important;
  }

  .our-portfolio .item .hidden-content h4 {
    font-size: 14px !important;
  }

  .our-portfolio .item .hidden-content p {
    font-size: 12px !important;
  }

  .our-portfolio .row .col-lg-3 {
    padding-bottom: 10px;
  }
}

/* MÓVIL */
@media (max-width: 575px) {
  .our-portfolio {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .our-portfolio .item {
    min-height: 210px !important;
    border-radius: 16px !important;
  }

  .our-portfolio .item .showed-content {
    height: 210px !important;
    border-radius: 16px !important;
  }

  .our-portfolio .item .showed-content img {
    border-radius: 16px !important;
  }

  .our-portfolio .item .hidden-content {
    border-radius: 12px !important;
    padding: 9px 8px !important;
  }
}

.our-portfolio .item .hidden-content::before,
.our-portfolio .item .hidden-content::after {
  display: none !important;
  content: none !important;
}

/* Puntitos del preloader en verde */
#js-preloader .dot,
#js-preloader .dots span {
  background-color: #28a745 !important; /* verde */
}

/* (Opcional) si el template usa borde/animación roja */
#js-preloader .preloader-inner > span {
  background-color: #28a745 !important;
}

#js-preloader .preloader-inner .dot {
  background-color: #28a745 !important;
}


/* === Desktop: centra y ordena el bloque imagen + nombres === */
@media (min-width: 992px){
  .col-lg-4{
    display: flex;
    flex-direction: column;
    align-items: center;      /* centra todo el bloque */
    justify-content: center;  /* lo centra verticalmente dentro del alto de la fila */
  }

  .col-lg-4 .left-image{
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .col-lg-4 .left-image img{
    max-width: 320px;   /* ajusta si querés más grande: 340/360 */
    width: 100%;
    height: auto;
    display: block;
  }

  .col-lg-4 .about-names{
    width: 100%;
    max-width: 320px;   /* igual que la imagen para que se vea parejo */
    text-align: center;
    margin-top: 12px;
  }

  .col-lg-4 .about-names p{
    margin: 0;
    line-height: 1.35;
    font-size: 0.95rem;
    white-space: normal;   /* permite salto de línea */
    word-break: normal;
  }
}

/* === Mobile/Tablet: mantené lo que ya te funciona === */
@media (max-width: 991.98px){
  .col-lg-4 .about-names{
    text-align: center;
    padding: 0 12px;
    margin-top: 10px;
  }
}

/* Fila inferior del portfolio */
.our-portfolio .portfolio-bottom-row {
  justify-content: center;
}

/* Tablet y resoluciones intermedias */
@media (max-width: 989px) and (min-width: 576px) {
  .our-portfolio .portfolio-bottom-row {
    gap: 24px;
  }

  .our-portfolio .portfolio-bottom-row > div {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .our-portfolio .portfolio-bottom-row .item {
    min-height: 255px !important;
  }

  .our-portfolio .portfolio-bottom-row .showed-content {
    height: 255px !important;
    padding: 18px !important;
  }

  .our-portfolio .portfolio-bottom-row .hidden-content {
    width: calc(100% - 20px) !important;
    left: 10px;
    right: 10px;
    bottom: 10px !important;
    padding: 14px 14px !important;
  }

  .our-portfolio .portfolio-bottom-row .hidden-content h4 {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .our-portfolio .portfolio-bottom-row .hidden-content p {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
  }
}

/* Móvil */
@media (max-width: 575px) {
  .our-portfolio .portfolio-bottom-row {
    gap: 18px;
  }

  .our-portfolio .portfolio-bottom-row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}