/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/***************************** COLOR VARIABLES *****************************/

:root {
  --white: #ffffff;
  --blackgreen: #144142;
  --green: #7B9A8E;
  --lightgreen: #C9DED5;
  --whitegreen: #F3F8F5;
  --purple: #887FB5;
  --red: #EF7A7C;
  --yellow: #FFD8AF;
}

body {
  background-color: var(--white);
}

/***************************** SVG LOGO *****************************/


/* Custom logo */

.et_header_style_left #logo {
  content: url('/wp-content/themes/divi-child/assets/logo.svg');
}

/***************************** HEADLINES & PARAGRAPHS *****************************/

@font-face {
  font-family: "AfacadFlux Regular";
  src: url('/wp-content/themes/divi-child/fonts/AfacadFlux-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "AfacadFlux Bold";
  src: url('/wp-content/themes/divi-child/fonts/AfacadFlux-Bold.ttf') format('truetype');
}

h1 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 96px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

h2 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 64px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

h3 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 48px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

h4 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

h5 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

h6 {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}


p, ul, th, td {
  font-family: "AfacadFlux Regular", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 105%;
  letter-spacing: 4%;
}

a {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
  text-transform: uppercase;
}

.link {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

.small {
  font-family: "AfacadFlux Regular", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

.small-link {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 100.80px;
  letter-spacing: 3.84px;
}

.small-link:hover {
  padding: 2px;
}

.custom-list ul {
  list-style-type: disc; /* Other options: circle, square, none */
  padding-left: 20px; /* Adds spacing from the left */
}

.custom-list li {
  margin-bottom: 5px; /* Adds spacing between list items */
}

/* Hyphenate text using the class: */

.hyphenate p, 
.hyphenate h1, 
.hyphenate h2, 
.hyphenate h3, 
.hyphenate h4, 
.hyphenate h5, 
.hyphenate h6 {
    white-space: break-word;
    hyphens: auto; 
    word-wrap: normal;
    overflow-wrap: break-word;
}

/***************************** SIDEBAR *****************************/

/* Sidebar: Remove sidebar */
#sidebar {
  display: none;
}

/* Sidebar: Remove thin line of sidebar */
#main-content .container:before {
  background: none;
}

/* Sidebar: Make content 100% width */
@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding-right: 0px !important;
  }
}

/***************************** NAVIGATION *****************************/

/*Make all nav bar backgrounds transparent*/

#main-header {
  background-color: transparent !important;
  box-shadow: none !important;
  /* Remove any shadows */
}

/* Custom burger icon */

.mobile_menu_bar:before {
  content: url('/wp-content/themes/divi-child/assets/burger.svg');
}

/***************************** FOOTER ******************************/

/* Hide footer */

#main-footer {
  height: 0 !important;
  overflow: hidden;
}

/***************************** BUTTONS & SHAPES ******************************/

/* Default Divi button modified */

.et_pb_button {
  font-family: "AfacadFlux Bold", Arial, Helvetica, sans-serif;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 18.88px;
  letter-spacing: 0.16px;
  max-width: none !important;
}

/* Custom button */

.button {
  display: inline-flex;
  padding-top: 8px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 8px;
  background: var(--green);
  border-radius: 999px; /* Ensures a pill shape no matter the size */
  margin: 0px 8px 12px 0px; 
}

.button:hover {
  color: white;
  background: var(--purple);
}

/* Label */

.label {
  display: inline-flex;
  padding-top: 8px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 8px;
  color: var(--white);
  background: var(--blackgreen);
  border-radius: 999px; /* Ensures a pill shape no matter the size */
  margin: 0px 8px 12px 0px; 
}

.label:hover {
  color: var(--white);
  background-color: var(--green);
}

.label-active {
  display: inline-flex;
  padding-top: 8px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 8px;
  color: var(--blackgreen);
  background: var(--yellow);
  border-radius: 999px; /* Ensures a pill shape no matter the size */
  margin: 0px 8px 12px 0px; 
}

.dark {
  color: var(--yellow)
}

/***************************** DIVI COMPONENT MODIFICATIONS ******************************/

/* All modules within a row are vertically center aligned */

.centered-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* Custom breaking of multi-column rows on mobile */
  
@media only screen and (max-width: 320px) {
  .two-columns .et_pb_column {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}

  .full-height-text {
    display: flex;
    justify-content: flex-end; /* Pushes content to the bottom */
    height: 100%; /* Inherits the full height of the parent */
}

/* Accordion modifications */

/* Remove default background and borders on accordion items */
.et_pb_accordion_item {
  border: none !important;
  background-color: var(--green);
  border-radius: 12px;
}

/* Override the default Divi accordion icon */
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_title:before {
  color: var(--purple) !important; /* Icon color */
  font-size: 20px !important;
}

/* Change the icon color when the accordion is open */
.et_pb_accordion .et_pb_accordion_item.et_pb_accordion_item_open .et_pb_toggle_title:before {
  color: var(--purple) !important;
}

/* Ensure the accordion icon is always visible */
.et_pb_accordion .et_pb_toggle_title:before {
  display: inline-block !important;
  font-size: 20px !important;
}

/* Fix the icon visibility when opened */
.et_pb_accordion .et_pb_accordion_item.et_pb_accordion_item_open .et_pb_toggle_title:before {
  content: "\e04f" !important; /* Divi open/close icon */
}

/* Smooth closing */
.et_pb_toggle {
  transition: all 8s ease-in-out;
}

/***************************** PROJECT BOXES ******************************/

.box-container {
  display: flex;
  justify-content: center;
}

.box {
  position: relative;
  background-color: var(--whitegreen);
  border-radius: 15px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  overflow: hidden;
  width: 30%;
  height: 400px;
  margin: 0 10px;
  z-index: 0;
  transition: transform 0.3s ease;
 }

.box:hover {
  box-shadow: 0px 50px 100px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transform: scale(1.05);
 }

 .box-logo {
  position: absolute;
  top: 16px;
  left: 16px;
}

 .box-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.box-project {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

 @media (max-width: 1024px) {
  .box-container {
    flex-direction: column;
    margin: 0 0 0 0px !important;
  }
 }

  @media (max-width: 1024px) {
  .box {
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    justify-content: center;
  }
 }

/* Center everything within code module */
.center-everything {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}