/*
  Theme Name: Alstar
  Theme URL: https://bootstrapmade.com/alstar-free-parallax-bootstrap-template/
  Author: BootstrapMade.com
  Author URL: https://bootstrapmade.com
*/

/* ================================
Imports - MOVED TO HTML HEAD TO AVOID LOADING ISSUES
These are now loaded directly in index.html
================================= */
/* @import url('font-awesome.min.css'); */
/* @import url('simpletextrotator.css'); */
/* @import url('overwrite.css'); */
/* @import url('animate.css'); */

/* ================================
General
================================= */

body{
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.6em;
}

h1 {
	font-size: 36px;
}
h2 {
	font-size: 32px;
}
h3 {
	font-size: 28px;
}
h4 {
	font-size: 24px;
}
h5 {
	font-size: 20px;
}
h6 {
	font-size: 18px;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{
	color: #3a3a3a;
	font-weight: 700;
	margin-bottom: 20px;
	font-family: 'Montserrat', sans-serif;
}


.lead{
	font-weight: 400;
}

button {
	display: inline-block;
	margin-bottom: 0;
	margin-bottom: 10px;
	padding: 6px 12px;
	border: 1px solid transparent;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.428571429;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
button.navbar-toggle {
	background: #2b2b2b;
	border: none;
	color: #fff;
}

.btn-theme,.btn-theme:hover,.btn-theme:focus{
	color: #fff;
}
.btn-theme:hover{
	background: transparent !important;
	border-color: #999;
	color: #999;
}


/* ================================
margin, padding
================================= */
.mar-top0 {
	margin-top: 0;
}
.mar-top10 {
	margin-top: 10px;
}
.mar-top20 {
	margin-top: 20px;
}
.mar-top30 {
	margin-top: 30px;
}
.mar-top40 {
	margin-top: 40px;
}


/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index:1000;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  outline: none;
}

/* ================================
WhatsApp Floating Button
================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  text-decoration: none !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px #999;
  color: #FFF;
  text-decoration: none !important;
  outline: none;
}

.whatsapp-float i {
  line-height: 1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    left: 15px;
    font-size: 30px;
  }
}

/* ================================
Navbar
================================= */

nav.navbar{
	position: fixed;
	top: -72px;
	margin-bottom: 0px;
	padding: 10px 0px 10px 0px;
	width: 100%;
	border-radius: 0px;
	transition: all 0.2s;
}

.navbar-nav{
	float: right;
}

nav.navbar.fixed-to-top{
	top: 0px;
}

.navbar-default{
	border: none;
	border-bottom: none;
	opacity: 1;
	display: none;
	z-index: 9999;
}

.navbar-default .navbar-nav>li>a {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus{
	color: #3A3A3A;
	cursor: pointer;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	outline: 0;
}

/* brand / logo */
.navbar-default .navbar-brand{
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 2em;
	padding: 8px 15px;
	line-height: 34px;
}

.navbar-default .navbar-brand .navbar-logo {
	height: 40px;
	width: auto;
	max-width: 300px;
	vertical-align: middle;
}

/* ================================
Home sections
================================= */

.home-section {
	width: 100%;
	padding: 150px 0px 150px 0px;
}

/* --- heading --- */
.section-heading {
	margin-bottom: 50px;
}

.section-heading h2 {
	font-size: 38px;
	text-transform: uppercase;
}

.section-heading .heading-line {
	margin:0 auto;
	display: block;
	height: 1px;
	width: 80px;
	background: #333;
	margin-top: 10px;
	margin-bottom: 20px;
}


/* --- section bg var --- */

.bg-white {
	background: #fff;
}

.bg-gray {
	background: #f8f8f8;
}

.bg-dark {
	background: #575757;
}


/* --- section content general color --- */

.color-light h1,.color-light h2,.color-light h3,.color-light h4,.color-light h5,.color-light h6 {
	color: #fff;
}


.color-light p {
	color: #eee;
}


/* ==========================
Parallax
============================= */

#parallax1{
	background-image: url(../img/parallax/1.jpg);
}
#parallax2{
	background-image: url(../img/parallax/2.jpg);
}


/* ================================
Intro
================================= */

#intro {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Imagen estática de fondo */
#intro .intro-static-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

#intro .intro-static-background::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#intro .intro-container {
  position: relative;
  z-index: 1;
}

/* Imágenes flotantes de clientes alrededor del hero */
.hero-floating-clients {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.floating-client {
  position: absolute;
  opacity: 0;
  transform: scale(0.6);
}

.floating-client img {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Posiciones iniciales alrededor del centro */
.client-1 {
  top: 15%;
  left: 10%;
  animation: floatAndFade1 8s ease-in-out infinite;
}

.client-2 {
  top: 20%;
  right: 15%;
  animation: floatAndFade2 9s ease-in-out infinite 1s;
}

.client-3 {
  bottom: 25%;
  left: 12%;
  animation: floatAndFade3 10s ease-in-out infinite 2s;
}

.client-4 {
  bottom: 20%;
  right: 10%;
  animation: floatAndFade4 8.5s ease-in-out infinite 0.5s;
}

.client-5 {
  top: 5%;
  left: 50%;
  animation: floatAndFade5 9.5s ease-in-out infinite 1.5s;
}

.client-6 {
  bottom: 5%;
  left: 50%;
  animation: floatAndFade6 8.2s ease-in-out infinite 0.3s;
}

.client-7 {
  top: 50%;
  left: 5%;
  animation: floatAndFade7 9.8s ease-in-out infinite 2.2s;
}

.client-8 {
  top: 50%;
  right: 5%;
  animation: floatAndFade8 8.8s ease-in-out infinite 0.8s;
}

/* Animaciones de movimiento y desvanecimiento con crecimiento */
@keyframes floatAndFade1 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(20px, -30px) scale(0.9) rotate(5deg);
  }
  30% {
    opacity: 1;
    transform: translate(40px, -50px) scale(1.1) rotate(-3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(60px, -70px) scale(1.4) rotate(4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(80px, -100px) scale(1.7) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: translate(100px, -120px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade2 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(-25px, -35px) scale(0.9) rotate(-5deg);
  }
  30% {
    opacity: 1;
    transform: translate(-45px, -55px) scale(1.1) rotate(3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(-65px, -75px) scale(1.4) rotate(-4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(-85px, -105px) scale(1.7) rotate(2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-105px, -125px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade3 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(30px, 30px) scale(0.9) rotate(5deg);
  }
  30% {
    opacity: 1;
    transform: translate(50px, 50px) scale(1.1) rotate(-3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(70px, 70px) scale(1.4) rotate(4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(90px, 100px) scale(1.7) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: translate(110px, 130px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade4 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(-30px, 35px) scale(0.9) rotate(-5deg);
  }
  30% {
    opacity: 1;
    transform: translate(-50px, 55px) scale(1.1) rotate(3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(-70px, 75px) scale(1.4) rotate(-4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(-90px, 105px) scale(1.7) rotate(2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-110px, 135px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade5 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(-50%, -25px) scale(0.9) rotate(5deg);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -45px) scale(1.1) rotate(-3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(-50%, -65px) scale(1.4) rotate(4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(-50%, -90px) scale(1.7) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -115px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade6 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(-50%, 25px) scale(0.9) rotate(-5deg);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, 45px) scale(1.1) rotate(3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(-50%, 65px) scale(1.4) rotate(-4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(-50%, 90px) scale(1.7) rotate(2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 115px) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade7 {
  0% {
    opacity: 0;
    transform: translate(0, -50%) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(-25px, -50%) scale(0.9) rotate(5deg);
  }
  30% {
    opacity: 1;
    transform: translate(-45px, -50%) scale(1.1) rotate(-3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(-65px, -50%) scale(1.4) rotate(4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(-90px, -50%) scale(1.7) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-115px, -50%) scale(2.0) rotate(0deg);
  }
}

@keyframes floatAndFade8 {
  0% {
    opacity: 0;
    transform: translate(0, -50%) scale(0.6) rotate(0deg);
  }
  10% {
    opacity: 0.8;
    transform: translate(25px, -50%) scale(0.9) rotate(-5deg);
  }
  30% {
    opacity: 1;
    transform: translate(45px, -50%) scale(1.1) rotate(3deg);
  }
  60% {
    opacity: 0.7;
    transform: translate(65px, -50%) scale(1.4) rotate(-4deg);
  }
  90% {
    opacity: 0.3;
    transform: translate(90px, -50%) scale(1.7) rotate(2deg);
  }
  100% {
    opacity: 0;
    transform: translate(115px, -50%) scale(2.0) rotate(0deg);
  }
}

/* Responsive: mostrar solo 4 logos en esquinas */
@media (max-width: 768px) {
  /* Ocultar logos 5-8 en responsive */
  .client-5,
  .client-6,
  .client-7,
  .client-8 {
    display: none;
  }
  
  /* Reposicionar los 4 logos en las esquinas */
  .client-1 {
    top: 10%;
    left: 10%;
    right: auto;
  }
  
  .client-2 {
    top: 10%;
    right: 10%;
    left: auto;
  }
  
  .client-3 {
    bottom: 10%;
    left: 10%;
    right: auto;
  }
  
  .client-4 {
    bottom: 10%;
    right: 10%;
    left: auto;
  }
  
  /* Ajustar tamaño de imágenes en responsive */
  .floating-client img {
    max-width: 80px;
  }
}

#intro .item {
  width: 100%;
  height: 100vh;
  background: transparent;
}

/* Removido el ::before de los items ya que la imagen estática tiene su propio overlay */

#intro .carousel-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#intro .carousel-content {
  text-align: center;
}

#intro h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

#intro p {
  width: 70%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

@media (max-width: 768px ) {
  #intro h2 {
    font-size: 36px;
  }
}

#intro .carousel-inner .item {
  transition-property: opacity;
  background-position: center top;
}

#intro .carousel-inner .item,
#intro .carousel-inner .active.left,
#intro .carousel-inner .active.right {
  opacity: 0;
}

#intro .carousel-inner .active,
#intro .carousel-inner .next.left,
#intro .carousel-inner .prev.right {
  opacity: 1;
  transition: 0.9s;
}

#intro .carousel-inner .next,
#intro .carousel-inner .prev,
#intro .carousel-inner .active.left,
#intro .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#intro .carousel-control-prev,
#intro .carousel-control-next {
  color: #fff;
  position: absolute;
  top: calc(50% - 15px);
}

#intro .carousel-control-prev {
  left: 20px;
}

#intro .carousel-control-next {
  right: 20px;
}

#intro .carousel-control-next-icon,
#intro .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
}

#intro .carousel-indicators {
  cursor: pointer;
}

#intro .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 3px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 2px solid #00c1c1;
}

#intro .btn-get-started:hover {
  background: #00c1c1;
  color: #fff;
  text-decoration: none;
}

/* ================================
About
================================= */

#about .about-img {
  height: 350px;
  overflow: hidden;
}

#about .about-img img {
  margin-left: -15px;
  max-width: 100%;
}

@media (max-width: 768px) {
  #about .about-img {
    height: auto;
  }
  #about .about-img img {
    margin-left: 0;
    padding-bottom: 30px;
  }
}

#about .content h2 {
  color: #333;
  font-weight: 300;
  font-size: 24px;
  text-align: left;
}

#about .content h3 {
  color: #777;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  font-style: italic;
  text-align: left;
}

#about .content p {
  line-height: 26px;
  text-align: left;
}

#about .content p:last-child {
  margin-bottom: 0;
}

/* ================================
Team
================================= */
.box-team img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	margin: 0 auto 30px;
	display: block;
}

/* Team Section - Hero Design */
.team-hero-container {
  margin: 50px auto;
  text-align: center;
  padding: 0 40px;
  width: 100%;
  max-width: 100%;
}

.team-image-frame {
  position: relative;
  display: block;
  padding: 60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 15px rgba(255, 255, 255, 0.8),
    0 0 0 20px rgba(0, 193, 193, 0.1),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  transition: all 0.4s ease;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.team-image-frame:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.2),
    0 0 0 15px rgba(255, 255, 255, 0.9),
    0 0 0 20px rgba(0, 193, 193, 0.2),
    inset 0 0 40px rgba(255, 255, 255, 0.6);
}

.team-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 1200px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

/* Decorative frame corners */
.frame-decoration {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 3;
  border: 3px solid #00c1c1;
  opacity: 0.8;
}

.frame-top-left {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 8px;
}

.frame-top-right {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 8px;
}

.frame-bottom-left {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 8px;
}

.frame-bottom-right {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 8px;
}

.team-image-frame:hover .frame-decoration {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Team Description */
.team-description {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: center;
  font-style: italic;
  position: relative;
  padding: 20px 0;
}

.team-description p::before,
.team-description p::after {
  content: '"';
  font-size: 60px;
  color: #00c1c1;
  opacity: 0.3;
  position: absolute;
  font-family: Georgia, serif;
  line-height: 1;
}

.team-description p::before {
  top: -10px;
  left: -20px;
}

.team-description p::after {
  bottom: -30px;
  right: -20px;
}

/* Tablet and smaller desktop */
@media (max-width: 1200px) {
  .team-hero-image {
    max-height: 850px;
  }
  
  .team-image-frame {
    padding: 45px;
  }
}

@media (max-width: 992px) {
  .team-hero-image {
    max-height: 700px;
  }
  
  .team-image-frame {
    padding: 40px;
  }
  
  .frame-decoration {
    width: 45px;
    height: 45px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .team-hero-container {
    margin: 30px auto;
    padding: 0 15px;
  }
  
  .team-image-frame {
    padding: 25px;
  }
  
  .team-hero-image {
    max-height: 500px;
  }
  
  .frame-decoration {
    width: 35px;
    height: 35px;
  }
  
  .team-description {
    padding: 0 15px;
  }
  
  .team-description p {
    font-size: 14px;
    padding: 15px 0;
  }
  
  .team-description p::before,
  .team-description p::after {
    font-size: 40px;
  }
  
  .team-description p::before {
    left: -10px;
  }
  
  .team-description p::after {
    right: -10px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .team-hero-container {
    margin: 20px auto;
    padding: 0 10px;
  }
  
  .team-image-frame {
    padding: 20px;
    border-radius: 15px;
  }
  
  .team-hero-image {
    max-height: 450px;
    border-radius: 10px;
  }
  
  .frame-decoration {
    width: 30px;
    height: 30px;
  }
  
  .frame-top-left,
  .frame-top-right,
  .frame-bottom-left,
  .frame-bottom-right {
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
  }
  
  .team-description {
    padding: 0 10px;
  }
  
  .team-description p {
    font-size: 14px;
    line-height: 1.6;
    padding: 15px 0;
  }
  
  .team-description p::before,
  .team-description p::after {
    font-size: 35px;
  }
  
  .team-description p::before {
    top: -5px;
    left: -5px;
  }
  
  .team-description p::after {
    bottom: -25px;
    right: -5px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .team-hero-image {
    max-height: 350px;
  }
  
  .team-image-frame {
    padding: 15px;
  }
  
  .frame-decoration {
    width: 25px;
    height: 25px;
  }
}

/* ================================
Photo Portfolio
================================= */
.photo-gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  margin: 0 auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.photo-gallery .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333% - 14px);
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  max-width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* Aspect ratio 4:3 */
  overflow: hidden;
  background: #f5f5f5;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 193, 193, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  color: #fff;
  font-size: 40px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
  transform: scale(1);
}

.gallery-content i {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for photo gallery */
@media (max-width: 992px) {
  .photo-gallery .gallery-item {
    -ms-flex: 0 0 calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    gap: 12px;
    padding: 15px 0;
  }
  
  .photo-gallery .gallery-item {
    -ms-flex: 0 0 calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
    min-width: 200px;
  }
  
  .gallery-image-wrapper {
    padding-top: 70%;
  }
}

@media (max-width: 576px) {
  .photo-gallery .gallery-item {
    -ms-flex: 0 0 calc(50% - 5px);
    flex: 0 0 calc(50% - 5px);
    min-width: 150px;
  }
  
  .gallery-content {
    font-size: 30px;
  }
}

@media (max-width: 400px) {
  .photo-gallery .gallery-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .gallery-image-wrapper {
    padding-top: 65%;
  }
}

/* Image Modal/Popup Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.3s;
  border-radius: 8px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
  align-self: center;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover,
.modal-close:focus {
  color: #00c1c1;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  font-size: 18px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

.gallery-item {
  cursor: pointer;
}

@media (max-width: 768px) {
  .image-modal.show {
    padding: 15px;
    align-items: center;
    justify-content: center;
    display: flex !important;
  }
  
  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
  
  .modal-content {
    max-width: 95%;
    max-height: 85vh;
    margin: auto;
    align-self: center;
  }
  
  .modal-caption {
    bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
  }
}

/* ================================
Services
================================= */
.service.carousel h4,.service.carousel p {
	text-align: left;
}


.service .carousel-control{
	background: none;
}

.service .screenshot{
	overflow: hidden;
	overflow: hidden;
	margin-right: auto;
	margin-left: auto;
}

.service .screenshot img{
	margin-right: auto;
	margin-left: auto;
	padding-left: 4px;
	width: 400px;
}

.service .carousel-indicators {
	position: relative;
	bottom: 0;
	left: 0;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding: 5px;
	padding-bottom: 8px;
	width: 100%;
	background: #ffffff;
}

.service .carousel-indicators .active {
	width: 45px;
	height: 5px;
	border: none;
	border-radius: 0px;
}

.service .carousel-indicators li {
	display: inline-block;
	margin: 1px;
	width: 45px;
	height: 5px;
	border: none;
	border-radius: 0px;
	background: #eeeeee;
	text-indent: -999px;
	cursor: pointer;
}


/* ================================
Works
================================= */
.og-grid {
	list-style: none;
	padding: 20px 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

.og-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: auto;
}

.og-grid li > a,
.og-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}

.og-grid li > a img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	object-position: center;
}

.portfolio-title {
	font-size: 16px;
	font-weight: 700;
	color: #3a3a3a;
	margin: 10px 0 0 0;
	padding: 0;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	transition: opacity 0.3s ease;
}

.og-grid li.og-expanded .portfolio-title {
	display: none;
}

.og-grid li.og-expanded > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: none;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
}

.og-expander {
	position: absolute;
	background: #FFF;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
}

.og-expander-inner {
	padding: 50px 0;
	height: 100%;
}

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 1000;
	-webkit-tap-highlight-color: transparent;
	pointer-events: auto;
	touch-action: manipulation;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	height: 1px;
	background: #888;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

.og-close::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
	background: #333;
}

.og-fullimg,
.og-details {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.og-details {
	padding: 0 40px 0 0;
}

.og-fullimg {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.og-fullimg img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
}

.og-details h4 {
	font-weight: 300;
	margin-bottom: 10px;
}

.og-details p {
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6em;
	color: #555;
}

.og-details a {
	font-weight: 700;
	display: inline-block;
	margin: 30px 0 0;
	outline: none;
}


.og-details a:hover {
	border-color: #999;
	color: #999;
}

.og-loading {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ddd;
	box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 -25px;
	-webkit-animation: loader 0.5s infinite ease-in-out both;
	-moz-animation: loader 0.5s infinite ease-in-out both;
	animation: loader 0.5s infinite ease-in-out both;
}

@-webkit-keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@-moz-keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@media screen and (max-width: 830px) {

	.og-expander h3 { font-size: 32px; }
	.og-expander p { font-size: 13px; }
	.og-expander a { font-size: 12px; }

}

@media screen and (max-width: 768px) {

	.og-fullimg { 
		display: none !important; 
	}
	
	.og-details { 
		float: none; 
		width: 100%; 
		padding: 0 20px;
	}
	
	.og-expander-inner {
		padding: 20px 0;
	}
	
	.og-close {
		width: 35px;
		height: 35px;
		top: 10px;
		right: 10px;
		z-index: 1001;
	}
	
	.og-details h4 {
		margin-top: 0;
		margin-bottom: 15px;
	}
	
	.og-details p {
		margin-bottom: 20px;
	}
	
	.og-details a {
		margin: 20px 0 0;
	}

}

/* ================================
Contact
================================= */

.validation {
  color: red;
  display:none;
  margin: 0;
  font-weight:400;
  font-size:13px;
}

#sendmessage {
  color: green;
  border:1px solid green;
  display:none;
  text-align:center;
  padding:15px;
  font-weight:600;
  margin-bottom:15px;
}

#errormessage {
  color: red;
  display:none;
  border:1px solid red;
  text-align:center;
  padding:15px;
  font-weight:600;
  margin-bottom:15px;
}

#sendmessage.show, #errormessage.show, .show {
	display:block;
}

/* ================================
Clients
================================= */
ul.clients {
	list-style: none;
}
ul.clients li {
	display: inline;
}


/* ================================
Bottom widget
================================= */
#bottom-widget {
  overflow: hidden;
}
ul.social-network {
	margin: 0;
	margin-left:0;
	padding-left: 0;
	list-style: none;
}
ul.social-network li {
	display: inline;
	margin: 5px 5px;
}


ul.social-network li a:hover span .fa-circle {
	color: #2b2b2b;
}

ul.social-network li a i{
  transition: 0.3s
}

/* ================================
Google Map Container
================================= */
.google-map-container {
  position: relative;
  width: 100%;
  height: 450px;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid #e0e0e0;
  padding: 5px;
  background-color: #f5f5f5;
}

.google-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .google-map-container {
    height: 350px;
    border-width: 2px;
    padding: 3px;
  }
}

/* ================================
Footer
================================= */
footer {
	background: #00c1c1;
	color: #fff;
	padding: 50px 0 30px;
}

footer a {
	color: #fff;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ================================
more media queries
================================= */

@media (max-width:768px) {

	header{
		padding-bottom: 50px;
		min-height: 1000px;
		height: 100%;
	}

	.navbar-nav {
		float: left;
		text-align: left;
	}

	.navbar-default .navbar-brand .navbar-logo {
		height: 35px;
		max-width: 180px;
	}

	.box-team, .box-team img {
		text-align: center;
	}
	.box-team img {
		float: none;
		margin: 0 auto 30px;
		width: 200px;
		height: 200px;
		object-fit: cover;
		display: block;
	}
	.box-team {
		margin-bottom: 30px;
	}

	.og-fullimg { display: none; }
	.og-details { float: none; width: 100%; padding: 0 40px; }

}

@media (max-width:992px) {

	.service.carousel .item h4, .service.carousel .item p{
		text-align: center;
	}

	.service p{
			margin-bottom: 60px;
	}
	.og-expander {
		background: transparent;

	}
	.og-details {
		padding: 0 20px;
	}

}

@media (max-width:480px){

	header .carousel-iphone, .detail .screenshot{
		width: 280px;
	}

	header .carousel, .detail .screenshot img{
		padding-top: 85px;
		width: 245px;
	}

	.service .screenshot img{
		margin-top: -12px;
		padding-top: 0px;
	}

	header{
		padding-top: 30px;
		padding-bottom: 0px;
	}

	header h1{
		font-size: 70px;
	}
}

/* ================================
Page Loader
================================= */
.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-content {
	text-align: center;
}

.loader-spinner {
	width: 60px;
	height: 60px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #2b2b2b;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.loader-text {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 1px;
}

/* Ocultar el contenido principal mientras carga */
body.loading {
	overflow: hidden;
}

body.loading .navbar,
body.loading section,
body.loading footer,
body.loading .back-to-top,
body.loading .whatsapp-float {
	opacity: 0;
	transition: opacity 0.5s ease;
}

body:not(.loading) .navbar,
body:not(.loading) section,
body:not(.loading) footer,
body:not(.loading) .back-to-top,
body:not(.loading) .whatsapp-float {
	opacity: 1;
	transition: opacity 0.5s ease;
}

/* CSS FILE LOADED COMPLETE - This comment confirms the CSS file loaded to the end */
