/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor with ANEX Global Design System.
Author: ANEX Business Solution
Author URI: https://anexbd.com/
Template: hello-elementor
Version: 1.0.0
*/

/* =========================================
   ANEX Global Design System
   ========================================= */

:root {
    /* --- Color Palette (User Defined) --- */
    --anex-global-primary: #0A4D92;
    /* Deep Blue */
    --anex-global-secondary: #2E7D32;
    /* Forest Green */
    --anex-global-accent: #00897B;
    /* Teal Accent */
    --anex-global-dark: #424242;
    /* Charcoal Grey */
    --anex-global-text: #424242;
    /* Charcoal Grey */
    --anex-global-light: #f5f5f5;
    /* Light Grey equivalent */
    --anex-global-white: #FFFFFF;
    /* Clean White */
    --anex-global-warning: #E66151;
    /* Warm Coral */

    /* --- Typography --- */
    --anex-font-sans: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    --anex-font-serif: 'Segoe UI Serif', serif;

    /* --- Spacing --- */
    --anex-spacing-xs: 4px;
    --anex-spacing-sm: 8px;
    --anex-spacing-md: 16px;
    --anex-spacing-lg: 24px;
    --anex-spacing-xl: 32px;

    /* --- Shadows & Radius --- */
    --anex-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --anex-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --anex-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    --anex-radius-sm: 4px;
    --anex-radius-md: 8px;
    --anex-radius-lg: 16px;

    /* --- Elementor Overrides (Forcing Global Colors) --- */
    --e-global-color-primary: #0A4D92 !important;
    /* Deep Blue */
    --e-global-color-secondary: #2E7D32 !important;
    /* Forest Green */
    --e-global-color-text: #424242 !important;
    /* Charcoal Grey */
    --e-global-color-accent: #00897B !important;
    /* Teal Accent */

    /* Standard Elementor System Colors */
    --e-global-color-6EC1E4: #0A4D92 !important;
    /* Replacing standard Light Blue */
    --e-global-color-54595F: #2E7D32 !important;
    /* Replacing standard Dark Grey */
    --e-global-color-7A7A7A: #424242 !important;
    /* Replacing standard Grey */
    --e-global-color-61CE70: #00897B !important;
    /* Replacing standard Green */
}

/* ... (Layout Utilities remain same) ... */

/* ... (Component Utilities remain same) ... */

/* Buttons Update */
.anex-btn-primary {
    background-color: var(--anex-global-primary);
    color: var(--anex-global-white);
}

.anex-btn-primary:hover {
    background-color: var(--anex-global-secondary);
    /* Forest Green on Hover */
    color: var(--anex-global-white);
}

/* ... */

/* Text */
#home-3-card .elementor-text-editor,
.home-3-card .elementor-text-editor,
.home-3-cards .elementor-text-editor,
.elementor-element-66e0896 .elementor-text-editor {
    color: var(--anex-global-text) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    flex-grow: 1 !important;
}

/* Button Container */
#home-3-card .elementor-widget-button,
.home-3-card .elementor-widget-button,
.home-3-cards .elementor-widget-button,
.elementor-element-66e0896 .elementor-widget-button {
    align-self: center !important;
    margin-top: auto !important;
    width: 100% !important;
    text-align: center !important;
}

/* Button Styling (Coral) */
#home-3-card .elementor-button,
.home-3-card .elementor-button,
.home-3-cards .elementor-button,
.elementor-element-66e0896 .elementor-button {
    background-color: var(--anex-global-warning) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 30px !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(230, 97, 81, 0.3) !important;
    transition: all 0.2s !important;
}

#home-3-card .elementor-button:hover,
.home-3-card .elementor-button:hover,
.home-3-cards .elementor-button:hover,
.elementor-element-66e0896 .elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(230, 97, 81, 0.4) !important;
    background-color: #d65a4b !important;
}

/* Icons */
#home-3-card .elementor-icon-box-icon i,
.home-3-card .elementor-icon-box-icon i,
.home-3-cards .elementor-icon-box-icon i,
.elementor-element-66e0896 .elementor-icon-box-icon i {
    color: var(--anex-global-secondary) !important;
    font-size: 40px !important;
    margin-bottom: 15px !important;
}


/* --- Layout Utilities --- */

/* Container */
.anex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--anex-spacing-md);
    width: 100%;
    box-sizing: border-box;
}

/* Flex Utilities */
.anex-flex {
    display: flex;
}

.anex-flex-col {
    flex-direction: column;
}

.anex-items-center {
    align-items: center;
}

.anex-justify-between {
    justify-content: space-between;
}

.anex-justify-center {
    justify-content: center;
}

.anex-gap-sm {
    gap: var(--anex-spacing-sm);
}

.anex-gap-md {
    gap: var(--anex-spacing-md);
}

/* --- Component Utilities --- */

/* Cards */
.anex-card-global {
    background: var(--anex-global-white);
    border: 1px solid #edebe9;
    border-radius: var(--anex-radius-md);
    box-shadow: var(--anex-shadow-sm);
    padding: var(--anex-spacing-lg);
    transition: box-shadow 0.2s ease;
}

.anex-card-global:hover {
    box-shadow: var(--anex-shadow-md);
}

/* Buttons */
.anex-btn-global {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: var(--anex-radius-sm);
    font-family: var(--anex-font-sans);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.anex-btn-primary {
    background-color: var(--anex-global-primary);
    color: var(--anex-global-white);
}

.anex-btn-primary:hover {
    background-color: var(--anex-global-accent);
    color: var(--anex-global-white);
}

.anex-btn-outline {
    background-color: transparent;
    border-color: var(--anex-global-primary);
    color: var(--anex-global-primary);
}

.anex-btn-outline:hover {
    background-color: var(--anex-global-light);
}

/* Typography Headers */
.anex-heading-1 {
    font-family: var(--anex-font-sans);
    font-weight: 600;
    font-size: 32px;
    color: var(--anex-global-dark);
    margin-bottom: var(--anex-spacing-md);
}

.anex-heading-2 {
    font-family: var(--anex-font-sans);
    font-weight: 600;
    font-size: 24px;
    color: var(--anex-global-dark);
    margin-bottom: var(--anex-spacing-sm);
}

.anex-text-body {
    font-family: var(--anex-font-sans);
    font-size: 14px;
    line-height: 1.5;
    color: var(--anex-global-text);
}

/* Helpers */
.anex-text-center {
    text-align: center;
}

.anex-mt-md {
    margin-top: var(--anex-spacing-md);
}

.anex-mb-md {
    margin-bottom: var(--anex-spacing-md);
}

.anex-p-0 {
    padding: 0 !important;
}

/* --- Responsive --- */


/* =========================================
   Hero Section Redesign (JS Injected)
   Target: .elementor-element-d0b65cf
   ========================================= */

/* Force the Elementor section to match our styling */
.elementor-element-d0b65cf {
    background-color: var(--anex-global-primary) !important;
    /* Deep Blue Global */
    color: var(--anex-global-white);
    padding: 80px 40px !important;
    border-radius: 30px;
    margin: 20px auto !important;
    max-width: 1550px !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Inner Container */
.anex-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Left Column: Content (50%) --- */
.anex-hero-content {
    flex: 1;
    max-width: 50%;
}

.anex-hero-brand {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
    display: block;
    color: var(--anex-global-accent);
    /* Teal Accent */
}

.anex-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--anex-global-white);
}

.anex-hero-title span {
    color: var(--anex-global-warning);
    /* Warm Coral Highlight */
}

.anex-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 90%;
    color: var(--anex-global-light);
}

/* Buttons */
.anex-hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.anex-hero-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.anex-hero-btn.primary {
    background-color: var(--anex-global-warning);
    /* Warm Coral */
    color: var(--anex-global-white);
}

.anex-hero-btn.outline {
    background-color: transparent;
    color: var(--anex-global-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.anex-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--anex-shadow-md);
}

/* Social Proof */
.anex-hero-avatars {
    display: flex;
    align-items: center;
    gap: 15px;
}

.anex-avatars-group {
    display: flex;
}

.anex-avatars-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--anex-global-primary);
    margin-left: -10px;
}

.anex-avatars-group img:first-child {
    margin-left: 0;
}

.anex-avatars-text {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
    color: var(--anex-global-light);
}

/* --- Right Column: Image (50%) --- */
.anex-hero-image-col {
    flex: 1;
    max-width: 50%;
    position: relative;
}

.anex-hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
    box-shadow: var(--anex-shadow-lg);
}

.anex-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Badges */
.anex-hero-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--anex-global-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.anex-badge-top {
    top: 30px;
    left: 30px;
    background: rgba(10, 77, 146, 0.9);
    /* Primary transparent */
    color: var(--anex-global-white);
}

.anex-badge-bottom {
    bottom: 40px;
    right: 40px;
}

.anex-big-stat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .anex-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .anex-hero-content,
    .anex-hero-image-col {
        max-width: 100%;
    }

}

/* Global Section Width Override */
section, .elementor-section {
    width: 100% !important;
    max-width: 75vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}