/*
Theme Name: Gaggle
Theme URI: https://example.com/
Author: AlexMay
Author URI: https://example.com/
Description: Clean WordPress theme.
Version: 1.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: gaggle
*/

/* Base reset (minimal) */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    font-family: "Baloo Bhai 2", cursive;
    color: #1C1C1C;
    background: #fff;
    line-height: 1.25;
}

@media screen and (min-width: 769px) {
    body:not(.home) {
        background-image: url("data:image/svg+xml,%3Csvg width='622' height='392' viewBox='0 0 622 392' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='277' cy='47' r='345' fill='%23FFD035'/%3E%3C/svg%3E ");
        background-repeat: no-repeat;
    }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    body:not(.home) {
        background-size: 50%;
    }
}

a {
    color: #FFD035;
    text-decoration: none;
    outline: none;
}

a.elementor-button {
    cursor: pointer;
}

a:hover,
a:focus {
    text-decoration: none;
}

.p-reset,
p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* Gaggle theme main stylesheet */

.elementor-widget-image a img[src$=".svg"] {
    width: auto !important;
}

.site-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.gaggle-tabs {
    position: relative;
}

.gaggle-tabs .e-n-tabs-heading {
    position: absolute;
    z-index: 100;
    top: -128px;
    border: 1px solid #E4E4E4;
    padding: 6px;
    border-radius: 60px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gaggle-tabs .e-n-tabs-heading button {
    border-radius: 50px;
    background: none;
    max-height: 48px;
    cursor: pointer;
}

.gaggle-tabs .e-n-tabs-heading button svg path {
    fill: #fff;
}

.gaggle-tabs .e-n-tabs-heading button:hover svg path,
.gaggle-tabs .e-n-tabs-heading button[aria-selected="true"] svg path {
    fill: #1C1C1C;
}

@media screen and (max-width: 768px) {
    .gaggle-tabs .e-n-tabs-heading {
        top: -80px;
    }

    .gaggle-tabs .e-n-tabs-heading button {
        line-height: inherit !important;
    }
}

.site-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #555;
}

.footer-link a {
    background-color: #FFD035;
    padding: 1px 12px;
    transition: color 0.3s ease;
}

.footer-link a:hover,
.footer-link a:focus {
    color: #fff !important;
    text-decoration: none;
}

footer .elementor-nav-menu a {
    font-size: 14px !important;
    line-height: 20px !important;
    color: #fff;
    font-family: "Baloo Bhai 2" !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    padding: 0 20px !important;
}

footer .elementor-nav-menu a.elementor-item-active,
footer .elementor-nav-menu a:hover,
footer .elementor-nav-menu a:focus {
    color: #FFD035 !important;
    text-decoration: none;
}

footer .elementor-nav-menu a::after {
    display: none;
}

/* Form elements: inputs, selects, textareas */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    font-family: "Baloo 2", Sans-serif;
    font-size: 15px;
    height: 50px;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
    color: #1C1C1C;
    padding-left: 24px;
    padding-right: 24px;
    background: #fff;
    width: 100%;
}

/* Placeholder color */
input::placeholder,
textarea::placeholder {
    color: #E0E0E0;
    opacity: 1;
}

/* Vendor placeholders for broader support */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #E0E0E0;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #E0E0E0;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #E0E0E0;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #E0E0E0;
}

/* Submit button */
input[type="submit"],
input.submit {
    height: 52px;
    color: #fff;
    border-radius: 50px;
    background-color: #383838;
    font-family: "Baloo 2", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 28px;
    border-radius: 52px 52px 52px 52px;
    padding: 12px 56px 12px 56px;
    border: none;
    min-width: 360px;
    margin: 0 auto;
    display: flex;
}

input[type="submit"]:hover,
input.submit:hover {
    background-color: #FFD035;
}

@media screen and (max-width: 768px) {

    input[type="submit"],
    input.submit,
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    select,
    textarea {
        min-width: 100%;
        max-width: 100%;
    }

    .sent .wpcf7-response-output {
        top: -240px;
        height: 460px;
    }
}

.wpcf7-form {
    position: relative;
}

.wpcf7-form p.row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 12px;
    position: relative;
}

.wpcf7-form p.row.checkbox-list {
    flex-direction: column;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    gap: 0;
    padding: 12px;
}

/* Spoiler heading styles */
.wpcf7-form p.row.checkbox-list>label {
    cursor: pointer;
    user-select: none;
    display: block;
    padding-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.75L4.75 4.75L8.75 0.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: right center;
    margin-right: 8px;
}

.wpcf7-form p.row.checkbox-list.is-open>label {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.75 4.75L4.75 0.75L0.75 4.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

/* Transitioned spoiler content */
.wpcf7-form p.row.checkbox-list .wpcf7-form-control-wrap {
    overflow: hidden;
    transition: height 280ms ease;
}

/* Collapsed state via height (animatable) */
.wpcf7-form p.row.checkbox-list:not(.is-open) .wpcf7-form-control-wrap {
    height: 0;
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox {
    padding-top: 12px;
    display: flex;
    gap: 1px;
    flex-direction: column;
    width: 100%;
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox .wpcf7-list-item {
    padding: 3px 6px;
    margin-left: 0;
    border: 1px solid transparent;
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox .wpcf7-list-item.active {
    background-color: #04954f09;
    border-radius: 12px;
    border: 1px solid #04954F;
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    accent-color: #04954F;
    /* Example: Green color */
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
}

.wpcf7-form p.row.checkbox-list .wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label {
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.wpcf7-not-valid-tip {
    position: absolute;
    bottom: -20px;
    font-size: 0.8em;
}

input.wpcf7-not-valid,
select.wpcf7-not-valid,
div.wpcf7-not-valid,
p.wpcf7-not-valid {
    border-color: #dc3232 !important;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-radius: 50px;
    background: #FFD035;
    text-align: center;
}

.wpcf7-spinner+.wpcf7-spinner {
    display: none !important;
}

.wpcf7-spinner {
    bottom: 14px;
    left: 4px;
    position: absolute;
}

.sent .wpcf7-response-output {
    position: absolute;
    top: -210px;
    height: 430px;
    background: #fff;
    margin: 0 !important;
    border: none !important;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    padding: 0 80px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='78' fill='none'%3E%3Ccircle cx='39' cy='39' r='39' fill='%2304954F'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3.95' d='M50 33 35.864 50 28 41.996'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: calc(50% - 100px);
}

.ss-main {
    position: relative;
}

.ss-content {
    position: absolute !important;
    z-index: 9999 !important;
    width: 100% !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

@media screen and (max-width: 768px) {
    .dialog-widget-content .dialog-message .e-con-inner {
        min-height: 100vh;
        display: flex;
        justify-content: center;
    }
}