/* ==========================================================================
   Header Layout, Logo Alignment & Text Color Fixes
   ========================================================================== */

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.whole-layout,
#mid,
#content,
.content-limiter,
#col-mask,
.content-box,
.formatter,
.real-content,
.elementor {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Stretched Elementor Sections */
.elementor-section.elementor-section-stretched {
    width: 100% !important;
    left: 0 !important;
    box-sizing: border-box !important;
}

/* Boxed Container Padding & Responsiveness */
.elementor-container {
    max-width: 1240px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

/* Hero Title Responsive Scaling */
.a13ree-written-headline,
.elementor-12688 .elementor-element.elementor-element-8682af3 .a13ree-written-headline {
    font-size: clamp(28px, 5vw, 60px) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
}

/* Header Bar Position & Background */
#header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#header .head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px !important;
    width: 100%;
    box-sizing: border-box !important;
}

/* Logo Image Container */
.logo-container {
    display: flex !important;
    align-items: center !important;
    min-width: 200px;
}

.logo-container a.logo {
    display: flex !important;
    align-items: center !important;
    background-image: none !important;
    text-indent: 0 !important;
    padding: 0 !important;
}

.logo-container a.logo img {
    height: 52px !important;
    width: auto !important;
    max-height: 55px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Navigation Bar & Menu Links */
#access {
    display: flex !important;
    align-items: center !important;
}

.navigation-bar .top-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.top-menu>li {
    display: inline-block !important;
}

.top-menu>li>a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 8px 12px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.top-menu>li>a span {
    color: #ffffff !important;
}

.top-menu>li:hover>a span,
.top-menu>li>a:hover span,
.top-menu>li.current-menu-item>a span {
    color: #9acb3b !important;
}

#header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

#header-tools .tool {
    color: #9acb3b !important;
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

/* Footer & Dark Section Text Contrast Fixes */
#footer,
.foot-items,
.widget_contact_info {
    background-color: #000000 !important;
    color: #e2e8f0 !important;
}

.foot-items,
.foot-items p,
.foot-items div,
.foot-items span,
.widget_contact_info,
.widget_contact_info .info,
.widget_contact_info .info div,
.widget_contact_info .info .content-text,
.widget_contact_info .info .phone {
    color: #cbd5e1 !important;
}

.elementor-icon-list-text {
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* Contact Details Links & Phone Numbers */
.widget_contact_info .info a,
.widget_contact_info a,
.elementor-icon-list-text a,
.foot-items a {
    color: #f39c12 !important;
    font-weight: 600;
}

.widget_contact_info .info a:hover,
.widget_contact_info a:hover,
.elementor-icon-list-text a:hover,
.foot-items a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Headings in dark sections */
#footer h3.title,
#footer h3.title span,
#footer h4,
.widget h3.title span {
    color: #ffffff !important;
}

/* Inner Policy Pages Styling (Terms, Privacy, Refund) */
.page-hero {
    padding-top: 130px !important;
    padding-bottom: 40px !important;
    background: #0f172a !important;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero-title {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.page-hero-subtitle {
    color: #94a3b8 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb span {
    color: #9acb3b !important;
    font-size: 14px !important;
}

.section-light,
.policy-content {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    padding: 50px 20px !important;
}

.policy-content h2 {
    color: #ffffff !important;
    font-size: 22px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    border-bottom: 2px solid #9acb3b;
    display: inline-block;
    padding-bottom: 5px;
}

.policy-content p,
.policy-content li {
    color: #e2e8f0 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

.policy-content a {
    color: #f39c12 !important;
}

/* ==========================================================================
   Elementor Icon Lists, Toggle Accordions, Cards & Pricing Table Styling
   ========================================================================== */

/* Remove Default List Bullet Points */
ul.elementor-icon-list-items,
.elementor-icon-list-items,
li.elementor-icon-list-item,
.elementor-toggle-item,
.elementor-tab-title {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.elementor-icon-list-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
}

.elementor-icon-list-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    margin-top: 3px !important;
}

.elementor-icon-list-icon i {
    font-size: 16px !important;
    color: #0c930f !important;
}

/* FontAwesome Icon Display Fixes */
.fas,
.fa-solid {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.far,
.fa-regular {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Pricing Table Styling */
#pricing table {
    width: 100% !important;
    max-width: 1114px;
    margin: 20px auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    height: auto !important;
}

#pricing table th,
#pricing table tr:first-child td,
#pricing table tr:first-child td strong,
#pricing table tr:first-child td * {
    background: #1e293b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 16px 20px !important;
    border: none !important;
}

#pricing table tr td {
    padding: 14px 20px !important;
    color: #334155 !important;
    font-size: 15px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    transition: background 0.2s ease !important;
}

#pricing table tr:not(:first-child) td:last-child {
    border-right: none !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

#pricing table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

#pricing table tr:hover td {
    background-color: #f5fde4 !important;
}

/* Accordion / FAQ styling */
.elementor-toggle .elementor-toggle-item {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.elementor-toggle .elementor-tab-title {
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
}

.elementor-toggle .elementor-toggle-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.elementor-toggle .elementor-tab-content {
    padding: 15px 20px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   Responsive Breakpoints & Layout Adaptations
   ========================================================================== */

/* Responsive Sizing for Images and Media */
img,
svg,
iframe,
video {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 1024px) {
    .elementor-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .elementor-column.elementor-col-50,
    .elementor-column.elementor-col-33,
    .elementor-column.elementor-col-25,
    .elementor-column.elementor-col-66,
    .elementor-column.elementor-col-75 {
        width: 100% !important;
        margin-bottom: 24px !important;
    }

    .elementor-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #pricing table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

@media (max-width: 768px) {
    #header .head {
        padding: 10px 16px !important;
    }

    .navigation-bar .top-menu {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .elementor-button-wrapper {
        text-align: center !important;
        width: 100% !important;
    }

    .elementor-button {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .a13ree-written-headline,
    .elementor-heading-title {
        font-size: clamp(24px, 6vw, 42px) !important;
    }
}

/* Fix Contact Section Background Image Tiling */
#contact,
.elementor-12688 .elementor-element.elementor-element-0e3fcb7 {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* Pricing Table Styling matching original reference template */
#pricing table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

#pricing table th {
    background: #1e293b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 14px 18px !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

#pricing table td {
    padding: 12px 18px !important;
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
}

#pricing table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   CONTACT US SECTION TEXT CONTRAST & CARD STYLING FIX
   ========================================================================== */

/* Dark Glassmorphic Card container for Contact Details */
.elementor-12688 .elementor-element.elementor-element-8d308e0>.elementor-widget-wrap {
    background: rgba(15, 23, 42, 0.78) !important;
    padding: 35px 30px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

/* Contact Us Title */
.elementor-12688 .elementor-element.elementor-element-51f5430 .elementor-heading-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    letter-spacing: -1px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 15px !important;
}

/* Contact List Text (Address, Email, Phone) */
.elementor-12688 .elementor-element.elementor-element-4258793 .elementor-icon-list-text,
.elementor-12688 .elementor-element.elementor-element-ac9a8dd .elementor-icon-list-text,
.elementor-12688 .elementor-element.elementor-element-910e892 .elementor-icon-list-text,
.elementor-12688 .elementor-element.elementor-element-4258793 .elementor-icon-list-text *,
.elementor-12688 .elementor-element.elementor-element-ac9a8dd .elementor-icon-list-text *,
.elementor-12688 .elementor-element.elementor-element-910e892 .elementor-icon-list-text * {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Contact Icons (Pin, Envelope, Phone) */
.elementor-12688 .elementor-element.elementor-element-4258793 .elementor-icon-list-icon i,
.elementor-12688 .elementor-element.elementor-element-ac9a8dd .elementor-icon-list-icon i,
.elementor-12688 .elementor-element.elementor-element-910e892 .elementor-icon-list-icon i,
.elementor-12688 .elementor-element.elementor-element-4258793 .elementor-icon-list-icon svg,
.elementor-12688 .elementor-element.elementor-element-ac9a8dd .elementor-icon-list-icon svg,
.elementor-12688 .elementor-element.elementor-element-910e892 .elementor-icon-list-icon svg {
    color: #9acb3b !important;
    fill: #9acb3b !important;
    font-size: 20px !important;
}

/* ==========================================================================
   STATS COUNTER SECTION LEGIBILITY & CONTRAST FIX
   ========================================================================== */

/* Counter Numbers (150+, 350+, 20+, 120+) */
.elementor-12688 .elementor-element.elementor-element-e21ac9f .elementor-counter-number-wrapper {
    color: #ffffff !important;
    font-size: 64px !important;
    font-weight: 700 !important;
    letter-spacing: -2px !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8) !important;
}

.elementor-12688 .elementor-element.elementor-element-e21ac9f .elementor-counter-number-suffix,
.elementor-12688 .elementor-element.elementor-element-e21ac9f .elementor-counter-number-prefix {
    color: #9acb3b !important;
    font-weight: 700 !important;
}

/* Counter Subtitles (MINING PLAN APPROVED, CUSTOMERS, FMCP APPROVED, E.C OBTAINED FOR PROJECT) */
.elementor-12688 .elementor-element.elementor-element-e21ac9f .elementor-counter-title {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   TEXT ALIGNMENT & WORD SPACING FIX (ELIMINATE UGLY JUSTIFIED GAPS)
   ========================================================================== */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-12688 .elementor-element.elementor-element-e8497b6,
.elementor-12688 .elementor-element.elementor-element-e8497b6 p,
.elementor-12688 .elementor-element.elementor-element-cd187ff,
.elementor-12688 .elementor-element.elementor-element-cd187ff p {
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}