/**
 * Theme Name:        IFD College
 * Description:       Theme for IFD College
 * Version:           1.0.0
 * Author:            Trident Marketing Anglia Ltd
 * Author URI:        https://tridentmarketinguk.com
 * Tags:              classic
 * Text Domain:       ifdc
 * Domain Path:       /assets/lang
 * Tested up to:      6.7
 * Requires at least: 6.7
 * Requires PHP:      8.1
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */


/* -------------------------------------------------------
   FONTS
------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Coming+Soon&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");


/* -------------------------------------------------------
   VARIABLES
------------------------------------------------------- */

:root {

  /* Colour Palette */
  --color-green-lightest: #80D649;
  --color-green-light: #6CC136;
  --color-green-mid: #539B25;
  --color-green-dark: #46861D;
  --color-green-darkest: #386C17;
  --color-blue: #648798;
  --color-green-brand: #50991F;
  --color-grey: #54595F;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg: #f3f3f3;

  /* Semantic Colour Assignments */
  --color-primary: var(--color-green-light);
  --color-secondary: var(--color-grey);
  --color-accent: var(--color-green-darkest);
  --color-body-bg: var(--color-bg);
  --color-body-text: var(--color-black);
  --color-heading: var(--color-black);
  --color-link: var(--color-green-darkest);
  --color-link-hover: var(--color-green-mid);

  /* Font Family */
  --font-primary: "Nunito", sans-serif;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Body */
  --font-size-body: 20px;
  --line-height-body: 31px;

  /* H1 */
  --font-size-h1: 32px;
  --font-size-h1-lg: 60px;
  --line-height-h1: 1.2;
  --line-height-h1-lg: 70px;

  /* H2 */
  --font-size-h2: 26px;
  --font-size-h2-lg: 30px;
  --line-height-h2: 1.25;
  --line-height-h2-lg: 40px;

  /* H3 */
  --font-size-h3: 30px;
  --font-size-h3-lg: 28px;
  --line-height-h3: 1.3;

  /* H4 */
  --font-size-h4: 20px;
  --line-height-h4: 1.35;

  /* H5 */
  --font-size-h5: 18px;
  --line-height-h5: 1.4;

  /* H6 */
  --font-size-h6: 16px;
  --line-height-h6: 1.4;

  /* Small */
  --font-size-small: 14px;
  --font-size-xs: 12px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Layout */
  --max-width: 1400px;
  --gutter-h: 3rem;
  --gutter-v: 35px;

  /* Buttons */
  --btn-bg: var(--color-accent);
  --btn-color: var(--color-white);
  --btn-border-width: 3px;
  --btn-border-color: var(--color-accent);
  --btn-hover-bg: var(--color-white);
  --btn-hover-color: var(--color-accent);
  --btn-hover-border-color: var(--color-accent);
  --btn-border-radius: 100px;
  --btn-padding: 10px 20px;
  --btn-font-size: 16px;
  --btn-font-weight: var(--font-weight-semibold);

  /* Borders */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;

  /* Z-index */
  --z-header: 99999;
  --z-nav: 9999;
  --z-dropdown: 1000;
  --z-modal: 10000;
}


/* -------------------------------------------------------
   RESET
------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.svg-sprite {
  display: none;
}

mark,
.mark {
  padding: unset;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.no-scroll {
  overflow: hidden;
}


/* -------------------------------------------------------
   BASE
------------------------------------------------------- */

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-body-bg);
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

main {
  overflow: hidden;
}

#content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post .narrow-container {
	padding:30px;
}

.text-white {
	color: var(--color-white);
}

.text-black {
  color: var(--color-black);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-tertiary {
  color: var(--color-green-lightest);
}

.text-green-light {
  color: var(--color-green-light);
}

.text-body-bg {
  color: var(--color-body-bg);
}

.text-body-text {
  color: var(--color-body-text);
}

.text-heading {
  color: var(--color-heading);
}

.text-link {
  color: var(--color-link);
}

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

.text-green-brand {
  color: var(--color-green-brand);
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}


/* -------------------------------------------------------
   HEADINGS
------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h1);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-h2);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h4);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-h5);
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-h6);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--font-size-h1-lg);
    line-height: var(--line-height-h1-lg);
  }

  h2 {
    font-size: var(--font-size-h2-lg);
    line-height: var(--line-height-h2-lg);
  }

  h3 {
    font-size: var(--font-size-h3-lg);
  }
}

#page-title h1,
.stm-course-bundles h1 {
  text-transform: uppercase;
	  font-weight: var(--font-weight-bold);
}

.primary-header {
  font-family: var(--font-primary);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h1);
  text-transform: uppercase;
}


/* -------------------------------------------------------
   PARAGRAPHS & TEXT
------------------------------------------------------- */

p {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-body);
	font-weight: 600;
  line-height: var(--line-height-body);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: var(--font-weight-bold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--font-size-small);
}

.text-small {
  font-size: var(--font-size-small);
  line-height: 1.5;
}

.text-xs {
  font-size: var(--font-size-xs);
}

/* -------------------------------------------------------
   LINKS
------------------------------------------------------- */

a {
  color: var(--color-link);
  text-decoration: none;
  transition: var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
  text-decoration: underline;
}


/* -------------------------------------------------------
   LISTS
------------------------------------------------------- */

ol {
  list-style: decimal;
  padding-left: var(--space-md);
}

li {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
 
}

.content-block ul,
.entry-content ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.content-block ol,
.entry-content ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}


/* -------------------------------------------------------
   IMAGES
------------------------------------------------------- */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}


/* -------------------------------------------------------
   FORMS
------------------------------------------------------- */

input,
textarea,
select {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  color: var(--color-body-text);
  border: 1px solid #ccc;
  border-radius: var(--border-radius-sm);
  padding: 10px;
  width: 100%;
  background-color: var(--color-white);
  transition: var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
}

label {
  display: block;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25rem;
  color: var(--color-body-text);
	text-transform: capitalize;
}

textarea {
  resize: vertical;
  min-height: 120px;
}


/* -------------------------------------------------------
   BUTTONS & CTAs
------------------------------------------------------- */

button {
  background-color: unset;
  border: unset;
  cursor: pointer;
  font-family: var(--font-primary);
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.wp-block-button__link, .primary-button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding);
  font-family: var(--font-primary);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background-color: var(--color-green-darkest);
  border: var(--btn-border-width) solid var(--color-green-darkest);
  border-radius: var(--btn-border-radius);
  transition: var(--transition-base);
  cursor: pointer;
  width: max-content;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  color: var(--color-green-darkest);
  background-color: var(--color-white);
  border-color: var(--color-green-darkest);
  text-decoration: none;
}

.wp-block-button__link a {
  color: var(--color-white);
}

.cta {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border: 2px solid var(--color-white);
  text-transform: uppercase;
  padding: 0.5rem;
  border-radius: 3px;
  font-size: var(--font-size-xs);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 767px) {
  .cta {
    padding: 0.75rem 0.5rem;
  }
}

@media (min-width: 768px) {
  .cta {
    width: 100%;
    max-width: 200px;
    padding: 1rem;
    font-size: 13px;
  }
}

.cta-block {
  display: block;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: var(--space-md) 0;
}


/* -------------------------------------------------------
   LAYOUT
------------------------------------------------------- */

.narrow-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

html body .container {
	width: 100%;
    max-width: 1400px;
    padding: 0px 25px;
	margin:0 auto;
}

.full-width > .container {
    max-width: 100%;
}

@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}


/* -------------------------------------------------------
   SCROLL ANIMATION
------------------------------------------------------- */

.mouse-btn {
  --scroll-width: 30px;
  --scroll-height: 60px;
  margin: 0 auto;
  width: var(--scroll-width);
  height: var(--scroll-height);
  border: 3px solid rgba(122, 122, 124, 0.918);
  border-radius: 20px;
  display: flex;
  overflow: hidden;
}

.mouse-scroll {
  display: block;
  width: 15px;
  height: 15px;
  background: linear-gradient(170deg, rgba(122, 122, 124, 0.918), rgb(123, 124, 124));
  border-radius: 50%;
  margin: auto;
  animation: scroller 2s linear infinite;
}

.scroll-text {
  font-size: var(--font-size-xs);
}

@keyframes scroller {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  50% {
    opacity: 1;
    transform: translateY(0px);
  }
  98% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0;
  }
}


/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */

.header-widgets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  margin: 0;
  transition-property: background-color, box-shadow;
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
  z-index: var(--z-header);
  padding: 1rem;
  gap: 1rem;
  background-color: var(--color-body-bg);
}

.header-widgets.full-height {
  height: 100vh;
}

.header-widgets.scrolled {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
  opacity: 0.8;
}

.header-widgets.scrolled img {
  width: 80px !important;
  height: auto;
}

/* Home page header has transparent bg until scrolled */

.page.home .header-widgets:not(.scrolled) {
  background-color: transparent;
}

/* Widget areas — home and inner pages share the same layout */

.home-header-widget-area,
.header-widget-area {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: var(--z-dropdown);
}

.header-widget a {
  display: flex !important;
}

.header-widget img {
  width: 100px;
  height: auto;
  position: relative;
  transition: var(--transition-fast);
}

@media (min-width: 768px) {
  .header-widget img {
    width: 160px;
    min-width: 80px;
    margin-left: var(--space-sm);
    margin-right: var(--space-sm);
  }
}

.header-widget:has(.ff_form_modal) p {
    display: none;
}


/* -------------------------------------------------------
   NAVIGATION — shared rules for both home and inner pages
------------------------------------------------------- */

.menu-header-container,
.menu-home-header-container {
  display: none;
  text-align: center;
}

@media (min-width: 1300px) {
  .menu-header-container,
  .menu-home-header-container {
    display: flex;
    flex-grow: 1;
  }
}

.menu-header-container.visible,
.menu-home-header-container.visible {
  display: block;
}

/* Menu list */

.menu-header-container .menu,
.menu-home-header-container .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 1.5rem 0 0;
  gap: 15px;
}

/* Mobile fullscreen overlay */

@media (max-width: 1299px) {
  .menu-header-container .menu,
  .menu-home-header-container .menu {
    flex-direction: column;
    background-color: var(--color-accent);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 2rem;
  }
}

/* Menu items */

.menu-header-container .menu li,
.menu-home-header-container .menu li {
  display: inline-block;
  white-space: nowrap;
}

/* Menu links */

.menu-header-container .menu a:not(.wp-block-button__link),
.menu-home-header-container .menu a:not(.wp-block-button__link) {
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  color: var(--color-body-text);
  font-weight: var(--font-weight-bold);
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0;
}

/* Mobile link colour overrides */

@media (max-width: 1299px) {
  .menu-header-container .menu a:not(.wp-block-button__link),
  .menu-home-header-container .menu a:not(.wp-block-button__link) {
    color: var(--color-white);
    font-size: 20px;
    text-align: center;
	  justify-content: center;
  }

  .menu-header-container .menu a:not(.wp-block-button__link):hover,
  .menu-home-header-container .menu a:not(.wp-block-button__link):hover {
    color: var(--color-black);
  }
}

/* Desktop hover and active states */

@media (min-width: 1300px) {
  .menu-header-container .menu .current-menu-item > a,
  .menu-home-header-container .menu .current-menu-item > a,
  .menu-header-container .menu a:hover,
  .menu-home-header-container .menu a:hover {
    color: var(--color-accent) !important;
  }
}

/* Mobile active state */

@media (max-width: 1299px) {
  .menu-header-container .menu .current-menu-item > a,
  .menu-home-header-container .menu .current-menu-item > a {
    color: var(--color-black) !important;
    border-top: 2px solid var(--color-black);
    border-bottom: 2px solid var(--color-black);
  }
}


/* -------------------------------------------------------
   DROPDOWN SUBMENUS
------------------------------------------------------- */

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

.menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  z-index: var(--z-nav);
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.menu-item-has-children .sub-menu li {
  display: block;
  white-space: normal;
}


.menu-item-has-children .sub-menu a {
  display: block;
  padding: 10px 15px;
  color: var(--color-black);
  font-weight: var(--font-weight-regular);
  text-transform: none;
  text-decoration: none;
  background: var(--color-white);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.menu-item-has-children .sub-menu a:hover {
  color: var(--color-accent);
  background-color: var(--color-bg);
}

/* Mobile submenu — shown inline within the overlay */

@media (max-width: 1299px) {
  .menu-item-has-children .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0 0 0;
    margin-top: 0.5rem;
    min-width: unset;
    
  }

  .menu-item-has-children .sub-menu a {
    color: var(--color-white) !important;
    background: transparent !important;
    padding: 6px 15px;
    font-size: 0.9em;
    text-align: center;
    border: none !important;
  }

  .menu-item-has-children .sub-menu a:hover {
    color: var(--color-black) !important;
    background: transparent !important;
  }

  .menu-header-container .menu .current-menu-item .sub-menu a,
  .menu-home-header-container .menu .current-menu-item .sub-menu a {
    color: var(--color-white) !important;
    border: none !important;
  }
}


/* -------------------------------------------------------
   HAMBURGER TOGGLE
------------------------------------------------------- */

.nav-icon {
  display: block;
}

.nav-ui-lock {
  overflow: hidden !important;
}

.icon__hamburger {
  display: block;
  position: relative;
  height: 3px;
  width: 100%;
  background-color: var(--color-accent);
  border-radius: 5px;
}

.icon__hamburger:before,
.icon__hamburger:after {
  content: "";
  position: absolute;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: var(--color-accent);
  border-radius: 5px;
}

.icon__hamburger:before {
  top: -10px;
}

.icon__hamburger:after {
  top: 10px;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: unset;
  padding: unset;
  background-color: unset;
  display: block;
  transition: var(--transition-fast);
  position: relative;
  z-index: var(--z-header);
}

@media (min-width: 1300px) {
  .menu-toggle {
    display: none;
  }
}

/* Active state — X icon */

.menu-toggle.active {
  position: fixed;
  top: 25px;
  right: 15px;
  z-index: calc(var(--z-header) + 1);
}

.menu-toggle.active .icon__hamburger {
  background-color: var(--color-white);
  transform: rotate(45deg);
  transition: var(--transition-fast);
}

.menu-toggle.active .icon__hamburger:before {
  background-color: var(--color-white);
  transform: rotate(90deg);
  top: 0;
}

.menu-toggle.active .icon__hamburger:after {
  display: none;
}

/* -------------------------------------------------------
   MY ACCOUNT NAV ITEM
------------------------------------------------------- */
.login-button .wp-block-button__link {
	padding: 0px;
}

/* Desktop — pill button style */

.user-nav-top-level > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  font-family: var(--font-primary);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--btn-color) !important;
  background-color: var(--btn-bg) !important;
  border: var(--btn-border-width) solid var(--btn-border-color) !important;
  border-radius: var(--btn-border-radius) !important;
  transition: var(--transition-base);
  white-space: nowrap;
  min-width: 140px;
}

.user-menu .user-nav-top-level > a:hover {
  background-color: var(--btn-hover-bg) !important;
  color: var(--btn-hover-color) !important;
  border-color: var(--btn-hover-border-color) !important;
}

/* When submenu is open, square off the bottom of the button */

.user-menu .user-nav-top-level:hover > a {
  border-radius: 25px 25px 0 0 !important;
}


.user-menu .user-nav-top-level .sub-menu li a:hover {
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
}

header .user-nav-top-level .sub-menu li a:hover {
    background: var(--btn-hover-color)!important;
	color: white!important;
}

/* -------------------------------------------------------
   MY ACCOUNT SUBMENU
------------------------------------------------------- */

.user-nav-top-level .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  z-index: var(--z-nav);
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 140px;
  width: 100%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: var(--btn-border-width) solid var(--btn-border-color);
  border-top: none;
  border-radius: 0 0 25px 25px;
}

.user-nav-top-level:hover > .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.user-nav-top-level .sub-menu li {
  display: block;
}

.user-nav-top-level .sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--color-accent) !important;
  background-color: var(--color-white) !important;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-small);
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  transition: var(--transition-base);
  border: none !important;
}

.user-nav-top-level .sub-menu li a:hover {
  background-color: var(--btn-hover-bg) !important;
  color: var(--btn-hover-color) !important;
}

.user-nav-top-level .sub-menu li:last-child a {
  border-radius: 0 0 22px 22px;
}


/* -------------------------------------------------------
   MY ACCOUNT — MOBILE OVERLAY
------------------------------------------------------- */


/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */

footer {
  background-color: var(--color-green-brand);
  width: 100% !important;
  margin: 0 !important;
      padding: 50px 20px 20px 20px !important;
}

footer .footer-nav-menu a,
footer .footer-widget a {
  letter-spacing: 0;
  color: var(--color-white);
}

footer .footer-widgets {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--color-white);
}

/* Footer Columns */

footer .footer-widgets .footer-1 {
  display: none;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  footer .footer-widgets .footer-1 {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
}

footer .footer-widgets .footer-1 a {
  text-decoration: none !important;
}

footer .footer-widgets .footer-2 {
  font-size: 0.85rem;
  padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
  footer .footer-widgets .footer-2 {
    text-align: center;
  }
}

footer .footer-widgets .footer-2 .wp-block-image {
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  footer .footer-widgets .footer-2 .wp-block-image {
    margin-bottom: var(--space-md);
  }
}

footer .footer-widgets .footer-3 {
  display: none;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  footer .footer-widgets .footer-3 {
    display: block;
  }
}

footer .footer-widgets .footer-3 a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 28px;
}

/* Footer Widget Area */

footer .footer-widget-area {
  flex: 1;
  padding: 0 var(--gutter-h) var(--gutter-v);
}

@media (min-width: 768px) {
  footer .footer-widget-area {
    padding: unset;
  }
	footer .footer-widget img {

	margin: auto;
}
}

footer .footer-widget img {
  height: 80px;
  width: auto;
	
}

@media (min-width: 768px) {
  footer .footer-widget img {
    height: 125px;
  }
}

footer .footer-widget p {
  color: var(--color-white);
	font-size:20px;
}

footer .footer-2 p {
	font-size: 13.6px;
}

footer .footer-widget h3 {
  color: var(--color-white);

}

footer .footer-widget p a {
  text-decoration: none !important;
}

footer .footer-widget p a:hover {
  color: var(--color-body-text);
}

footer .footer-widget p.copyright {
  font-size: var(--font-size-small);
  line-height: 19px;
}

/* Footer Menu */

footer .menu-footer-container {
  text-align: right;
}

footer .menu-footer-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

footer .menu-footer-container ul li {
  margin-bottom: 0;
}

footer .menu-footer-container ul li a {
  color: var(--color-white);
  fill: var(--color-white);
  padding: 1px 0;
  text-decoration: none;
}

footer .menu-footer-container ul li a:hover,
footer .menu-footer-container ul li.current-menu-item a {
  color: var(--color-black);
}


/* -------------------------------------------------------
   POLICY
------------------------------------------------------- */

.policy-block a {
  color: var(--color-black);
}

.policy-block a:hover,
.policy-block a:focus {
  color: var(--color-accent) !important;
}

/* -------------------------------------------------------
   PAGE HERO - SHARED
------------------------------------------------------- */

#page-top {
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
}

/* Inner pages only — reverse column so thumbnail sits above title on mobile */

body:not(.page.home) #page-top {
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  body:not(.page.home) #page-top {
    flex-direction: row;
    justify-content: space-between;
    width: 100vw;
    margin: 0 0 0 100px;
    height: calc(100vh - 183px);
  }
}

@media (min-width: 1919px) {
  body:not(.page.home) #page-top {
    width: 100vw;
    margin: auto;
    height: calc(100vh - 180px);
  }
}

/* Homepage — row layout at all sizes */

.page.home #page-top {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 767px) {
  .page.home #page-top {
    text-align: center;
    justify-content: center;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  .page.home #page-top {
    width: 100vw;
    margin: -90vh 0 0 0;
    height: calc(100vh - 123px);
  }
}

@media (min-width: 1300px) {
  .page.home #page-top {
    width: 60vw;
    margin: -90vh 0 0 100px;
  }
}

@media (min-width: 1919px) {
  .page.home #page-top {
    width: 60vw;
    margin: -100vh 0 0 100px;
    height: calc(100vh - 123px);
  }
}


/* -------------------------------------------------------
   PAGE TITLE
------------------------------------------------------- */

#page-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  z-index: var(--z-nav);
}

@media (min-width: 768px) {
  #page-title {
    flex: 1;
    max-width: 90vw !important;
    padding: 0 25px;
  }
}

@media (min-width: 1919px) {
  #page-title {
    margin: 0 0 0 100px;
  }
}

#page-title h1 {
  text-transform: uppercase;
}

#page-title h2 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-h3);
  color: var(--color-body-text);
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  #page-top #page-title h2 {
    font-size: var(--font-size-h2-lg);
    line-height: var(--line-height-h2-lg);
	  font-weight: 500;
  }
}

#page-title img {
  margin: 0 auto;
  height: 200px;
  width: auto;
}

@media (min-width: 767px) {
  #page-title img {
    margin-left: 300px;
  }
}

@media (min-width: 1300px) {
  #page-title img {
    margin: 100px 0 50px 300px !important;
  }
}

#page-title .wp-block-button {
  margin-top: var(--space-md);
}

@media (max-width: 767px) {
  .page.home #page-title .wp-block-button {
    display: flex;
    justify-content: center;
  }
}


/* -------------------------------------------------------
   PAGE THUMBNAIL (inner pages)
------------------------------------------------------- */

#page-thumbnail {
  overflow: hidden;
}

.page-thumbnail {
  height: 100%;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.page-thumbnail img {
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  height: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .page-thumbnail {
    flex: 1;
    height: 100%;
    width: 40vw;
    z-index: var(--z-nav);
    border-radius: 20rem 0 0 20rem;
    border: none;
  }
}

@media (min-width: 1919px) {
  .page-thumbnail {
    border-radius: 30rem 0 0 30rem;
  }
}


/* -------------------------------------------------------
   SCROLL MOUSE
------------------------------------------------------- */

.container_mouse {
  pointer-events: all;
  width: 100%;
  text-align: center;
}

#page-top .container_mouse {
  position: absolute;
  z-index: 10;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  left: 0;
}

@media (min-width: 768px) {
  body:not(.page.home) #page-top .container_mouse {
    margin-left: -100px;
  }
}

@media (min-width: 1919px) {
  #page-top .container_mouse {
    left: 100px;
  }
}

/* Hide scroll mouse on mobile for inner pages */

@media (max-width: 767px) {
  body:not(.page.home) .container_mouse {
    display: none;
  }
}


/* -------------------------------------------------------
   INNER PAGE MOBILE OVERRIDES
------------------------------------------------------- */

@media (max-width: 767px) {
  body:not(.page.home) #page-top {
    width: 100%;
    padding: unset;
    margin-bottom: var(--space-sm);
  }

  body:not(.page.home) #page-title {
    background-color: #ddd;
    padding: var(--space-md);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  body:not(.page.home) #page-title h1 {
    margin: unset;
	  font-weight: 800;
  }
}


/* -------------------------------------------------------
   SHORT VIEWPORT OVERRIDES
------------------------------------------------------- */

@media (max-height: 620px) {
  #home-page-hero {
    height: auto;
    min-height: 100vh;
  }

  #home-page-hero h1,
  #page-title h1 {
    font-size: 30px !important;
    line-height: 1.4 !important;
    margin-top: 20px !important;
  }

  #home-page-hero .hero-feature-image {
    background-size: contain !important;
    height: 120vh !important;
    top: 0 !important;
    opacity: 1;
  }

  #page-title .wp-block-button__link {
    font-size: 30px !important;
  }

  #page-title img {
    height: 150px;
    margin: 100px 0 10px 300px !important;
  }

  .primary-header {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .header-widget img {
    width: 60px !important;
  }
}


/* -------------------------------------------------------
   HOME PAGE HERO
------------------------------------------------------- */

#home-page-hero {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: block;
  padding: 0;
  margin: -100px 0 0 0;
  position: relative;
}

#home-page-hero .home-page-top {
  height: 100vh;
  display: block;
  position: relative;
}

/* Hero background image */

.hero-feature-image {
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 0;
}

@media (min-width: 1300px) {
  .hero-feature-image {
    display: block;
        height: 120vh;
        right: 70px;
        background-position: center right;
        opacity: 1;
	      top: -60px;
  }
}


/* -------------------------------------------------------
   PAGE HERO - SHARED
------------------------------------------------------- */

#page-top {
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
}


/* -------------------------------------------------------
   HOME PAGE - page-top
------------------------------------------------------- */

#home-page-hero #page-top {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  margin: 0;
  height: auto;
}

@media (min-width: 768px) {
  #home-page-hero #page-top {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 0 0 100px;
    width: 90vw;
  }
}

@media (min-width: 1024px) {
  #home-page-hero #page-top {
    
    width: 60vw;
  }
}

@media (min-width: 1919px) {
  #home-page-hero #page-top {
    width: 60vw;
  }
}

/* Home page-title */

#home-page-hero #page-title {
  z-index: 1;
  width: 100%;
}

@media (max-width: 767px) {
  #home-page-hero #page-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #home-page-hero #page-title .wp-block-button {
    display: flex;
    justify-content: center;
  }

	  #home-page-hero #page-title .wp-block-button a {
	font-size: 16px!important;
		  font-weight: 600!important;
		  padding: 10px 20px !important;
  }
  #home-page-hero #page-title h1 {
    font-size: 30px !important;
    line-height: var(--line-height-h2) !important;
	  font-weight: 800;
  }

  #home-page-hero #page-title img {
    margin: 0 auto var(--space-sm) !important;
    height: 200px;
    width: auto;
  }

}

@media (min-width: 768px) {
  .home #home-page-hero h1 {
    font-weight: var(--font-weight-bold);
    
  }
	#page-title h1 {
    font-weight: var(--font-weight-extrabold);

  }
	
	
}


@media (min-width: 1919px) {
  #home-page-hero h1 {
    font-size: 60px;
    line-height: 1.1;
  }
}

#home-page-hero .wp-block-button__link {
  font-size: 20px !important;
  padding: 14px 36px !important;
  font-weight: var(--font-weight-bold) !important;
}

@media (min-width: 1919px) {
  #home-page-hero .wp-block-button__link {
    font-size: 40px !important;
     
        padding: 10px 20px !important;
        line-height: 1.3;
  }
}

/* Home scroll mouse */

#home-page-hero .container_mouse {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  pointer-events: all;
}


/* -------------------------------------------------------
   INNER PAGE - page-top
------------------------------------------------------- */

body:not(.page.home) #page-top {
  flex-direction: column-reverse;
  width: 100%;
  padding: unset;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  body:not(.page.home) #page-top {
    flex-direction: row;
    justify-content: space-between;
    width: 100vw;
    margin: 0 0 0 100px;
    padding: 10px;
    height: calc(100vh - 183px);
  }
}

@media (min-width: 1919px) {
  body:not(.page.home) #page-top {
    width: 100vw;
    margin: auto;
    height: calc(100vh - 180px);
  }
}


/* -------------------------------------------------------
   PAGE TITLE - shared
------------------------------------------------------- */

#page-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  z-index: var(--z-nav);
}

#page-title h1 {
  text-transform: uppercase;
}

#page-title h2 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-h3);
  color: var(--color-body-text);
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  #page-title {
    flex: 1;
    max-width: 90vw !important;
    padding: 0 25px;
  }

  #page-title h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
  }
}

@media (min-width: 1919px) {
  #page-title {
    margin: 0 0 0 100px;
  }
}

#page-title img {
  margin: 0 auto;
  height: 200px;
  width: auto;
}

@media (min-width: 1024px) {
  #page-title img {
    margin-left: 300px;
  }
}

@media (min-width: 1300px) {
  #page-title img {
    margin: 100px 0 50px 300px !important;
  }
}

#page-title .wp-block-button {
  margin-top: var(--space-md);
}

/* Inner page mobile title */

@media (max-width: 767px) {
  body:not(.page.home) #page-title {
    background-color: #ddd;
    padding: var(--space-md);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  body:not(.page.home) #page-title h1 {
    margin: unset;
  }
}


/* -------------------------------------------------------
   PAGE THUMBNAIL (inner pages)
------------------------------------------------------- */

#page-thumbnail {
  overflow: hidden;
}

.page-thumbnail {
  height: 100%;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.page-thumbnail img {
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  height: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .page-thumbnail {
    flex: 1;
    height: 100%;
    width: 40vw;
    z-index: var(--z-nav);
    border-radius: 20rem 0 0 20rem;
    border: none;
  }
}

@media (min-width: 1919px) {
  .page-thumbnail {
    border-radius: 30rem 0 0 30rem;
  }
}


/* -------------------------------------------------------
   SCROLL MOUSE (inner pages)
------------------------------------------------------- */

.container_mouse {
  pointer-events: all;
  width: 100%;
  text-align: center;
}

body:not(.page.home) #page-top .container_mouse {
  position: absolute;
  z-index: 10;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  left: 0;
}

@media (min-width: 768px) {
  body:not(.page.home) #page-top .container_mouse {
    margin-left: -100px;
  }
}

@media (min-width: 1919px) {
  body:not(.page.home) #page-top .container_mouse {
    left: 100px;
  }
}

@media (max-width: 767px) {
  body:not(.page.home) .container_mouse {
    display: none;
  }
}


/* -------------------------------------------------------
   SHORT VIEWPORT OVERRIDES
------------------------------------------------------- */

@media (max-height: 620px) {
  #home-page-hero h1,
  #page-title h1 {
    font-size: 30px !important;
    line-height: 1.4 !important;
    margin-top: 20px !important;
  }

  .hero-feature-image {
    opacity: 1;
  }

  #page-title .wp-block-button__link {
    font-size: 30px !important;
  }

  #page-title img {
    height: 150px;
    margin: 100px 0 10px 300px !important;
  }

  .primary-header {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .header-widget img {
    width: 60px !important;
  }
}

/* -------------------------------------------------------
   SOCIAL ICONS
------------------------------------------------------- */

.social-icon-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: var(--space-xl) var(--space-md);
	background: white;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: var(--transition-base);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-heading);
  transition: var(--transition-base);
}

.social-icon .icon-container:hover svg {
  fill: var(--color-green-light);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .social-icon-section {
    padding: 30px 0px;
	}
}

@media (min-width: 768px) {

  .social-icon .icon-container {
    width: 56px;
    height: 56px;
  }
}