/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

/* ============================
   FONT FACE – ARIMO
   Directory: /wp-content/arimo-v35-latin/
   ============================ */

/* arimo-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-regular.woff2') format('woff2');
}

/* arimo-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-italic.woff2') format('woff2');
}

/* arimo-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-500.woff2') format('woff2');
}

/* arimo-500italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: italic;
  font-weight: 500;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-500italic.woff2') format('woff2');
}

/* arimo-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-600.woff2') format('woff2');
}

/* arimo-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: italic;
  font-weight: 600;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-600italic.woff2') format('woff2');
}

/* arimo-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-700.woff2') format('woff2');
}

/* arimo-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arimo';
  font-style: italic;
  font-weight: 700;
  src: url('/wp-content/arimo-v35-latin/arimo-v35-latin-700italic.woff2') format('woff2');
}


/* ============================
   DEFAULT TYPOGRAPHY
   ============================ */
body, p, div {
    font-family: 'Arimo', sans-serif;
    font-size: 22px;        /* desktop */
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 1023px) {
  body {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 12px;
  }
}

.formzeug-slider-header {
	color: #ff7d01 !important;
	font-size: 20px !important;
	line-height: 1em !important;
	text-align: center !important;
	margin-top: 1.2em;
}

.formzeug-slider-image {
	border-radius: 5px;
}

h1 { font-size: 44px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 30px; font-weight: 600; }
h4 { font-size: 24px; font-weight: 600; }
h5 { font-size: 20px; font-weight: 500; }
h6 { font-size: 18px; font-weight: 500; }

/* All headings uppercase */
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase !important;
}

button { 
  font-size: 16px;
  font-weight: 600;
}

input,
textarea,
select {
  font-size: 16px;
  font-weight: 400;
}


/* ============================
   TABLET RESPONSIVE (768–1023px)
   ============================ */
@media (max-width: 1023px) {
  h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
  h4 { font-size: 22px; }
  h5 { font-size: 19px; }
  h6 { font-size: 17px; }

  button {
    font-size: 15px;
  }

  input,
  textarea,
  select {
    font-size: 15px;
  }
}


/* ============================
   MOBILE RESPONSIVE (<768px)
   ============================ */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }

  button {
    font-size: 14px;
  }

  input,
  textarea,
  select {
    font-size: 14px;
  }
}


.et_menu_container {
    width: 100% !important;
    max-width: 1450px !important;
    margin: 0 auto !important;
    position: relative;
}

#top-menu li.menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center !important; /* vertically center text + arrow */
    gap: 4px; /* spacing between text and arrow */
}

/* Adjust Divi arrow positioning */
#top-menu li.menu-item-has-children > a:after {
    position: static !important; /* remove Divi's absolute positioning */
    margin: 0 !important;
    transform: none !important; /* prevents weird offsets */
    display: inline-flex;
    align-items: center; 
}

.special-text {
	color: #ff7d01;
	font-family: "Arimo", sans-serif;
	font-size: 28px;
}

.footer-link {
  color: #ffffff ;
  text-decoration: none;
 white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ==========================
   HEADER MENU & SUBMENU FIXES
========================== */
/* Keep logo same size and swap only on scroll */
#logo {
    height: 80px; /* adjust your logo height */
    width: auto !important;
}

.et-fixed-header #logo {
    content: url('/wp-content/uploads/2025/11/logo-scaled.webp') !important;
    height: 100px !important; /* match non-scrolled size */
}

/* ==========================
   DROPDOWN MENU STYLING
========================== */

/* Submenu container auto-size based on longest child */
.nav li ul {
    position: absolute !important;
    padding: 10px 0 !important;
    z-index: 9999 !important;

    width: auto !important;           /* auto adjust to content */
    min-width: 100% !important;       /* at least as wide as parent */
    background: #ffffff;

    border-top: 3px solid #344d90 !important; /* default color (not scrolled) */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;

    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity .2s ease, visibility .2s ease, border-color .2s ease;
}

/* Change submenu border color when header is scrolled */
.et-fixed-header .nav li ul {
    border-top-color: #ffffff !important;
}

/* Show submenu on hover */
.nav li:hover > ul,
.nav li:focus-within > ul {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Submenu links auto-size based on text length */
#top-menu li li a {
    padding: 6px 20px !important;
    display: inline-block !important;
    white-space: nowrap !important;   /* keeps text on one line */
    width: auto !important;           /* auto adjust width */
}

/* Default submenu positioning */
.nav li li ul {
    z-index: 1000;
    top: -23px;
    left: 420px !important;
}

/* Submenu positioning when header is fixed/scrolled */
.et-fixed-header .nav li li ul {
    z-index: 1000;
    top: -23px;         /* adjust if needed for scrolled header */
    left: 420px !important;  /* adjust if needed for scrolled header */
}

@media (max-width: 980px) {

    /* Make header background orange */
    #main-header,
    .et-fixed-header#main-header {
        background-color: #FF7D01 !important;
    }

    /* Add 15px horizontal padding */
    #main-header .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Make top menu / hamburger menu text white */
    #et-top-navigation,
    #mobile_menu,
    #mobile_menu li a,
    #top-menu li a {
        color: #ffffff !important;
    }

    /* Change mobile menu arrow icons to white */
    #mobile_menu .menu-item-has-children > a:after {
        border-color: #ffffff;
    }

    /* Change logo to WHITE version on mobile/tablet */
    #logo {
        content: url('/wp-content/uploads/2025/11/logo-scaled.webp') !important;
        height: 70px !important; 
        width: auto !important;
    }

    /* Mobile menu dropdown background */
    #mobile_menu {
        background-color: #FF7D01 !important;
    }

    /* Submenus inside mobile menu */
    #mobile_menu li ul {
        background-color: #FF7D01 !important;
    }

    /* Submenu links */
    #mobile_menu li li a {
        color: #ffffff !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
    }
	.et_mobile_menu {
	    border-top: 3px solid #ffffff !important;
	}
}


/* ----- */
.center-list{
  display: flex;
  justify-content: center!important;
}
.center-list ul{
  text-align: left;
}

.three-column-cards {
  display: flex;
  flex-wrap: nowrap; /* ensures all 3 are in one row */
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.card {
  padding: 20px;
  border-radius: 3px;
  border: 2px solid #FF7D01; /* orange border */
  flex: 1 1 0;
  max-width: 250px;
  text-align: center;
}

.card h3 {
  font-size: clamp(14px, 2.5vw, 18px); /* scales with viewport */
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
  word-break: break-word; /* allows long words to wrap */
}


.card p {
  margin: 0;
  color: #333;
}

.three-column-cards.two, .three-column-cards.two .card{
  width: 100%!important;
  max-width: 100%!important;
}
.three-column-cards.block, .three-column-cards.block .card{
  flex-direction: column!important;
  width: 100%!important;
  max-width: 100%!important;
}
.three-column-cards.block h3{
  margin-bottom: -10px;
}
/* Smooth animation */
.three-column-cards .card {
  transition: all 0.3s ease-in-out;
}

/* Hover effect */
.three-column-cards .card:hover {
  transform: translateY(-10px); /* lift */
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* soft shadow */
  cursor: pointer;
}

/* WRAPPER */
.fz-card-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch; /* all cards will match tallest card */
}

/* EACH CARD */
.fz-card {
    flex: 1;
    display: flex;
    flex-direction: column; /* column layout keeps button at bottom */
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* IMAGE – fixed ratio */
.fz-card-image {
    width: 100%;
    overflow: hidden;
}

.fz-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.fz-card-content {
    flex: 1; /* grows to fill remaining space, keeps button at bottom */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: #344D90;
}

/* TITLE */
.fz-card-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #FF7D01;
}

/* PARAGRAPH */
.fz-card-content p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 25px;
}

/* BUTTON */
.fz-btn {
    margin-top: auto; /* pushes button to bottom */
    display: inline-block;
    font-size: 13px;
    background: #344D90;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    justify-content: center;
    transition: 0.2s ease;
}

.fz-btn:hover {
    background: #FF7D01;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 980px) {
    .fz-card-row {
        flex-direction: column;
    }

    .fz-card {
        flex-direction: column;
    }

    .fz-card-image img {
        height: auto;
    }
}

/* ===============================
   CONTACT FORM 7 CUSTOM DESIGN
================================= */

/* Wrapper Title */
.cf7-custom-wrap .cf7-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #FF7D01; /* Orange accent */
    color: #444;
}

/* Label Styling */
.cf7-custom-wrap label {
    display: block;
    font-weight: 600;
    margin: 20px 0 8px;
    color: #444;
}

/* Input + Textarea Styling */
.cf7-custom-wrap input[type="text"],
.cf7-custom-wrap input[type="email"],
.cf7-custom-wrap textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    transition: all .2s ease-in-out;
}

/* Focus state */
.cf7-custom-wrap input:focus,
.cf7-custom-wrap textarea:focus {
    border-color: #344D90; /* Royal Blue */
    box-shadow: 0 0 4px rgba(52, 77, 144, 0.4);
    outline: none;
}

/* Textarea height */
.cf7-custom-wrap textarea {
    min-height: 150px;
}

/* Submit Button */
.cf7-submit-wrap input[type="submit"] {
    background: #344D90; /* Royal Blue */
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 26px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease-in-out;
    margin-top: 15px;
}

/* Hover */
.cf7-submit-wrap input[type="submit"]:hover {
    background: #FF7D01; /* Orange */
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .cf7-custom-wrap .cf7-title {
        font-size: 22px;
    }

    .cf7-submit-wrap input[type="submit"] {
        width: 100%;
    }
}

.orange-links a {
    color: #FF7D01; /* Orange */
    font-weight: 600;
}

.orange-links a:hover {
    opacity: 0.75;
}

.et_pb_button {border-radius: 5px;}

.three-column-cards .card {
  text-align: left;
}

.card-btn {
  display: inline-block;
  background-color: #344D90;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.card-btn:hover {
  background-color: #FF7D01;
}
/* List Style type template css */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
@media screen and (max-width: 980px){
	.steps-list {
			padding-bottom: 0px!important;
		}
	.steps-list li:last-child{
		margin-bottom: -5px!important;
	}
}

.steps-list li {
    display: grid;
    align-items: center;
	justify-content: start;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #FF7D01;
    background: #344D90;
    border-radius: 5px;
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
}


.steps-list li span {
    grid-column: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5), #FF7D01);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
}

.steps-list li p {
    grid-column: 2;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff !important;
}
.steps-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.et_pb_blurb .et_pb_blurb_content, .et_pb_gallery_image.landscape:hover, img:hover, .fz-card:hover{
    transition: all 0.3s ease;
}

.et_pb_blurb:hover .et_pb_blurb_content, .et_pb_gallery_image.landscape:hover, img:hover, .fz-card:hover{
    transform: scale(1.05);
}

.custom-slider-container {
width: 100%;
overflow: hidden;
position: relative;
padding: 20px 0;
}


.custom-slider-track {
display: flex;
gap: 20px;
animation: customSlide 18s linear infinite;
}


.custom-card {
min-width: 280px;
background: #fff;
border-radius: 5px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
overflow: hidden;
flex-shrink: 0;
}


.custom-card img {
width: 100%;
height: 200px;
object-fit: cover;
}


.custom-card-content {
padding: 15px;
}


.custom-card-content h3 {
margin: 0 0 10px;
font-size: 18px;
font-weight: bold;
}


.custom-card-content p {
margin: 0;
font-size: 14px;
color: #555;
}


@keyframes customSlide {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.custom-card:hover {
transform: translateY(-5px);
transition: 0.3s ease;
box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}


.custom-slider-container:hover .custom-slider-track {
animation-play-state: paused;
}
/* Padding on blurb description */
.col-text-margin .et_pb_blurb_description {
    padding: 0px 20px 10px 20px!important;
}
.col-text-margin h3.et_pb_module_header{
	 padding: 5px 20px!important;
}

@media screen and (min-width: 981px) and (max-width: 1280px){
	.et_pb_row.et_pb_row_0_tb_footer.et_pb_equal_columns.et_pb_gutters2.et_pb_row_4col{

	}
}
@media screen and (max-width: 1500px){
	.et_pb_section .et_pb_row, header .container{
		padding-right: 30px!important;
		padding-left: 30px!important;
	}
}
.page-id-41 .et_pb_blurb .et_pb_blurb_description div.contact a,.page-id-1459 .et_pb_blurb .et_pb_blurb_description div.contact a{
	color: #FF7D01!important;
}