* {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    scroll-padding-top: 200px;
}

body {
    padding: 0 !important;
    background-color: white;
    color: var(--black);
}

@font-face {
  font-family: "Ozhandin";
  src: url('/assets/website/font/OZHANDIN.TTF')  format('truetype');
}

/* colors */

:root {
    --red: #E41720;
    --blue: #0B2843;
    --black: #2E2E2E;
}

/* text */

h1{ 
    font-family: "Ozhandin";
    font-size: 60px;
    color: var(--red); 
    margin: 10px 0;
}

.hero-title {
    font-size: 120px;
    color: white;
    white-space: nowrap;
    line-height: 100px;
}

h2 { 
    color: white;
    font-size: 40px; 
    margin: 10px 0;
    font-family: "Ozhandin";
}


h3 {
    margin: 10px 0;
    font-size: 16px; 
    font-weight: 700;
}

h4 {
    color: white;
    font-family: "Ozhandin";
    font-size: 30px;
} 

p { 
    line-height: 20px;
    font-style: normal;
    margin: 5px 0;
    font-size: 16px;
}

a { 
    text-decoration: none!important; 
    transform: all 0.5s;
}

a:hover {
    color: var(--secondary);
}

a i {
    margin-left: 5px;
}

a:hover i{
    margin-left: 8px;
}

.h-100 {
    height: 100%;
}


.fs-title { font-size: 60px }
.fs-subtitle { font-size: 35px }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px;}
@media (min-width:990px) {
    .text-right-md { text-align: right;}
}
.row {margin:0!important}

@media (max-width: 767px) {
    p { font-size: 12px!important;
    line-height: 20px!important;}
    h1 , h1 span { font-size: 30px; }
    h4 {font-size: 18px;}
    h2 { font-size: 18px; }
    .fs-title { font-size: 40px }
    .fs-subtitle { font-size: 25px }
    .fs-16 { font-size: 13px; }
    .fs-18 { font-size: 15px;}
    button {
        font-size: 12px;
    }
}
@media (min-width: 768px)  and (max-width: 991px) {
    h1 , h1 span { font-size: 35px; }
    h2 { font-size: 19px; }
    .fs-title { font-size: 48px }
    .fs-subtitle { font-size: 30px }
    .fs-16 { font-size: 15px; }
    .fs-18 { font-size: 17px;}
}

/* helpers */
.nowrap { white-space: nowrap; }

/* backgrounds */

.primary-bg { background-color: var(--primary);}
.secondary-bg {background-color: var(--secondary);}
.blue-bg {background: var(--blue);}
.watermark {
    background: url('/assets/website/img/watermark.svg');
    background-position: center;
}
.dark-overlay {
    background: linear-gradient(to bottom, #00000077, #0000009a);
    height: 100%;
}
.red-gradient {
    background: linear-gradient(to right, #E41720, #7E0D12);
}

.blue-gradient {
    background: linear-gradient(to right, #143D64, #001E3B);
}

/* hero */

.wrapper {

    overflow: hidden;
}

.hero-gradient {
    background: linear-gradient(to right, #130000d4, #1a000066);
    height: 100%;
}

#hero {
    /* background: url('/assets/website/img/hero-banner.png');
    position: relative;
    background-position: center;
    background-size: cover; */
    height: 800px;
}


.hero-group {
    position: relative;
    display: flex; 
    align-items:center;
    height: 100%;
    overflow: hidden;
}

.hero-text {
    padding-left: 5%;
    z-index: 1;
}
.hero-img {
    position: absolute;
    right: -80px;
    width: auto;
    max-height: 100%;
    z-index: 0;
    bottom: 0;
    padding-top: 70px;
    opacity: 0;
    animation: fadeInHero 1.2s ease-in-out forwards;
}

@keyframes fadeInHero {
    to {
        opacity: 1;
    }
}

.card {
    background: #FAFAFA;
    border: #F0F0F0;
    padding: 20px;
    background-size: cover; 
    background-position: center; 
    border-radius:2rem; 
    box-shadow: 3px 3px 4px #dddd; 
   height: -webkit-fill-available;
}


/* about */



@media (min-width:1500px) {
    .hero-title {
        font-size: 85px;
    }
    
}


/* container */

.container {
    padding: 50px 0;
}

/* buttons */

button {
    background-color: var(--red);
    border-radius: 0.5rem !important;
    border: none;
    padding: 10px 20px;
    color: white;
    margin: 10px 0;
}

.sweet-alert h2 {
    color:var(--red);
}

.btn-primary a {
    color: white;
    font-size: 15px;
    font-weight: 500;
}


.btn-secondary {
    background-color: white;
    border: 1px solid white;
}

.btn-secondary a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--grey);
    border: 1px solid var(--grey);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--outline);
}

.btn-outline a {
    color: var(--btn-primary-text);
    font-size: 15px;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: white;
}

.btn-outline:hover a {
    color: var(--primary);
}

/* inputs */

.form-control {
    background-color: var(--grey);
    box-shadow: unset;
    border-radius: 1rem;
}

.form-control:focus {
    border-color: #e51720;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(233 102 102 / 10%);
}

/* header */

.navbar nav{
    background: white;
    border: none;
    margin: 20px 0;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    padding: 12px;
    float: right;
    width: fit-content;
    display: flex;
    justify-content: center;
}

.navbar-toggle {
    background: transparent; 
    border: none; 
    height: 60px;
}

.header-logo{
    position: absolute;
    left: 5%;
}

.header-logo img{
    width: 140px;
    transform: transi;
}

.navbar-toggle i {
    color: var(--blue);
}


@media (max-width:1050px) {
    .header-logo img{
        width: 120px;
    }
    .nav-link {
            width: min-content;
        padding: 10px 15px !important;
    }
    
    .navbar nav {
        padding: 6px 20px;
    }
}

.navbar {
    background: linear-gradient(to bottom, #00268247, transparent);
    border: none;
}

.navbar-nav {
    align-items: center;
    display: flex;    
    justify-content: center;
}


nav {

    box-shadow: 0px 1px 4px #0000001f;
}

.scroll {
    background: white;
}
.logo-header {
    height: 85px;
    display: block;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    padding: 10px 20px!important;
}

.nav-link:hover {
    color: var(--red);
    background-color: transparent!important;
}

.scroll .nav-link {
    color: var(--blue);
}

.navbar-nav li.active .nav-link {
    color: var(--red);
    background-color: transparent!important;
}

/* header media */

@media (max-width:768px) 
{
    .nav-link {
        font-size: 14px;
    }

    .navbar-nav {
        align-items: center;
        display: grid;
        justify-content: center;
        text-align: center;
    }

    .navbar-toggle {
        height: auto;
    }
    .navbar nav {
        display: grid;
    }
    .navbar-nav>li>a {
        white-space: nowrap;
    }
    .navbar-nav>li {
        text-align: right;
    }

   

    /* gallery */
    .card {
        width: 100%;
    }

    .blog-title {
        font-size: 50px!important;
    }

    footer div {
        text-align: center;
    }

    .hero-title {
        font-size: 45px!important;
    }

    .hero-text {
            position: absolute;
    top: 90px;

    }

    .hero-text img {
            max-height: 45px;
    }
    .hero-img {
        position: absolute;
        width: 122%;
        left: -10%;
        right: unset;
        padding-top: 0;
    }


    .navbar {
        display: unset;
        background: none;
    }

    nav {
        width: 100%;
        background: linear-gradient(to bottom, #055c39,  var(--primary), #055c3900);
    }

    .navbar-collapse {
        background-color: var(--primary);
    }

    #hero, #hero video {
        height: 600px!important;
    }

}


/* footer */
footer {
    background: linear-gradient(to bottom, #E41720, #7E0D12);
}
.footer-phone {
    display: flex; align-items: center
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    color: rgb(255, 231, 231);
}

.footer-link.active {
    font-size: 15px;
    font-weight: 500;
    color: #ff7b82;
}
.footer-link:hover {
    color: #ffbbbf;
    background-color: transparent !important;
}

/* \\\\\\\\\\\\\\\\ CONTACTS ///////////////// */

#contacts {
    background: url('/assets/website/img/contacts-banner.webp');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 800px;
}

#contacts .container {
    display: flex;
    height: 100%;
    align-items: center;
}

.contacts-form {
    padding: 50px;
    background: white;
    border-radius: 2rem;
}

.info-card {
    border-radius: 1rem;
    border-left: 2px solid var(--red);
    padding: 20px;
    height: -webkit-fill-available;
    box-shadow: 0px 1px 4px #0000001f;
    display: grid;
    margin: 10px 0;
}

.info-card h2 {
    color: var(--red);
    padding: 10px 0;
}

.form-group {
    margin-bottom: 5px;
}

/* \\\\\\\\\\\\\\\\ ABOUT ///////////////// */

#about {
    background: url('/assets/website/img/sobre-a-serra-e-silva.png');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 400px;
}

#about .hero-group {
   justify-content: right;
}

#about .hero-text {
    padding-right: 5%;
}


.timeline {
    position: relative;
    width: 800px;
    margin: 20px auto;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #ccc;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all .6s ease;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--red);
    border-radius: 50%;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content h3 {
    font-size: 45px;
    font-family: "Ozhandin";
    margin-top: 0;
    margin-right: 30px;
    margin-bottom: 10px;
    color: var(--red)!important;
}

.timeline-content {
    display: flex;
}

#mission-home {
    padding:40px 0; 
    background: url('/assets/website/img/icons/paw-print.svg'); 
    background-repeat: norepeat; 
    background-size: cover;
}


/* \\\\\\\\\\\\\\\\ SECURITY ///////////////// */

#security {
    background: url('/assets/website/img/bem-estar-animal-banner.png');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 400px;
}

#security .hero-group {
   justify-content: right;
}

#security .hero-text {
    padding-right: 5%;
}

.context-row {
    display: flex;
    flex-wrap: wrap;
}

.col-context {
    flex: 1 0 20%;
    color: white;
    height: fit-content;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.compromise-card-group, .compromise-card-group-2 {
    justify-content: center; 
    display: flex;
}
.compromise-card-group-2 {
    margin-top: 75px 
}

#policy {
    background: url('assets/website/img/icons/paw-print.svg');
     background-repeat: norepeat; 
     background-size: cover;
}

 #addresses .card-group {
        display: flex;
    }


.mission-row {
    display: flex; 
    justify-content: end; 
    padding-top: 50px; 
    align-items: center;
}
.mission-img {
    display: flex; justify-content: center;
}
 .vision-container {
        padding: 20px 0;
}
@media (max-width: 768px) {
    .col-context {
        flex: 1 0 50%;
        margin: 20px 0!important;
    }
    #policy-items img{
    max-height: 50px;

    }
    .compromise-card-group,  .compromise-card-group2 {
        display: unset;
    }

    #policy {
        background: none;
    }


    .mission-row {
        display: unset; 
    }

    .mission-img {
        display: unset;
    }

    .vision-img {
        border-radius: 0!important;
    }

     .mission-img img{
        width: 100%!important;
        margin-top: 40px;
    }
    .vision-container {
        padding: 20px 0;
    }
    #security, #about, #products { 
        height: 300px!important;
    }

    #contacts .container {
        display: block;
    }
    .hero-title {
        line-height: 52px;
        margin-top: 100px;
    }

    #contacts, #recrutiment {
        height: auto;
    }

    #addresses .card-group {
        display: block;
    }


    .footer-phone {
        justify-content: center;
    }


    #services-home .reveal-group {
            display: block!important;
    }

    #services-home .card {
        margin:70px 0 20px 0;
    }

    #mission-home {
        background: none;
    }

    #context .reveal-item img {
        height: 80px;
    }

}


/* SLIDER */

/* gallery */
.slider-container {
  padding: 50px 0;
}

.slider {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.track {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 calc(100% / 3 - 30px); 
  margin: 0 15px;
  transition: all 0.5s ease;
  opacity: 0.4;
  transform: scale(0.85);
  border-radius: 20px;
  overflow: hidden;
  padding: 10px;
}

@media  (max-width: 991px) {    
    .slide {
        flex: 0 0 calc(100%/2); 
        padding: 0;
    }
    
    .timeline-item {
        opacity: 1!important;
        padding-left: 10px;
    }

    .timeline-content {
        display: block;
    }
    .timeline {
        width: 100%;
    }
}

.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

/* foco */
.slide.active {
  opacity: 1;
  transform: scale(1.1);
}

/* vizinhos */
.slide.prev,
.slide.next {
  opacity: 0.7;
  transform: scale(0.95);
}

/* dots */
.dots {
  margin-top: 20px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ffcfcfdd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  width: 25px;
  border-radius: 10px;
  background: var(--red);
}

#images-slider {
    padding: 0px 60px;
}

.vision-row {
    display: flex; 
    padding:40px 0;
}


/* \\\\\\\\\\\\\\\\ RECRUITMENT ///////////////// */

#recruitment {
    background: url('/assets/website/img/trabalhe-connosco.png');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 800px;
}

#recruitment .container {
    display: flex;
    height: 100%;
    align-items: center;
}

.recruitment-form {
    padding: 50px;
    background: white;
    border-radius: 2rem;
}


.form-group {
    margin-bottom: 5px;
}

select {

    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    border: 1px solid #ccc;
    background-color: var(--grey);
    box-shadow: unset;
    border-radius: 1rem;
}

@media (max-width:768px) {
    #recruitment .container {
        display: block;
    }

    .vision-row {
        display: unset; 
        padding:40px 0;
    }

}

#services-home .reveal-group {
        display: flex;
}

/* \\\\\\\\\\\\\\\\ PRODUTCS ///////////////// */


#products {
    background: url('/assets/website/img/produtos-serra-e-silva.png');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 400px;
}

#products .hero-group {
   justify-content: right;
}

#products .hero-text {
    padding-right: 5%;
}
.reveal-item.hidden-product {
    display: none;
}


.product-item {
    display: none;
    margin: 8px 0;
}

.dark-overlay-product {
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom, #00000043, #00000014);
    height: 100%;
}

/* \\\\\\\\\\\\\\\\ TABLET ///////////////// */

@media (min-width:768px) and (max-width:991px) {
    
    p {
        font-size: 16px!important;
    }
    .hero-group {
        position: relative;
        display: grid; 
        align-items:center;
        height: 100%;
        overflow: hidden;
    }
        .hero-img {
                position: absolute;
        width: 82%;
        right: -10%;
        padding-top: 0;
    }

        .hero-text {
        position: absolute;
        top: 90px;
    }


    .post-image {
        max-height: 180px;
    }

    .topic-border {
        border-right: none!important;
        margin-bottom: 20px;
    }

    .topics {
        margin-top: 100px!important;
        margin-bottom: -100px;
    }

    .topics-card-title {
        display: grid!important; 
    }

    .topics-card-title img {
        margin: auto;
    }

    
    .blog {
        padding: 0 10px;
    }

    footer {
        overflow: hidden;
    }

    .navbar-toggle {
        margin: 20px 0;
        padding: 0;
    }

    .navbar-collapse {
        box-shadow: none;
    }

    .navbar-header {
            display: flex;
    justify-content: center;
    }



    .page-card {
        height: 380px;
    }
}


/* \\\\\\\\\\\\\\\\ MOBILE ///////////////// */

@media (max-width:768px) {
    .hero-group {
        position: relative;
        display: grid; 
        align-items:center;
        height: 100%;
        overflow: hidden;
    }

    .stats {
        display: grid!important;
    }

    .stats-img {
        position: relative!important;
                padding: 30px;
        width: 100%;
    }

    .stats-number {
        font-size: 55px; 
    }

    .stats-table {
        padding: 0 0 80px;
    }

    .stats-title {
        font-size: 50px!important; 
        padding: 0 15px;
    }

    .topic-border {
        border-right: none!important;
        margin-bottom: 20px;
    }

    .topics {
        margin-top: 200px!important;
        margin-bottom: -200px;
    }

    .topics-card-title {
        display: grid!important; 
    }

    .topics-card-title img {
        margin: auto;
    }
    .blog .col-xs-12{
        padding: 5px 0;
    }
    .blog {
        padding: 0 10px;
    }

    footer {
        overflow: hidden;
    }

    .navbar-toggle {
        margin: 20px 0;
        padding: 0;
    }

    .navbar-collapse {
        box-shadow: none;
    }



    .card-fan-container {
        height: 25rem!important;
    }

    .gallery-banner {
        height:200px!important; 
    }
    
    
    
    #recruitment {
        height: unset;
    }
}



/* reveal items on scroll */

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-item.show {
    opacity: 1;
    transform: translateY(0);
}