/*
Theme Name: 3CStrat Modern
Theme URI: https://www.3cstrat.com/
Author: Antigravity
Description: A modern, high-tech cybersecurity theme for 3CStrat.
Version: 2.0.0 (Holographic)
*/

:root {
    /* Color Palette - Refined Milk Tea (Lighter, Cleaner) */
    --color-bg: #FCFBF9;
    /* Ultra light cream, almost white */
    --color-surface: #F5F0EB;
    /* Soft oat */
    --color-primary: #A67C52;
    /* Refined Thai Tea (Less saturation) */
    --color-secondary: #3D322E;
    /* Deep Espresso (Sharp contrast) */
    --color-accent: #E0C9B1;
    /* Pale Caramel */
    --color-text: #594D46;
    /* Softened Cocoa */
    --color-white: #FFFFFF;

    /* Layout */
    --container-width: 1240px;
    /* Wider container for modern feel */
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 12px;
    /* Softer curves */
    --radius-pill: 50px;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.7;
    /* Increased line height for readability */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: none;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* Layout Containers */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    /* Slightly rounded like Trend Micro */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: normal;
    backdrop-filter: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: none;
    border: none;
}

.btn-primary:hover {
    background-color: #a67554;
    /* Darker Thai Tea */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 139, 102, 0.4);
    text-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

/* =========================================
   Header Structure (Strict Trend Micro Style)
   ========================================= */
.site-header {
    background-color: #FFFFFF;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Very subtle shadow */
}

.main-header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    /* Force single line */
}

/* Logo Area */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 50%;
}

.logo-link-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-secondary);
}

.custom-logo-icon {
    height: 48px;
    /* Constrain size strictly */
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

/* If the PHP output structure changed, we need to adapt CSS.
I outputted:
<div class="logo-text-group">
   <span class="logo-text">...</span>
   <span class="logo-sub">...</span>
</div>
*/

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--color-secondary);
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ddd;

    /* Handle long descriptions */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Hide tagline on smaller screens */
@media (max-width: 1200px) {
    .logo-sub {
        max-width: 150px;
    }
}

@media (max-width: 992px) {
    .logo-sub {
        display: none;
    }
}

/* Navigation */
.main-nav {
    flex-grow: 1;
    /* Allow nav to take remaining space */
    display: flex;
    justify-content: flex-end;
    /* Align to right */
    margin-left: 20px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
    /* For dropdown positioning */
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    white-space: nowrap;
    display: block;
    /* Ensure padding works */
    padding: 10px 0;
    /* Vertical breathing room */
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* Dropdown Menu (Desktop) */
@media (min-width: 993px) {
    .main-nav ul {
        align-items: center;
        /* Ensure vertical alignment */
    }

    /* Sub-menu container - Hidden by default */
    .main-nav ul ul {
        display: none;
        position: absolute;
        top: 100%;
        /* Below parent */
        left: 0;
        background-color: var(--color-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 220px;
        /* Slightly wider */
        flex-direction: column;
        gap: 0;
        padding: 5px 0;
        border-radius: 4px;
        z-index: 99999;
        border-top: 3px solid var(--color-primary);
        visibility: hidden;
        /* Extra safety */
        opacity: 0;
        transition: all 0.2s ease;
        margin-top: 10px;
        /* Gap correction */
    }

    /* Show on hover */
    .main-nav li:hover>ul {
        display: flex;
        visibility: visible;
        opacity: 1;
        margin-top: 0;
    }

    .main-nav ul ul li {
        width: 100%;
        display: block;
        /* Stack vertically */
    }

    .main-nav ul ul a {
        padding: 12px 20px;
        font-size: 0.9rem;
        color: var(--color-text);
        display: block;
        white-space: nowrap;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-nav ul ul a:hover {
        background-color: var(--color-bg);
        color: var(--color-primary);
        padding-left: 25px;
        /* Subtle slide effect */
    }

    .main-nav ul ul li:last-child a {
        border-bottom: none;
    }

    /* FIX: 3rd Level Menu Positioning (Flyout to right) */
    .main-nav ul ul ul {
        top: 0;
        left: 100%;
        margin-left: -5px;
        /* Slight overlap for better mouse tracking */
    }
}

/* Mobile Dropdown styles handled in mobile query */

/* Active State Underline (Subtle) */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 30px;
    flex-shrink: 0;
    /* Keep actions from shrinking */
}

.btn-header-outline {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4A4A4A;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    /* Standard rounded, not pill */
    transition: all 0.2s;
}

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

.btn-header-primary {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    background-color: var(--color-primary);
    /* Milk Tea Primary */
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-header-primary:hover {
    background-color: #926C52;
    /* Darker tea */
    border-color: #926C52;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    margin-left: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .logo-sub {
        display: none;
        /* Simplify logo on mobile */
    }
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    /* Ample top padding for fixed header */
    background: linear-gradient(135deg, var(--color-bg) 0%, #FDFBF8 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* More space for text */
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-text .subheadline {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 95%;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
}

/* Features Section (Zig Zag) */
.section-features {
    padding: 120px 0;
    background-color: var(--color-white);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    /* Wider gap for cleaner look */
    align-items: center;
    margin-bottom: 160px;
    /* More vertical breathing room */
}

/* Last feature block adjustment */
.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse .feature-text {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}

.feature-text ul {
    margin-top: 2rem;
}

.feature-text li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--color-text);
    font-weight: 500;
    /* Slightly bolder for readability */
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1em;
}

/* Stats Section */
.section-stats {
    background-color: var(--color-surface);
    padding: 100px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 4rem;
    /* Larger stats */
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* Footer (Trend Micro Style) */
.site-footer {
    background-color: var(--color-secondary);
    color: #e0e0e0;
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

/* Force Elementor footer inner container to full width */
.ehf-footer #colophon .e-con {
    --container-max-width: 100%;
}

.ehf-footer #colophon .e-con > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #bbb;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-accent);
    /* Use accent color for hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

/* Ensure buttons are visible */
.btn-nav-outline {
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.btn-nav-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

/* Mobile Tweaks */
@media (max-width: 992px) {
    .site-header {
        position: fixed;
        /* Keep fixed even on mobile for better UX? Or relative? Trend matches fixed usually. */
        top: 0;
    }

    .hero-section {
        padding-top: 100px;
        /* Less padding on mobile */
    }

    .hero-content,
    .feature-block,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .main-nav.desktop-only,
    .header-actions.desktop-only {
        display: none !important;
        /* Force hide desktop elements */
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: #333;
        cursor: pointer;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    padding: 20px 0;
}

.mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-links li {
    border-bottom: 1px solid #f0f0f0;
}

/* Mobile Dropdown Nested */
.mobile-links ul.sub-menu {
    background-color: #fafafa;
    display: block;
    /* Always expanded on mobile for simplicity, or JS toggle */
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-links ul.sub-menu li {
    border-bottom: 1px solid #e5e5e5;
}

.mobile-links ul.sub-menu a {
    padding-left: 50px;
    /* Indent sub-items */
    font-size: 1rem;
    color: #666;
}

.mobile-links a {
    display: block;
    padding: 20px 30px;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.mobile-links a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   ACPC 2026 PREMIUM Design (Iteration 2)
   ========================================= */

/* Use a pseudo-element for the mesh gradient to avoid layout issues */
.acpc-hero-premium {
    position: relative;
    padding: 220px 0 160px;
    background: #FCFBF9;
    /* Fallback */
    overflow: hidden;
    text-align: center;
}

/* Mesh Gradient Animation Background */
.acpc-hero-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(224, 201, 177, 0.4) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 80% 20%, rgba(166, 124, 82, 0.15) 0%, rgba(255, 255, 255, 0) 40%),
        radial-gradient(circle at 20% 80%, rgba(166, 124, 82, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
    animation: meshRotate 20s linear infinite;
    z-index: 0;
    filter: blur(60px);
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.acpc-hero-content-premium {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    z-index: 2;
}

/* Label with Pulse */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(166, 124, 82, 0.2);
    border-radius: 100px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(166, 124, 82, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #27c93f;
    /* Strategic Green */
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(39, 201, 63, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(39, 201, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
    }
}

/* Premium Typography */
.acpc-title-premium {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D4A77D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.acpc-subtitle-premium {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--color-text);
    margin-bottom: 50px;
    font-weight: 400;
    opacity: 0.85;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Row */
.acpc-stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.stat-pill:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Premium Presentation Section */
.acpc-presentation-section-premium {
    margin-top: -100px;
    /* Strong overlap */
    padding-bottom: 100px;
    position: relative;
    z-index: 20;
}

/* Glass Frame Container */
.presentation-glass-frame {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Safari support */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.presentation-glass-frame:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow:
        0 50px 120px -20px rgba(166, 124, 82, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Glass Header (Not browser style anymore) */
.presentation-glass-header {
    height: 60px;
    border-bottom: 1px solid rgba(166, 124, 82, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(255, 255, 255, 0.5);
}

.glass-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 0.95rem;
    position: relative;
}

.glass-tab.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    /* Align with bottom border of header */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
}

.glass-tab i {
    color: #ff3b30;
    /* Live red */
    animation: flash 2s infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-indicator {
    font-size: 0.75rem;
    color: #27c93f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-indicator::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Wrapper content */
.premium-wrapper {
    background: #000;
    /* Dark background for presentation contrast */
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.premium-placeholder {
    background: radial-gradient(circle at center, #2a2a2a 0%, #111 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.icon-glow-container {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(166, 124, 82, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-glow-container i {
    color: var(--color-primary);
    /* Gold/Tea color */
}

.premium-placeholder h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.premium-placeholder p {
    color: #888;
    margin-bottom: 30px;
}

.btn-premium-glow {
    background: linear-gradient(90deg, var(--color-primary) 0%, #c49a6c 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(166, 124, 82, 0.4);
    color: #fff;
}


/* ==========================================================================
   Blog / Posts Grid
   ========================================================================== */

/* ==========================================================================
   Blog / Posts Grid (Modern & Premium)
   ========================================================================== */

.posts-section {
    padding: 100px 0;
    /* Soft light background for contrast with white cards or dark mode ready */
    background-color: #F8F9FA;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    /* Equal height */
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(166, 124, 82, 0.3);
    /* Primary color hint */
}

.post-thumbnail {
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.08);
    /* Subtle zoom */
}

.post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.post-title {
    font-size: 1.4rem;
    margin: 0 0 15px;
    color: var(--color-secondary);
    line-height: 1.35;
    font-weight: 700;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease, color 0.3s ease;
    padding-bottom: 2px;
}

.post-title a:hover {
    color: var(--color-primary);
    background-size: 100% 2px;
}

.post-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more-link i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    text-decoration: none;
    gap: 12px;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

.view-all-btn-container {
    text-align: center;
    margin-top: 60px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    /* Pill shape for premium feel */
    transition: all 0.3s ease;
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
}



/* Pagination */
.pagination {
    margin-top: 80px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    /* Circular */
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-numbers.current,
.page-numbers:hover {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .post-thumbnail {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Contact Page / Business Cards
   ========================================================================== */

.contact-section {
    padding: 140px 0 80px;
    min-height: 60vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.business-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.bc-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bc-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.bc-name small {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #888;
    margin-top: 5px;
}

.bc-title {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bc-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-details li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bc-details i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
    margin-top: 5px;
}

.bc-details a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.bc-details a:hover {
    color: var(--color-primary);
}

.company-branding {
    margin-top: 30px;
    text-align: right;
    opacity: 0.8;
}

.company-branding img {
    height: 30px;
    width: auto;
}

/* ==========================================================================
   General Contact Card (Premium Style)
   ========================================================================== */
.general-contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 60px;
    /* Centered with bottom margin */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.general-contact-card h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.gc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.gc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.gc-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(166, 124, 82, 0.1);
    /* Primary color light */
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.gc-item:hover .gc-icon {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-5px);
}

.gc-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.gc-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   Homepage Grid Card Hover Effects
   ========================================================================== */
.grid-card-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: #A67C52 !important;
}

.homepage-contract-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 100%;
}

.homepage-contract-grid>a {
    display: block !important;
    /* Force 2 columns via width calculation - relaxed for safety */
    width: calc(50% - 20px) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
    box-sizing: border-box;
    float: none !important;
}

.grid-card-item {
    height: 100%;
    width: 100%;
    /* Ensure card fills the anchor */
}

@media (max-width: 768px) {
    .homepage-contract-grid {
        flex-direction: column;
    }

    .homepage-contract-grid>a {
        width: 100% !important;
    }
}

/* ==========================================================================
   Post List View (For Blog Page)
   ========================================================================== */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-list .post-card {
    flex-direction: row;
    min-height: 250px;
    align-items: stretch;
}

.post-list .post-thumbnail {
    width: 40%;
    height: auto;
    /* Allow full height */
    min-height: 250px;
}

.post-list .post-content {
    width: 60%;
    justify-content: center;
    padding: 40px;
}

@media (max-width: 768px) {
    .post-list .post-card {
        flex-direction: column;
    }

    .post-list .post-thumbnail {
        width: 100%;
        height: 220px;
    }

    .post-list .post-content {
        width: 100%;
        padding: 25px;
    }
}

/* ==========================================================================
   Service Catalog Grid (Added 2026-02-05)
   ========================================================================== */
.service-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(166, 124, 82, 0.15);
    border-color: rgba(166, 124, 82, 0.3);
}

.service-card-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(166, 124, 82, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #A67C52;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: #A67C52;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    letter-spacing: -0.5px;
}

.service-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.service-card-title a:hover {
    color: #A67C52;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    margin-bottom: 12px;
}

.service-list-item-link {
    display: flex;
    align-items: flex-start;
    padding: 8px 12px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-list-item-link:hover {
    background: rgba(166, 124, 82, 0.05);
    color: #A67C52;
    transform: translateX(5px);
}

.service-list-item-link i {
    color: #A67C52;
    /* Gold checkmark */
    margin-right: 12px;
    margin-top: 4px;
    /* Align with text top */
    font-size: 0.85em;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.service-list-item-link:hover i {
    transform: scale(1.2);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .service-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-catalog-grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
        padding: 0 15px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   New Premium Cyber Hero Section (2026-02-05)
   ========================================================================== */
.hero-section {
    position: relative;
    background: #0b0c10;
    /* Deepest Cyber Black */
    overflow: hidden;
    padding: 180px 0 120px;
    text-align: left;
    /* Default to left for 2-col layout */
}

/* Animated Background Mesh */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(166, 124, 82, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(69, 162, 158, 0.08) 0%, transparent 25%);
    z-index: 1;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

/* Grid Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text-col {
    flex: 1;
    max-width: 600px;
}

.hero-visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Typography */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(166, 124, 82, 0.3);
}

.hero-title .highlight {
    color: #A67C52;
    /* Gold */
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    border-left: 3px solid #A67C52;
    padding-left: 20px;
}

/* Cyber Button */
.btn-cyber {
    position: relative;
    padding: 15px 40px;
    background: transparent;
    color: #A67C52;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #A67C52;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    outline: none;
    text-decoration: none;
    display: inline-block;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #A67C52;
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-cyber:hover {
    color: #0b0c10;
    box-shadow: 0 0 20px rgba(166, 124, 82, 0.6);
}

.btn-cyber:hover::before {
    left: 0;
}

/* Floating Shield Animation */
.shield-container {
    width: 300px;
    height: 360px;
    position: relative;
    animation: floatShield 6s ease-in-out infinite;
}

.cyber-shield-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(166, 124, 82, 0.4));
}

@keyframes floatShield {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-subtitle {
        border-left: none;
        padding-left: 0;
    }

    .hero-visual-col {
        margin-bottom: 40px;
    }
}

/* Hiding Redundant Static Homepage Sections (Replaced by Dynamic Feed) */
.elementor-element-69840d8a40b8d,
.elementor-element-69840d8a40ba3,
.elementor-element-69840d8a40bb5 {
    display: none !important;
}

/* ==========================================================================
   Enterprise Service Page Styles (v4)
   ========================================================================== */
.sp-section {
    padding: 100px 0;
    position: relative;
}

.sp-section-light {
    background: #FFFFFF;
}

.sp-section-gray {
    background: #FCFBF9;
}

.sp-section-dark {
    background: #1a1a2e;
    color: #fff;
}

.sp-title-area {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sp-subtitle {
    color: #A67C52;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.sp-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: inherit;
}

.sp-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: inherit;
    opacity: 0.8;
}

/* Pain Points Cards */
.sp-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.sp-pain-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #e74c3c;
    /* Red for alert/pain */
    transition: transform 0.3s ease;
}

.sp-pain-card:hover {
    transform: translateY(-10px);
}

.sp-pain-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 25px;
}

.sp-pain-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3D322E;
}

/* Process Steps (Timeline) */
.sp-process-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 30px;
    flex-wrap: wrap;
}

.sp-process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sp-step-num {
    width: 60px;
    height: 60px;
    background: #A67C52;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 0 8px rgba(166, 124, 82, 0.1);
}

.sp-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #3D322E;
}

/* FAQ Accordion */
.sp-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.sp-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 700;
    color: #3D322E;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.sp-faq-question:hover {
    background: #fafafa;
}

.sp-faq-answer {
    padding: 0 30px 25px;
    color: #555;
    line-height: 1.7;
    display: block;
    /* Simplified for now */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

/* --- Latest Posts Section (Spacing Fix) --- */
.posts-section {
    padding-top: 160px !important;
    /* Increased from 80px/120px to ensure clearance */
    padding-bottom: 80px;
    background-color: var(--color-bg);
}

/* Fallback Image Placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-size: 3rem;
}

.no-image-placeholder i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.posts-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

/* ==========================================================================
   ACPC 2026 Cleanup (Force Hide Cached/Phantom Elements)
   ========================================================================== */
#download-section,
.hero-section .btn.btn-primary[href="#download-section"],
.elementor-widget-button a[href*="download"],
a.btn-primary[href*="pptx"],
.acpc-presentation-section-premium {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
