/*
Theme Name: PSSC
Author: Josh Yager
Author URI: https://thedevq.com/
Description: Custom Theme build by The Dev Q
Version: 1.0.0
*/

/* -----------------------------------------------------------------------------
 * CSS Variables
 * -------------------------------------------------------------------------- */
:root {
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 30px;
  --spacing-xl: 60px;

  /* Z-index layers */
  --z-index-dropdown: 3;

  /* Transitions */
  --transition-fast: all 0.1s ease-in-out;
  --transition-default: all 0.3s ease-in-out;

  /* Other */
  --video-aspect-ratio: 56.25%;
  /* 16:9 */
}

/* -----------------------------------------------------------------------------
 * Base Elements
 * -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  position: relative;
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
  line-height: 1.5;
}

p, ul, li {
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

/* -----------------------------------------------------------------------------
 * Typography
 * -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font1);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

.bigger-title {
  font-size: 4rem;
}

.sub-title {
  font-size: 24px;
}

.cs-topper {
  font-family: var(--font2);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  margin-top: 0;
  color: var(--secondary);
  letter-spacing: 3px;
}

.cs-title {
  font-size: 34px;
  margin: 0;
  line-height: 1;
  font-weight: 800;
  max-width: 530px;
  color: var(--primary);
}

/* -----------------------------------------------------------------------------
 * Layout
 * -------------------------------------------------------------------------- */
.container-fluid {
  max-width: 2400px;
  margin: auto;
}

.videoWrapper {
  position: relative;
  padding-bottom: var(--video-aspect-ratio);
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -----------------------------------------------------------------------------
 * Buttons
 * -------------------------------------------------------------------------- */
.btn {
  text-decoration: none;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 300px;
  padding: var(--button-padding, 15px);
  font-weight: 600;
  text-align: center;
  transition: var(--transition-default);
  border: 2px solid var(--primary);
  border-radius: var(--button-radius, 4px);
  max-width: 100%;
}

.btn i {
  margin-right: var(--spacing-sm);
  font-size: 14px;
}

.btn:hover {
  background: var(--tertiary) !important;
  color: black;
  border: 2px solid var(--tertiary);
}

/* Button Variants */
.btn.btn-secondary {
  background: var(--secondary);
  border: 2px solid var(--secondary);
  color: var(--tertiary) !important;
}

.btn.btn-secondary:hover {
  background: var(--primary) !important;
  color: white !important;
}

.btn.btn-tertiary {
  background: var(--tertiary);
  border: 2px solid var(--tertiary);
  color: white !important;
}

.btn.btn-white {
  background: white;
  color: var(--primary);
}

.btn.white:hover {
  background: var(--primary);
  color: white;
}

.btn.btn-secondary.border {
  background: transparent;
  color: white;
  border: 2px solid var(--secondary);
}

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

/* -----------------------------------------------------------------------------
 * Header & Navigation
 * -------------------------------------------------------------------------- */

/* Utility Bar */
.utility-bar {
  background-color: var(--primary);
  color: white;
  padding: 10px 0;
}

.utility-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-section {
  flex: 0 0 33.333%;
  display: flex;
  align-items: center;
}

.utility-left {
  justify-content: flex-start;
}

.utility-middle {
  justify-content: center;
  gap: 10px;
}

.utility-right {
  justify-content: flex-end;
  gap: 10px;
}

.utility-bar a,
.utility-bar span {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.utility-bar a:hover {
  text-decoration: underline;
}

.utility-bar i {
  margin-right: 5px;
}

.utility-divider {
  margin: 0 10px;
}

.utility-phone,
.utility-contact {
  display: flex;
  align-items: center;
}

/* Main Header */
.main-header {
  background-color: #ECF5FA;
}

.devq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: var(--spacing-md) 0;
}

.mainLogo {
  padding: 0;
  display: block;
  width: 200px;
  height: auto;
  margin: 0;
  position: relative;
}

/* Main Menu */
.menutop ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 35px;
}

.menutop ul li a {
  text-decoration: none;
  font-weight: 500;
  color: initial;
  font-size: 16px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.menutop ul li a:hover {
  color: var(--secondary);
}

.header_btn a {
  background: var(--secondary);
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 30px;
  color: var(--tertiary) !important;
  transition: all .3s ease-in-out;
}

.header_btn a:hover {
  background: var(--primary);
  color: white !important;
}

.mobilemenuonly {
  display: none;
}

@media (max-width:1199px) {
  .mobilemenuonly {
    display: block;
  }

  .utility-bar {
    display: none;
  }
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  transform-origin: top left;
  min-width: 220px;
  left: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

ul.dropdown-menu {
  display: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover ul.dropdown-menu {
  display: block;
  position: absolute;
  opacity: 1;
  z-index: var(--z-index-dropdown);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ECF5FA;
}

.dropdown-menu a {
  margin: 0 !important;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  background: #fff;
  padding: 12px 20px;
  color: var(--primary) !important;
  font-weight: 500;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  font-size: 14px;
}

.dropdown-menu li:first-child a {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
  background: var(--primary);
  color: white !important;
  padding-left: 25px;
}

a.dropdown-toggle {
  position: relative;
  padding-right: 15px;
}

a.dropdown-toggle i {
  padding-left: 5px;
  font-size: 12px;
}

.menu-depth-1,
.menu-item-has-children {
  position: relative;
}

/* Mobile Menu */
nav#menu:not(.mm-menu) {
  display: none;
}

.mm-menu {
  --mm-color-background: #fff;
}

.mm-listitem__text, .mm-navbar__title>span {
  font-weight: 600;
  color: var(--primary);
}

/* Hamburger Menu */
.mburger {
  color: #fff;
}

.mburger:hover,
.mburger:focus,
.mburger:active {
  color: #fff;
}

.mburger strong {
  display: block;
  position: absolute;
  left: calc(var(--mb-button-size)*((1 - var(--mb-bar-width))/2));
  width: calc(var(--mb-button-size)*var(--mb-bar-width));
  height: var(--mb-bar-height);
  background: black;
  color: inherit;
  opacity: 1;
  border-radius: 0;
}

.mburger strong:nth-of-type(1) {
  bottom: calc(45% + var(--mb-bar-spacing));
}

.mburger strong:nth-of-type(3) {
  top: calc(45% + var(--mb-bar-spacing));
}

.mburger span {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

@media (max-width:1440px) {
  .menutop ul li a {
    font-size: 13px;
  }

  .header_btn a {
    width: 160px;
    height: 40px;
  }

  .menutop ul {
    gap: 20px;
  }
}

/* Mobile Header */
.flextophead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

img.mobilelogo {
  width: 230px;
  margin: 0 var(--spacing-md);
}

.mobilemen {
  margin: -10px 10px 0 0;
  display: none;
}

img.mobileLogo {
  padding: 30px;
}

/* -----------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */
/* Main Footer */
.footer-main {
  background-color: #1D4254;
  padding: 30px 0 40px;
  color: white;
}

/* Tagline Section */
.footer-tagline {
  text-align: center;
  margin-bottom: 20px;
}

.footer-tagline p {
  color: white;
  font-size: 18px;
  margin: 0;
}

.footer-tagline i {
  margin-right: 10px;
  color: white;
}

/* Footer Columns */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  padding: 0 15px;
  min-width: 200px;
}

.footer-column h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-copy {
  margin-bottom: 20px;
}

.footer-copy p {
  color: white;
  margin-bottom: 15px;
}

/* BindTech Link */
.bindtech-link {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background: var(--secondary);
  padding: 15px 25px 15px 15px;
  border-radius: 15px;
}

.bindtech-icon {
  width: 30px;
  height: auto;
  margin-right: 10px;
}

.bindtech-link a {
  color: white;
  text-decoration: none;
  display: inline-flex;
  /* Change from flex to inline-flex */
  align-items: center;
  transition: all 0.3s ease;
  justify-content: flex-start;
  /* Ensure content is aligned to the start */
  width: auto;
  /* Ensure the link doesn't take up the full width */
}

.bindtech-link a:hover {
  color: white;
}

.bindtech-link i {
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.bindtech-link a:hover i {
  transform: translateX(5px);
}

/* Footer Menus */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* CTA Box */
.footer-cta-box {
  background-color: var(--secondary);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.footer-cta-box h4 {
  color: var(--tertiary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 0;
}

.btn-transparent {
  background-color: transparent !important;
  border: 2px solid var(--tertiary) !important;
  color: var(--tertiary) !important;
  transition: all 0.3s ease;
}

.btn-transparent:hover {
  background-color: white !important;
  color: var(--secondary) !important;
  border-color: white !important;
}

/* Copyright Bar */
.copyright-bar {
  background-color: white;
  padding: 15px 0;
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text p {
  margin: 0;
  color: black;
  font-size: 14px;
}

.devq-link {
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.devq-link:hover {
  color: var(--primary);
}

.copyright-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.copyright-menu-list li {
  margin: 0;
  position: relative;
}

.copyright-menu-list li:not(:last-child)::after {
  content: '|';
  margin: 0 10px;
  color: #ccc;
}

.copyright-menu-list li a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.copyright-menu-list li a:hover {
  color: var(--secondary);
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-columns {
    flex-wrap: wrap;
  }

  .footer-column {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .footer-column {
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-column h3 {
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }

  .bindtech-link {
    justify-content: center;
  }

  .footer-menu {
    align-items: center;
  }

  .footer-menu li {
    text-align: center;
  }

  .copyright-content {
    flex-direction: column;
    text-align: center;
  }

  .copyright-text {
    margin-bottom: 10px;
  }

  .copyright-menu-list {
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
 * Utility Classes
 * -------------------------------------------------------------------------- */
.mobileonly,
.mobileOnly {
  display: none;
}

/* -----------------------------------------------------------------------------
 * Browser Customization
 * -------------------------------------------------------------------------- */
::selection {
  background: var(--tertiary);
  color: var(--secondary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--secondary);
}

/* -----------------------------------------------------------------------------
 * Content Styles
 * -------------------------------------------------------------------------- */
.maincopy ul li {
  list-style: none;
  position: relative;
  margin-bottom: var(--spacing-md);
}

/* -----------------------------------------------------------------------------
 * Media Queries
 * -------------------------------------------------------------------------- */
@media (max-width: 1199px) {

  /* Header & Navigation */
  /* Utility Bar */
  .utility-bar-content {
    flex-wrap: wrap;
  }

  .utility-section {
    padding: 5px 0;
  }

  .utility-middle {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
  }

  .utility-left {
    flex: 0 0 50%;
  }

  .utility-right {
    flex: 0 0 50%;
  }

  .mainLogo {
    margin: 0 auto;
    width: 200px;
    height: auto;
  }

  .menutop {
    display: none;
  }

  .mobilemen {
    display: inherit;
  }

  /* Utility Classes */
  .mobileonly,
  .mobileOnly {
    display: initial;
  }

  .desktopOnly {
    display: none;
  }

  /* Footer */
  .footerfluidcolor {
    padding: 70px 0 40px;
  }

  .footerfluid2 p {
    text-align: center;
  }
}

@media (max-width: 991px) {

  /* Header & Navigation */
  /* Utility Bar */
  .utility-bar-content {
    flex-direction: column;
    gap: 10px;
  }

  .utility-section {
    flex: 0 0 100%;
    justify-content: center;
    padding: 5px 0;
  }

  .utility-left,
  .utility-right {
    flex-direction: column;
    gap: 5px;
  }

  .utility-divider {
    display: none;
  }

  /* Typography */
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  .bigger-title {
    font-size: 3rem;
  }

  .sub-title {
    font-size: 20px;
  }
}