/**
 * homepage.css — Logos Publicity Ltd
 *
 * Owns: #hero, #services container, #clients container + carousel/accordion, #team container + carousel.
 *
 * Migration status: Step 4 — extracted from style.css and project-template.css.
 * Loaded only in index.html after project-template.css.
 */

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  max-height: 100svh;
  padding-top: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero #myVideo {
  position: relative;
  display: block;
  width: min(100%, calc(100svh * 16 / 9));
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(100svh, calc(100vw * 9 / 16));
  object-fit: contain;
  object-position: center;
  z-index: 1;
  flex: 0 0 auto;
}
#hero .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 3px 3px;
  z-index: 2;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.08);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}

#hero .hero-sound-toggle {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

#hero .hero-sound-toggle:hover,
#hero .hero-sound-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.75);
  outline: 2px solid #7cc576;
  outline-offset: 2px;
}

#hero .hero-audio-gate {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 100%);
  pointer-events: auto;
  cursor: pointer;
}

#hero .hero-audio-gate[hidden] {
  display: none !important;
}

#hero .hero-audio-gate__button {
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#hero .hero-audio-gate__button:hover,
#hero .hero-audio-gate__button:focus-visible {
  background: rgba(0, 0, 0, 0.85);
  outline: 2px solid #7cc576;
  outline-offset: 2px;
  transform: translateY(-1px);
}
#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#hero .hero-logo {
  margin-bottom: 30px;
}

#hero h1 {
  margin: 0 0 30px 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: #aeaeae;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: #7cc576;
}

#hero .btn-get-started:hover {
  background: #fff;
  color: #7cc576;
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    line-height: 22px;
  }
}

/*--------------------------------------------------------------
# Services Section Container & Overrides
--------------------------------------------------------------*/
#services {
 background-color: #333; 
 padding-bottom: 10px;    
}

#services h2 {
 color: #fff;
    margin-top: -40px;
}

#services .service-card__more {
    font-family: 'Montserrat';
    font-size: 13px;
    min-height: 44px;
    min-width: 130px;
    padding: 0 24px;
    border: 1px solid #fff;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
    pointer-events: auto;
    transition: background-color .6s ease, color .6s ease;
}

#services .service-card__more:hover {
    background-color: #fff;
    color: #333;
}

@container serviceCard (inline-size >= 520px) {
  #services .service-card__more {
    font-size: clamp(.875rem, 2.2cqi, .95rem);
    min-width: 140px;
    padding-inline: clamp(24px, 4.5cqi, 40px);
  }
}

@media (max-width: 767.98px) {
  #services .service-card__more {
    min-width: 120px;
    padding-inline: 18px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  height: 100%;
  background-color: #333;
  padding-bottom: 60px;    
}

#clients h2 {
  color: #fff;  
}

#clients .section-title p {
  color: #fff;  
}

.clients .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.clients .owl-item img {
  width: 70%;
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .owl-item img:hover {
  filter: none;
  opacity: 1;
}

.clients .owl-nav, .clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent!important;
}

.clients .owl-dot.active {
  background-color: transparent !important;
}

/*-------------SLIDER-------------*/
@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}
/*-----slide track1-----*/
@-webkit-keyframes infinite {
  100% {
    transform: translateX(0);
  }
  0% {
    transform: translateX(calc(-250px * 6));
  }
}

@keyframes infinite {
  100% {
    transform: translateX(0);
  }
  0% {
    transform: translateX(calc(-250px * 6));
  }
}

/*----------clients slider-----------*/
.clients .slider {
  background: white;
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.clients .slider::before,.clients .slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 100px;
  z-index: 2;
}
.clients .slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.clients .slider::before {
  left: 0;
  top: 0;
}
.clients .slider .slide-track {
  -webkit-animation: scroll 120s linear infinite;
          animation: scroll 120s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.clients .slider .slide-track1 {
  -webkit-animation: infinite 120s linear infinite;
          animation: infinite 120s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.clients .slider .slide {
  height: 100px;
  width: 250px;
}

@media (prefers-reduced-motion: reduce) {
  .clients .slider .slide-track,
  .clients .slider .slide-track1 {
    animation: none;
  }
}

.clients .list{
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 20px;
  color: #000;    
}

/*------------clients accordion-----------*/
.accordion {
  width: 100%;
  margin: 30px auto 20px;
  background: #333;
  box-shadow: rgba(255, 255, 255, 0.60) 0px 1px 1px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

.accordion .link {
  cursor: pointer;
  display: block;
  padding: 15px 15px 15px 42px;
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #CCC;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li:last-child .link { border-bottom: 0; }

.accordion li i {
  position: absolute;
  top: 12px;
  font-size: 18px;
  color: #fff;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-decoration: none;
}

.accordion li i.fa-angle-down {
  font-size: 20px;    
  text-align: center; 
  left: 48%;
  right: 48%;    
  z-index: 10;   
}

 .accordion i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;    
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #333;     
  transition: all 0.4s;
  text-decoration: none;    
}

.accordion li.open .link { color: #fff; }

.accordion li.open i { color: #fff; }

.accordion li.open i.fa-angle-down {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

/**
 * Submenu
 -----------------------------*/
.submenu {
  display: none;
  background: #fff;
  font-size: 14px;
}
.submenu li { border-bottom: 1px solid #fff; }

.submenu a {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 12px;
  padding-left: 42px;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.submenu a:hover {
  color: #FFF;
  text-decoration: none;  
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
/*-------------SLIDER TEAM-------------*/
@-webkit-keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-255px * 9));
  }
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-255px * 9));
  }
}

.team .scroll-animations-example .scrollsection {
  -webkit-animation: slide 15s alternate infinite;
          animation: slide 15s alternate infinite;
  width: calc(250px * 14);
}

.team .scroll-animations-example .scrollsection {
  height: 100%;
  width: 100%;
}

#team {
  background: #fff;
  padding: 40px 0 10px;
}

.containerrr{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card{
    width: 300px; 
    height: 400px;
    margin: -2px; 
    cursor: pointer;
   /* box-shadow: 0 10px 20px rgba(0,0,0,0.3) */
    position: relative;
    overflow: hidden;
}

.card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.card img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: all 0.3s; 
    filter: grayscale(1);
    transform: scale(1.3)
}

.details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, #000);
    height: 40%;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-content: center;
    width: 100%;
    padding: 20px 10px;
    transform: translateY(100%);
    transition: all 0.3s;
}

.details h2 {
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 70px;
}

.details .team-role {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 12px;
    color: #fff;
    letter-spacing: 0;
    margin-top: 4px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    line-height: 1.35;
    max-width: 240px;
}

.details a {
    display: inline-block;
    margin-left: 20px;
    color: green; /* social links */
}

.card:hover img {
    transform: none;
    filter: none;
}

.card:hover .details, .card:hover .details a {
    transform: none;
    transition: all 0.3s;
}

@media (hover: none) {
    .card.is-active img {
        transform: none;
        filter: none;
    }

    .card.is-active .details,
    .card.is-active .details a {
        transform: none;
        transition: all 0.3s;
    }
}

@media (max-width: 767.98px) {
    .containerrr {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 0 calc((100% - 300px) / 2);
    }

    .containerrr::-webkit-scrollbar {
        display: none;
    }

    .card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        width: 300px;
    }

    .details h2 {
        font-size: 18px;
    }

    .details .team-role {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .containerrr {
        padding: 0 calc((100% - min(300px, 100vw)) / 2);
    }

    .card {
        flex: 0 0 min(300px, 100vw);
        width: min(300px, 100vw);
    }

    .details h2 {
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# Mobile Overrides (extracted from project-template.css)
--------------------------------------------------------------*/
@media (max-width: 768px) {
  #services,
  #team,
  #clients,
  #contact {
    padding: 60px 0 !important;
  }

  #services h2 {
    margin-top: 0 !important;
  }
}

/* P1 homepage cleanup — service "More" links: 44px min touch target @mobile (styling unchanged) */
@media (max-width: 768px) {
  #services #advv,
  #services #brandd,
  #services #designn,
  #services #pubb,
  #services #audioo,
  #services #eventss,
  #services #webb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

/*--------------------------------------------------------------
# Homepage About Velo Slider Repair
--------------------------------------------------------------*/
@media (min-width: 866px) {
  #about.about-section .velo-slide__header {
    padding: 6% 5% 6% 9% !important;
  }

  #about.about-section .velo-slide__title,
  #about.about-section .velo-slide__meta,
  #about.about-section .velo-slide__text,
  #about.about-section .values-grid,
  #about.about-section .skills-bar-container {
    width: 100% !important;
    max-width: none !important;
  }

  #about.about-section .velo-slide__text {
    max-width: min(100%, 72ch) !important;
    margin-bottom: 20px !important;
  }

  #about.about-section .velo-slide--long .velo-slide__text {
    max-height: 56vh !important;
  }

  #about.about-section .velo-slide--skills .skills-bar-container {
    max-width: min(100%, 680px) !important;
  }

  #about.about-section .velo-slides-nav {
    left: clamp(24px, 3vw, 56px) !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
}

@media (min-width: 1200px) {
  #about.about-section .velo-slide__header {
    padding-left: clamp(96px, 8vw, 132px) !important;
    padding-right: clamp(48px, 4vw, 72px) !important;
  }
}

@media (min-width: 866px) and (max-width: 1100px) {
  #about.about-section .velo-slide__header {
    padding: 5rem 2rem 6rem !important;
  }

  #about.about-section .velo-slide__figure,
  #about.about-section .velo-slide__header {
    width: 50% !important;
  }

  #about.about-section .velo-slides-nav {
    top: auto !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex-direction: row !important;
    width: max-content !important;
    max-width: calc(100% - 2rem) !important;
    padding: 0.35rem 0.55rem !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  }

  #about.about-section .velo-slides-nav__list,
  #about.about-section .velo-slides-nav__list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #about.about-section .velo-slides-nav__count {
    border: 0 !important;
    margin: 0 0.15rem !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 865px) {
  #about.about-section .velo-slide__header {
    padding: 32px 20px 24px !important;
  }

  #about.about-section .velo-slide__title,
  #about.about-section .velo-slide__meta,
  #about.about-section .velo-slide__text,
  #about.about-section .values-grid,
  #about.about-section .skills-bar-container {
    width: 100% !important;
    max-width: none !important;
  }

  #about.about-section .velo-slide__figure {
    height: clamp(220px, 42vw, 320px) !important;
    min-height: clamp(220px, 42vw, 320px) !important;
  }

  #about.about-section .velo-slides-nav {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    width: max-content !important;
    max-width: calc(100% - 2rem) !important;
    margin: 12px auto 28px !important;
    padding: 0.35rem 0.55rem !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    z-index: 20 !important;
  }

  #about.about-section .velo-slides-nav__list,
  #about.about-section .velo-slides-nav__list li,
  #about.about-section .velo-slides-nav li:first-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #about.about-section .velo-slides-nav__count {
    order: 2;
    color: rgba(0, 0, 0, 0.58) !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border: 0 !important;
    margin: 0 0.15rem !important;
    padding: 0 !important;
  }

  #about.about-section .js-velo-slides-prev {
    order: 1;
  }

  #about.about-section .js-velo-slides-next {
    order: 3;
  }

  #about.about-section .velo-slides-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 50% !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  #about.about-section .velo-slides-nav a.inactive {
    display: none !important;
  }

  #about.about-section .velo-slides-nav a::before {
    inset: -6px !important;
  }
}
