/*
 * Theme Name: Pixel Perfect Portfolio
 * Author: Pixel Perfect
 * Author URI/Mail: pixelperfectmk@gmail.com
 * Version: 2.0 - MEJORADO RESPONSIVE
 */


/* CUSTOM RESETS
================================================== */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a, button {
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    outline: 0 none;
}

a:hover, a:focus {
    outline: 0 none;
    text-decoration: none;
}

/* LAYOUT
================================================== */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}

/* 
 * Background colors 
 */
.blue-bg {
    background-color: #5e5e5e;
}

/* 
 * Button
 */
.btn {
    font-family: "Varela", sans-serif;
    background-color: #5e5e5e;
    padding: 0 15px;
    color: #ffffff;
    height: 44px;
    line-height: 42px;
    border-radius: 0;
    border: 1px solid #5e5e5e;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
}

.btn-inverted {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}

.btn:hover,
.btn:focus {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}

.btn-inverted:hover,
.btn-inverted:focus {
    color: #ffffff;
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}

/* 
 * Rectangle 
 */
.rectangle,
.big-rectangle {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 1px solid #dddddd;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-box-shadow: 4px 4px 0px 0px #dddddd;
    -o-box-shadow: 4px 4px 0px 0px #dddddd;
    -moz-box-shadow: 4px 4px 0px 0px #dddddd;
    box-shadow: 4px 4px 0px 0px #dddddd;
    position: relative;
}

.rectangle i,
.big-rectangle img,
.rectangle span,
.rectangle img {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 22px;
    transform: translate(-50%, -50%) rotate(0deg);
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    -moz-transform: translate(-50%, -50%) rotate(0deg);
    -o-transform: translate(-50%, -50%) rotate(0deg);
    -ms-transform: translate(-50%, -50%) rotate(0deg);
}

.big-rectangle {
    position: absolute;
    right: auto;
    top: 50%;
    left: 50%;
    margin: 0 auto;
    width: 230px;
    height: 230px;
    background-color: #5e5e5e;
    border: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    -moz-transform: translate(-50%, -50%) rotate(0deg);
    -o-transform: translate(-50%, -50%) rotate(0deg);
    -ms-transform: translate(-50%, -50%) rotate(0deg);
    -webkit-box-shadow: 10px 10px 0px 0px #dddddd;
    -o-box-shadow: 10px 10px 0px 0px #dddddd;
    -moz-box-shadow: 10px 10px 0px 0px #dddddd;
    box-shadow: 10px 10px 0px 0px #dddddd;
}

.medium-rectangle {
    width: 75px;
    height: 75px;
}

/* Image responsive */
.img-res {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* HEADER
================================================== */
.site-header {
    height: 60px;
}

.site-logo {
    display: inline-block;
    position: relative;
    padding: 0 30px 0 15px;
    height: 60px;
    background-color: #00c91c;
    z-index: 2;
}

.site-logo:before {
    content: '';
    position: absolute;
    width: 2000px;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #00c91c;
}

.site-logo a {
    position: relative;
    font-family: "Varela", sans-serif;
    display: inline-block;
    margin-top: 17px;
    font-size: 26px;
    line-height: 26px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
}

/* Navigation */
.site-navigation {
    background-color: #5e5e5e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.site-navigation.hidden {
    transform: translateY(-100%);
}

.site-navigation.affix {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1005;
}

.site-navigation .navbar-nav {
    padding-top: 23px;
    margin: 0;
}

.site-navigation .navbar-nav > li {
    display: inline-block;
}

.site-navigation .navbar-nav > li > a {
    padding: 0px 3px 21px;
    font-size: 14px;
    line-height: 14px;
    color: #ffffff;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-color 0.25s ease-in-out;
    -o-transition: border-color 0.25s ease-in-out;
    -moz-transition: border-color 0.25s ease-in-out;
    transition: border-color 0.25s ease-in-out;
    text-decoration: none;
}

.site-navigation .navbar-nav.navbar-right {
    margin-right: 0;
}

.site-navigation .navbar-nav > li + li > a {
    margin-left: 25px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.nav > li > a:hover,
.nav > li.active > a {
    background-color: transparent;
    border-color: #ffffff;
}

.nav > li > a:focus {
    background-color: transparent;
}

/* HERO
================================================== */
.hero {
    background: url(../img/araujo.png) center no-repeat;
    height: 100%;
    width: 100%;
    display: table;
    position: relative;
    background-size: cover;
    background-position: center;
}

.background-overlay:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0 15px;
}

.hero-content h1 {
    width: 100%;
    padding: 0 15px;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
}

.hero-content p {
    padding: 0 15px;
    margin: 30px auto 0;
    text-align: center;
    text-transform: uppercase;
}

.hero-content .hero-job {
    font-size: 18px;
}

.hero-content .hero-job span {
    padding-bottom: 5px;
    border-bottom: 1px solid #ffffff;
}

.hero-content .hero-job-desc {
    font-size: 14px;
    max-width: 700px;
}

.hero-arrow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    width: 20px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.hero-arrow a {
    font-size: 28px;
    color: #ffffff;
}

@-webkit-keyframes home-arrow-down {
    from {
        transform: translate3d(0, 0px, 0);
        opacity: 0;
    }
    10% {
        transform: translate3d(0, 5px, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
}

@keyframes home-arrow-down {
    from {
        transform: translate3d(0, 0px, 0);
        opacity: 0;
    }
    10% {
        transform: translate3d(0, 5px, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
}

.home-arrow-down {
    -moz-animation: home-arrow-down 2s infinite;
    -webkit-animation: home-arrow-down 2s infinite;
    animation: home-arrow-down 2s infinite;
}

.home-arrow-down:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/* Section Hello */
.site-section {
    padding: 100px 0;
}

.section-hello {
    background-color: #ffffff;
}

.section-hello h2,
.site-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle span {
    position: relative;
    display: inline-block;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

.section-subtitle span:before,
.section-subtitle span:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: #ddd;
}

.section-subtitle span:before {
    left: -50px;
}

.section-subtitle span:after {
    right: -50px;
}

.main-service {
    margin-bottom: 40px;
}

.main-service .rectangle {
    margin-bottom: 20px;
}

.main-service h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.main-service p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Feature About */
.feature-about {
    text-align: center;
    margin-bottom: 30px;
}

.feature-about .rectangle {
    margin-bottom: 20px;
}

.feature-about h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-about p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Skills Section */
.modern-skills-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.modern-skills-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.modern-progress-group {
    margin-bottom: 35px;
}

.modern-progress-group .skill-name {
    font-size: 1.05em;
    font-weight: 400;
    margin-bottom: 12px;
    color: #333;
    display: block;
}

.modern-progress {
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.modern-progress-bar {
    background: linear-gradient(90deg, #6c757d, #495057);
    width: 0%;
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    position: relative;
}

.progress-percentage {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7em;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-progress-bar.animated .progress-percentage {
    opacity: 1;
}

/* Section: Services */
.section-services.site-section {
    padding: 0;
    background-color: #f6f6f6;
}

.section-services .container-fluid {
    padding: 100px 15px 70px;
    background-color: #ffffff;
}

.section-services .container-fluid + .container {
    margin-top: 80px;
}

.section-services .col-sm-fifth {
    width: 20%;
    display: table;
    float: left;
}

.section-services .nav-tabs {
    position: relative;
    min-height: 160px;
    width: 100%;
    margin: 70px 0 0;
    bottom: 0;
    left: 0;
    border-bottom: 0;
    padding: 0;
}

.section-services .nav-tabs .col-sm-fifth {
    height: 160px;
    background: #ffffff;
    border-bottom: 3px solid #5e5e5e;
}

.section-services .carousel-inner {
    margin-top: 75px;
}

.section-services .carousel-inner img {
    border-radius: 10px 10px 0 0;
    -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
}

.section-services .item-controls {
    height: 45px;
    text-align: center;
    margin-bottom: 20px;
}

.section-services .item-controls .carousel-control {
    margin: 7px 5px 0;
    position: relative;
    border: 1px solid #dddddd;
    background: #ffffff;
    width: 30px;
    height: 30px;
    transform: rotate(0deg);
    display: inline-block;
    opacity: 1;
    text-decoration: none;
}

.section-services .item-controls .carousel-control i {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #000;
    font-size: 18px;
    transform: translate(-50%, -50%) rotate(0deg);
    text-shadow: none;
}

.section-services .item-controls .carousel-control:hover,
.section-services .item-controls .carousel-control:focus {
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}

.section-services .item-controls .carousel-control:hover i,
.section-services .item-controls .carousel-control:focus i {
    color: #ffffff;
}

.service {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    color: #000;
    width: 100%;
    text-align: center;
}

.service .rectangle {
    margin: 0 auto 20px;
    box-shadow: none;
}

.service p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 12px;
}

.section-services .col-sm-7 {
    position: absolute;
    right: 0;
    bottom: 0;
}

.section-services .col-sm-5 {
    min-height: 390px;
}

.service-info h3 {
    font-size: 28px;
    margin: 20px 0 0;
}

.service-info p {
    margin: 30px 0 0;
    line-height: 1.6;
}

.carousel-indicators .active .col-sm-fifth,
.carousel-indicators a:hover .col-sm-fifth {
    background-color: #5e5e5e;
}

.carousel-indicators .active .service p,
.carousel-indicators a:hover .service p {
    opacity: 0;
    visibility: hidden;
}

.carousel-indicators .active .service .rectangle,
.carousel-indicators a:hover .service .rectangle {
    background-color: #ffffff;
    height: 80px;
    width: 80px;
    margin-bottom: 0;
}

.carousel-indicators .active .service .rectangle i,
.carousel-indicators a:hover .service .rectangle i {
    font-size: 32px;
}

.carousel-indicators .active .service:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px;
    border-color: #5e5e5e transparent transparent transparent;
    z-index: 99;
}

/* Section: Team */
.section-team {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-team h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.team {
    margin-top: 50px;
}

.team-member {
    height: 335px;
    perspective: 1000px;
    transform-style: preserve-3d;
    margin-bottom: 30px;
}

.team-member:hover .flipper {
    transform: rotateY(180deg);
}

.team-member .flipper {
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    -moz-transition: 0.6s;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
}

.team-member .team-member-front,
.team-member .team-member-back {
    height: 335px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.team-member .team-member-front {
    z-index: 2;
    border: 1px solid #ccc;
    background: #fff;
}

.team-member .team-member-front .team-member-thumb {
    height: 260px;
    overflow: hidden;
}

.team-member .team-member-front .team-member-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member .team-member-front .team-member-front-name {
    text-align: center;
    margin: 20px 0 0;
    font-weight: 600;
}

.team-member .team-member-back {
    padding: 0 20px;
    display: table;
    background: #5e5e5e;
    text-align: center;
    color: #ffffff;
    transform: rotateY(-180deg);
    z-index: 5;
}

.team-member .team-member-back .team-member-info {
    display: table-cell;
    vertical-align: middle;
}

.team-member .team-member-back .team-member-back-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.team-member .team-member-back .team-member-back-position {
    margin: 10px 0 0;
    font-size: 12px;
}

.team-member .team-member-back .team-member-back-info {
    position: relative;
    margin: 30px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

.team-member .team-member-back .team-member-back-info:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    display: block;
    height: 1px;
    width: 30px;
    background-color: #ffffff;
    margin: 0 auto;
}

.social-icons.small {
    margin: 30px auto 0;
}

.social-icons.small .rectangle {
    margin: 0 4px;
    width: 35px;
    height: 35px;
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}

.social-icons.small .rectangle i {
    font-size: 16px;
}

.social-icons.small .rectangle:hover {
    background-color: #fff;
}

.social-icons.small .rectangle:hover i {
    color: #5e5e5e;
}

/* Section: Portfolio */
.section-works {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.section-works h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.portfolio {
    margin-top: 50px;
}

.portfolio-sorting {
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #5e5e5e;
    height: 47px;
    text-align: center;
}

.portfolio-sorting li {
    padding: 0;
    display: inline-block;
    list-style: none;
}

.portfolio-sorting li a {
    position: relative;
    display: inline-block;
    padding: 0 30px;
    line-height: 44px;
    height: 44px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    border-left: 1px solid #f6f6f6;
    border-right: 1px solid #f6f6f6;
}

.portfolio-sorting li a:hover,
.portfolio-sorting li a.active {
    background-color: #5e5e5e;
    color: #ffffff;
    border-color: #5e5e5e;
}

.portfolio-sorting li a.active:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #5e5e5e transparent transparent transparent;
    z-index: 99;
}

.portfolio-sorting li + li a {
    border-left: 0;
}

#grid {
    margin-top: 40px;
}

#grid .col-md-3 {
    padding: 0 10px;
    margin-bottom: 20px;
    float: left;
    width: 25%;
}

.portfolio-item {
    overflow: hidden;
    position: relative;
    background: #fff;
}

.portfolio-item .portfolio-item-thumb {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-item .portfolio-item-thumb:after {
    content: '';
    background-color: #5e5e5e;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.portfolio-item .portfolio-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item .portfolio-item-thumb .rectangle {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    margin: 0 auto;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    text-decoration: none;
}

.portfolio-item .portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    padding: 0 10px;
    text-align: center;
    transform: translateY(75px);
    opacity: 0;
    visibility: hidden;
    background: #fff;
}

.portfolio-item .portfolio-info h3 {
    margin: 20px 0 0;
    font-size: 16px;
    font-weight: 600;
}

.portfolio-item:hover .portfolio-item-thumb {
    transform: translateY(-75px);
}

.portfolio-item:hover .portfolio-item-thumb:after {
    opacity: 0.8;
}

.portfolio-item:hover .portfolio-item-thumb .rectangle {
    opacity: 1;
    visibility: visible;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Section Clients */
.section-clients {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-diff-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-diff-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-diff-title p {
    font-size: 14px;
    color: #666;
}

.clients-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.client {
    display: inline-block;
    text-align: center;
    width: 180px;
    transition: all 0.3s ease;
}

.client img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.client:hover {
    transform: scale(1.05);
}

/* Section Background */
.section-background {
    position: relative;
    background-size: cover;
    padding: 120px 0;
    width: 100%;
    text-align: center;
    background-attachment: fixed;
}

.section-background:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.section-background .container {
    position: relative;
    z-index: 1;
}

.section-background p {
    position: relative;
    margin: 20px 0 0;
    color: #ffffff;
    font-size: 18px;
}

.section-background .btn {
    position: relative;
    margin-top: 40px;
}

.section-quote {
    background: url(../img/quote.jpg) center no-repeat fixed;
    background-size: cover;
}

.section-quote p {
    margin-top: 0;
    font-size: 36px;
    line-height: 1.4;
}

.section-quote p span {
    color: #00c91c;
}

.section-me {
    background: url(../img/portfolio-7.jpg) center no-repeat fixed;
    background-size: cover;
}

.section-me h2 {
    margin: 0;
    color: #ffffff;
    position: relative;
    font-size: 32px;
}

/* Section Contact */
.section-contact {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.section-contact h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-contact .container {
    max-width: 770px;
}

.section-contact .btn {
    margin-top: 30px;
    width: 100%;
    border-color: #dddddd;
    color: #000;
    background: #fff;
}

.section-contact .btn:hover {
    color: #ffffff;
    border-color: #5e5e5e;
    background: #5e5e5e;
}

/* WhatsApp Widget */
#button-w {
    max-width: 500px;
    margin: 0 auto;
}

.wcs_popup_header {
    background: #25D366;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.wcs_popup_header strong {
    display: block;
    font-size: 18px;
}

.wcs_popup_header_description {
    font-size: 12px;
    margin-top: 5px;
}

.wcs_popup_input {
    background: white;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
}

.wcs_popup_input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.wcs_popup_input i {
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* Section Networks */
.section-networks {
    padding: 30px 0;
    text-align: center;
    background-color: #5e5e5e;
}

.section-networks ul {
    margin: 0;
    padding: 0;
}

.section-networks li {
    display: inline-block;
    margin: 0 10px;
}

.section-networks a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

.section-networks a:hover {
    color: #ddd;
}

/* FOOTER
================================================== */
.site-footer {
    background-color: #fff;
}

.site-footer .container-fluid {
    position: relative;
    padding: 70px 15px;
    text-align: center;
    border-bottom: 1px solid #dddddd;
}

.site-footer .container {
    padding: 70px 15px 100px;
}

.site-footer ul {
    margin-bottom: 0;
    padding: 0;
}

.site-footer ul li {
    display: inline-block;
    padding: 0 10px;
}

.site-footer ul a {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer ul a:hover {
    color: #5e5e5e;
}

.site-footer .rectangle {
    position: absolute;
    bottom: -20px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    background-color: #000;
    border: none;
    color: #ffffff;
    box-shadow: none;
    text-decoration: none;
}

.site-footer .rectangle:hover {
    background-color: #5e5e5e;
    color: #ffffff;
}

.site-footer .copyright {
    margin-bottom: 0;
    font-size: 12px;
    color: #666;
}

/* MODALS 
================================================== */
.modal {
    z-index: 1050;
}

.modal.fade-scale {
    transform: scale(0);
    opacity: 0;
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

.modal.fade-scale.in {
    opacity: 1;
    transform: scale(1);
}

.modal.fade-scale .modal-dialog {
    margin-top: 50px;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    transform: translate(0, 0%);
}

.modal-header {
    position: relative;
    padding: 0;
}

.modal-header .rectangle {
    position: absolute;
    right: -15px;
    top: -15px;
    height: 40px;
    width: 40px;
    background-color: #5e5e5e;
    color: #ffffff;
    box-shadow: none;
    border: 0;
    opacity: 1;
    z-index: 10;
    cursor: pointer;
    text-align: center;
}

.modal-header .rectangle i {
    font-size: 20px;
}

.modal-header .rectangle:hover {
    background-color: #ffffff;
    color: #5e5e5e;
    border: 1px solid #5e5e5e;
}

.modal-header video,
.modal-header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-body p {
    margin: 15px 0 0;
    line-height: 1.6;
    color: #666;
}

.modal-footer {
    padding: 0;
    border-top: 0;
}

.modal-footer .btn {
    width: 100%;
    border-width: 1px 0 0 0;
    border-radius: 0;
    padding: 12px;
    background: #5e5e5e;
    color: white;
    text-decoration: none;
}

.modal-footer .btn:hover {
    background-color: #ffffff;
    color: #5e5e5e;
    border-color: #5e5e5e;
}

/* ==================================================
   RESPONSIVE DESIGN - MEJORADO
   ================================================== */

/* Tablets y dispositivos medianos (max-width: 991px) */
@media only screen and (max-width: 991px) {
    .site-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .hero-job-desc {
        font-size: 13px;
        padding: 0 20px;
    }
    
    .section-services .container-fluid {
        padding: 80px 15px 50px;
    }
    
    .section-services .container-fluid + .container {
        margin-top: 60px;
    }
    
    .section-services .nav-tabs {
        margin-top: 50px;
    }
    
    .section-services .carousel-inner {
        margin-top: 55px;
    }
    
    .service-info h3 {
        margin-top: 0;
        font-size: 24px;
    }
    
    .service-info p {
        margin: 20px 0 0;
    }
    
    .section-services img {
        margin: 30px auto 0;
    }
    
    .portfolio-sorting li a {
        padding: 0 20px;
        font-size: 12px;
    }
    
    #grid .col-md-3 {
        width: 33.333%;
    }
    
    .section-quote p {
        font-size: 28px;
    }
    
    .section-background {
        padding: 100px 0;
        background-attachment: scroll;
    }
    
    .site-footer .container-fluid,
    .site-footer .container {
        padding: 50px 15px 80px;
    }
}

/* Móviles grandes y tablets pequeñas (max-width: 767px) */
@media only screen and (max-width: 767px) {
    .site-section {
        padding: 60px 0;
    }
    
    .section-hello h2,
    .site-section h2,
    .modern-skills-section h2,
    .section-team h2,
    .section-works h2,
    .section-diff-title h2,
    .section-contact h2 {
        font-size: 28px;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
    }
    
    .section-subtitle span {
        font-size: 12px;
    }
    
    .section-subtitle span:before,
    .section-subtitle span:after {
        width: 25px;
    }
    
    .section-subtitle span:before {
        left: -35px;
    }
    
    .section-subtitle span:after {
        right: -35px;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content .hero-job {
        font-size: 14px;
    }
    
    .hero-content .hero-job-desc {
        font-size: 12px;
        margin-top: 20px;
    }
    
    .hero-content .btn {
        margin: 0 5px;
        padding: 0 12px;
        height: 38px;
        line-height: 36px;
        font-size: 12px;
    }
    
    /* Navigation */
    .site-navigation .navbar-nav {
        padding-top: 0;
        text-align: center;
    }
    
    .site-navigation .navbar-toggle {
        margin: 0 15px 0 0;
        height: 60px;
        line-height: 60px;
        border: 0;
        background: transparent;
        float: right;
    }
    
    .site-navigation .navbar-toggle .icon-bar {
        background-color: #fff;
        transition: all 0.3s;
    }
    
    .site-navigation .navbar-collapse {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #5e5e5e;
        text-align: center;
        border-top: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .site-navigation .navbar-collapse.in {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .site-navigation .navbar-nav > li {
        display: block;
        margin: 0;
    }
    
    .site-navigation .navbar-nav > li > a {
        display: inline-block;
        margin: 10px 0;
        padding-bottom: 5px;
    }
    
    .site-navigation .navbar-nav > li + li > a {
        margin-left: 0;
    }
    
    /* Hello Section */
    .main-service {
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .big-rectangle {
        width: 180px;
        height: 180px;
        position: relative;
        margin: 30px auto;
        transform: translate(0, 0);
        left: auto;
        top: auto;
    }
    
    .big-rectangle img {
        width: 100%;
        height: auto;
    }
    
    /* Skills Section */
    .modern-skills-section {
        padding: 60px 0;
    }
    
    .modern-progress-group {
        margin-bottom: 25px;
    }
    
    .modern-progress {
        height: 6px;
    }
    
    .progress-percentage {
        font-size: 0.65em;
    }
    
    /* Services Section */
    .section-services .container-fluid {
        padding: 60px 15px 30px;
    }
    
    .section-services .container-fluid + .container {
        margin-top: 40px;
    }
    
    .section-services .nav-tabs {
        margin-top: 30px;
        min-height: 80px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-services .nav-tabs .col-sm-fifth {
        height: 80px;
        width: 20%;
    }
    
    .section-services .carousel-inner {
        margin-top: 35px;
    }
    
    .carousel-indicators .active .service .rectangle,
    .carousel-indicators a:hover .service .rectangle,
    .carousel-indicators .service .rectangle {
        margin-bottom: 0;
        height: 35px;
        width: 35px;
    }
    
    .carousel-indicators .active .service .rectangle i,
    .carousel-indicators a:hover .service .rectangle i,
    .carousel-indicators .service .rectangle i {
        font-size: 16px;
    }
    
    .service p {
        font-size: 9px;
        bottom: 5px;
    }
    
    .section-services .col-sm-5 {
        min-height: auto;
        text-align: center;
    }
    
    .section-services .col-sm-7 {
        position: relative;
        margin-top: 30px;
    }
    
    .service-info h3 {
        font-size: 22px;
        text-align: center;
    }
    
    .service-info p {
        margin: 15px 0 0;
        text-align: center;
        font-size: 14px;
    }
    
    /* Team Section */
    .team {
        margin-top: 30px;
    }
    
    .team-member {
        height: 300px;
    }
    
    .team-member .team-member-front,
    .team-member .team-member-back {
        height: 300px;
    }
    
    .team-member .team-member-front .team-member-thumb {
        height: 225px;
    }
    
    .team-member .team-member-back .team-member-back-info {
        font-size: 12px;
        margin: 20px 0 0;
    }
    
    /* Portfolio Section */
    .portfolio {
        margin-top: 30px;
    }
    
    .portfolio-sorting {
        height: auto;
        border-bottom: 1px solid #ddd;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .portfolio-sorting li {
        margin: 5px;
    }
    
    .portfolio-sorting li a {
        border: 1px solid #ddd;
        padding: 0 15px;
        font-size: 11px;
        line-height: 36px;
        height: 36px;
    }
    
    .portfolio-sorting li a.active:before {
        content: none;
    }
    
    .portfolio-sorting li + li a {
        border-left: 1px solid #ddd;
    }
    
    #grid .col-md-3 {
        width: 50%;
        padding: 0 8px;
        margin-bottom: 16px;
    }
    
    .portfolio-item .portfolio-item-thumb {
        height: 200px;
    }
    
    .portfolio-item .portfolio-info h3 {
        font-size: 14px;
        margin: 15px 0 0;
    }
    
    /* Clients Section */
    .section-clients {
        padding: 60px 0;
    }
    
    .client {
        width: 140px;
    }
    
    .client img {
        max-height: 80px;
    }
    
    /* Quote Section */
    .section-quote p {
        font-size: 22px;
    }
    
    /* Contact Section */
    .section-contact .btn {
        margin-top: 20px;
    }
    
    /* WhatsApp Widget */
    #button-w {
        margin: 0 15px;
    }
    
    .wcs_popup_header {
        padding: 12px;
    }
    
    .wcs_popup_header strong {
        font-size: 16px;
    }
    
    .wcs_popup_input {
        padding: 12px;
    }
    
    /* Footer */
    .site-footer .container-fluid {
        padding: 40px 15px;
    }
    
    .site-footer .container {
        padding: 40px 15px 80px;
    }
    
    .site-footer ul li {
        display: inline-block;
        margin: 5px;
        padding: 0 8px;
    }
    
    .site-footer ul a {
        font-size: 10px;
    }
    
    .site-footer .rectangle {
        width: 35px;
        height: 35px;
        bottom: -18px;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 20px;
    }
    
    .modal-header .rectangle {
        right: -10px;
        top: -10px;
        width: 35px;
        height: 35px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h4 {
        font-size: 20px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
}

/* Móviles pequeños (max-width: 480px) */
@media only screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 20px;
    }
    
    .hero-content .hero-job {
        font-size: 12px;
    }
    
    .hero-content .hero-job-desc {
        font-size: 11px;
    }
    
    .site-section {
        padding: 40px 0;
    }
    
    .section-hello h2,
    .site-section h2,
    .modern-skills-section h2,
    .section-team h2,
    .section-works h2,
    .section-diff-title h2,
    .section-contact h2 {
        font-size: 24px;
    }
    
    .feature-about .rectangle,
    .main-service .rectangle {
        width: 40px;
        height: 40px;
    }
    
    .feature-about .rectangle i,
    .main-service .rectangle i {
        font-size: 18px;
    }
    
    .feature-about h3,
    .main-service h3 {
        font-size: 16px;
    }
    
    .feature-about p,
    .main-service p {
        font-size: 12px;
    }
    
    .modern-skills-section {
        padding: 40px 0;
    }
    
    .modern-progress-group .skill-name {
        font-size: 14px;
    }
    
    .modern-progress {
        height: 5px;
    }
    
    .progress-percentage {
        font-size: 0.6em;
    }
    
    #grid .col-md-3 {
        width: 100%;
        padding: 0 10px;
    }
    
    .portfolio-item .portfolio-item-thumb {
        height: 220px;
    }
    
    .client {
        width: 120px;
    }
    
    .client img {
        max-height: 70px;
    }
    
    .section-quote p {
        font-size: 18px;
    }
    
    .section-background {
        padding: 80px 0;
    }
    
    .section-background p {
        font-size: 14px;
    }
    
    .section-background .btn {
        margin-top: 30px;
    }
    
    .section-me h2 {
        font-size: 24px;
    }
    
    .service p {
        font-size: 8px;
    }
    
    .team-member {
        height: 280px;
    }
    
    .team-member .team-member-front .team-member-front-name {
        font-size: 14px;
        margin: 15px 0 0;
    }
    
    .team-member .team-member-back .team-member-back-name {
        font-size: 16px;
    }
    
    .team-member .team-member-back .team-member-back-info {
        font-size: 11px;
    }
}

/* Ajustes para pantallas muy grandes */
@media only screen and (min-width: 1920px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
    
    .hero-content .hero-job {
        font-size: 24px;
    }
    
    .hero-content .hero-job-desc {
        font-size: 18px;
        max-width: 900px;
    }
}

/* Utilidades */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

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

.hidden {
    display: none !important;
}

/* Animaciones suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}


/*===========================*/



.section-cge-pro {
    padding: 100px 0;
    background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
    color: #fff;
}

.section-cge-pro h2 {
    color: #ffffff;
}

.cge-pro-description {
    max-width: 850px;
    margin: 0 auto 60px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

/* ESCENARIO */
.cge-stage {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* FRAME tipo mockup */
.cge-frame {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;

    background: #000;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05);
}

/* IFRAME escalado */
.cge-frame iframe {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1920px;
    height: 1080px;

    transform: translateX(-50%) scale(0.65);
    transform-origin: top center;

    border: none;
}

/* Overlay elegante */
.cge-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.6)
    );
    pointer-events: none;
}

/* CTA */
.cge-cta {
    margin-top: 25px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .cge-frame iframe {
        transform: translateX(-50%) scale(0.5);
    }
}

@media (max-width: 768px) {
    .cge-frame iframe {
        transform: translateX(-50%) scale(0.35);
    }

    .cge-pro-description {
        font-size: 13px;
        padding: 0 15px;
    }
}

/* Fix completo para el iframe del modal */
#portfolioItem3 .modal-dialog {
    width: 90%;
    max-width: 1200px;
}

#portfolioItem3 .modal-body {
    padding: 0 !important;
}

.iframe-container {
    background: #f0f0f0;
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: auto;
}

#flipbookIframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

/* Asegurar que el modal esté por encima */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

/* Ajustes para el modal 3 */
#portfolioItem3 .modal-dialog {
    width: 90%;
    max-width: 1100px;
}
#portfolioItem3 .modal-body {
    padding: 0;
}
#portfolioItem3 .modal-body > div:first-child {
    height: 550px;
}
#portfolioItem3 iframe {
    pointer-events: auto;
}
@media (max-width: 768px) {
    #portfolioItem3 .modal-body > div:first-child {
        height: 400px;
    }
}
@media (max-width: 480px) {
    #portfolioItem3 .modal-body > div:first-child {
        height: 300px;
    }
}