/* =================================== */
/* Prospect AV – DARK THEME            */
/* =================================== */

/* Brand tokens */
:root{
  --brand: #cb601e;          /* Prospect orange */
  --brand-600: #a24c18;
  --brand-700: #833e13;

  --ink: #e8edf0;            /* default text on dark */
  --ink-muted: #a7b0b6;      /* secondary text */
  --bg: #0b0b0b;             /* page background */
  --panel: #121212;          /* section background */
  --panel-2: #151515;        /* alt panel */

  --overlay: rgba(203, 96, 30, 0.92); /* overlays */

  /* Navbar colours */
  --nav-top: #000000;          /* was green; now black */
  --nav-hover-top: #cfcfcf;    /* light grey accent on hover */
  --nav-text: #ffffff;
}

/* =================================== */
/* Global / Resets */
/* =================================== */

html, body {
  background-color: var(--bg);
  font-family: "Rubik", Arial, sans-serif;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 21px;
}

ol, ul { margin: 0; padding: 0; list-style: none; }
figure, p { margin: 0; }

a {
  color: #fff;
  -webkit-transition: all .3s ease-in 0s;
     -moz-transition: all .3s ease-in 0s;
      -ms-transition: all .3s ease-in 0s;
       -o-transition: all .3s ease-in 0s;
          transition: all .3s ease-in 0s;
}
a, a:focus, a:hover { text-decoration: none; outline: 0; }
a:focus, a:hover { color: var(--brand-600); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  letter-spacing: .02em;
}

span.color { color: var(--brand); }

body > section,
.footer { padding: 70px 0; }

.fullvh { min-height: 100vh; display: flex; align-items: center; }

/* Section titles */
.sec-title h2 {
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
}
.sec-sub-title { margin: 35px 0 45px; }
.sec-sub-title p {
  font-weight: 500;
  line-height: 24px;
  font-size: 18px;
  color: var(--ink-muted);
}

/* Divider – remove heart + lines entirely */
.devider, .devider:before, .devider:after, .devider i {
  display: none !important;
  content: none !important;
}

.mb50 { margin-bottom: 50px; }

/* Preloader */
#preloader {
  background-color: var(--bg);
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1100;

  display: flex;
  align-items: center;   /* vertical centre */
  justify-content: center; /* horizontal centre */
}

#preloader > img {
  max-width: 120px; /* size control */
  height: auto;
}

/* =================================== */
/* Header / Navbar                     */
/* =================================== */

#navigation {
    background-color: #000 !important;   /* kill any rgba/old theme colour */
  border: 0 none;
  margin: 0;
  -webkit-transition: background-color 800ms linear;
     -moz-transition: background-color 800ms linear;
      -ms-transition: background-color 800ms linear;
       -o-transition: background-color 800ms linear;
          transition: background-color 800ms linear;
}
#navigation.scrolled,
#navigation.menu-bg,
#navigation.top-nav-collapse,
.navbar.navbar-fixed-top.menu-bg {
  background-color: var(--brand) !important; /* fades to orange on scroll */
}

.navbar-toggle i { color: var(--nav-text); }
.navbar-brand { padding: 0; }

.navbar-nav li a {
  border-top: 1px solid transparent;
  color: var(--nav-text);
}
.navbar-nav li a.current,
.navbar-nav li a:focus,
.navbar-nav li a:hover {
  background-color: transparent;
  border-top: 1px solid var(--nav-hover-top);
  color: #fff;
}
/* When navbar is orange, change the accent to a light border */
#navigation.scrolled .navbar-nav li a.current,
#navigation.scrolled .navbar-nav li a:focus,
#navigation.scrolled .navbar-nav li a:hover,
#navigation.menu-bg .navbar-nav li a.current,
#navigation.menu-bg .navbar-nav li a:focus,
#navigation.menu-bg .navbar-nav li a:hover {
  border-top-color: rgba(255,255,255,.6) !important;
}

/* =============================== */
/*    MEGA DROPDOWN NAVIGATION     */
/* =============================== */

/* Parent container */
.navbar-nav > li.mega-dropdown {
  position: relative; /* dropdown sits under this item */
}

/* Compact dropdown panel under each parent item */
.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -5px;           /* keep the overlap you like */

  min-width: 220px;
  padding: 10px 16px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* TOP OF PAGE: solid black to match nav */
  background-color: #000;     /* or var(--nav-top) */

  border: none;               /* no border */
  border-radius: 0;           /* square edges */
  box-shadow: none;           /* no drop shadow */
  z-index: 999;

  transform: translateY(8px);
  transition:
    background-color 800ms linear,  /* stays in time with nav colour */
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease;
}

/* SCROLLED: solid orange to match nav */
#navigation.scrolled .mega-dropdown-menu {
  background-color: var(--brand);
}

/* Remove Bootstrap's white dropdown background */
.dropdown-menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Desktop hover opens dropdown */
@media (min-width: 768px) {
  .navbar-nav > li.mega-dropdown:hover > .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Submenu links (keep them bright and simple) */
.mega-dropdown-menu > li {
  list-style: none;
}

.mega-dropdown-menu > li > a {
  display: block;
  font-size: 14px;
  color: #ffffff;
  padding: 4px 0;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.mega-dropdown-menu > li > a:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.1);  /* tiny dark wash only on hover */
  text-decoration: none !important;
}

/* MOBILE BEHAVIOUR */
@media (max-width: 767px) {
  .mega-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    display: none;           /* hidden until parent has .open */
    margin-top: 0;
    padding: 4px 0 10px;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;

    flex-direction: column;
    gap: 0;
  }

  /* Show only when toggled open via JS */
  .mega-dropdown.open > .mega-dropdown-menu {
    display: block;
  }

  .mega-dropdown-menu > li > a {
    color: var(--ink-muted);
    padding: 6px 0;
    background: transparent !important;
  }
}

/* =================================== */
/* Hero / Slider                       */
/* =================================== */

.hero-sub{
  margin: clamp(12px, 5vw, 48px) 0;
}

#slider {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

#slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

#slider .carousel-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

#slider .item,
#slider .item.active {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  text-align: center;
}

#slider .carousel-caption {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.carousel-caption h2 {
  font-size: 62px;
  font-weight: 700;
  color: #fff;
}

.carousel-caption h2 span {
  font-weight: 800;
  color: #fff;
}

.carousel-caption h3 {
  font-size: 48px;
  font-weight: 500;
  margin: 6px 0 20px;
  color: #e7e7e7;
}

.carousel-caption p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.carousel-caption p:before,
.carousel-caption p:after {
  color: var(--brand);
  content: "___";
  position: relative;
  top: -8px;
}

.carousel-caption p:before { right: 20px; }
.carousel-caption p:after  { left: 20px; }

.social-links { margin-top: 5%; }
.social-links li { display: inline-block; }

.social-links li a {
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin: 0 6px;
}

.social-links li a:hover { color: #fff; }

.carousel-indicators {
  bottom: 10px;
  left: inherit;
  margin: 0;
  right: 30px;
  top: 49%;
  width: 0;
}

.carousel-indicators li {
  border: 1px solid rgba(255, 255, 255, 0.4);
  height: 8px;
  width: 8px;
}

.carousel-indicators .active {
  height: 8px;
  width: 8px;
}

.carousel-caption h2 .hero-logo {
  max-height: 27.5vh;
  width: auto;
  display: inline-block;
}

#slider .carousel-caption h1 {
  font-size: 30px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  #slider .carousel-caption h1 {
    font-size: 45px;
  }
}

.footer-logo {
  max-height: 10vh;   /* adjust this until it feels right */
  width: auto;
}

/* =================================== */
/* Features (Services)                 */
/* =================================== */

.features { background-color: var(--panel); }

.owl-controls { bottom: -45px; margin-top: 10px; position: relative; text-align: center; }
.owl-controls .owl-page { display: inline-block; }
.owl-controls .owl-page span {
  border: 1px solid #2a2f33;
  border-radius: 20px;
  display: block;
  height: 8px; margin: 5px 4px; width: 8px;
}
.owl-controls .owl-page.active span { background: #444; border: 0; }

.service-icon {
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  float: left;
  padding: 10px 13px;
}
.service-desc { margin-left: 70px; position: relative; top: 5px; }
.service-desc h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* =================================== */
/* Works / Packages                    */
/* =================================== */

.work-filter { margin-bottom: 35px; }
.work-filter ul li { display: inline-block; }
.work-filter ul li a {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 17px;
  border-radius: 6px;
  text-transform: capitalize;
}
.work-filter ul li a:hover,
.work-filter ul li a.active {
  background-color: var(--brand);
  border-radius: 6px;
  color: #fff;
  padding: 5px 17px;
}

.mix { display: none; }
.work-item { float: left; width: 25%; position: relative; }
.work-item > img { display: block; height: auto; max-width: 100%; }

.overlay {
  background-color: var(--overlay);
  text-align: center;
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  color: #fff;
  opacity: 0; filter: alpha(opacity=0);
  -webkit-transition: all 450ms ease-out 0s;
     -moz-transition: all 450ms ease-out 0s;
       -o-transition: all 450ms ease-out 0s;
          transition: all 450ms ease-out 0s;
  -webkit-transform: rotateY(180deg) scale(0.5,0.5);
     -moz-transform: rotateY(180deg) scale(0.5,0.5);
      -ms-transform: rotateY(180deg) scale(0.5,0.5);
       -o-transform: rotateY(180deg) scale(0.5,0.5);
          transform: rotateY(180deg) scale(0.5,0.5);
}
.work-item:hover .overlay {
  opacity: 1; filter: alpha(opacity=100);
  -webkit-transform: rotateY(0deg) scale(1,1);
     -moz-transform: rotateY(0deg) scale(1,1);
      -ms-transform: rotateY(0deg) scale(1,1);
       -o-transform: rotateY(0deg) scale(1,1);
          transform: rotateY(0deg) scale(1,1);
}
.work-item .overlay a {
  border: 1px solid #fff;
  border-radius: 50%;
  display: inline-block;
  margin-top: 20%;
  padding: 7px 10px;
}
.work-item .overlay a:hover { color: #fff; }
.work-item .overlay h4 {
  font-size: 18px; font-weight: 700; line-height: 24px; margin: 25px 0 8px;
}
.work-item .overlay p { font-size: 14px; line-height: 24px; }

/* Centre and normalise tiles */
.works .project-wrapper{
  background: var(--panel-2);
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 20px 15px;
  display: flex; gap: 20px; justify-content: center; align-items: stretch; flex-wrap: wrap;
}
.works .project-wrapper .work-item{
  margin: 0;
  flex: 1 1 360px;
  aspect-ratio: 16 / 9;
  position: relative; overflow: hidden;
}
.works .project-wrapper .work-item img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Fix overlay text spacing */
.works .work-item figcaption.overlay{
  display: flex;
  flex-direction: column;
  justify-content: center;   /* <-- vertical centering */
  align-items: center;       /* optional: horizontal centering too */
  text-align: center;
}
.works .work-item figcaption.overlay h4,
.works .work-item figcaption.overlay p { margin: 0 0 10px; }
.works .work-item figcaption.overlay .fancybox{ display:none !important; }

/* =================================== */
/* Team / About                        */
/* =================================== */

.team { background: var(--panel); }

.member-thumb { width: 273px; position: relative; }
.member-thumb .overlay h5 {
  font-size: 32px; font-weight: 700; line-height: 24px; margin: 10px 0;
}
.member-thumb .overlay { font-size: 16px; padding: 20px; line-height: 24px; }

.team-member h4 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 15px 0 8px;
}
.member-thumb:hover .overlay {
  cursor: pointer; opacity: 1; filter: alpha(opacity=100);
  -webkit-transform: rotateY(0deg) scale(1,1);
     -moz-transform: rotateY(0deg) scale(1,1);
      -ms-transform: rotateY(0deg) scale(1,1);
       -o-transform: rotateY(0deg) scale(1,1);
          transform: rotateY(0deg) scale(1,1);
}
.team-member:hover h4 { color: var(--brand); }

.team-member .social-links { margin-top: 24%; }
.team-member .social-links li a {
  background-color: var(--brand-700);
  color: #fff;
  height: 42px; padding: 10px 0 0; width: 42px;
}

/* =================================== */
/* Facts band – dark                   */
/* =================================== */

#facts { background-image: none; background-color: #0e0e0e; padding: 0; }
.facts .devider:before, .facts .devider:after { display:none; }
.facts .devider i { display:none; }

.parallax-overlay { background-color: #0e0e0e; padding: 70px 0; }
.counters-item { color: #fff; }
.counters-item i {
  border: 1px solid #737C85; border-radius: 50%; color: #fff;
  display: inline-block; height: 120px; margin: 0 0 35px; padding: 40px 0 0; width: 120px;
}
.counters-item strong { display: block; font-size: 60px; font-weight: 700; line-height: 60px; }
.counters-item p { font-size: 18px; line-height: 24px; margin-top: 15px; text-transform: uppercase; }

/* =================================== */
/* Contact                             */
/* =================================== */

.contact { background: var(--panel-2); padding-bottom: 0; }
.contact-address h3 { color: var(--ink); font-size: 22px; line-height: 32px; margin-bottom: 25px; }
.contact-address p { line-height: 24px; }

.contact-form {}
.contact-form h3 { color: var(--ink); font-size: 24px; font-weight: 700; line-height: 32px; margin-bottom: 25px; }
.contact-form .input-group { width: 100%; }
.contact-form .form-control {
  background: transparent;
  color: var(--ink);
  border-color: -moz-use-text-color -moz-use-text-color #444;
  border-radius: 0;
  border-style: none none solid;
  border-width: 0 0 1px;
  box-shadow: none;
  margin-bottom: 10px;
}
.contact-form .input-field { width: 48%; float: left; margin-right: 4%; }
.contact-form .input-field:last-child { margin-right: 0; }
.contact-form .form-control.error { border-bottom-color: #c0392b; }
label.error { color: #c0392b; font-weight: normal; text-transform: capitalize; }

.contact-form #form-submit {
  background: url("../img/envelop.png") no-repeat scroll 0 15px transparent;
  border: 0 none; color: #fff; font-size: 16px; line-height: 24px;
  padding: 10px; text-align: right; width: 150px;
}

.footer-social { margin-top: 17px; }
.footer-social li a { color: #cdd2d6; display: block; margin-bottom: 10px; }

/* =================================== */
/* Footer                              */
/* =================================== */

.footer {
  background-color: #000;
  border-top: 5px solid var(--brand);
  color: #fff;
}
.footer a:hover { color: var(--brand); }

.footer h6 { font-size: 14px; font-weight: 700; line-height: 24px; margin-bottom: 30px; }
.about-us p { line-height: 24px; }

.footer-single .subscribe { margin-bottom: 15px; position: relative; }
.subscribe #subscribe {
  background-color: transparent;
  border: 2px solid #fff; border-radius: 2px;
  height: 40px; text-indent: 10px; width: 100%;
  color:#fff;
}
.subscribe #subs { background-color: transparent; border: 0; font-size: 24px; position: absolute; right: 0; top: 6px; color:#fff; }

.footer-single { line-height: 24px; }
.footer-single li { line-height: 32px; }
.footer-single p i { margin: 0 10px; }

.credit a { color: var(--brand); }
.credit a:hover { color: #fff; }

.copyright { color: #fff; margin-top: 100px; }

#back-top { bottom: 20px; position: fixed; right: 25px; z-index: 9; }

/* Top link row */
.footer-top-links {
  margin: 25px 0 10px;
  padding: 0;
}

.footer-top-links li {
  padding: 0 10px;
}

.footer-top-links a {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.footer-top-links a:hover {
  color: var(--brand);
}

/* Main footer row */
.footer-main-row {
  margin: 30px 0 25px;
  align-items: flex-start;
}

.footer-col-inner {
  text-align: center;
  width: 100%;
}

.footer-brand-block {
  text-align: center;
  width: 100%;
}

.footer-logo {
  display: block;
  max-width: 160px;
  margin: 0 auto 15px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0 auto;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 4px;
}

.footer-link-list a {
  font-size: 13px;
  color: var(--ink);
}

.footer-link-list a:hover {
  color: var(--brand);
}

/* Socials */
.footer-social li a {
  color: #cdd2d6;
}

.footer-social li a:hover {
  color: var(--brand);
}

/* Right-align socials on desktop */
.text-sm-right {
  text-align: right;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .footer-main-row {
    text-align: center;
  }
  .footer-brand-block {
    text-align: center;
    margin-bottom: 20px;
  }
  .text-sm-right {
    text-align: center;
  }
}

/* ------ ADDED BY DANIEL RUSH -----------*/

/* list styling inside the overlay cards */
.works .work-item figcaption.overlay .overlay-list{
  width: 100%;
  max-width: 85%;        /* keeps it tidy on wide cards */
  margin: 8px auto 0;
  padding-left: 1.1em;   /* bullet indent */
  text-align: left;      /* easier to read than centered bullets */
  list-style: disc;
}
.works .work-item figcaption.overlay .overlay-list li{
  margin: 6px 0;
  line-height: 1.4;
}

.contact-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-fullscreen-row {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.footer-top-links-horizontal {
  text-align: center;
}

.footer-top-links-horizontal li {
  display: inline-block;
}

.footer-top-links-horizontal li:not(:last-child)::after {
  content: " | ";
  margin: 0 10px;
}

.footer-col-inner {
  text-align: center;
}

.footer-social-horizontal {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-social-horizontal li {
  display: inline-block;
  margin: 0 10px;
}

/* =================================== */
/* Hero buttons    (added by dan)      */
/* =================================== */

.hero-buttons{
  margin-top: 28px; /* increase gap under tagline */
}

.hero-buttons .btn{
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  transition: all .25s ease;
}

/* Orange primary button */
.hero-buttons .btn-primary{
  background-color: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-primary:focus,
.hero-buttons .btn-primary:active{
  background-color: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
  color: #fff !important;
  box-shadow: none;
}

/* White outline secondary button */
.hero-buttons .btn-outline-light{
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.hero-buttons .btn-outline-light:hover,
.hero-buttons .btn-outline-light:focus,
.hero-buttons .btn-outline-light:active{
  background-color: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
  box-shadow: none;
}

/* Slight space between buttons if needed */
.hero-buttons .btn + .btn{
  margin-left: 14px;
}

/* logo resizing for mobile help */

@media (max-width: 767px) {
  #slider,
  #slider .item,
  #slider .item.active {
    min-height: 90svh;
  }

  #slider .carousel-caption {
    padding: 70px 20px 30px;
  }

  #slider .carousel-caption h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-top: 18px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    margin-top: 18px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
  }

  .hero-buttons .btn + .btn {
    margin-left: auto;
  }

  .carousel-caption h2 .hero-logo {
    max-height: 22vh;
  }
}