/* Uniform Font Family */
body, html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
}

.fusion-title-heading.title-heading-center,
.fusion-title-heading.title-heading-left,
.fusion-title-heading.title-heading-right {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Boxed Layout */
body.layout-boxed-mode, html {
    background-image: none !important;
    background: linear-gradient(225deg, #ffffff 0%, #262626 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    min-height: 100vh;
}

body.layout-boxed-mode #boxed-wrapper {
    background-color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 12px !important;
    overflow: hidden;
    width: 94%;
    max-width: 1280px;
}

/* Header */
.fusion-header-wrapper {
    border-bottom: 1px solid #eee;
    padding: 0 !important;
    margin: 0 !important;
}

.fusion-secondary-header {
    background: linear-gradient(to right, #1F4E8C, #4686C8);
}

/* Hero Image Blue Overlay - Applied to all pages */
#sliders-container .background.background-image {
    position: relative !important;
}

#sliders-container .background.background-image::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(31, 78, 140, 0.3), rgba(70, 134, 200, 0.3)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.fusion-header-v4 {
    padding: 0 !important;
    margin: 0 !important;
}

.fusion-row {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-logo[data-margin-top="0px"] {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-header .fusion-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-header-content-3-wrapper {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Typography - Equal spacing: clamp(1px, 0.3vw, 4px) for all gaps */
.header-title {
    color: #333 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    font-size: clamp(20px, 4vw, 32px) !important;
    display: block !important;
    margin: clamp(1px, 0.3vw, 4px) 0 clamp(1px, 0.3vw, 4px) 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
}

.fusion-header-banner br {
    line-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    font-size: 0 !important;
    content: "" !important;
}

.header-subtitle {
    color: #666 !important;
    font-weight: 400 !important;
    font-size: clamp(14px, 2.2vw, 18px) !important;
    display: block !important;
    margin: clamp(1px, 0.3vw, 4px) 0 0 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
}

.fusion-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: clamp(1px, 0.3vw, 4px) auto clamp(1px, 0.3vw, 4px) auto !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fusion-logo-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.fusion-logo-link img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.logo-wrapper-centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    position: relative !important;
    aspect-ratio: 1600 / 180 !important;
    min-height: clamp(80px, 12vw, 150px) !important;
    padding: clamp(2px, 0.8vw, 8px) 0 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='1600' height='180' viewBox='0 0 1600 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.frame%7Bfill:none;stroke:%23333;stroke-width:2.5;stroke-linecap:round;%7D.flow%7Bfill:none;stroke:%23333;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;%7D.leaf%7Bfill:%23333;fill-opacity:0.06;stroke:%23333;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;%7D.tendril%7Bfill:none;stroke:%23333;stroke-width:1.3;stroke-linecap:round;%7D%3C/style%3E%3C/defs%3E%3C!-- Elegant frame --%3E%3Ccircle class='frame' cx='800' cy='90' r='50'/%3E%3Ccircle class='frame' cx='800' cy='90' r='55' stroke-width='1.2' stroke-dasharray='2 5' opacity='0.4'/%3E%3C!-- Right flowing wave --%3E%3Cpath class='flow' d='M 870 90 C 920 75, 960 100, 1000 88 C 1040 76, 1070 95, 1110 85 C 1150 75, 1180 88, 1210 82'/%3E%3Cpath class='flow' d='M 870 95 C 915 108, 955 85, 995 98 C 1035 111, 1070 95, 1105 102 C 1140 109, 1170 98, 1200 104'/%3E%3C!-- Right decorative tendrils --%3E%3Cpath class='tendril' d='M 905 83 C 915 70, 930 68, 940 75 C 935 82, 925 85, 920 82'/%3E%3Cpath class='tendril' d='M 950 102 C 960 115, 975 117, 985 110 C 980 103, 970 100, 965 103'/%3E%3Cpath class='tendril' d='M 1020 80 C 1030 67, 1045 65, 1055 72 C 1050 79, 1040 82, 1035 79'/%3E%3Cpath class='tendril' d='M 1065 107 C 1075 120, 1090 122, 1100 115 C 1095 108, 1085 105, 1080 108'/%3E%3Cpath class='tendril' d='M 1130 78 C 1140 65, 1155 63, 1165 70 C 1160 77, 1150 80, 1145 77'/%3E%3C!-- Right organic leaves --%3E%3Cpath class='leaf' d='M 930 88 C 945 78, 958 80, 965 88 C 958 96, 945 98, 935 92 Q 930 90, 930 88 Z'/%3E%3Cpath class='leaf' d='M 975 96 C 990 86, 1003 88, 1010 96 C 1003 104, 990 106, 980 100 Q 975 98, 975 96 Z'/%3E%3Cpath class='leaf' d='M 1045 84 C 1060 74, 1073 76, 1080 84 C 1073 92, 1060 94, 1050 88 Q 1045 86, 1045 84 Z'/%3E%3Cpath class='leaf' d='M 1090 100 C 1105 90, 1118 92, 1125 100 C 1118 108, 1105 110, 1095 104 Q 1090 102, 1090 100 Z'/%3E%3Cpath class='leaf' d='M 1155 82 C 1170 72, 1183 74, 1190 82 C 1183 90, 1170 92, 1160 86 Q 1155 84, 1155 82 Z'/%3E%3C!-- Left side mirror --%3E%3Cg transform='translate(1600,0) scale(-1,1)'%3E%3Cpath class='flow' d='M 870 90 C 920 75, 960 100, 1000 88 C 1040 76, 1070 95, 1110 85 C 1150 75, 1180 88, 1210 82'/%3E%3Cpath class='flow' d='M 870 95 C 915 108, 955 85, 995 98 C 1035 111, 1070 95, 1105 102 C 1140 109, 1170 98, 1200 104'/%3E%3Cpath class='tendril' d='M 905 83 C 915 70, 930 68, 940 75 C 935 82, 925 85, 920 82'/%3E%3Cpath class='tendril' d='M 950 102 C 960 115, 975 117, 985 110 C 980 103, 970 100, 965 103'/%3E%3Cpath class='tendril' d='M 1020 80 C 1030 67, 1045 65, 1055 72 C 1050 79, 1040 82, 1035 79'/%3E%3Cpath class='tendril' d='M 1065 107 C 1075 120, 1090 122, 1100 115 C 1095 108, 1085 105, 1080 108'/%3E%3Cpath class='tendril' d='M 1130 78 C 1140 65, 1155 63, 1165 70 C 1160 77, 1150 80, 1145 77'/%3E%3Cpath class='leaf' d='M 930 88 C 945 78, 958 80, 965 88 C 958 96, 945 98, 935 92 Q 930 90, 930 88 Z'/%3E%3Cpath class='leaf' d='M 975 96 C 990 86, 1003 88, 1010 96 C 1003 104, 990 106, 980 100 Q 975 98, 975 96 Z'/%3E%3Cpath class='leaf' d='M 1045 84 C 1060 74, 1073 76, 1080 84 C 1073 92, 1060 94, 1050 88 Q 1045 86, 1045 84 Z'/%3E%3Cpath class='leaf' d='M 1090 100 C 1105 90, 1118 92, 1125 100 C 1118 108, 1105 110, 1095 104 Q 1090 102, 1090 100 Z'/%3E%3Cpath class='leaf' d='M 1155 82 C 1170 72, 1183 74, 1190 82 C 1183 90, 1170 92, 1160 86 Q 1155 84, 1155 82 Z'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: clamp(120%, 15vw, 150%) auto !important;
}

.logo-wrapper-centered .fusion-logo-link {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    width: clamp(80px, 10vw, 105px) !important;
    height: clamp(80px, 10vw, 105px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-wrapper-centered .fusion-logo-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.1) !important;
}

.text-wrapper-centered {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.fusion-header-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(2px, 0.5vw, 6px) 0 0 0 !important;
}

.decoration-line {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
}

/* Responsive */
@media (max-width: 1024px) {
    body.layout-boxed-mode #boxed-wrapper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .logo-wrapper-centered {
        min-height: clamp(70px, 10vw, 120px) !important;
        padding: clamp(2px, 0.7vw, 8px) 0 0 0 !important;
        background-size: clamp(120%, 15vw, 150%) auto !important;
    }
    
    .logo-wrapper-centered .fusion-logo-link {
        width: clamp(70px, 10vw, 110px) !important;
        height: clamp(70px, 10vw, 110px) !important;
    }
}

@media (max-width: 768px) {
    .decoration-line {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    .header-title {
        font-size: clamp(18px, 5vw, 24px) !important;
        margin: clamp(1px, 0.25vw, 3px) auto clamp(1px, 0.25vw, 3px) auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .fusion-header-banner br {
        line-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
    }
    
    .header-subtitle {
        font-size: clamp(12px, 3vw, 16px) !important;
        margin: clamp(1px, 0.25vw, 3px) auto 0 auto !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .fusion-logo {
        margin: clamp(1px, 0.25vw, 3px) auto clamp(1px, 0.25vw, 3px) auto !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .logo-wrapper-centered {
        min-height: clamp(60px, 8vw, 100px) !important;
        padding: clamp(1px, 0.6vw, 6px) 0 0 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-size: clamp(115%, 14vw, 145%) auto !important;
    }
    
    .logo-wrapper-centered .fusion-logo-link {
        width: clamp(60px, 8vw, 100px) !important;
        height: clamp(60px, 8vw, 100px) !important;
        left: 50% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .logo-wrapper-centered .fusion-logo-link img {
        transform: scale(1.1) !important;
    }
    
    .fusion-header-banner {
        padding: clamp(1px, 0.4vw, 5px) 0 0 0 !important;
    }
    
    .fusion-header .fusion-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .fusion-header-content-3-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .fusion-header-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: clamp(16px, 4.5vw, 20px) !important;
        margin: clamp(0px, 0.2vw, 2px) auto clamp(0px, 0.2vw, 2px) auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .fusion-header-banner br {
        line-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
    }
    
    .header-subtitle {
        font-size: clamp(11px, 2.8vw, 14px) !important;
        margin: clamp(0px, 0.2vw, 2px) auto 0 auto !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .fusion-logo {
        margin: clamp(0px, 0.2vw, 2px) auto clamp(0px, 0.2vw, 2px) auto !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .logo-wrapper-centered {
        min-height: clamp(50px, 7vw, 80px) !important;
        padding: clamp(1px, 0.5vw, 5px) 0 0 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-size: clamp(110%, 13vw, 140%) auto !important;
    }
    
    .logo-wrapper-centered .fusion-logo-link {
        width: clamp(50px, 7vw, 80px) !important;
        height: clamp(50px, 7vw, 80px) !important;
        left: 50% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .logo-wrapper-centered .fusion-logo-link img {
        transform: scale(1.05) !important;
    }
    
    .fusion-header-banner {
        padding: clamp(1px, 0.3vw, 4px) 0 0 0 !important;
    }
    
    .fusion-header .fusion-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
