/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy
Author: Your Name
Template: blocksy
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ========================================
GLOBAL
======================================== */

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
    background: #031027;
    font-family: 'Poppins', sans-serif;
    color: #041B3D;
}

* {
    box-sizing: border-box;
}

/* ========================================
HEADER
======================================== */

.site-header,
#header,
.ct-header,
.ct-header [data-row],
.ct-header .ct-container {
    background: #031B45 
    /*radial-gradient(*/
    /*    circle at top right,*/
    /*    rgba(30, 107, 255, 0.22) 0%,*/
    /*    rgba(30, 107, 255, 0.10) 20%,*/
    /*    transparent 42%*/
    /*),*/
    /*linear-gradient(*/
    /*    145deg,*/
    /*    #031027 0%,*/
    /*    #031B45 40%,*/
    /*    #052A66 100%*/
    /*) !important;*/

    /*box-shadow: none !important;*/
    /*color: white;*/
}

}

.site-header {
    position: absolute !important;
    width: 100%;
    z-index: 999;
}

.ct-container {
    max-width: 1400px !important;
}

.ct-header .ct-container {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.ct-header .menu a {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ct-header .menu a:hover {
    color: #1E6BFF !important;
}

.site-content,
.ct-page-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
ELEMENTOR WIDTH FIXES
======================================== */

.elementor-location-header,
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-element {
    margin: 0 !important;
    max-width: 100% !important;
}

/* ========================================
HERO SECTION
======================================== */

.hero-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 100vh;

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    margin-top: -120px !important;
    padding: 40px 40px 120px;

    background:
    radial-gradient(
    circle at top right,
    rgba(30, 107, 255, 0.22) 0%,
    rgba(30, 107, 255, 0.10) 20%,
    transparent 42%
    ),
    linear-gradient(
    145deg,
    #031027 0%,
    #031B45 40%,
    #052A66 100%
    );

    color: white;
}

.hero-section2 {
    width: 100vw;
    margin-left: calc(-10vw + 0%);
    min-height: 50vh;

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /*margin-top: -120px !important;*/
    padding: 20px 40px 120px;

    /*background:*/
    /*radial-gradient(*/
    /*circle at top right,*/
    /*rgba(30, 107, 255, 0.22) 0%,*/
    /*rgba(30, 107, 255, 0.10) 20%,*/
    /*transparent 42%*/
    /*),*/
    /*linear-gradient(*/
    /*145deg,*/
    /*#031027 0%,*/
    /*#031B45 40%,*/
    /*#052A66 100%*/
    /*);*/

    color: white;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    flex-wrap: wrap;
}

.hero-left,
.hero-right {
    flex: 1;
    min-width: 320px;
}

.hero-eyebrow {
    color: #1E6BFF;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 84px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 30px;
    max-width: 720px;
    color: white;
}

.hero-title span {
    color: #1E6BFF;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 620px;
}

.hero-buttons {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    background: #1E6BFF;
    color: white;
    padding: 18px 34px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-2px);
    background: #3C82FF;
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.22);
    color: white;
    padding: 18px 34px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    border-color: #1E6BFF;
    color: #1E6BFF;
}

.hero-trust-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 15px;
    color: rgba(255,255,255,0.82);
}

/* ========================================
DASHBOARD CARD
======================================== */

.dashboard-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 35px;
    backdrop-filter: blur(12px);
    min-height: 520px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.metric-box {
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 22px;
}

.metric-box h4 {
    font-size: 13px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.metric-box h2 {
    margin: 0;
    font-size: 36px;
    color: white;
}

.positive {
    color: #3DDC97;
    font-size: 14px;
    font-weight: 600;
}

.chart-placeholder {
    height: 260px;
    margin-top: 35px;
    border-radius: 24px;

    background: linear-gradient(
    180deg,
    rgba(30,107,255,0.15),
    transparent
    );

    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #1E6BFF;
    top: 60%;
    transform: skewY(-8deg);
}

/* ========================================
SERVICES SECTION
======================================== */

.services-section,
.case-studies-section {
    padding: 120px 40px;
    background: #ffffff;
}

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.section-heading p {
    color: #1E6BFF;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 54px;
    color: #041B3D;
    max-width: 900px;
    margin: auto;
    line-height: 1.2;
}

.services-grid,
.case-grid {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card,
.case-card {
    background: white;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.service-card:hover,
.case-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 18px;
    color: #041B3D;
}

.case-card h3 {
    color: #1E6BFF;
    font-size: 54px;
    margin-bottom: 12px;
}

/* ========================================
CTA SECTION
======================================== */

.cta-section {
    background:
    radial-gradient(circle at bottom left, rgba(30,107,255,0.12), transparent 30%),
    linear-gradient(135deg, #03142D 0%, #041B3D 100%);

    padding: 120px 40px;
    color: white;
}

.cta-container {
    max-width: 1300px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-container h2 {
    font-size: 58px;
    margin-bottom: 20px;
}

.cta-container p {
    color: rgba(255,255,255,0.82);
    max-width: 620px;
    line-height: 1.8;
}

/* ========================================
RESPONSIVE
======================================== */

@media(max-width: 1024px) {

    .hero-title {
        font-size: 64px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

}

@media(max-width: 768px) {

    .hero-section {
        padding: 180px 25px 100px;
    }

    .hero-title {
        font-size: 46px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .services-section,
    .case-studies-section,
    .cta-section {
        padding: 90px 25px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .cta-container h2 {
        font-size: 40px;
    }

    .ct-header .ct-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}