/* ===================================================================
   VORTEX LANDING PAGE - DESIGN SYSTEM
   Modern, clean aesthetic inspired by Himpel design principles
   =================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Spacing System */
    --vortex-spacing-section: 80px;
    --vortex-spacing-element: 30px;
    --vortex-spacing-gap: 20px;
    --vortex-spacing-sm: 15px;

    /* Border Radius */
    --vortex-radius-sm: 10px;
    --vortex-radius-md: 15px;
    --vortex-radius-lg: 20px;
    --vortex-radius-xl: 25px;
    --vortex-radius-round: 50%;

    /* Shadows - 3 tier elevation system */
    --vortex-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --vortex-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --vortex-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Brand Colors - Using existing theme variables */
    --vortex-green: var(--wells-blue, #00a651);
    --vortex-orange: var(--wells-orange, #f7941d);

    /* Neutral Backgrounds */
    --vortex-bg-white: #ffffff;
    --vortex-bg-light: #f9fafb;
    --vortex-bg-gray: #f3f4f6;
    --vortex-bg-dark: #1a1a1a;

    /* Text Colors */
    --vortex-text-primary: #111827;
    --vortex-text-secondary: #6b7280;
    --vortex-text-light: #9ca3af;
}

/* ===== BASE SECTION CLASS ===== */
.vortex-section {
    padding: var(--vortex-spacing-section) 0;
}

.vortex-section.compact {
    padding: 60px 0;
}

.vortex-section.spacious {
    padding: 100px 0;
}

/* ===== EQUAL HEIGHT COLUMNS ===== */
.vortex-equal-cols {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.vortex-equal-cols>[class*="col"] {
    display: flex;
}

.vortex-equal-cols .col-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== SECTION CARD STYLING ===== */
.vortex-section-card {
    background: var(--vortex-bg-light);
    border-radius: var(--vortex-radius-lg);
    padding: 60px 40px;
    box-shadow: var(--vortex-shadow-md);
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-section-card.white {
    background: var(--vortex-bg-white);
}

.vortex-section-card.dark {
    background: var(--vortex-bg-dark);
    color: #fff;
}

/* ===== CONSISTENT IMAGE STYLING ===== */
/* Apply border-radius to images, but exclude icons and special elements */
.vortex-section img:not(.fresh-card-icon):not(.material-symbols-outlined) {
    border-radius: var(--vortex-radius-md);
}

.vortex-section .ux-image img {
    border-radius: var(--vortex-radius-md);
}

/* Preserve fresh-icon-card functionality - don't override */
.vortex-section .fresh-icon-card {
    /* Let the original fresh-icon-card CSS handle styling */
}

.vortex-section .fresh-card-icon,
.vortex-section .material-symbols-outlined {
    /* Preserve icon styling - no border-radius */
    border-radius: 0 !important;
}


/* ===== HERO SECTION ===== */
.vortex-hero {
    background: var(--vortex-bg-dark);
    padding: 0 !important;
}

.vortex-hero .text-box h1 {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 800;
}

.vortex-hero .text-box p {
    color: #eee !important;
    font-size: 1.1rem;
}

.vortex-hero iframe,
.vortex-hero .video-fit {
    border-radius: 0;
}

/* ===== DANGER GRID SECTION ===== */
.vortex-danger-grid {
    background: var(--vortex-bg-white);
}

.vortex-danger-grid h2 {
    font-weight: 800 !important;
    font-size: 2rem;
    color: var(--vortex-text-primary);
    text-align: center;
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-danger-grid img {
    border-radius: var(--vortex-radius-md) !important;
    box-shadow: var(--vortex-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vortex-danger-grid img:hover {
    transform: translateY(-3px);
    box-shadow: var(--vortex-shadow-md);
}

.vortex-danger-grid p {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1rem;
    color: var(--vortex-text-primary);
    margin-top: var(--vortex-spacing-sm);
}

/* ===== 3D VIDEO SECTION ===== */
.vortex-3d-video {
    background: var(--vortex-bg-white);
}

.vortex-3d-video h2 {
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 1.8rem;
    color: var(--vortex-text-primary);
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-3d-video .video-fit,
.vortex-3d-video iframe {
    border-radius: var(--vortex-radius-md) !important;
    box-shadow: var(--vortex-shadow-lg);
    overflow: hidden;
}

.vortex-3d-video .col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== FEATURE DIFFERENCES SECTION ===== */
.vortex-feature-diff {
    background: var(--vortex-bg-light);
}

.vortex-feature-diff h2 {
    font-weight: 800 !important;
    font-size: 2rem;
    color: var(--vortex-text-primary);
    text-align: center;
    margin-bottom: var(--vortex-spacing-sm);
}

.vortex-feature-diff>.row:first-child p {
    text-align: center;
    color: var(--vortex-text-secondary);
    margin-bottom: var(--vortex-spacing-element);
    font-size: 1.1rem;
}

.vortex-feature-diff .ux-image img {
    border-radius: var(--vortex-radius-round) !important;
    border: 8px solid #fff;
    box-shadow: var(--vortex-shadow-md);
}

.vortex-feature-diff .featured-box p {
    font-weight: 600;
    color: var(--vortex-text-primary);
    font-size: 1rem;
}

.vortex-feature-diff .featured-box img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(97%) contrast(101%);
}

/* ===== SYSTEM COMPONENTS SECTION ===== */
.vortex-components {
    background: var(--vortex-bg-white);
}

.vortex-components h2 {
    font-weight: 800 !important;
    font-size: 2rem;
    color: var(--vortex-green);
    text-align: center;
    margin-bottom: var(--vortex-spacing-sm);
}

.vortex-components>.row:first-child p {
    text-align: center;
    color: var(--vortex-text-secondary);
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-components .col-inner {
    text-align: center;
}

.vortex-components h4 {
    font-weight: 700;
    color: var(--vortex-text-primary);
    margin-top: var(--vortex-spacing-sm);
}

/* ===== OPERATING PRINCIPLES SECTION ===== */
.vortex-principles {
    background: var(--vortex-bg-light);
}

.vortex-principles h2 {
    font-weight: 800 !important;
    font-size: 2rem;
    color: var(--vortex-text-primary);
    text-align: center;
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-principles h4 {
    font-weight: 700;
    color: var(--vortex-green);
    margin-bottom: var(--vortex-spacing-sm);
}

.vortex-principles .featured-box p {
    color: var(--vortex-text-secondary);
    line-height: 1.6;
}

/* ===== PROJECTS GALLERY SECTION ===== */
.vortex-projects {
    background: linear-gradient(180deg, var(--vortex-green) 0%, #052b15 100%) !important;
    border-radius: 0;
}

.vortex-projects h2 {
    font-weight: 800 !important;
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: var(--vortex-spacing-sm);
}

.vortex-projects>.row:first-child p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--vortex-spacing-element);
}

.vortex-projects .ux-image img,
.vortex-projects .col-inner img {
    border-radius: var(--vortex-radius-md) !important;
    box-shadow: var(--vortex-shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vortex-projects .ux-image:hover img,
.vortex-projects .col-inner:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== HOVER EFFECTS ===== */
.vortex-brighten-hover img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.vortex-brighten-hover:hover img {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    :root {
        --vortex-spacing-section: 60px;
        --vortex-spacing-element: 20px;
    }

    .vortex-section-card {
        padding: 40px 20px;
    }

    .vortex-danger-grid h2,
    .vortex-feature-diff h2,
    .vortex-components h2,
    .vortex-principles h2,
    .vortex-projects h2,
    .vortex-3d-video h2 {
        font-size: 1.5rem !important;
    }

    .vortex-equal-cols {
        flex-direction: column;
    }
}

@media (max-width: 549px) {
    :root {
        --vortex-spacing-section: 40px;
    }

    .vortex-danger-grid h2,
    .vortex-feature-diff h2,
    .vortex-components h2,
    .vortex-principles h2,
    .vortex-projects h2,
    .vortex-3d-video h2 {
        font-size: 1.3rem !important;
    }
}

/* ===================================================================
   CUSTOM FIXES FOR VORTEX LANDING PAGE (V1.1)
   =================================================================== */

/* 1. Fresh Icon Card - Handled by fresh-icon-card.css (removed global overrides) */

/* 2. Fresh Stat Display - Vertical Flex Strategy */
.fresh-stat-display {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 20px;
}

.fresh-stat-number-wrap {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.fresh-stat-number {
    font-size: clamp(60px, 8vw, 80px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #004A99 !important;
}

.fresh-stat-suffix {
    font-size: clamp(30px, 4vw, 40px) !important;
    font-weight: 700 !important;
    margin-left: 5px !important;
    color: #E30613 !important;
}

.fresh-stat-label {
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6B7280 !important;
    letter-spacing: 0.1em !important;
}

@media (max-width: 767px) {
    .fresh-stat-number {
        font-size: 50px !important;
    }
}

/* ===================================================================
   HERO/ABOUT SECTION - "VỀ VORTEX" (V1.3 - Simplified)
   Only 2 layers: text column + image column. No extra backgrounds.
   =================================================================== */

/* Reset: Remove all nested box styling from About section */


.vortex-about-section .col-inner {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Image: Rounded corners + shadow only */
.vortex-about-section .ux-image img,
.vortex-about-section .fresh-content-image img {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Button: Red pill - override Flatsome completely */
.vortex-about-btn,
a.vortex-about-btn,
.fresh-btn-primary.vortex-about-btn {
    display: inline-block !important;
    background: #E30613 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.25) !important;
}

.vortex-about-btn:hover,
a.vortex-about-btn:hover {
    background: #C40511 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35) !important;
}