/* Base Styles - Common styles used across the theme */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100vw;
}

/* Fixed background container for white content sections */
.fixed-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vh;
    z-index: 1;
    pointer-events: none;
    background-color: #f4f4f4;
}

/* Fix for mobile Safari viewport issues */
@supports (-webkit-touch-callout: none) {
    .fixed-background-container {
        height: 200dvh;
    }
}

.white-section {
    position: absolute;
    width: 100%;
    height: 60vh;
}

.landing-white {
    top: 0vh;
}

/* White content positioning within fixed background */
.landing-white .logo-section-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
    box-sizing: border-box;
    border-radius: 12px;
}

.landing-white .main-content-right {
    position: absolute;
    top: 20%;
    left: 50%;
    right: 0;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
}

.landing-white .bottom-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 20%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

/* Main scrolling content */
.scrolling-content {
    position: relative;
    z-index: 10;
    overflow: visible;
}

/* Logo styles - Override global image styles */
.logo img {
    display: inline-block;
}

.header-blue-logo img {
    display: inline-block;
}

/* Centered content wrapper for pages without sidebar/contact box */
.centered-content-wrapper {
    margin: 0 220px;
    max-width: 1200px;
    padding: 0;
}

/* Contact form wrapper - same styling as centered-content-wrapper */
.contact-form-wrapper {
    margin: 0 220px;
    max-width: 1200px;
    padding: 0;
}

/* Contact form column layout for screens < 1024px */
@media (max-width: 1023px) {
    .centered-content-wrapper .contact-form-layout,
    .wordpress-content-section .contact-form-mobile .contact-form-layout {
        flex-direction: column;
        min-height: auto;
    }

    .centered-content-wrapper .contact-form-text,
    .wordpress-content-section .contact-form-mobile .contact-form-text {
        flex: none;
        border-radius: 12px 12px 0 0;
    }

    .centered-content-wrapper .contact-form-content,
    .wordpress-content-section .contact-form-mobile .contact-form-content {
        flex: none;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1640px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 220px;
    }
}

@media (max-width: 1400px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 80px;
    }
}

/* Ensure 220px margins for screens wider than 1400px */
@media (min-width: 1401px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 220px;
    }
}

@media (max-width: 1200px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 60px;
    }
}

@media (max-width: 1024px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .centered-content-wrapper,
    .contact-form-wrapper {
        margin: 0 16px;
    }
}


