/*
Theme Name: Quick Launch Child
Theme URI:
Template: quicklaunch-parent-theme
Author: Quicklaunch Ltd
Author URI: https://www.quicklaunch.co.uk/
Description: Child theme.
Version: 1.0
*/

h1 {font-size: 60px; line-height: 70px;}
h2 {font-size: 55px; line-height: 65px;}
h3 {font-size: 50px; line-height: 60px;}
h4 {font-size: 40px; line-height: 50px;}
h5 {font-size: 30px; line-height: 40px;}
h6 {font-size: 20px; line-height: 30px;}

h1,h2,h3,h4,h5,h6 {
    font-family: "ivypresto-display", serif;
    font-weight: 100;
    margin: 0 0 28px 0;
}

p.sub-title {
    font-family: "ivypresto-display", serif;
    font-weight: 100;
    font-size: 40px;
    line-height: 50px;
}

ul,
ol,
p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    margin: 0 0 28px 0;
}

.site-band {
    padding: 10vh 0;
}

/* Structure Styles */

.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* square box; change as needed */
  overflow: hidden;
  margin-bottom: 30px;
}

@media (min-width: 992px) {
    .img-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;   /* square box; change as needed */
      overflow: hidden;
      margin: 0;
    }
}

.img-wrapper img {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;     /* behave like background-size: cover */
  object-position: center;
}

a {
    color: inherit;
    font-weight: 400;
}

a:hover {
    color: inherit;
}

/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    height: 100%;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    background-color: #faefe2;
}

/* All sections fill viewport */
section {
    height: 100vh;
    position: relative;    /* so we can layer via z-index */
    width: 100%;
    transition: background 0.3s;
}

#section1 header {
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    background: transparent;
}

/* Give each section a unique background */
#hp-header {background-color: #d04c63;}
#section1 { background: #faefe2; }
.sector {
    background-color: #faefe2;
    border-top: 1px solid #1e201f;
}
#hp-intro, #hp-blogs {background-color: #faefe2;}

#hp-intro {padding: 5% 0}

/* Fallback “sticky” behavior */
.static {
    position: sticky;
    top: 0;
}

/* JS‐driven fixed behavior (overrides sticky) */
.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
}

/* Z‐index map: later sections have higher stacking */

/* CSS fallback for non-JS users */
.animate.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

#wwd-services,
#hp-services {
    z-index: 15;
    position: relative;
    height: auto;
    width: 100%;
    color: #fff;
}

#wwd-services .overlay,
#hp-services .overlay {
    padding: 15% 0;
}

#hp-services .sub-title {
    margin-bottom: 30px;
	text-transform: uppercase;
	letter-spacing: 3px;
}

#hp-services h2 {
    font-size: 50px;
}

#hp-services .service-list {
    list-style-type: none;
    padding: 0;
    margin: 0px;
    line-height: 5em;
}
#hp-services .service-list li {
    display: inline-block;
    font-size: 5em;
    font-family: "ivypresto-display", serif;
    font-weight: 300;
}
#hp-services .service-list li::after {
    content: "/";
    margin: 0 15px;
}
#hp-services .service-list li:last-child:after {
    content: none;
    margin: 0px;
}
#hp-services .service-list li a {
    text-decoration: none;
    font-weight: 300;
    color: #fff;
    transition: color ease 0.3s;
}

#hp-services .service-list li a:hover {
    color: #999999;
    transition: color ease 0.3s;
}

.darkbg {
    background-color: #1e201f;
    color: #fff;
}

#section1 { z-index: 10; }
#section2 { z-index: 20; }
#section3 { z-index: 30; }
#section4 { z-index: 40; }
#hp-intro { border-top: 1px solid #1e201f; z-index: 50;}
#hp-blogs {z-index: 55; height: auto;}
footer {
    z-index: 60;
    background-color: #1e201f;
    position: relative;
    color: #fff;
}

footer #footer {padding: 7% 0;}
footer #smallprint {padding: 30px 0;}

footer .footer-logo {
    display: inline-block;
    width: 100%;
    height: auto;
}
footer .footer-logo svg {
    fill: #fff;
}

footer .menu {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
footer .menu li {
    margin-bottom: 20px
}

footer .menu li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    padding: 0px;
    transition: padding ease 0.5s;
}


@media (min-width: 992px) {
    footer .menu li a {
        display: inline-block;
        text-decoration: none;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 22px;
        line-height: 28px;
        font-weight: 300;
        padding: 0px;
        transition: padding ease 0.5s;
    }
}

footer .menu li a:hover {
    padding-left: 20px;
    transition: padding ease 0.5s;
    /*color: #d04c63;*/
}


/* Simple header styling */
.content {
  display: flex;
  flex-direction: column;  /* stack items top-to-bottom */
  align-items: center;     /* centers them horizontally */
  justify-content: center; /* centers them vertically in the section */
  height: auto;
  width: 100%;
  gap: 1rem;               /* optional spacing between items */
  padding: 10% 0;
}

.sector {
    text-align: center;
    min-height: auto;
}

.sector .sector-title {
    font-size: 70px;
    line-height: 70px;
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    margin: 3% 0;
}
.sector .s-count {
    display: none;
}
.sector .down-arrow {
    display: none;
}

#wwd-services h3 {
	font-size: 70px;
	line-height: 80px
}

.sector .content {
    padding: 10% 0;
}

@media (min-width: 992px) {
	
	#wwd-services h3 {
		font-size: 140px;
		line-height: 140px
	}
    .content {
        display: flex;
        flex-direction: column;  /* stack items top-to-bottom */
        align-items: center;     /* centers them horizontally */
        justify-content: center; /* centers them vertically in the section */
        height: 100%;
        gap: 1rem;               /* optional spacing between items */
        padding: 0;
    }

    .sector {
        text-align: center;
        min-height: 100vh;
    }

    .sector .sector-title {
        font-size: 150px;
        line-height: 150px;
        font-family: "ivypresto-display", serif;
        font-weight: 300;
        margin: 3% 0;
    }
    .sector .s-count {
        display: inline-block;
        position: absolute;
        left: 40px;
        top: 50%;
        width: 75px;
        height: 75px;
        margin-top: -50px;
        font-family: "ivypresto-display", serif;
        font-weight: 300;
        font-style: italic;
        font-size: 40px;
        line-height: 75px;
        text-align: center;
        border-radius: 50%;
    }
    .sector .down-arrow {
        position: absolute;
        display: inline-block;
        right: 40px;
        top: 50%;
        width: 75px;
        height: 75px;
        margin-top: -50px;
        fill: #1e201f;
    }
}

.sector p.sector-t {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.sector .down-arrow .st0 {fill: #1e201f; fill-rule: evenodd;}
.sector .down-arrow .st1 {fill: none; stroke: #1e201f}

/* Header */

.brand {
    width: 250px;
    margin: 20px 0;
    padding: 0px !important;
}

.brand img {
    width: 100%;
    height: auto;
}

#page-title {
    padding: 0px 0 10% 0;
}

#page-title header {
    position: relative;
    top: 0;
    z-index: 999;
    width: 100%;
}

#post-title {
    position: relative;
    width: 100%;
    top: 0;
    padding: 0px 0 10% 0;
}

#post-title header {
    position: relative;
    top: 0;
    z-index: 999;
    width: 100%;
}


section.page-header--single-post {
    min-height: auto;
}

.blog-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
}

.blog--header {
    padding: 20px 0;
}

@media (min-width: 992px) {
    section.page-header--single-post {
        min-height: 100vh;
    }
    .blog-thumbnail {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 45%;
        height: 100%;
        background-size: cover;
        pointer-events: none; 
        aspect-ratio: unset;
        background-position: center center;
    }
    .blog--header {
        padding: 15vh 0;
    }
}

.post-category {
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    color: #1e201f;
    letter-spacing: 2px;
    text-decoration: none;
}
.entry-title {
    padding: 5% 0;
}
.down-arrow:hover,
.down-arrow {
    color: #1e201f;
}

article {
    padding: 10vh 0;
}

/* Navigation */

/* ----------------------------------------------
   1. Header layout (desktop)
   ---------------------------------------------- */
.custom-menu-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.custom-logo img,
.custom-logo svg {
  max-height: 38px;
  width: auto;
  fill: #1e201f;
}

.custom-logo a {
    display: inline-block;
    width: 270px;
    height: auto;
}

@media (max-width: 992px) {
	.custom-logo a {
		display: inline-block;
		width: 203px;
		height: auto;
	}
}

.menu-wrapper {
  display: flex;
  align-items: center;
}

/* Mobile padding */

@media (max-width: 992px) {
	.content,
	#default-page-header,
	footer #footer,
	#hp-blogs,
	#page-header {
		padding-left: 1em !important;
		padding-right: 1em !important;
	}	
}

/* Desktop menu styles (original retained) */
.desktop-menu-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.desktop-menu-list li {
  margin: 0 0.75rem;
}
.desktop-menu-list li a {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1e201f;
  text-decoration: none;
  padding: 15px 0;
  position: relative;
  transition: color 0.3s ease;
}
.desktop-menu-list li a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%; height: 2px;
  background-color: #1e201f;
  transition: transform 0.3s ease;
}
.desktop-menu-list li a:hover::after,
.desktop-menu-list li a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* show marker on active item */
.desktop-menu-list > li.current-menu-item > a::after,
.desktop-menu-list > li.current_page_item > a::after,
.desktop-menu-list > li.current-menu-ancestor > a::after {
  transform: translateX(-50%) scaleX(1);
}

#mobile-nav .highlight-link a {
    position: absolute;
    display: block;
    background-color: transparent;
    border-radius: 50px;
    border: 1px solid #fff;
    width: calc(100% - 50px);
    bottom: 30px;
    text-align: center;
    font-family: 'Inter';
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5em;
    font-weight: 300;
}

.mobile-logo {
    display: inline-block;
    width: 60%;
}

.mobile-logo svg {
    fill: #fff;
}

.desktop-menu-list li.highlight-link a {
  background-color: #1e201f;
  color: #fff;
  padding: 15px 20px;
  border-radius: 50px;
  text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 2px;
}
.desktop-menu-list li.highlight-link a::after {
  content: none;
}

/* ----------------------------------------------
   2. Mobile menu (hidden by default)
   ---------------------------------------------- */
.mobile-menu-toggle,
#mobile-nav,
.mobile-nav-overlay {
  display: none;
}

/* ----------------------------------------------
   3. Mobile at ≤992px
   ---------------------------------------------- */

.mobile-menu-list li a {
    display: block;
    color: #faefe2;
    text-decoration: none;
    font-size: 3rem;
    line-height: 4rem;
    transition: color 0.3s ease;
    font-family: "ivypresto-display", serif;
    font-weight: 300;
}

@media (max-width: 992px) {
  /* add horizontal padding on mobile */
  header {
    padding: 0 25px;
  }

  /* hide desktop menu */
  .desktop-menu-list { display: none !important; }

  /* show mobile toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #1e201f;
    width: 45px;
    height: 45px;
    border: none;
    font-size: 45px;
    margin-left: auto;
    z-index: 999;
  }

  /* off-canvas panel */
  #mobile-nav {
    display: block;
    position: fixed;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: #1e201f;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1001;
    font-family: "ivypresto-display", serif;
  }
  #mobile-nav.open { left: 0; }

  /* overlay */
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1e201f;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }
  .mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* mobile header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
  }
  .mobile-logo img {
    max-height: 30px;
    width: auto;
  }
  .mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 100;
  }

  /* mobile menu list */
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 1.5rem;
  }
  .mobile-menu-list li {}
  .mobile-menu-list li a {
    display: block;
    color: #faefe2;
    text-decoration: none;
    font-size: 4rem;
    line-height: 6rem;
    transition: color 0.3s ease;
    font-family: "ivypresto-display", serif;
    font-weight: 100;
  }
  .mobile-menu-list li a:hover,
  .mobile-menu-list li a.active {
    color: #d04c63;
  }
}

/* Nav END */

.v-line {
    display: none
}

@media (min-width: 992px) {
    .v-line {
        display: block;
        margin: 30px auto;
        width: 1px;
        border: none;
        border-left: 1px solid #1e201f;
        height: 10%;
    }
}

.ol svg {
    display: inline-block;
    width: auto;
    height: 16px;
    fill: #1e201f;
    padding-left: 15px;
    transition: fill ease 0.5s, padding ease 0.5s;
}

.ol.onlight:hover svg {
    fill: #fff;
    padding-left: 30px;
    transition: fill ease 0.5s, padding ease 0.5s;
}

.ol.ondark svg {
    fill: #fff;
    transition: fill ease 0.5s, padding ease 0.5s;
}

.ol.ondark:hover svg {
    fill: #000;
    padding-left: 30px;
    transition: fill ease 0.5s, padding ease 0.5s;
}

.ol {
    display: inline-block;
    padding: 20px 30px;
    border-radius: 50px;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
}
.ol.onlight {
    color: #1e201f;
    background-color: transparent;
    border: 1px solid #1e201f;
    transition: background ease 0.5s, color ease 0.5s, padding ease 0.5s;
}

.ol.ondark {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    transition: background ease 0.5s, color ease 0.5s, padding ease 0.5s;
}

.ol.onlight:hover {
    padding: 20px 40px;
    color: #fff;
    background-color: #1e201f;
    transition: background ease 0.5s, color ease 0.5s, padding ease 0.5s;
}

.ol.ondark:hover {
    padding: 20px 40px;
    color: #000;
    background-color: #fff;
    transition: background ease 0.5s, color ease 0.5s, padding ease 0.5s;
}

/* Blog thumbnails */
.single-blog-wrap {
    position: relative;
    height: calc(100% - 30px);
    background-color: #faefe2;
    color: #1e201f;
    transition: background-color ease 0.5s, color ease 0.5s;
    margin-bottom: 30px;
}

.single-blog-wrap .thumbnail {
  display: block;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}

/* initial state */
.single-blog-wrap .thumbnail div {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.5s ease;
}

/* zoom on hover */
.single-blog-wrap:hover .thumbnail div {
  transform: scale(1.2);
}

.single-blog-wrap .blog-content {
    padding: 40px;
}
.single-blog-wrap .category {
    display: block;
    text-transform: uppercase;
    color: inherit;
    letter-spacing: 3px;
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 3%;
}
.single-blog-wrap .blog-title {
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    text-decoration: none;
    font-size: 25px;
    line-height: 35px;
    color: inherit;
}

#hp-blogs h2 {
    font-size: 80px;
    line-height: 1.2;
}

@media (min-width: 992px) {
    #hp-blogs h2 {
        font-size: 140px;
        line-height: 1.4;
    }
}

#hp-blogs .col-lg-4:nth-child(2n) .single-blog-wrap {
    background-color: #1e201f;
    color: #fff;
}

#hp-blogs .col-lg-4:nth-child(2n) .single-blog-wrap:hover,
.single-blog-wrap:hover {
    background-color: #d04c63;
    color: #1e201f;
    transition: background-color ease 0.5s, color ease 0.5s;
}

@media (min-width: 992px) {
    /* Blog thumbnails */
    .single-blog-wrap {
        position: relative;
        height: 100%;
        background-color: #faefe2;
        color: #1e201f;
        transition: background-color ease 0.5s, color ease 0.5s;
        margin-bottom: 0px;
    }

    .single-blog-wrap .thumbnail {
      display: block;
      aspect-ratio: 1/1;
      position: relative;
      overflow: hidden;
    }

    /* initial state */
    .single-blog-wrap .thumbnail div {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      transform: scale(1);
      transition: transform 0.5s ease;
    }

    /* zoom on hover */
    .single-blog-wrap:hover .thumbnail div {
      transform: scale(1.2);
    }

    .single-blog-wrap .blog-content {
        padding: 40px;
    }
    .single-blog-wrap .category {
        display: block;
        text-transform: uppercase;
        color: inherit;
        letter-spacing: 3px;
        text-decoration: none;
        font-weight: 300;
        margin-bottom: 5%;
    }
    .single-blog-wrap .blog-title {
        font-family: "ivypresto-display", serif;
        font-weight: 300;
        text-decoration: none;
        font-size: 42px;
        line-height: 52px;
        color: inherit;
    }

    #hp-blogs .col-lg-4:nth-child(2n) .single-blog-wrap {
        background-color: #1e201f;
        color: #fff;
    }

    #hp-blogs .col-lg-4:nth-child(2n) .single-blog-wrap:hover,
    .single-blog-wrap:hover {
        background-color: #d04c63;
        color: #1e201f;
        transition: background-color ease 0.5s, color ease 0.5s;
    }
}

/* MOBILE-FIRST MEDIA QUERIES */
@media (max-width: 1200px) {
  /* Disable pinning on mobile */
  .static, .fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
  /* Let sections grow with content */
  section {
    height: auto !important;
    min-height: 100vh;
  }

  #hp-services {
    min-height: auto !important;
  }
  /* Scale down headings */
  h1 { font-size: 45px; line-height: 55px; }
  h2 { font-size: 32px; line-height: 40px; }
  h3 { font-size: 24px; line-height: 32px; }
  h4 { font-size: 20px; line-height: 28px; }
  h5 { font-size: 18px; line-height: 24px; }
  h6 { font-size: 16px; line-height: 22px; }
  p  { font-size: 16px; line-height: 24px; }

  /* HP Services adjustments */
  #hp-services .overlay {
    padding: 10% 0;
  }
  #hp-services h2 {
    font-size: 32px;
    line-height: 40px;
  }
  #hp-services .service-list li {
    display: block;
    font-size: 3.5em;
  }
  #hp-services .service-list li a {

  }

  #hp-services .service-list li::after {
    content: none;
  }
}

@media (max-width: 992px) {
  /* Disable pinning on mobile */
  .static, .fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
  /* Let sections grow with content */
  section {
    height: auto !important;
    min-height: 100vh;
  }

  #hp-services {
    min-height: auto !important;
  }
  /* Scale down headings */
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 28px; line-height: 36px; }
  h3 { font-size: 24px; line-height: 32px; }
  h4 { font-size: 20px; line-height: 28px; }
  h5 { font-size: 18px; line-height: 24px; }
  h6 { font-size: 16px; line-height: 22px; }
  p  { font-size: 16px; line-height: 24px; }

  /* HP Services adjustments */
  #hp-services .overlay {
    padding: 10% 0;
  }
  #hp-services h2 {
    font-size: 32px;
    line-height: 40px;
  }
  #hp-services .service-list li {
    display: block;
    font-size: 3.5em;
  }
  #hp-services .service-list li a {

  }

  #hp-services .service-list li::after {
    content: none;
  }
}

@media (max-width: 480px) {
  /* Further typography scaling */
  h1 { font-size: 28px; line-height: 36px; }
  h2 { font-size: 24px; line-height: 32px; }
  h3 { font-size: 20px; line-height: 28px; }
  p, ul  { font-size: 16px; line-height: 26px; }

  /* Tighter content spacing */
  .content {
    gap: 0.5rem;
    padding: 1rem;
  }
}

b {font-weight: 500;}

/*Animation*/
/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(200px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; margin-left: -200px; }
  to   { opacity: 1; margin-left: 0px; }
}
@keyframes fadeRight {
  from { opacity: 0; margin-left: 200px;}
  to   { opacity: 1; margin-left: 0px;}
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* Base animate class */
.animate {
  opacity: 0;
  /* ensure animation does not play until triggered */
  animation-fill-mode: both;
  animation-play-state: paused;
  /* default timing and duration */
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

/* Assign keyframes */
.animate.fade-up    { animation-name: fadeUp; }
.animate.fade-down  { animation-name: fadeDown; }
.animate.fade-left  { animation-name: fadeLeft; }
.animate.fade-right { animation-name: fadeRight; }
.animate.zoom-in    { animation-name: zoomIn; }

/* Delay helpers */
.animate.delay-1 { animation-delay: 0.1s; }
.animate.delay-2 { animation-delay: 0.2s; }
.animate.delay-3 { animation-delay: 0.3s; }
.animate.delay-4 { animation-delay: 0.4s; }
.animate.delay-5 { animation-delay: 0.5s; }

/* Triggered state */
.animate.animated {
  opacity: 1;
  animation-play-state: running;
}



/* Parallax background styling */
.parallax {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: unset;
}

@media (min-width: 992px) {
    /* Parallax background styling */
    .parallax {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }
}

/* About slider */

#testimonials {
    padding: 7% 0 0 0;
}

#awards h2,
#leadership-team h2,    
#testimonials h2 {
    font-size: 80px;
    line-height: 90px;
    margin: 0 0 5% 0;
}

@media (min-width: 992px) {
    #awards h2,
    #leadership-team h2,    
    #testimonials h2 {
        font-size: 140px;
        line-height: 140px;
        margin: 0 0 7% 0;
    }
}

/* Layout + min-height */
#testimonialSlider .t-row { display: flex; flex-wrap: wrap; min-height: 60vh; }
#testimonialSlider .t-col { flex: 1 1 50%; }

/* Viewports: independent, overflow hidden */
.t-image-viewport,
.t-text-viewport {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    transition: height 300ms ease;  /* add this line */
}
.t-text-viewport {
    display: flex;
    align-items: center;
}

/* Smoothly adjust image viewport height to match text */
.t-image-viewport {transition: height 300ms ease;}

/* Slides base */
.t-slide {
    position: absolute; 
    left: 0; 
    width: 100%; 
    opacity: 0; 
    z-index: 1; 
    will-change: transform, opacity; 
    transition: transform 1s ease, opacity 1s ease;
}

/* Text slides: vertically centered + padding */
.t-text-slide {
    top: 50%;
    transform: translateY(-50%) translateX(0);
    padding: 4rem;
}
.t-text-slide.active { opacity: 1; z-index: 2; transform: translateY(-50%) translateX(0); }

/* Text slide motion (keeps vertical centering) */
.t-text-slide.enter-from-left  { transform: translateY(-50%) translateX(-100%); }
.t-text-slide.enter-from-right { transform: translateY(-50%) translateX( 100%); }
.t-text-slide.leave-to-left    { transform: translateY(-50%) translateX(-100%); }
.t-text-slide.leave-to-right   { transform: translateY(-50%) translateX( 100%); }

.t-slide blockquote {
    font-family: "ivypresto-display", serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 40px;
    font-style: italic;
    margin: 0 0 28px 0;
}

@media (min-width: 992px) {
    .t-slide blockquote {
        font-family: "ivypresto-display", serif;
        font-weight: 300;
        font-size: 60px;
        line-height: 70px;
        font-style: italic;
        margin: 0 0 28px 0;
    }
}

/* Image slides: fill viewport like background cover */
.t-img-slide {
    top: 0; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    transform: translateX(0); 
}

.t-img-slide.active {
    opacity: 1;
    z-index: 2;
    transform: translateX(0);
}

/* Image slide motion */
.t-img-slide.enter-from-left  { transform: translateX(-100%); }
.t-img-slide.enter-from-right { transform: translateX( 100%); }
.t-img-slide.leave-to-left    { transform: translateX(-100%); }
.t-img-slide.leave-to-right   { transform: translateX( 100%); }

/* Controls (style as you wish) */
.t-prev, .t-next {
    position: absolute;
    top: 50%;
    transform:
    translateY(-50%);
    z-index: 5;
    border: none;
    padding: 5px 10px;
    background-color: #f9eddd;
    color: #1e201f;
    font-size: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 40px;
}
.t-prev { left: 0px; }
.t-next { right: 0px; }

@media (max-width: 992px) {
    #testimonialSlider .t-col { flex: 1 1 100%; }
}

/* Team  */

#leadership-team{
    padding: 5% 0;
}

.team-member {
    margin-bottom: 30px;
}
.team-member .team-member-image {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
}
.team-member .team-details {
    background-color: #1c1e1d;
    padding: 40px;
    color: #fff;
}

#leadership-team .row.g-0 > .col-lg-4:nth-child(2n) .team-details {
    background-color: #2b3033 !important;
}
.team-member h4,
.team-member .team-position {
    margin: 0px;
}

/* Awards */

.single-award {
    border-top: solid 1px #1e201f;
    padding: 30px 0;
    position: relative;
    transition: background-color ease 0.5s;
}

.single-award:hover {
    background-color: #f5e5d0;
    transition: background-color ease 0.5s;
}

.single-award p.title {
    margin-bottom: 0px;
    font-weight: 500;
}
.single-award p {margin-bottom: 0px;}
.single-award .year {
    float: right;
    font-size: 24px;
    line-height: 24px;
    margin: 14px 0 0 0;
}

#awards-wrapper {
    margin-top: 5%;
}

.intro-band {padding: 10% 0;}

#image-page-header h1,
#default-page-header h1,
#page-header h1 {
    font-size: 70px;
    line-height: 80px;
}

@media (min-width: 992px) {
    #image-page-header h1,
    #default-page-header h1,
    #page-header h1 {
        font-size: 140px;
        line-height: 140px;
    }
    .intro-band {padding: 10% 0}
}

#page-header {
    position: relative;
    z-index: 9;
    padding: 0 0 14% 0;
}

#default-page-header {
    position: relative;
    z-index: 9;
    padding: 0 0 4% 0;
    margin-bottom: 0;
}

#default-page-header.no-page-header-color {
    margin-bottom: 0%;
}

.page-template-template-insights-v1 #page-header,
.page-template-template-what-we-do-v1 #page-header {
    position: relative;
    z-index: 9;
    padding: 0 0 4% 0;
}

#page-header-images {
    margin-top: -9%;
    position: relative;
    z-index: 20;
}

/* What we do  */

#wwd-image-band {
    height: 60vh;
    background-size: cover;
    background-position: center center;
}

.service-section {
    background-color: #f9eddd;
    border-top: 1px solid #1e201f;
    padding: 5% 0 0 0;
}

@media (min-width: 992px) {
    .service-section {
        background-color: #f9eddd;
        border-top: 1px solid #1e201f;
        padding: 0;
    }
}

.service-section.static h1 {
    font-size: 60px;
    line-height: 60px;
}

@media (min-width: 992px) {
    .service-section.static h1 {
        font-size: 140px;
        line-height: 140px;
    }
}

.service-section.static ul {
    column-count: 1;
}

.service-section .example-media {
    position: relative;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: calc(100% - 30px);
    min-height: 400px;
    margin: 0 0 30px 0;
}

@media (min-width: 992px) {

    .service-section .example-media {
        position: absolute;
        background-size: cover;
        background-position: center center;
        width: 50%;
        height: 100%;
        right: 0;
        top: 0;
    }

    .service-section ul {
        column-count: 2;
    }

    /* When the section has .image-left, pin the image to the left instead */
    .service-section.image-left .example-media {
        left: 0;
        right: auto;
    }

}

/* Forms  */

label {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;
}

label span {
    color: #d04c63;
}

.wpcf7-checkbox span {
    color: #000;
}

.wpcf7-not-valid-tip {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #d04c63;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    box-sizing: border-box;
    padding: 20px;
    font-size: 20px;
    background-color: transparent;
    width: 100%;
    border: 1px solid #1e201f;
    transition: background-color ease 0.5s;
}

.wpcf7-not-valid {
    border: 1px solid #d04c63 !important;
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
textarea:hover,
select:hover {
    background-color: #fff;
    transition: background-color ease 0.5s;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0.5em 2em 0.5em 0em;
    cursor: pointer;
}

.wpcf7-list-item:hover {
    cursor: pointer;
}

input[type="submit"] {
    display: block;
    width: 100%;
    background-color: #1e201f;
    border: none;
    color: #fff;
    text-transform: uppercase;
    padding: 20px 30px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    transition: letter-spacing ease 0.5s;
}

input[type="submit"]:hover {
    transition: letter-spacing ease 0.5s;
    background-color: #000;
}


.newsletter-signup {
    margin: 0 0 30px 0;
}

.newsletter-signup p {
    margin: 0px;
}

.newsletter-signup {
    background-color: transparent;
    border: 1px solid #fff;
    position: relative;
}

.newsletter-signup input[type="email"] {
    width: 80%;
    background-color: transparent;
    padding: 28px;
    color: #fff;
}
.newsletter-signup input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 0px;
    color: #fff;
}



/**/


/* Animate the wrapper group, not the <path> (avoids conflicts with .st0 styles) */
#hp-header svg .lw-letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(24px);                 /* fade-up offset */
  transition: opacity 600ms ease, transform 600ms ease;
}
#hp-header svg .lw-letter.in {
  opacity: 1;
  transform: translateY(0);
}

.socials {
    margin: 20px 0px 0px 0px;
    padding: 0px;
    list-style-type: none;
    float: none;
}

@media (min-width: 992px) {
    .socials {
    	margin: 0px;
    	padding: 0px;
    	list-style-type: none;
    	float: none;
    }
}

footer .socials {
	float: none;
}

@media (min-width: 992px) {
	footer .socials {
		float: right;
	}
}

.socials li {
	display: inline-block;
}
.socials li a {
	display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 5px;
	background-color: #fff;
	color: #000;
	text-align: center;
	line-height: 30px;
	font-size: 20px;
}

/* share shortcode */

.share-list {
    margin: 0px 0px 5% 0;
    padding: 0px;
    list-style-type: none;
}

.share-list li {
    display: inline-block;
    margin: 0 5px 5px 0; 
    font-size: 12px;
}

.share-list li a {
    color: inherit;
    display: inline-block;
    padding: 10px;
    border: 1px solid #000;
    font-size: 12px;
    line-height: 12px;
    text-decoration: none;
    background-color: transparent;
    transition: background ease 0.5s, color ease 0.5s;
}

.share-list li a:hover {
    background-color: #000;
    color: #fff;
    transition: background ease 0.5s, color ease 0.5s;
}

