/*
Theme Name: GalebTeam
Theme URI: https://example.com/galebteam
Description: A WordPress theme based on the GP HTML template with modern design and full functionality.
Author: GalebTeam
Author URI: https://example.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galebteam
Tags: blog, e-commerce, portfolio, one-page, business, corporate, responsive, modern, bootstrap
*/

/**
* Template Name: Gp
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Updated: Aug 15 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: var(--heading-font); /* menu follows Customize > Typography > Heading Font */
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #000000; /* Background color for the entire website, including individual sections */
  --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ff6b00; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #0d0d0d; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --button-text-color: #ffffff; /* Text color for buttons throughout the website */
  --hero-overlay-opacity: 0.3; /* Opacity for hero section overlay - adjust this value to make overlay lighter or darker (0.1 = very light, 0.9 = very dark) */
  --cta-overlay-opacity: 0.25; /* Opacity for CTA section overlay - adjust this value to make overlay lighter or darker (0.1 = very light, 0.9 = very dark) */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.905);  /* The default color of the main navmenu links */
  --nav-hover-color: var(--accent-color); /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: rgba(26, 26, 26, 0.85); /* Used as the background color for mobile navigation menu - now semi-transparent */
  --nav-dropdown-background-color: #1a1a1a; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: var(--accent-color); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0d0d0d;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* WordPress Core Styles */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--surface-color);
  clip: auto !important;
  clip-path: none;
  color: var(--default-color);
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  border: 1px solid var(--accent-color);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 80px;
  margin-right: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.header .logo h1,
.header .logo .sitename {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--button-text-color, var(--contrast-color));
  font-size: 14px;
  padding: 8px 30px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
}

.btn-getstarted,
.btn-getstarted:focus {
  color: var(--nav-color);
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 3px;
  padding: 0;
}

.btn-getstarted:hover,
.btn-getstarted:focus:hover {
  color: var(--button-text-color, var(--contrast-color));
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Header Social Links */
.header-social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 40px;
  margin-right: 15px;
  padding: 10px 0;
}

.header-social-links .social-link {
  color: var(--nav-color);
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 3px;
}

/* Header links are buttons, not things to drag: dragging one shows the
   "not allowed" (circle with a line) cursor. They also don't move on hover,
   so they can't slip out from under the pointer and flicker. */
.header .header-social-links .social-link,
.header .lang-switcher .lang-link,
.header .logo,
.header .navmenu a {
  -webkit-user-drag: none;
  user-select: none;
  cursor: pointer;
}

.header-social-links .social-link:hover {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Header Language Switcher (TranslatePress) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-switcher .lang-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 50px;
  color: var(--nav-color);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.lang-switcher .lang-link img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-switcher .lang-link:hover {
  color: var(--accent-color);
}

.lang-switcher .lang-link.active,
.lang-switcher .lang-link.active:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 1200px) {
  .lang-switcher {
    order: 5;
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .lang-switcher .lang-link {
    padding: 5px 8px;
    font-size: 12px;
  }

  .lang-switcher .lang-link img {
    display: none;
  }
}

/* Mobile Responsive Styles for Header Social Links */
@media (max-width: 1200px) {
  .header-social-links {
    margin-left: auto;
    margin-right: 12px;
    gap: 12px;
    padding: 8px 0;
  }
  
  .header-social-links .social-link {
    width: 38px;
    height: 38px;
    font-size: 18px;
    margin: 0 2px;
  }
  
  .btn-getstarted {
    width: 38px;
    height: 38px;
    font-size: 18px;
    margin: 0 2px;
  }
}

@media (max-width: 768px) {
  .header-social-links {
    margin-left: auto;
    margin-right: 10px;
    gap: 10px;
    padding: 6px 0;
  }
  
  .header-social-links .social-link {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin: 0 2px;
  }
  
  .btn-getstarted {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin: 0 2px;
  }
}

@media (max-width: 576px) {
  .header-social-links {
    margin-left: auto;
    margin-right: 8px;
    gap: 8px;
    padding: 5px 0;
  }
  
  .header-social-links .social-link {
    width: 32px;
    height: 32px;
    font-size: 15px;
    margin: 0 1px;
  }
  
  .btn-getstarted {
    width: 32px;
    height: 32px;
    font-size: 15px;
    margin: 0 1px;
  }
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
  }

  .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
  }

  .header .navmenu {
    order: 3;
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .header-social-links {
    order: 4;
    margin-left: auto;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.hero-get-started {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 1200px) {
  .hero-get-started {
    bottom: 25px;
  }
}

@media (max-width: 768px) {
  .hero-get-started {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-get-started {
    bottom: 15px;
  }
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0.3);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 18px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 19px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), var(--surface-color) 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), var(--surface-color) 90%);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: rgba(26, 26, 26, 0.75); /* More transparent for dropdown items */
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(26, 26, 26, 0.65); /* Even more transparent for nested dropdowns */
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: color-mix(in srgb, var(--surface-color), var(--accent-color) 3%);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background for mobile nav overlay */
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 50px 0;
  background-color: color-mix(in srgb, var(--background-color) 90%, #1a1a1a 10%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 10px;
}

.footer .footer-about .logo img {
  max-height: 96px;
  margin-right: 6px;
}

/* Brand column: logo, tagline and social icons centred on each other */
.footer .footer-about {
  text-align: center;
}

.footer .footer-about .logo,
.footer .footer-about .social-links {
  justify-content: center;
}

.footer .footer-about .social-links a:last-child {
  margin-right: 0;
}

.footer .footer-about .footer-tagline {
  margin: 14px 0 0;
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.5px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Footer column headings: short accent line underneath */
.footer .footer-top h4 {
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.footer .footer-top h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-color);
}

/* Footer contact column */
.footer .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Same spacing as the Useful Links column */
.footer .footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  line-height: 1.2;
}

.footer .footer-contact-list li:first-child {
  padding-top: 0;
}

.footer .footer-contact-list li a,
.footer .footer-contact-list li span {
  line-height: 1;
}

.footer .footer-contact-list i {
  color: var(--accent-color);
  font-size: 14px;
  line-height: 1;
}

.footer .footer-contact-list a {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.footer .footer-contact-list a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .footer .footer-about .logo img {
    max-height: 72px;
  }
}

/* Tablet/phone: footer columns stack, so centre each one */
@media (max-width: 991px) {
  .footer .footer-top .row > div {
    text-align: center;
  }

  .footer .footer-about .logo,
  .footer .footer-about .social-links,
  .footer .footer-contact-list li,
  .footer .footer-links ul li {
    justify-content: center;
  }

  .footer .footer-top h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--default-color) 5%, white 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--button-text-color, var(--contrast-color));
  background-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  margin-right: 4px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: color-mix(in srgb, var(--background-color) 90%, #1a1a1a 15%);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--background-color) 90%, #1a1a1a 15%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  color: var(--button-text-color, var(--contrast-color));
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 52px);
  left: calc(50% - 52px);
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  box-sizing: border-box;
  width: 104px;
  height: 104px;
  animation: animate-preloader 1.1s linear infinite;
}

/* Logo in the middle of the ring */
#preloader .preloader-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: preloader-logo-in 0.5s ease-out both;
}

@keyframes preloader-logo-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--button-text-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--button-text-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 58px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img,
.hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Video background container styles */
.video-background-container {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Ensure video background stays within hero section on all screen sizes */
@media (min-width: 769px) {
  .video-background-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.video-background-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
  object-fit: cover;
}

.hero-video {
  background: #000;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-video.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-video.loaded {
  opacity: 1;
}

/* Fallback image styles */
.hero-fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure fallback image is visible when video fails to load */
.hero-video.loaded + .hero-fallback-image,
.video-background-container.loaded + .hero-fallback-image {
  z-index: 0;
}


/* Mobile-specific video adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 120px 0;
    min-height: 100vh;
  }
  
  .video-background-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .video-background-container iframe {
    width: 177.77vh; /* 16:9 aspect ratio height-based */
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
  }
  
  /* Ensure video covers screen in portrait mode */
  @media (orientation: portrait) {
    .video-background-container iframe {
      width: 177.77vh; /* 16:9 ratio based on viewport height */
      height: 100vh;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  
  /* Ensure video covers screen in landscape mode */
  @media (orientation: landscape) {
    .video-background-container iframe {
      width: 100vw;
      height: 56.25vw; /* 16:9 ratio based on viewport width */
      top: 50%;
      transform: translateY(-50%);
    }
  }
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent calc(100% - (var(--hero-overlay-opacity) * 100%)));
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero h2 span {
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero .icon-box h3 a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: ease-in-out 0.3s;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero .icon-box:hover {
  border-color: var(--accent-color);
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Hero Logo Styles */
.hero-logo {
  margin-bottom: 15px;
  display: block;
}

.hero-logo img {
  width: 250px;
  height: 161px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
  display: block;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .hero-logo {
    position: relative;
  }
  
  .hero-logo img {
    width: 300px;
    height: 150px;
    left: -30px;
    bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero-logo {
    position: relative;
  }
  
  .hero-logo img {
    width: 250px;
    height: 125px;
    left: -25px;
    bottom: 12px;
  }
}

@media (max-width: 400px) {
  .hero-logo {
    position: relative;
  }
  
  .hero-logo img {
    width: 200px;
    height: 100px;
  }
}

/* Hero Subtitle Styles */
.hero-subtitle p {
  margin: 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Responsive subtitle positioning */
@media (max-width: 768px) {
  
  .hero-subtitle p {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  
  .hero-subtitle p {
    font-size: 18px;
    margin-bottom: 35px;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background-color: var(--background-color) !important;
  color: var(--default-color) !important;
}

.about .content {
  background-color: var(--background-color) !important;
  color: var(--default-color) !important;
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color) !important;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
  color: var(--default-color);
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p {
  color: var(--default-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

/* About Section Image Animation Styles */
.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-image {
  transition: transform 0.6s ease-out;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Clean AOS fade-up animation for about image */
.about-image-container[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s ease-out;
}

.about-image-container[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Simple hover effects */
.about-image-container:hover .about-image {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}


/* Responsive adjustments for about image */
@media (max-width: 768px) {
  .about-image-container {
    margin-bottom: 30px;
  }
  
  .about-image-container[data-aos="fade-up"] {
    transform: translateY(20px);
  }
}

/* Stats image styling adjustments */
.stats .about-image-container {
  max-width: 100%;
  margin: 0 auto 5px 0;
}

.stats .about-image-container .about-image {
  width: 100%;
  height: auto;
}

/* Override Bootstrap justify-content for stats section */
.stats .about-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Override Bootstrap row spacing in stats section */
.stats .row.gy-4.align-items-center.justify-content-between {
  justify-content: space-around !important;
  gap: 2rem;
}

/* Ensure proper spacing between image and text columns */
.stats .col-lg-5 {
  padding-right: 2rem;
}

.stats .col-lg-6 {
  padding-left: 1rem;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  height: 90vh;
  transition: all ease-in-out 0.3s;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 50%));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services .service-item:hover::before {
  transform: scaleX(1);
}

.services .service-item .icon {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 20%));
  color: var(--contrast-color);
  margin: 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-item:hover .icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.services .service-item .icon i {
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: all 0.3s;
  color: var(--heading-color);
}

.services .service-item h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.services .service-item h3 a:hover {
  color: var(--accent-color);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.services .service-item:hover {
  box-shadow: 0px 10px 30px color-mix(in srgb, var(--accent-color), transparent 80%);
  transform: translateY(-10px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 30vh 0;
  position: relative;
  clip-path: inset(0);
  margin-bottom: 0px;
}


.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent calc(100% - (var(--cta-overlay-opacity) * 100%)));
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Additional overlay for better text readability */
.call-to-action:after {
  content: "";
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.5);
}

.call-to-action p {
  color: var(--default-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.4);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  color: var(--background-color);
  border: 2px solid var(--accent-color);
}

/* Parallax effect optimizations */
@media (max-width: 768px) {
  .call-to-action img {
    /* Reduce parallax effect on mobile for better performance */
    transition: transform 0.2s ease-out;
  }
}

/* Disable parallax on low-end devices */
@media (prefers-reduced-motion: reduce) {
  .call-to-action img {
    transition: none !important;
    transform: none !important;
  }
}

/*--------------------------------------------------------------
# CTA Red Line Separator
--------------------------------------------------------------*/

.cta-red-separator {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-color) 20%,
    var(--accent-color) 80%,
    transparent 100%
  );
  margin: 5px 0;
  position: relative;
  overflow: hidden;
}

.cta-red-separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent-color), transparent 20%) 50%,
    transparent 100%
  );
  animation: redLineFlow 3s ease-in-out infinite;
}

@keyframes redLineFlow {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
/* Gallery "Show more" */
.portfolio .gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.portfolio .gallery-more-wrap[hidden],
.portfolio .gallery-more-wrap [hidden] {
  display: none;
}

.portfolio .gallery-more,
.portfolio .gallery-less {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 26px;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--default-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.portfolio .gallery-less {
  padding-right: 26px;
}

.portfolio .gallery-more i,
.portfolio .gallery-less i {
  font-size: 16px;
  color: var(--accent-color);
  transition: color 0.3s;
}

.portfolio .gallery-more-count {
  min-width: 30px;
  padding: 3px 9px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

/* No movement on hover: a moving button slips out from under the
   pointer at its edge and flickers between hover and normal. */
.portfolio .gallery-more:hover,
.portfolio .gallery-less:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.portfolio .gallery-more:hover i,
.portfolio .gallery-less:hover i {
  color: inherit;
}

.portfolio .gallery-more:hover .gallery-more-count {
  background: var(--button-text-color, var(--contrast-color));
  color: var(--accent-color);
}

.portfolio .gallery-more:focus-visible,
.portfolio .gallery-less:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.portfolio .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 auto 30px auto;
  list-style: none;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  font-family: var(--heading-font);
  user-select: none;
}

.portfolio .portfolio-filters li:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.portfolio .portfolio-filters li.filter-active,
.portfolio .portfolio-filters li.filter-active:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--button-text-color, var(--default-color));
  box-shadow: none;
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters {
    gap: 8px;
  }

  .portfolio .portfolio-filters li {
    font-size: 13px;
    padding: 9px 16px;
  }
}

/* Gallery grid: uniform 4:3 tiles so any number of photos lines up cleanly.
   The lightbox still shows each photo uncropped. */
.portfolio .portfolio-item {
  position: relative;
}

.portfolio .gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.35s ease;
  cursor: pointer;
  /* keeps the rounded corners clipping the scaled image in Safari */
  isolation: isolate;
}

.portfolio .gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  /* stop the browser's image drag (which shows a "no-drop" cursor) */
  -webkit-user-drag: none;
  user-select: none;
}

.portfolio .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 28px 14px 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.portfolio .gallery-caption-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio .gallery-caption-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portfolio .gallery-caption-author {
  font-size: 12px;
  font-style: italic;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio .gallery-caption i {
  font-size: 16px;
  color: var(--accent-color);
  flex-shrink: 0;
}

@media (hover: hover) {
  .portfolio .gallery-tile:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }

  .portfolio .gallery-tile:hover img {
    transform: scale(1.04);
  }

  .portfolio .gallery-tile:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio .gallery-tile:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* Video tiles in the gallery */
.portfolio .gallery-tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

.portfolio .gallery-tile.is-video {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), inset 0 0 0 2px var(--accent-color);
}

.portfolio .gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  font-size: 30px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.portfolio .gallery-play i {
  margin-left: 3px;
  line-height: 1;
}

.portfolio .gallery-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) {
  .portfolio .gallery-tile.is-video:hover .gallery-play {
    transform: scale(1.1);
  }
}

/* Video slide inside the gallery lightbox */
.glightbox-container .gslide-inline {
  background: #000;
  overflow: hidden;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.glightbox-container .gslide-inline .ginlined-content.gv-inline {
  padding: 0;
  /* Desktop: fill the browser window (16:9, leaving a thin strip for the caption). The < > arrows stay on top. */
  width: min(100vw, calc((100vh - 64px) * 16 / 9));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 64px);
  margin-left: auto;
  margin-right: auto;   /* centre the player on screen */
  overflow: hidden;
  background: #000;
}

/* On video slides the caption sits under the player, so it never covers the controls */
.glightbox-container .ginner-container.gv-slide {
  flex-direction: column !important;
  align-items: center;
}

.glightbox-clean .ginner-container.gv-slide .gslide-description {
  position: static !important;
  width: min(100vw, calc((100vh - 64px) * 16 / 9)) !important;
  max-width: 100% !important;
  flex: 0 0 auto;
  padding: 8px 0 0 !important;
  background: transparent !important;
}

.glightbox-clean .ginner-container.gv-slide .gdesc-inner {
  padding: 0 !important;
}

/* Arrows sit above the video so the next/previous video is one click away */
.glightbox-container .gprev,
.glightbox-container .gnext {
  z-index: 99999;
}

.glightbox-clean .ginner-container.gv-slide .gslide-title {
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

.gv-inline iframe,
.gv-inline video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio .gallery-tile img,
  .portfolio .gallery-caption,
  .portfolio .gallery-play {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Videos Section
--------------------------------------------------------------*/
.videos .video-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  isolation: isolate;
  transition: box-shadow 0.35s ease;
}

.videos .video-tile img,
.videos .video-tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.videos .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  font-size: 40px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: transform 0.3s ease;
}

.videos .video-play i {
  margin-left: 4px;
  line-height: 1;
}

.videos .video-tile:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.videos .video-tile:hover img,
.videos .video-tile:hover video {
  transform: scale(1.04);
}

.videos .video-tile:hover .video-play {
  transform: scale(1.1);
}

.videos .video-tile:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.videos .video-title {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.92);
}

.video-modal-box {
  width: min(100vw, 100vh * 16 / 9);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-box iframe,
.video-modal-box video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .videos .video-tile img,
  .videos .video-tile video,
  .videos .video-play {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent var(--testimonials-overlay, 30%));
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 .bi-instagram {
  margin-right: 4px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 15px;
  right: 0;
  opacity: 1;   /* always visible (desktop and touch) */
  transition: ease-in-out 0.3s;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  padding: 0 8px;
  text-align: center;
  z-index: 10;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 75%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #000000;
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Hovering the photo: buttons turn solid like before (must stay above the a:hover rule) */
.team .team-member:hover .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
  border-radius: 0 0 12px 12px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--button-text-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

/* Phone / email links in the contact info: same colour as text, accent on hover */
.contact .info-item p a {
  color: inherit;
  transition: color 0.3s;
}

.contact .info-item p a:hover {
  color: var(--accent-color);
}

/* Cloudflare check: keep its height so the button row lines up before it loads */
.contact .contact-turnstile .cf-turnstile {
  min-height: 65px;
}

@media (max-width: 767px) {
  .contact .contact-turnstile {
    display: flex;
    justify-content: center;
  }
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: all 0.3s ease;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 20%);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .php-email-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* same look as the gallery "Show more photos" button */
  padding: 12px 26px;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--default-color);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Send button sits at the right edge, in line with the message box */
.contact .php-email-form .contact-submit {
  justify-content: flex-end !important;
}

.contact .php-email-form button[type=submit] i {
  font-size: 16px;
  color: var(--accent-color);
  transition: transform 0.3s ease, color 0.3s;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.contact .php-email-form button[type=submit]:hover i {
  color: inherit;
}

/* only the icon moves, so the button itself never slips from under the pointer */
.contact .php-email-form button[type=submit]:hover i {
  transform: translateX(4px);
}

.contact .php-email-form button[type=submit]:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .contact .php-email-form .contact-submit {
    justify-content: stretch !important;
  }

  .contact .php-email-form button[type=submit] {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--button-text-color, var(--contrast-color));
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--button-text-color, var(--contrast-color));
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# GLightbox Styles
--------------------------------------------------------------*/
.glightbox-clean .gslide-description {
  background-color: transparent !important;
  color: #ffffff !important;
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  right: 20px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  padding: 10px 15px !important;
  border-radius: 4px !important;
}

.glightbox-clean .gslide-title {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

/* Phones (portrait and landscape): smaller photo captions, placed at the bottom of the screen */
@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  .glightbox-container .ginner-container:not(.gv-slide) {
    width: 100%;
    height: 100vh;
    flex-direction: column;
  }
  .glightbox-clean .gslide-description {
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    padding: 6px 8px !important;
  }
  .glightbox-clean .gslide-title {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
  .glightbox-clean .gslide-desc {
    font-size: 12px !important;
  }
}

.glightbox-clean .gcounter {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-size: 18px !important;
}

.glightbox-clean .gclose {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-size: 28px !important;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-size: 24px !important;
}

@media (max-width: 480px) {
  /* Stats Section Custom Icon Styles */
  .stats-item .stats-icon-custom {
      margin-right: 1rem;
      font-size: 2rem;
      color: var(--accent-color);
  }
  
  .stats-item i {
      font-size: 2rem;
      color: var(--accent-color);
      margin-right: 1rem;
      width: 2rem;
      text-align: center;
  }
  
  /* Stats Icon Picker Styles */
  .stats-icon-picker-button {
      margin-top: 10px;
      margin-left: 10px;
  }
  
  .stats-icon-preview {
      margin-top: 10px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      background: #f9f9f9;
      display: inline-block;
  }
  
  .stats-icon-preview i {
      font-size: 24px;
      color: var(--accent-color);
  }
  
  .stats-icon-picker-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .stats-icon-picker-content {
      background: #fff;
      border-radius: 8px;
      width: 90%;
      max-width: 800px;
      max-height: 80vh;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
  }
  
  .stats-icon-picker-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid #eee;
  }
  
  .stats-icon-picker-header h3 {
      margin: 0;
      font-size: 18px;
      color: #333;
  }
  
  .stats-icon-picker-close {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: #999;
      padding: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      transition: all 0.2s;
  }
  
  .stats-icon-picker-close:hover {
      background: #f0f0f0;
      color: #333;
  }
  
  .stats-icon-picker-search {
      padding: 15px 20px;
      border-bottom: 1px solid #eee;
  }
  
  .stats-icon-search-input {
      width: 100%;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
  }
  
  .stats-icon-search-input:focus {
      outline: none;
      border-color: var(--accent-color);
      box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
  }
  
  .stats-icon-picker-grid {
      padding: 20px;
      overflow-y: auto;
      flex: 1;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 10px;
  }
  
  .stats-icon-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 15px 10px;
      border: 1px solid #eee;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
  }
  
  .stats-icon-item:hover {
      background: #f5f5f5;
      border-color: var(--accent-color);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .stats-icon-item i {
      font-size: 24px;
      color: #333;
      margin-bottom: 5px;
  }
  
  .stats-icon-item span {
      font-size: 10px;
      color: #666;
      word-break: break-all;
      line-height: 1.2;
  }
}

/* Apply button text color to specific list items when selected/active */
.portfolio-filters li,
.services-list li,
.footer-links ul li,
.testimonials .swiper-pagination .swiper-pagination-bullet {
  color: var(--default-color);
}

/* Selected/active state for list items */
.portfolio-filters li.filter-active,
.services-list a.active,
.footer-links ul li:hover,
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  color: var(--button-text-color, var(--default-color));
}


/* About section rich text (formatted in Customizer > About) */
.about .about-rich-text {
  font-family: var(--default-font); /* follows Customize > Typography > Body Font */
  /* size and alignment are set in Customize > About */
  font-size: var(--about-font-size, 17px);
  line-height: 1.7;
  text-align: var(--about-text-align, left);
}

@media (max-width: 767px) {
  .about .about-rich-text {
    font-size: calc(var(--about-font-size, 17px) - 1px);
  }
}

.about .about-rich-text p:last-child {
  margin-bottom: 0;
}

.about .about-rich-text h3,
.about .about-rich-text h4,
.about .about-rich-text h5 {
  margin: 1.2em 0 0.5em;
  font-weight: 700;
}

.about .content .about-rich-text ul,
.about .content .about-rich-text ol {
  text-align: left;
  margin: 0 0 1em;
}

.about .content .about-rich-text li {
  display: list-item;   /* undo the old flex layout from ".about .content ul li" */
  padding: 0;
  margin-bottom: 0.4em;
}

/* Text pasted from Word wraps each list item in its own paragraph:
   remove that paragraph's spacing so items sit tight like a normal list */
.about .content .about-rich-text li > p {
  margin: 0;
}

/* Bullet lists: small Galeb silhouette (assets/img/galeb-bullet.svg)
   in the accent colour instead of a dot */
.about .content .about-rich-text ul {
  list-style: none;
  padding-left: 0;
}

.about .content .about-rich-text ul > li {
  position: relative;
  padding-left: 1.8em;
}

.about .content .about-rich-text ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.3em;
  height: 1.3em;
  background-color: var(--accent-color);
  -webkit-mask: url("assets/img/galeb-bullet.svg") center / contain no-repeat;
  mask: url("assets/img/galeb-bullet.svg") center / contain no-repeat;
  transform: rotate(90deg); /* nose pointing right */
}

/* Nested bullet lists: smaller, lighter plane */
.about .content .about-rich-text ul ul {
  margin: 0.4em 0 0;
}

.about .content .about-rich-text ul ul > li::before {
  width: 1.05em;
  height: 1.05em;
  top: 0.35em;
  opacity: 0.7;
}

/* Numbered lists keep their numbers */
.about .content .about-rich-text ol {
  list-style: decimal;
  padding-left: 1.6em;
}

.about .content .about-rich-text ol > li::marker {
  color: var(--accent-color);
  font-weight: 700;
}

.about .about-rich-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Services (CTA) background video layer - see assets/js/cta-video.js */
.call-to-action .cta-bg-video,
.call-to-action .cta-bg-youtube {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.call-to-action .cta-bg-video {
  display: block;
  object-fit: cover;
}

.call-to-action .cta-bg-youtube {
  overflow: hidden;
}

/* "cover" sizing for a 16:9 YouTube frame, slightly enlarged to crop YouTube's edges */
.call-to-action .cta-bg-youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%) scale(1.15);
  border: 0;
}

.call-to-action .cta-bg-video.is-playing,
.call-to-action .cta-bg-youtube.is-playing {
  opacity: 1;
}

/* ===== Page Sections (wp-admin > Page Sections): text + pictures/video, like About ===== */
.page-block.grey-background { --background-color: #141414; }
.page-block .ps-single img.ps-img,
.page-block .ps-single video.ps-video { display: block; width: 100%; height: auto; }
.page-block .ps-video { background: #000; }

/* Several items: stacked top to bottom, paged when they do not fit the text height */
.page-block .ps-multi { box-shadow: none; overflow: visible; border-radius: 0; }
.page-block .ps-stack { position: relative; }
.page-block .ps-item {
  margin-bottom: 16px; border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.page-block .ps-item:last-child { margin-bottom: 0; }
.page-block .ps-item[hidden] { display: none; }
.page-block .ps-item img.ps-img,
.page-block .ps-item video.ps-video { display: block; width: 100%; height: auto; }
.page-block .ps-item.is-capped img.ps-img,
.page-block .ps-item.is-capped .ps-yt,
.page-block .ps-item.is-capped video.ps-video { height: 100%; object-fit: cover; }
.page-block .ps-item.is-capped video.ps-video { object-fit: contain; }
.page-block .ps-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; height: 28px; }
.page-block .ps-nav button {
  border: 0; padding: 0; cursor: pointer; background: none; color: #fff; line-height: 1;
}
.page-block .ps-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35) !important; }
.page-block .ps-dot.is-active { background: var(--accent-color) !important; }
.page-block .ps-arrow { font-size: 20px; opacity: .8; }
.page-block .ps-arrow:hover { color: var(--accent-color); opacity: 1; }
.page-block .ps-nav button:disabled { opacity: .25; cursor: default; }

.page-block .ps-yt {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden;
}
.page-block .ps-yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-block .ps-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-block .ps-play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 34px;
}
.page-block .ps-yt:hover .ps-play,
.page-block .ps-yt:focus-visible .ps-play { background: var(--accent-color); }
.page-block .ps-yt.is-playing .ps-play,
.page-block .ps-yt.is-playing img { display: none; }

/* Sections page without hero video: clear the fixed header */
.ps-plain { padding-top: 90px; }
.ps-plain > .page-block:first-child { padding-top: 40px; }

/* Optional low banner (picture or video) on the no-hero sections page */
.ps-plain.has-banner { padding-top: 0; }
.ps-banner { position: relative; width: 100%; min-height: 200px; overflow: hidden; background: #000; }
.ps-banner video, .ps-banner img.ps-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-banner picture { display: block; position: absolute; inset: 0; }
.ps-banner video.ps-banner-vid { transition: opacity .6s ease; }
.ps-banner:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 40%, var(--background-color)); }

/* Click on a section picture opens the gallery preview */
.page-block a.ps-zoom, .about a.ps-zoom { position: relative; display: block; cursor: zoom-in; }
.page-block a.ps-zoom img, .about a.ps-zoom img { display: block; }
.ps-zoom-icon { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; opacity: 0; transition: opacity .3s ease; }
@media (hover: hover) { .page-block a.ps-zoom:hover .ps-zoom-icon, .about a.ps-zoom:hover .ps-zoom-icon { opacity: 1; } }
.page-block .ps-item a.ps-zoom, .page-block .ps-item a.ps-zoom img { height: 100%; }

/* Video thumbnails on the sections page: look like pictures, play in the gallery preview */
.page-block a.ps-vthumb { aspect-ratio: 16 / 9; background: #000; }
.page-block a.ps-vthumb img, .page-block a.ps-vthumb video.ps-video-thumb { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.page-block a.ps-vthumb .ps-zoom-icon { display: none; }
@media (hover: hover) { .page-block a.ps-vthumb:hover .ps-play { background: var(--accent-color); } }

/* Pager slot: the last visible picture holds the remaining ones; dots/arrows sit over it */
.page-block .ps-slot { position: relative; }
.page-block .ps-slot .ps-item { margin-bottom: 0; }
.page-block .ps-nav.is-overlay { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; height: auto; padding: 6px 12px; border-radius: 20px; background: rgba(0,0,0,.55); z-index: 5; }

/* Play button: exactly centred over the video picture */
.page-block .ps-play { top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); line-height: 1; padding-left: 4px; box-sizing: border-box; }
.page-block .ps-play i { display: flex; align-items: center; justify-content: center; line-height: 1; }
.page-block .ps-play i::before { display: block; line-height: 1; vertical-align: 0; }
.page-block .ps-item a.ps-vthumb { aspect-ratio: auto; height: 100%; min-height: 0; }
.page-block .ps-single a.ps-vthumb { aspect-ratio: 16 / 9; height: auto; }

/* "See more" for long section text */
.page-block .about-rich-text[data-more] { overflow: hidden; position: relative; transition: max-height .35s ease; }
.page-block .about-rich-text.ps-collapsed:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(0,0,0,0), var(--background-color)); pointer-events: none; }
.page-block .ps-more-btn { display: block; margin: 14px 0 0; padding: 0; border: 0; background: none; color: var(--accent-color); font-weight: 600; cursor: pointer; }
.page-block .ps-more-btn:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .page-block .about-rich-text[data-more] { transition: none; } }

/* Phones: the gallery video player uses the full width and as much height as the screen allows */
@media (max-width: 767px) {
  /* leaves room for the close button above and the title below, so closing stays easy */
  .glightbox-container .gslide-inline .ginlined-content.gv-inline { width: 100vw; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
  .gv-inline video { object-fit: contain; }
  .glightbox-clean .ginner-container.gv-slide .gslide-description { width: 100vw !important; padding: 12px 16px 0 !important; }
}

/* Touch screens: a tap on a team photo must not trigger the desktop hover effects (card lift, shadow jump,
   solid buttons). They stay "stuck" after a tap and look jerky. */
.team .team-member,
.team .team-member .member-img,
.team .team-member .social a {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none), (pointer: coarse) {
  .team .team-member:hover {
    transform: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  }
  .team .team-member .about-image-container:hover .about-image {
    box-shadow: none;
  }
  .team .team-member:hover .social {
    bottom: 15px;
  }
  .team .team-member:hover .social a {
    background: color-mix(in srgb, var(--contrast-color), transparent 75%);
  }
}
