/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ff6600 !important; /* laranja da Atop */
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: #0056b3;
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: #ff6600;
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: #0056b3;
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: #ff6600;
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: #ff6600;
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: #0056b3;
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: #0056b3;
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: #ff6600;
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: #0056b3;
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: #ff6600;
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: #ff6600 !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: #ff6600;
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #0056b3;
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: #0056b3;
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid #ff6600 !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: #ff6600;
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid #ff6600;
    transition: .5s;
}

.team-item:hover h4 {
    color: #0056b3;
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid #ff6600;
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: #ff6600;
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: #0056b3;
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #ff6600;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #ff6600;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: #0056b3;
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #0056b3;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #0056b3;
}

.contact-form {
    background: #ff6600;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: #ff6600;
    border: 0;
}

/*** Footer End ***/
.navbar-light .navbar-nav .nav-link {
    color: #0056b3 !important; /* Azul Atop */
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ff6600 !important; /* Laranja Atop no hover/ativo */
}
.navbar-light .navbar-nav .nav-link {
    color: #0056b3 !important; /* Azul Atop */
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ff6600 !important; /* Laranja Atop no hover/ativo */
}
/* Laranja Atop no que hoje é verde no footer */
.footer .text-primary,
.footer .text-secondary,
.footer a.text-primary,
.footer a.text-secondary,
.footer .short-link a i,
.footer .help-link a i,
.footer .contact-link a i {
    color: #ff6600 !important;
}

/* Ícones sociais do footer no hover (círculo) */
.footer .hightech-link a:hover {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
}
.footer a.footer-logo img {
    height: 80px !important;   /* força a altura */
    width: auto !important;    /* mantém proporção */
    display: block;            /* garante alinhamento */
}
/* Botões laranja Atop */
.btn-secondary {
    background-color: #ff6600 !important; /* fundo laranja */
    border-color: #ff6600 !important;
    color: #fff !important; /* texto branco */
}

.btn-secondary:hover {
    background-color: #e65c00 !important; /* laranja mais escuro no hover */
    border-color: #e65c00 !important;
    color: #fff !important;
}
/* Nomes dos clientes na seção de testemunhos em branco */
.testimonial .text-secondary {
    color: #000000 !important;

}
/* Texto do depoimento apenas quando o slide está ativo */
.testimonial-carousel .owl-item.center .testimonial-item .border-top.mt-4.pt-3 p.mb-0 {
    color: #030000de !important;
}
/* Aumentar largura só do bloco de e-mail */
.contact-detail .email-block .d-flex {
    min-width: 420px; /* ajuste o valor conforme quiser */
}

/* Mover bloco de e-mail para a esquerda */
.contact-detail .email-block {
    margin-left: -15px; /* ajuste conforme necessário */
}
/* organiza a 1ª coluna em coluna, com respiro */
.footer .col-logo {
  display: flex;
  flex-direction: column;
}

/* a âncora da logo */
.footer .footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 16px;
}

/* logo grande, mas nunca ultrapassa a largura da coluna */
.footer .footer-logo img {
  width: min(62px, 100%) !important; /* ajuste 240px se quiser maior/menor */
  height: auto !important;
  display: block;
}

/* garante que nenhuma regra antiga limite a altura */
.footer .footer-logo img {
  max-height: none !important;
}
.slide-video {
  position: relative;
  width: 100%;
  height: 100vh; /* altura do slide */
  overflow: hidden;
}

.slide-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.3); /* diminui o zoom */
  object-fit: cover;
}



.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
/* Coluna da logo organizada e com respiro */
.footer .col-lg-3.col-md-6:first-child {
  display: flex;
  flex-direction: column;
}

/* Logo maior sem estourar a coluna */
.footer .footer-logo { line-height: 0; margin-bottom: 16px; display: inline-block; }
.footer .footer-logo img {
  width: min(240px, 100%) !important;  /* ajuste aqui o tamanho base */
  height: auto !important;
  display: block;
  max-height: none !important;
}

/* Opcional: maior em telas grandes */
@media (min-width: 1200px) {
  .footer .footer-logo img { width: 280px !important; }
}
.clients .client-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients .client-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.8;
  transition: .3s ease;
}
.clients .client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}
@media (min-width: 1200px) {
  .clients .client-logo {
    max-height: 70px;
  }
}
/* Área do scroller */
.logo-scroller {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

/* Trilho com animação contínua */
.scroller-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  will-change: transform;
  animation: logos-roll 28s linear infinite;
}

/* Logos padronizadas */
.client-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) contrast(1.05);
  opacity: .85;
  transition: .25s ease;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

/* Pausa ao passar o mouse (opcional) */
.logo-scroller:hover .scroller-track {
  animation-play-state: paused;
}

/* Mais alto em telas grandes */
@media (min-width: 1200px) {
  .client-logo { max-height: 70px; }
}

/* Animação contínua (ajuste 28s para + lento/rápido) */
@keyframes logos-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* metade porque duplicaremos o conteúdo */
}
/* mantém a base em PB */
.clients .client-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) contrast(1.05);
  opacity: .85;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
  pointer-events: auto; /* garante que o <img> receba o hover */
}

/* pausa a animação ao entrar na área para facilitar o hover */
.logo-scroller:hover .scroller-track {
  animation-play-state: paused;
}

/* quando passar o mouse sobre a IMAGEM, força a cor */
.clients .client-logo:hover {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.03);
}

/* opcional: ao entrar na área, já reduz um pouco o PB, pra parecer “ativo” */
.logo-scroller:hover .client-logo {
  filter: grayscale(60%) contrast(1.05);
}

/* em telas grandes, um tico maior */
@media (min-width: 1200px) {
  .clients .client-logo { max-height: 70px; }
}
/* Área do scroller */
.logo-scroller {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

/* Trilho com animação contínua */
.scroller-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  will-change: transform;
  animation: logos-roll 28s linear infinite;
}

/* Logos padronizadas */
.client-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) contrast(1.05);
  opacity: .85;
  transition: .25s ease;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

/* Pausa ao passar o mouse (opcional) */
.logo-scroller:hover .scroller-track {
  animation-play-state: paused;
}

/* Mais alto em telas grandes */
@media (min-width: 1200px) {
  .client-logo { max-height: 70px; }
}

/* Animação contínua (ajuste 28s para + lento/rápido) */
@keyframes logos-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* metade porque duplicaremos o conteúdo */
}
.carousel-item img {
  width: 100%;
  height: 90vh; /* ocupa 90% da altura da tela */
  object-fit: cover;
}
