/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* css variables */

body {
    --gradient-clear: #21232C;
    --gradient-opaque: #21232C80;
    --contact-gradient-clear: #21232C00;
    --contact-gradient-opaque: #21232C;
}

body.light-mode {
    --gradient-clear: #32D88Ed9;
    --gradient-opaque: #5076F5d9;
    --contact-gradient-clear: #0256D880;
    --contact-gradient-opaque: #ffffff;
}


body {
    --gradient-clear: #21232C;
    --gradient-opaque: #21232C80;
    --contact-gradient-clear: #21232C00;
    --contact-gradient-opaque: #21232C;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0px;
}

.panta-button {
    background-color: #32D88E;
    color: white;
    border: 3px solid #32D88E;
    border-radius: 50px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 1.5rem;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.panta-button:hover {
    background-color: #32D88E;
    color: black;
    border-color: #32D88E;
}

body.light-mode .panta-button {
    background-color: transparent;
    color: #21232C;
    border: 3px solid #166C9A;
}

body.light-mode .panta-button:hover {
    background-color: #166C9A;
    color: white;
    border-color: #166C9A;
}

@media (max-width: 1280px) {
    .panta-button {
        font-size: 1.2em;
        ;
    }
}

/* dark mode and light mode background and font colors*/

body {
    background-color: #21232C;
}

body.light-mode {
    background-color: #ffffff;
}

.text {
    color: #ffffff
}

body.light-mode .text {
    color: #21232C
}

.sub-text {
    color: #32D88E;
}

body.light-mode .sub-text {
    color: #166C9A;
}


/* Heading color for Elementor */

.elementor-heading-title {
    color: #fff;
}

body.light-mode .elementor-heading-title {
    color: #21232C;
}

/* Elementor icon colors */
.elementor-icon svg path {
    fill: #fff !important;
}

body.light-mode .elementor-icon svg path {
    fill: #21232C !important;
}

body.light-mode .info-icon svg path {
    fill: #21232C !important
}

.info-icon svg path {
    fill: #ffffff !important
}



/* MAIN ELEMENT ANIMATION */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease-in-out forwards;
    animation-delay: var(--delay);
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Main section light and dark mode */

#main-content-desktop span {
    display: inline-block;
}

.main-content-header {
    font-size: 3.5em;
    text-align: center;
}

#main-content-paragraph {
    font-size: 1.7em;
    text-align: center;
}

#better-indices {
    color: #5076F5
}

body.light-mode #better-indices {
    color: #ffffff
}

/* Our Values Section */

.value-box-content {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    opacity: 0;
    transition: all 0.5s ease;
}

.value-box-heading {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: all 0.5s ease;
}

.elementor-value-box:hover .value-box-content {
    opacity: 1;
    transform: translateY(0);
}

.elementor-value-box:hover .value-box-heading {
    opacity: 0;
}

#innovation-box {
    background: linear-gradient(to bottom right, #023890, #1A888F);
    border-radius: 20px;
}

#empowerment-box {
    background: linear-gradient(to bottom right, #0F6190, #26AF8E);
    border-radius: 20px;
}

#excellence-box {
    background: linear-gradient(to bottom right, #0E618F, #26B08E);
    border-radius: 20px;
}

#integrity-box {
    background: linear-gradient(to bottom right, #1A898F, #32D88E);
    border-radius: 20px;
}

body.light-mode #innovation-box {
    background: linear-gradient(to bottom right, #2F73DB, #30A4B5);
    border-radius: 20px;
}

body.light-mode #empowerment-box {
    background: linear-gradient(to bottom right, #308CC8, #30BCA1);
    border-radius: 20px;
}

body.light-mode #excellence-box {
    background: linear-gradient(to bottom right, #2F8CC7, #30BCA1);
    border-radius: 20px;
}

body.light-mode #integrity-box {
    background: linear-gradient(to bottom right, #30A5B4, #31D58E);
    border-radius: 20px;
}

/* Team container */

/* team gradient background */
#team-names {
    background: linear-gradient(to bottom, #151618, #21232C);
}

body.light-mode #team-names {
    background: linear-gradient(to bottom, #E4E4E4, #ffffff);
}


#tobias-photo,
#tobias-description {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: opacity .3s ease-out;
}

#tobias-description {
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
}

#mark-photo,
#mark-description {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: opacity .3s ease-out;
}

#mark-description {
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
}

#stephane-photo,
#stephane-description {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: opacity .3s ease-out;
}

#stephane-description {
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
}

#penfold-photo,
#penfold-description {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: opacity .3s ease-out;
}

#penfold-description {
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
}

#tobias-container:hover #tobias-photo {
    opacity: 0;
}

#mark-container:hover #mark-photo {
    opacity: 0;
}

#stephane-container:hover #stephane-photo {
    opacity: 0;
}

#penfold-container:hover #penfold-photo {
    opacity: 0;
}

#tobias-container:hover #tobias-description {
    opacity: 1;
    transform: translateY(0);
}

#mark-container:hover #mark-description {
    opacity: 1;
    transform: translateY(0);
}

#stephane-container:hover #stephane-description {
    opacity: 1;
    transform: translateY(0);
}

#penfold-container:hover #penfold-description {
    opacity: 1;
    transform: translateY(0);
}

/* contact form styling */

/* Dark Mode Styles */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
    color: white;
    border: none;
    border-bottom: 1px solid #ffffffbf;
    box-shadow: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    font-size: 1.2em;
}

.wpcf7-form-control.wpcf7-text::placeholder,
.wpcf7-form-control.wpcf7-tel::placeholder,
.wpcf7-form-control.wpcf7-textarea::placeholder,
.wpcf7-form-control.wpcf7-email::placeholder {
    color: white;
    opacity: 1;
}

.wpcf7 label {
    color: white;
    font-size: 1.2em;
}

/* Light Mode Styles */
body.light-mode .wpcf7-form-control.wpcf7-text,
body.light-mode .wpcf7-form-control.wpcf7-tel,
body.light-mode .wpcf7-form-control.wpcf7-email,
body.light-mode .wpcf7-form-control.wpcf7-textarea {
    color: black;
    border: none;
    border-bottom: 2px solid #21232C;
    box-shadow: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    font-size: 1.5em;
}

body.light-mode .wpcf7-form-control.wpcf7-text::placeholder,
body.light-mode .wpcf7-form-control.wpcf7-tel::placeholder,
body.light-mode .wpcf7-form-control.wpcf7-textarea::placeholder,
body.light-mode .wpcf7-form-control.wpcf7-email::placeholder {
    color: black;
    opacity: 1;
}

body.light-mode .wpcf7 label {
    color: black;
}


#message-contact {
    margin-top: 20px;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 25px;
    border: 1px solid #ffffffbf;
}

#contact-button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: transparent;
    color: white;
    border: 3px solid #32D88E;
    border-radius: 50px;
    transform: translateX(40px);
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 1em;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #32D88E;
    color: black;
    border-color: #32D88E;
}

body.light-mode .wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: transparent;
    color: #21232C;
    border: 3px solid #166C9A;
    border-radius: 50px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 1em;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

body.light-mode .wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #166C9A;
    color: white;
    border-color: #166C9A;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ff0000 !important;
    color: #ffffff;
}

.input .hs-input:not([type=file]) {
    background-color: transparent !important;
}

#label-firstname-61214ed2-fb17-47d5-a098-90dbe50e1e37 {
    color: black !important;
}


/* contact gradient */

.elementor-161 .elementor-element.elementor-element-c61b281::before,
.elementor-161 .elementor-element.elementor-element-c61b281>.elementor-background-video-container::before,
.elementor-161 .elementor-element.elementor-element-c61b281>.e-con-inner>.elementor-background-video-container::before,
.elementor-161 .elementor-element.elementor-element-c61b281>.elementor-background-slideshow::before,
.elementor-161 .elementor-element.elementor-element-c61b281>.e-con-inner>.elementor-background-slideshow::before,
.elementor-161 .elementor-element.elementor-element-c61b281>.elementor-motion-effects-container>.elementor-motion-effects-layer::before {
    background-image: linear-gradient(180deg, var(--contact-gradient-opaque) 25%, var(--contact-gradient-clear) 100%) !important;
    overflow: hidden !important;
}

/* footer colors */

body.light-mode .footer-background {
    background-color: #063176;
}

.footer-background {
    background-color: #0C0E14;
}

#menu-2-4464a1d {
    margin-top: 10px;
}