/*

Template 2081 Solution - VERSÃO COMPLETA MODERNIZADA
http://www.tooplate.com/view/2081-solution

*/

/* ========== RESET E BASE ========== */
body {
    background: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    position: relative;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h2, h3, h4 {
    font-weight: bold;
}

p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ========== SEÇÕES GERAIS ========== */
#service, #divider, #about, #team, #newsletter,
#pricing, #portfolio, #client, #contact {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

/* ========== NAVEGAÇÃO ========== */
.navbar-default {
    background: #fff;
    border: none;
    box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
    margin: 0 !important;
    padding: 0;
    transition: all 0.3s ease;
}
.navbar-default .navbar-brand {
    padding-top: 4px;
    padding-bottom: 60px;
}
.navbar-default .navbar-nav li a {
    font-size: 13px;
    font-weight: bold;
    line-height: 35px;
    transition: color 0.3s ease;
}
.navbar-default .navbar-nav li a:hover {
    color: #93ca3a;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #93ca3a;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
    border: none;
    padding-top: 16px;
}
.navbar-default .navbar-toggle .icon-bar {
    background: #93ca3a;
    border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { 
    background-color: transparent;
}

/* ========== HOME/SLIDER ========== */
#home {
    padding-top: 65px;
}
.flexslider {
    margin: 0 0 60px;
    background: #fff;
    padding: 0;
    position: relative;
    zoom: 1;
    background-color: #371604;
    overflow: hidden;
    margin: 0;
    border-radius: 0 0 12px 12px;
}
.flexslider .slides {
    padding: 0;
    zoom: 1;
}
.flexslider .slides img {
    width: 100%;
    min-width: 648px;
    min-height: 270px;
    display: block;
    object-fit: cover;
}
.flexslider .slides > li {
    display: none;  
    padding: 0;
    position: relative;
    -webkit-backface-visibility: hidden;
}
.flexslider img {
    position: relative;
    width: 100%;
}
.slider-caption {
    color: white;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    z-index: 7;
    width: 100%;
    height: 100%;
    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;
}
.flexslider .btn {
    background: #93ca3a;
    border-radius: 6px;
    border: 2px solid transparent;
    color: #FFFFFF;
    font-weight: bold;
    margin: 40px 0 0 0;
    transition: all 0.4s ease-in-out;
    height: 50px;
    width: 250px;
    padding: 12px 10px 10px 10px;
}
.flexslider .btn:hover,
.flexslider .btn:focus {
    background: #fff;
    color: #93ca3a;
    border: 2px solid #93ca3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ========== SERVICE ========== */
#service .media {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
#service .media:hover {
    background: #f9f9f9;
    transform: translateY(-5px);
}
#service .media .fa {
    color: #93ca3a;
    font-size: 40px;
    margin-right: 20px;
}
#service .media .media-heading {
    border-bottom: 2px solid #202020;
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 10px;
}

/* ========== DIVIDER ========== */
#divider {
    background: url('../images/divider-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
}
#divider h2 {
    font-size: 40px;
}
#divider strong {
    color: #93ca3a;
}
#divider h3 {
    padding-bottom: 30px;
}

/* ========== ABOUT ========== */
/* ========== ABOUT - COM NÚMEROS ALINHADOS ========== */
#about {
    background: #fafafa;
    padding-top: 100px;
    padding-bottom: 100px;
}

#about h3 {
    color: #93ca3a;
    font-size: 40px;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

#about h4 {
    padding-bottom: 10px;
    margin-top: 40px;
    font-size: 24px;
    color: #333;
}

/* Container para cada linha de progresso */
#about .progress-container {
    margin-bottom: 30px;
    position: relative;
}

/* Label e percentagem alinhados */
#about .progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#about .progress-label span {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

#about .progress-percentage {
    font-weight: 700;
    color: #93ca3a;
    font-size: 18px;
    min-width: 50px;
    text-align: right;
}

/* Barra de progresso */
#about .progress {
    border-radius: 4px;
    background: #e0e0e0;
    height: 10px;
    margin-bottom: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

#about .progress-bar {
    background: #93ca3a;
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

/* Efeito opcional na barra */
#about .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
    animation: progressAnimation 1s linear infinite;
}

@keyframes progressAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

/* Texto descritivo abaixo */
#about .text-top {
    padding-top: 50px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

#about .text-top p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ========== TEAM (System Instances) - MODERNIZADO ========== */
#team {
    border-top: 1px solid #f6f6f6;
    border-bottom: 1px solid #f6f6f6;
    text-align: center;
    background: #fafafa;
}
#team h2 {
    padding-bottom: 50px;
    position: relative;
    font-size: 2.8em;
}
#team h2::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #93ca3a;
}
#team img {
    border: 1px solid #f6f6f6;
    display: inline-block;
    padding: 10px;
    transition: all 0.4s ease-in-out;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
}
#team img:hover {
    opacity: 0.8;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    cursor: pointer;
}
#team h3 {
    color: #93ca3a;
    padding-bottom: 5px;
    margin-top: 20px;
    font-size: 1.4em;
}
#team h4 {
    font-size: 14px;
    padding-top: 10px;
    line-height: 1.4;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#team .col-md-4 {
    padding: 15px;
}
#team p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    padding: 0 15px;
    margin-top: 10px;
    min-height: 80px;
}
#team .social-icon {
    margin-top: 15px;
    margin-bottom: 30px;
}
#team .social-icon li a {
    background: #f5f5f5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    transition: all 0.3s ease;
    color: #93ca3a;
    font-size: 18px;
}
#team .social-icon li a:hover {
    background: #93ca3a;
    color: white;
    transform: translateY(-3px);
}

/* ========== NEWSLETTER - CORRIGIDO E ALINHADO ========== */
#newsletter {
    background: url('../images/newsletter-bg.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
}
#newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}
#newsletter .container {
    position: relative;
    z-index: 2;
}
#newsletter .title h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
#newsletter .title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #93ca3a;
}
#newsletter p {
    padding-bottom: 40px;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}
#newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

/* CORREÇÃO CRÍTICA: Newsletter layout fix */
#newsletter .row {
    display: flex;
    justify-content: center;
    align-items: center;
}
#newsletter .col-md-3,
#newsletter .col-sm-3 {
    display: none; /* Remove colunas vazias que quebram layout */
}
#newsletter .col-md-4,
#newsletter .col-sm-4,
#newsletter .col-md-2,
#newsletter .col-sm-2 {
    flex: 0 0 auto;
    width: auto;
    float: none;
    padding: 0 5px;
}

#newsletter .form-control {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: #ffffff;
    height: 56px;
    padding: 0 20px;
    font-size: 16px;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
#newsletter .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: #93ca3a;
    box-shadow: 0 0 0 3px rgba(147, 202, 58, 0.2);
    outline: none;
}
#newsletter input[type="submit"] {
    background: #93ca3a;
    border: 2px solid #93ca3a;
    border-radius: 8px;
    color: #ffffff;
    height: 56px;
    padding: 0 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#newsletter input[type="submit"]:hover {
    background: #7db82f;
    border-color: #7db82f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
#newsletter .form-control::-moz-placeholder {
    color: rgba(255,255,255,0.7);
    opacity: 1;
}
#newsletter .form-control:-ms-input-placeholder {
    color: rgba(255,255,255,0.7);
}
#newsletter .form-control::-webkit-input-placeholder {
    color: rgba(255,255,255,0.7);
}

/* ========== PRICING (Template Access) - CORRIGIDO E ALINHADO ========== */
#pricing {
    border-bottom: 1px solid #f6f6f6;
    background: #fafafa;
}
#pricing h2 {
    padding-bottom: 50px;
    position: relative;
    font-size: 2.8em;
}
#pricing h2::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #93ca3a;
}
#pricing .col-md-3,
#pricing .col-sm-6 {
    padding: 15px;
    margin: 0;
}
#pricing .plan {
    border: 1px solid #eaeaea;
    transition: all 0.4s ease-in-out;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* CORREÇÃO: Remove margens desiguais que desalinhavam */
#pricing .plan_one,
#pricing .plan_two,
#pricing .plan_three,
#pricing .plan_four {
    margin-top: 0 !important;
}

#pricing .plan:hover {
    background: #202020;
    color: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
#pricing .plan:hover .plan_title {
    color: #93ca3a;
    border-bottom-color: rgba(255,255,255,0.2);
}
#pricing .plan:hover .btn {
    background: #93ca3a;
    color: white;
}
#pricing .plan .plan_title {
    border-bottom: 1px solid #f0f0f0;
    color: #93ca3a;
    font-size: 28px;
    padding: 0 0 20px 0;
    margin-bottom: 25px;
    width: 100%;
    font-weight: 700;
}
#pricing .plan ul {
    padding: 0;
    margin: 0 0 30px 0;
    list-style: none;
    flex-grow: 1;
    width: 100%;
}
#pricing .plan ul li {
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    color: #666;
    font-size: 15px;
}
#pricing .plan:hover ul li {
    color: #ccc;
    border-bottom-color: rgba(255,255,255,0.1);
}
#pricing .plan ul li:first-child {
    font-size: 24px;
    font-weight: 700;
    color: #93ca3a;
    border-bottom: 2px solid #93ca3a;
    padding-bottom: 15px;
    margin-bottom: 10px;
}
#pricing .plan:hover ul li:first-child {
    color: #93ca3a;
    border-bottom-color: #93ca3a;
}
#pricing .plan .btn {
    background: #93ca3a;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    width: 160px;
    height: 48px;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#pricing .plan .btn:hover {
    background: #ffffff;
    color: #66AF33;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ========== PORTFOLIO ========== */
#portfolio h2 {
    padding-bottom: 30px;
}
#portfolio .portfolio-thumb {
    overflow: hidden;
    margin: 0;
    position: relative;
    border-radius: 8px;
}
#portfolio .portfolio-thumb .portfolio-overlay {
    background: rgba(51, 51, 51, 0.9);
    color: #ffffff;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 60px 60px 0px 60px;
    text-align: center;
    position: absolute;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#portfolio .portfolio-thumb:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1);
}
#portfolio .portfolio-thumb .portfolio-overlay .fa {
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
#portfolio .portfolio-thumb .portfolio-overlay .fa:hover {
    background: #93ca3a;
    border-color: #93ca3a;
}

/* ========== CONTACT - MODERNIZADO ========== */
#contact {
    background: url('../images/contact-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    position: relative;
}
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}
#contact .container {
    position: relative;
    z-index: 2;
}
#contact h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
#contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #93ca3a;
}
#contact h3 {
    font-weight: bold;
    padding-bottom: 20px;
    color: #93ca3a;
}
#contact .fa {
    color: #93ca3a;
    font-size: 18px;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}
#contact .form-control {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 20px;
    transition: all 0.4s ease-in-out;
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    backdrop-filter: blur(5px);
}
#contact .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: #93ca3a;
    box-shadow: 0 0 0 3px rgba(147, 202, 58, 0.2);
    outline: none;
}
#contact input {
    height: 56px;
}
#contact input[type="submit"] {
    background: #93ca3a;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#contact input[type="submit"]:hover {
    background: #7db82f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
#contact .form-control::-moz-placeholder {
    color: rgba(255,255,255,0.7);
    opacity: 1;
}
#contact .form-control:-ms-input-placeholder {
    color: rgba(255,255,255,0.7);
}
#contact .form-control::-webkit-input-placeholder {
    color: rgba(255,255,255,0.7);
}

/* ========== FOOTER - MODERNIZADO ========== */
footer {
    padding-top: 60px;
    padding-bottom: 40px;
    background: #202020;
    color: #aaa;
}
footer p {
    line-height: 1.6;
    margin-bottom: 10px;
}
footer small {
    color: #888;
    font-size: 0.9em;
}
footer .social-icon {
    margin-top: 20px;
    text-align: right;
}
footer .social-icon li a {
    color: #aaa;
    font-size: 18px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}
footer .social-icon li a:hover {
    background: #93ca3a;
    color: white;
    transform: translateY(-3px);
}

/* ========== SOCIAL ICON GERAL ========== */
.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
    top: 20px;
}
.social-icon li {
    display: inline-block;
    list-style: none;
}
.social-icon li a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
}
.social-icon li a:hover {
    background: #f2f2f2;
}

/* ========== MEDIA QUERIES ========== */
@media only screen and (max-width: 1199px) {
    .flexslider h1 { font-size: 30px; }
    .flexslider h2 { font-size: 24px; }
    #team img {
        max-width: 250px;
        height: 180px;
    }
}

@media only screen and (max-width: 991px) {
    #pricing .col-md-3 {
        margin-bottom: 30px;
    }
    #team .col-md-4 {
        margin-bottom: 30px;
    }
    #newsletter form {
        flex-direction: column;
    }
    #newsletter .form-control,
    #newsletter input[type="submit"] {
        width: 100%;
        max-width: 400px;
    }
}

@media only screen and (max-width: 768px) {
    .navbar-default .navbar-brand { margin-left: 20px; }
    .navbar-default .navbar-nav { margin: 0; }
    .navbar-default .navbar-collapse {
        padding-left: 20px;
        padding-right: 20px;
    }
    .flexslider h1 { font-size: 26px; }
    .flexslider h2 { font-size: 18px; }
    .templatemo-slider-btn { 
        margin-top: 10px; 
        width: 180px;
        height: 40px;
        padding-top: 8px;
    }
    #team, #pricing, #newsletter, #contact {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    #team h2, #pricing h2, #newsletter .title h2 {
        font-size: 2.2em;
    }
    #team p {
        min-height: auto;
    }
    footer .social-icon {
        text-align: left;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 640px) {   
    .flexslider h1 { font-size: 20px; }
    .flexslider h2 { font-size: 14px; }
    .templatemo-slider-btn {
        width: auto;
        height: auto;
        padding: 10px 20px;
        margin-top: 10px; 
    }
}

@media only screen and (max-width: 576px) {
    #team img {
        max-width: 100%;
        height: 200px;
    }
    #pricing .plan {
        padding: 30px 20px;
    }
    #contact .col-md-6,
    #contact .col-md-3 {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 360px) {
    #team .col-md-4 {
        padding-top: 40px;
    }
}