/*
Theme Name: Immortal Solution Child
Theme URI: https://immortalsolution.com
Description: Custom child theme for Immortal Solution / Arkentech - B2B Lead Generation Agency
Author: Immortal Solution
Author URI: https://immortalsolution.com
Template: hello-elementor
Version: 1.0.0
Text Domain: immortalsolution-child
*/

/* ============================================
   CSS CUSTOM PROPERTIES (Brand Tokens)
   ============================================ */
:root {
    /* Colors */
    --color-primary: #C41E24;
    --color-primary-hover: #A01820;
    --color-primary-light: rgba(196, 30, 36, 0.08);
    --color-secondary: #1A1A2E;
    --color-accent-bg: #F5F5F5;
    --color-white: #FFFFFF;
    --color-text-heading: #222222;
    --color-text-body: #555555;
    --color-text-light: #888888;
    --color-border: #E0E0E0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
    --container-width: 1200px;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-primary-hover);
}

/* ============================================
   HEADER CUSTOMIZATION
   ============================================ */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .site-branding img {
    max-height: 45px;
}

/* Navigation */
.site-header .site-navigation ul li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-secondary);
    padding: 8px 16px;
    transition: color 0.3s ease;
}
.site-header .site-navigation ul li a:hover,
.site-header .site-navigation ul li.current-menu-item a {
    color: var(--color-primary);
}

/* ============================================
   BUTTONS (Global)
   ============================================ */
.elementor-button,
.btn-primary,
.wpforms-submit {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px !important;
    border-radius: var(--radius-sm) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
}
.elementor-button:hover,
.btn-primary:hover,
.wpforms-submit:hover {
    background-color: var(--color-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 36, 0.3);
}

/* Secondary / Outline Button */
.btn-secondary,
.elementor-button.elementor-button-outline {
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
}
.btn-secondary:hover,
.elementor-button.elementor-button-outline:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card,
.elementor-widget-icon-box .elementor-icon-box-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.service-card:hover,
.elementor-widget-icon-box .elementor-icon-box-wrapper:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* ============================================
   STATS COUNTER BAR
   ============================================ */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 30px 0;
}
.stats-bar .stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
}
.stats-bar .stat-item .stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CTA BANNER SECTION
   ============================================ */
.cta-banner {
    background-color: var(--color-primary);
    padding: 60px 0;
    text-align: center;
}
.cta-banner h2,
.cta-banner p {
    color: var(--color-white);
}
.cta-banner .elementor-button {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
}
.cta-banner .elementor-button:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--color-primary);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

/* ============================================
   TRUST LOGO BAR
   ============================================ */
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 40px 0;
}
.trust-logos img {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.section-gray {
    background-color: var(--color-accent-bg);
}
.section-dark {
    background-color: var(--color-secondary);
}
.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--color-white);
}
.section-red {
    background-color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-white);
    border-top: 3px solid var(--color-primary);
    padding: 60px 0 30px;
}
.site-footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-secondary);
}
.site-footer ul {
    list-style: none;
    padding: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer ul li a {
    color: var(--color-text-body);
    font-size: 14px;
}
.site-footer ul li a:hover {
    color: var(--color-primary);
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    margin-right: 8px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* ============================================
   WPFORMS STYLING
   ============================================ */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s ease;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
}

@media (max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .stats-bar {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .trust-logos {
        flex-wrap: wrap;
        gap: 30px;
    }
    .elementor-button,
    .btn-primary {
        padding: 12px 24px !important;
        font-size: 14px;
    }
}

/* ============================================================
   IMMORTAL SOLUTION / 2026 DESIGN SYSTEM
   A global visual layer for Elementor pages and theme templates.
   ============================================================ */
:root {
    --is-ink: #101828;
    --is-muted: #667085;
    --is-line: #e4e7ec;
    --is-surface: #f8fafc;
    --is-brand: #d9485f;
    --is-brand-dark: #b8334a;
    --is-blue: #315efb;
    --is-radius: 18px;
    --is-radius-sm: 12px;
    --is-shadow: 0 12px 40px rgba(16, 24, 40, .08);
    --is-shadow-hover: 0 20px 56px rgba(16, 24, 40, .14);
}

html { scroll-behavior: smooth; }
body {
    background: #fff;
    color: var(--is-muted);
    font-family: 'Open Sans', sans-serif;
}
body, .elementor-widget-text-editor, .elementor-widget-icon-list {
    font-size: 16px;
    line-height: 1.75;
}
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    color: var(--is-ink);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -.035em;
}
h1, .elementor-widget-heading h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.04; }
h2, .elementor-widget-heading h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); line-height: 1.1; }
h3, .elementor-widget-heading h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; }

/* More generous rhythm and a consistent reading width. */
.elementor-section > .elementor-container { max-width: 1180px; }
.elementor-section { position: relative; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Hero sections become editorial, spacious, and image-friendly. */
.elementor-element[data-id="hero001"],
.elementor-element[data-id="hero_section"],
.is-hero {
    overflow: hidden;
    background: radial-gradient(circle at 82% 18%, rgba(49,94,251,.20), transparent 28%),
                radial-gradient(circle at 12% 90%, rgba(217,72,95,.16), transparent 32%), #101828 !important;
}
.elementor-element[data-id="hero001"]::before,
.elementor-element[data-id="hero_section"]::before,
.is-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    pointer-events: none;
}
.elementor-element[data-id="hero001"] h1,
.elementor-element[data-id="hero_section"] h1,
.is-hero h1 { max-width: 850px; margin-inline: auto; letter-spacing: -.05em; }

/* Inline Elementor cards: replace flat boxes with a quiet premium surface. */
.elementor-widget-text-editor div[style*="border-radius"] {
    border-radius: var(--is-radius) !important;
}
.elementor-widget-text-editor div[style*="box-shadow"] {
    border: 1px solid var(--is-line) !important;
    box-shadow: 0 4px 18px rgba(16,24,40,.045) !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.elementor-widget-text-editor div[style*="box-shadow"]:hover {
    border-color: rgba(49,94,251,.28) !important;
    box-shadow: var(--is-shadow-hover) !important;
    transform: translateY(-6px);
}
.elementor-widget-text-editor div[style*="background:#C41E24"],
.elementor-widget-text-editor div[style*="background: #C41E24"] { background: var(--is-brand) !important; }

/* Buttons: pill-like, high contrast, and consistent across Elementor/forms. */
.elementor-button, .wpforms-submit, button[type="submit"] {
    min-height: 52px;
    padding: 14px 26px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--is-brand), var(--is-brand-dark)) !important;
    box-shadow: 0 8px 20px rgba(217,72,95,.18);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.elementor-button:hover, .wpforms-submit:hover, button[type="submit"]:hover {
    background: var(--is-ink) !important;
    box-shadow: 0 12px 26px rgba(16,24,40,.18) !important;
    transform: translateY(-2px);
}

/* Trust bars and stats. */
.trust-logos, .stats-bar { gap: clamp(24px, 5vw, 72px); }
.stats-bar .stat-item .stat-number { color: var(--is-brand); }

/* Accent sections and CTA. */
.elementor-element[data-id="cta_banner"] {
    overflow: hidden;
    background: linear-gradient(120deg, #315efb 0%, #5746d9 52%, #d9485f 100%) !important;
}
.elementor-element[data-id="cta_banner"]::after {
    content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px;
    border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.025);
    pointer-events: none;
}

/* Form fields and accessibility. */
input, textarea, select { border-radius: var(--is-radius-sm) !important; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(49,94,251,.18) !important; border-color: var(--is-blue) !important; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--is-blue); outline-offset: 3px; }

@media (max-width: 767px) {
    .elementor-section > .elementor-container { padding-inline: 22px !important; }
    .elementor-element[data-id="hero001"], .elementor-element[data-id="hero_section"] { min-height: auto !important; }
    h1, .elementor-widget-heading h1 { font-size: 2.65rem; }
    h2, .elementor-widget-heading h2 { font-size: 2rem; }
    .elementor-button { width: 100%; }
}
