/*
 * Template Name: Andia
 * Template URI: http://azmind.com
 * Description: Andia - Responsive Agency Template
 * Author: Anli Zaimi
 * Author URI: http://azmind.com
 */

/* General Styles */
body {
    background: #d3d3d3;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    color: #000000;
    font-size: 14px;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.violet {
    color: #000084;
}

a {
    color: #000000;
    text-decoration: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

a:hover,
a:focus {
    color: #888;
    text-decoration: none;
}

strong {
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2 {
    line-height: 40px;
}

h3,
h4 {
    line-height: 20px;
}

::-moz-selection {
    background: #000084;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #000084;
    color: #fff;
    text-shadow: none;
}

/* Big Links / Buttons */
a.big-link-1 {
    display: inline-block;
    padding: 5px 22px;
    background: #000084;
    color: #fff;
    font-style: italic;
    text-decoration: none;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-1:hover {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.big-link-1:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-2 {
    display: inline-block;
    width: 35px;
    height: 35px;
    padding-top: 6px;
    background: #000084;
    font-size: 20px;
    color: #fff;
    line-height: 20px;
    -moz-border-radius: 19px;
    -webkit-border-radius: 19px;
    border-radius: 19px;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-2 i {
    vertical-align: middle;
}

a.big-link-2:hover {
    background: #5d5d5d;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.big-link-2:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-3 {
    display: inline-block;
    padding: 5px 22px;
    background: #000084;
    font-size: 18px;
    color: #fff;
    font-style: italic;
    line-height: 24px;
    text-decoration: none;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-3:hover {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.big-link-3:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

/* Top Menu */
.navbar {
    margin-bottom: 0;
    background: #282828;
    border: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
    -moz-box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
    box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

ul.navbar-nav {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

ul.navbar-nav li a {
    padding: 23px 20px;
    background: #282828;
    border-top: 3px solid #282828;
    color: #fff;
    -webkit-box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
    -moz-box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
    box-shadow: inset 0px -26px 46px -22px rgba(0,0,132,0.5);
}

ul.navbar-nav li.active a {
    background: #f8f8f8;
    border-color: #282828;
    color: #fff;
}

ul.navbar-nav li a:hover,
ul.navbar-nav li a:focus {
    background: #000084;
    border-color: #fff;
    color: #888;
    outline: 0;
}

.nav .open > a {
    background: #f8f8f8;
    border-color: #000084;
    color: #000000;
}

.nav .open > a:hover,
.nav .open > a:focus {
    background: #000084;
    border-color: #fff;
    color: #282828;
}

ul.navbar-nav li a i {
    line-height: 35px;
    color: #fff;
}

ul.navbar-nav li a:hover i,
ul.navbar-nav li a:focus i {
    color: #888;
}

.dropdown-menu {
    border: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.dropdown-menu > .active > a {
    background: #fff;
    color: #000000;
}

.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background: #f8f8f8;
    color: #000084;
}

ul.navbar-nav li .dropdown-menu a {
    padding-top: 25px;
    padding-bottom: 15px;
}

ul.navbar-nav li.active .dropdown-menu a {
    background: #fff;
    color: #000000;
    border: 0;
}

ul.navbar-nav li.active .dropdown-menu a:hover,
ul.navbar-nav li.active .dropdown-menu a:focus {
    background: #000084;
    color: #fff;
    border: 0;
}

ul.navbar-nav li.active .dropdown-menu > .active > a {
    background: #f8f8f8;
    color: #000084;
    border: 0;
}

ul.navbar-nav li.active .dropdown-menu > .active > a:hover,
ul.navbar-nav li.active .dropdown-menu > .active > a:focus {
    background: #000084;
    color: #fff;
    border: 0;
}

.navbar > .container .navbar-brand {
    margin-left: 0;
}

/* Ajuste del logo */
.navbar-brand {
    width: 500px;
    height: 106px;
    background: url(../img/logo.png) left center no-repeat;
    background-size: contain;
    text-indent: -99999px;
    max-width: 500px;
    margin: 0 auto;
}

/* Page Title */
.page-title-container {
    margin-top: 0;
    width: 100%;
    padding: 0 10px;
}

.page-title-container h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    color: #000000;
    font-weight: bold;
}

.page-title-container p {
    font-size: 18px;
}

/* Slider */
.slider-container {
    margin: 20px;
    padding: 0;
    background: transparent;
    width: 100%;
    overflow: hidden;
    box-shadow: none;
}

.slider-container .container {
    padding: 0;
}

.slider-container .row {
    margin: 0;
}

.slider {
    padding: 0;
}

.flexslider {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
}

.flexslider .slides > li {
    position: relative;
}

.flexslider .slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.flex-caption {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    padding: 10px 20px;
    background: rgba(0, 0, 0, .7);
    font-size: 20px;
    line-height: 16px;
    color: #eaeaea;
    text-align: left;
    font-style: italic;
}

.flex-direction-nav a {
    width: 60px;
    height: 60px;
    padding-top: 17px;
    background: #000084;
    color: #fff;
    text-shadow: none;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 10;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    line-height: 1;
    display: inline-block;
    content: '\f001';
}

.flex-direction-nav a.flex-next:before {
    content: '\f002';
}

.flex-direction-nav .flex-prev {
    left: 10px;
}

.flex-direction-nav .flex-next {
    right: 10px;
}

/* Presentation */
.presentation-container {
    margin-top: 0;
    width: 100%;
    padding: 0 10px;
}

.presentation-container h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    color: #000000;
    font-weight: bold;
}

.presentation-container p {
    font-size: 18px;
}

/* Services */
.services-container {
    margin-top: 10px;
    width: 100%;
    padding: 0 10px;
}

.services-title {
    margin-top: 40px;
    background: url(../img/line.png) left center repeat-x;
}

.services-title h2 {
    width: 200px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
}

.service {
    margin-top: 40px;
    padding: 15px;
    background: #f8f8f8;
    border-bottom: 2px solid #000084;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.service:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.5), 0 1px 25px 0 rgba(0,0,0,.3) inset, 0 -1px 25px 0 rgba(0,0,0,.2) inset;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.service .service-icon {
    font-size: 50px;
    line-height: 50px;
    color: #5d5d5d;
}

.service .service-icon i {
    vertical-align: middle;
}

.service h3 {
    margin-top: 13px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
    flex-grow: 0;
}

.service img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service p {
    padding-bottom: 7px;
    line-height: 24px;
}

/* Latest Work */
.work-container {
    margin-top: 50px;
    width: 100%;
    padding: 0 10px;
}

.work-title {
    background: url(../img/line.png) left center repeat-x;
}

.work-title h2 {
    width: 220px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
}

.work {
    margin-top: 25px;
    padding-bottom: 20px;
    background: #f8f8f8;
    border-bottom: 2px solid #000084;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.work img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.work:hover img {
    opacity: 0.7;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.work:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.5), 0 1px 25px 0 rgba(0,0,0,.5) inset, 0 -1px 25px 0 rgba(0,0,0,.5) inset;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.work .work-bottom {
    margin-top: 15px;
}

.work h3 {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.work p {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 24px;
    font-style: italic;
}

@media (min-width: 768px) {
    .work {
        margin-bottom: 40px;
    }

    .col-sm-3 {
        width: 48%;
        margin-right: 2%;
    }

    .col-sm-3:nth-child(2n) {
        margin-right: 0;
    }
}

@media (min-width: 1200px) {
    .col-sm-3 {
        width: 23%;
        margin-right: 2%;
    }

    .col-sm-3:nth-child(2n) {
        margin-right: 2%;
    }

    .col-sm-3:nth-child(4n) {
        margin-right: 0;
    }
}

/* Portfolio */
.portfolio-container {
    margin-top: 50px;
    width: 100%;
    padding: 0 10px;
}

.portfolio-filters {
    margin-bottom: 30px;
    text-align: center;
}

.portfolio-filters a {
    margin: 0 5px;
    font-size: 16px;
    color: #000000;
    text-transform: uppercase;
}

.portfolio-filters a.active {
    color: #000084;
    font-weight: bold;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 -10px;
}

.portfolio-box {
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;
}

.portfolio-box-container {
    position: relative;
    background: #f8f8f8;
    border-bottom: 2px solid #000084;
    overflow: hidden;
}

.portfolio-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.portfolio-box:hover img {
    opacity: 0.7;
}

.portfolio-box:hover .portfolio-box-container {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.5), 0 1px 25px 0 rgba(0,0,0,.5) inset, 0 -1px 25px 0 rgba(0,0,0,.5) inset;
    transition: all 0.5s ease;
}

.portfolio-box-text {
    padding: 15px;
    text-align: center;
}

.portfolio-box-text h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
    margin: 0;
}

.portfolio-box-text p {
    margin: 0;
    line-height: 24px;
    font-style: italic;
}

@media (min-width: 768px) {
    .portfolio-box {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .portfolio-box {
        width: 25%;
    }
}

/* Testimonials */
.testimonials-container {
    margin-top: 50px;
    padding-bottom: 70px;
}

.testimonials-title {
    background: url(../img/line.png) left center repeat-x;
}

.testimonials-title h2 {
    width: 180px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    color: #5d5d5d;
    font-weight: bold;
}

.testimonial-list {
    margin-top: 30px;
    text-align: left;
}

.testimonial-list .tab-pane {
    overflow: hidden;
}

.testimonial-list .testimonial-image {
    float: left;
    width: 10%;
    margin: 10px 0 0 0;
}

.testimonial-list .testimonial-image img {
    max-width: 64px;
    border: 3px solid #eaeaea;
}

.testimonial-list .testimonial-text {
    float: left;
    width: 90%;
    font-size: 14px;
    line-height: 30px;
    font-style: italic;
}

.testimonial-list .nav-tabs {
    border: 0;
    text-align: right;
}

.testimonial-list .nav-tabs li {
    float: none;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.testimonial-list .nav-tabs li a {
    width: 12px;
    height: 12px;
    padding: 0;
    background: #eaeaea;
    border: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.testimonial-list .nav-tabs li a:hover {
    border: 0;
    background: #ddd;
}

.testimonial-list .nav-tabs li.active a {
    background: #000084;
}

/* Footer */
footer {
    background-color: #003087;
    color: #fff;
    padding: 30px 0;
    margin: 0 auto;
    box-shadow: none;
    background-image: none;
    width: 100%;
    min-height: 300px;
}

.footer-box {
    padding: 20px 0;
    text-align: left;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    width: 100%;
}

footer .row > .col-sm-4 {
    padding: 0 15px;
    flex: 1;
    max-width: 33.333%;
}

.footer-box h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    text-shadow: none;
}

.footer-box-text {
    font-size: 14px;
}

.footer-box-text-contact p {
    margin-bottom: 10px;
    line-height: 1.5;
}

footer p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .fa {
    margin-right: 5px;
}

footer iframe {
    border: 0;
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    display: block;
}

.footer-border {
    border-top: 1px solid #fff;
    margin: 20px 0;
}

.footer-copyright {
    text-align: left;
}

.footer-social {
    text-align: right;
}

.footer-social a {
    margin-left: 10px;
    font-size: 20px;
    color: #fff;
}

.footer-social a:hover {
    color: #ddd;
}

/* Contact Page */
.contact-us-container {
    margin-top: 20px;
    padding-bottom: 100px;
    text-align: left;
    width: 100%;
}

.contact-us-container h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
}

.contact-us-container h3 {
    margin-top: 25px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.contact-us-container p {
    line-height: 28px;
    font-size: 13px;
}

.contact-form {
    padding-top: 25px;
    padding-bottom: 30px;
}

.contact-form form {
    margin-top: 25px;
}

.contact-form form .form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"] {
    width: 95%;
    height: 34px;
}

.contact-form textarea {
    width: 95%;
    height: 170px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.contact-form label {
    font-size: 13px;
    font-weight: 400;
}

.contact-form label .error-label {
    font-style: italic;
}

.contact-form button {
    margin-top: 5px;
    padding: 0 45px;
}

.contact-address {
    padding-bottom: 15px;
}

.contact-address .map {
    margin: 20px 0 40px 0;
    height: 300px;
    border: 5px solid #f8f8f8;
}
@media (max-width: 767px) {
    .flexslider .slides img {
        min-height: 200px; /* Asegura una altura mínima para evitar que colapse */
        object-fit: contain; /* Cambia a contain para evitar recortes en móviles */
        visibility: visible !important;
    }
    .flexslider {
        min-height: 200px; /* Asegura que el contenedor tenga una altura mínima */
    }
}
picture img {
    width: 100%;
    height: auto;
    display: block;
}