/* Layout & Page Wrappers */
.page-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.body-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Header & Navigation */
.site-header {
    width: 100%;
    position: relative;
    z-index: 999;
}

.header-style-1 .navigation, 
.header-style-2 .navigation {
    background-color: transparent;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header .sticky-on {
    background-color: var(--white);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-right {
    align-items: center;
}

.search-contact {
    font-size: 14px;
    text-align: right;
    line-height: 1.4;
}

.search-contact p {
    margin-bottom: 0;
}

.search-contact p:first-child {
    font-weight: 300;
    color: #666;
}

.search-contact p:last-child {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

/* Footer layout */
.site-footer {
    background-color: var(--dark-bg);
    padding-top: 80px;
    color: var(--text-color-light);
}

.site-footer p {
    color: var(--text-color-light);
}

.site-footer .widget-area {
    margin-bottom: 50px;
}

.site-footer .widget h3, 
.site-footer .widget h2 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer .widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-green);
}

.lower-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.lower-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive grid spacer */
.row-gap > div {
    margin-bottom: 25px;
}

/* ==========================================================================
   Elementor Grid & Structure Fallbacks (Lightweight & Performance-Optimized)
   ========================================================================== */
.site-section {
    position: relative;
    width: 100%;
    display: block;
}

.site-container {
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    flex-wrap: wrap;
}

.site-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.site-column {
    position: relative;
    min-height: 1px;
    display: flex;
}

.widget-wrapper {
    /* position: relative; */
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Elementor Column Widths */
.col-w-100 { width: 100%; }
.col-w-90  { width: 90%; }
.col-w-80  { width: 80%; }
.col-w-75  { width: 75%; }
.col-w-66  { width: 66.666%; }
.col-w-60  { width: 60%; }
.col-w-50  { width: 50%; }
.col-w-40  { width: 40%; }
.col-w-33  { width: 33.333%; }
.col-w-25  { width: 25%; }
.col-w-20  { width: 20%; }
.col-w-16  { width: 16.666%; }
.col-w-10  { width: 10%; }

/* Inner Columns & Padding */
.site-column-gap-default > .site-column > .widget-wrapper {
    padding: 15px;
}

/* Mobile Responsiveness for Elementor Grids */
@media (max-width: 767px) {
    .site-container {
        flex-direction: column;
    }
    .site-column {
        width: 100% !important;
    }
}
