/* Center the form container */
.wpforms-container {
    display: flex;
    justify-content: center;
}

/* Limit form width and center it */
.wpforms-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* Center labels */
.wpforms-form .wpforms-field-label {
    text-align: center;
}

/* Make fields wider and center them */
.wpforms-form .wpforms-field input,
.wpforms-form .wpforms-field textarea,
.wpforms-form .wpforms-field select {
    display: block !important;      /* override WPForms inline styles */
    width: 100% !important;         /* full width of the form container */
    max-width: 400px;               /* control maximum width */
    margin: 0 auto !important;      /* center in container */
    text-align: center;
    box-sizing: border-box;         /* ensures padding doesn’t break width */
    padding: 10px;
    border-radius: 6px;
}

/* Center the submit button */
.wpforms-submit-container {
    text-align: center;
}

.wpforms-form button {
    border-radius: 6px;
    padding: 10px 20px;
}

/* font for website */
* {
    font-family: "Times New Roman", Times, serif !important;
}

/* for flyout menu */
.hfe-flyout-content {
    overflow: visible !important;
		height: 100vh !important;
}

.hfe-flyout-overlay {
    position: fixed !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
		top: 0 !important;
    left: 0 !important;
}

body,
html,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.turbo-header-wrapper {
    transform: none !important;
}

/* Force ALL Elementor containers to expand with content */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget-container,
.e-con,
.e-child,
.elementor-element {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Prevent text clipping */
h1,h2,h3,h4,h5,h6,
p,
span,
a,
li,
button,
.elementor-heading-title,
.elementor-text-editor {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* Allow flex containers to wrap instead of overflow */
.e-con,
.elementor-container {
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Buttons grow with translated text */
.elementor-button,
button {
    height: auto !important;
    min-height: 44px;
    white-space: normal !important;
    padding: 12px 20px !important;
}

/* Make columns stack instead of overlap */
@media (max-width: 1200px) {
    .elementor-column,
    .e-child {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* Prevent hidden overflow */
body,
.elementor,
.elementor-widget {
    overflow-x: hidden;
}

/* Global modern styling */
body {
    font-family: "Inter", sans-serif;
    line-height: 1.7;
    color: #2b2b2b;
    background-color: #f7faf8;
    -webkit-font-smoothing: antialiased;
}

/* Better headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Cleaner paragraphs */
p {
    font-size: 1.2rem;
}

/* Modern buttons */
.elementor-button,
button,
.wp-element-button {
    border-radius: 999px !important;
    padding: 14px 28px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #73c8a9, #4ba3c3);
    border: none;
    box-shadow: 0 8px 20px rgba(75,163,195,0.25);
}

/* Hover effect */
.elementor-button:hover,
button:hover,
.wp-element-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(75,163,195,0.35);
}

/* Fade-in animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img {
    border-radius: 20px !important;
		overflow: hidden;
    transition: transform 0.4s ease;
}

/* Subtle zoom */
img:hover {
    transform: scale(1.03);
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef3ef;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#73c8a9, #4ba3c3);
    border-radius: 20px;
}

/* align gtranslate shortcode to the right */
.gtranslate_wrapper {
    margin-left: auto;
    width: fit-content;
}

/*setting background colour for the website*/
body,
.site,
.site-content,
.elementor,
.elementor-section,
.elementor-container {
    background: linear-gradient(
        180deg,
        #000000 0%,
        #006d77 50%,
        #00d4c7 100%
    );
    background-attachment: fixed;
}