/*!
Theme Name: Ugli Theme
Theme URI: https://them.es/starter
Author: Ugli
Author URI: https://ugli.hk/
Description: This is a custom wordpress theme for Westhampnett House
Version: 3.5.4
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: uglitheme
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

body {
    font-family: 'Quicksand' !important;
    font-size: 18px !important;
}

.header, footer.footer {
    background-color: #008080;
}

footer.footer {
    padding-top: 50px;
    padding-bottom: 50px;
}

section.hero-section {
    min-height: 75vh;
    background-image: linear-gradient(to bottom, rgba(0,0,0,50%) 100%, rgba(0,0,0,50%) 100%), url('/wp-content/themes/uglitheme/images/11062b_17b2ddb5f408460f948e4fb2a0b95691~mv2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: revert;
}

.header nav {
    padding: 20px 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.navbar-brand img {
    height: 50px !important;
}

.floating-site-logo {
    position: absolute;
    top: 120px;
    display: none;
}

.floating-site-logo img {
    width: 170px;
}

.btn-coral {
    background-color: #FE6060 !important;
    color: #fff !important;
}

.btn-coral:hover {
    background-color: #d35050 !important;
}

.btn-green {
    background-color: #008080 !important;
    color: #fff !important;  
}

.btn-green:hover {
    background-color: #005d5d !important;
}

p.footer-block-title {
    font-size: 20px;
    margin-bottom: 15px !important;
}

.hero-video {
  background-color: #c2c8d5;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 600;
  font-size: 1.25rem;
  border-radius: 0.375rem;
  user-select: none;
}

.feature-check svg {
  margin-right: 0.5rem;
  flex-shrink: 0;
  color: #0d6efd;
}
.feature-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.testimonial-box {
  background-color: #008080;
  font-style: italic;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
  min-height: 170px;
  display: flex;
  align-items: center;
}
.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}
.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}
/* Smaller step cards styling */
.step-card {
  background: #f8fafc;
  border: 1px solid #dae1e7;
  border-radius: 0.375rem;
  padding: 1rem;
  text-align: center;
  color: #475569;
  user-select: none;
}
.step-card span {
    font-size: 16px;
}
.hero-inner iframe {
    width: 100%;
    height: 100%;
}
@media (min-width: 992px) {
  .hero-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
  }
  .hero-text, .hero-video-wrapper {
    flex: 1;
  }
}

#free-course-section {
    background-color: #333 !important;
    color: #fff;
}

.custom-modal .modal-dialog {
    max-width: 930px;
}

.custom-modal .modal-dialog .modal-body {
    padding: 40px;
    background-color: #008080;
}

.custom-modal .modal-dialog .modal-body .modal-content {
    background-color: unset;
}

.custom-modal .modal-dialog .modal-body .modal-left  {
    width: 50%;
}

.custom-modal .modal-dialog .modal-body .modal-right {
    width: 50%;
}

.custom-modal .modal-dialog .modal-body .modal-top h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.custom-modal .modal-dialog .modal-body .modal-top .calendarly {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #fff;
}

.custom-modal .modal-dialog .modal-body .modal-top .calendarly a {
    color: #fff;
    text-decoration: underline;
}

.custom-modal .modal-dialog .modal-body form p label {
    font-size: 14px;
    display: block;
    color: #fff;
}

.custom-modal .modal-dialog .modal-body form p label input,
.custom-modal .modal-dialog .modal-body form p label textarea {
    width: 100%;
    margin-top: 5px;
    padding: 7px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.custom-modal .modal-dialog .modal-body button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-modal {
    padding: 25px;
    display: flex;
    height: 100%;
    align-items: center;
    flex-direction: column;
}

.testimonial-image.has-testimonial-image > img {
    width: 100%;
}

.testimonial-modal .testimonial-image {
    width: 170px;
    height: 170px;
    background-color: #ccc;
    display: block;
    border-radius: 100%;
    margin-bottom: 25px;
    overflow: hidden;
}

.testimonial-modal div {
    color: #fff;
    text-align: center;
}

.testimonial-modal div span {
    margin-top: 20px;
    font-weight: bold;
    display: block;
}

header .navbar ul li a {
    transition: color 0.3s ease;
}

header .navbar ul li a:not(.btn-coral):hover {
    color: #d35050 !important;
}

body.page-template-page--basic-template .content-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

body.page-template-page--basic-template .content-section h1 {
    margin-bottom: 30px;
    text-align: center;
}

.mailerlite-form form .mailerlite-form-field label {
    display: none;
}

.mailerlite-form form .mailerlite-form-field input {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.mailerlite-form .mailerlite-form-inputs {
    display: flex;
    gap: 10px;
}

.mailerlite-form button {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);

    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #424649;
    --bs-btn-hover-border-color: #373b3e;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4d5154;
    --bs-btn-active-border-color: #373b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;

    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-modal .mailerlite-form .mailerlite-form-inputs {
    flex-direction: column;
}

.custom-modal .mailerlite-form .mailerlite-subscribe-button-container button {
    position: relative;
    top: 0;
    right: 0;
}

.mailerlite-form-response h4, .mailerlite-form-response p, .mailerlite-form-response span {
    color: #fff !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #fff;
}

@media only screen and (max-width: 992px) {
    .custom-modal .modal-dialog {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .custom-modal .modal-dialog .modal-body .modal-left,
    .custom-modal .modal-dialog .modal-body .modal-right {
        width: 100% !important;
    }
    .custom-modal .modal-dialog .modal-body > div.d-flex.flex-row {
        flex-direction: column !important;
    }
    #getUnstuckModal form input.wpcf7-submit {
        min-height: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}