/* ============================================
   Homepage-Specific Styles
   Single source of truth for front-page.php
   ============================================ */

:root {
    --premium-gold: #B8944E;
    --premium-teal: #005555;
    --premium-dark: #1A2B2B;
    --premium-light: #F8F9FA;
    --premium-gray: #6B7280;
    --premium-shadow: 0 20px 60px rgba(0, 85, 85, 0.12);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
}

/* Premium Executive Hero Styles - Override All */
.hero-wrapper {
    position: relative !important;
    overflow: hidden !important;
}

.slideshow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
}

.slideshow::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 26, 51, 0.75) 0%, rgba(0, 85, 85, 0.65) 100%) !important;
    z-index: 1 !important;
}

.hero {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    min-height: 95vh !important;
    padding: 80px 120px !important;
    height: auto !important;
}

.hero-content {
    max-width: 1100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.hero-content .eyebrow {
    margin-bottom: 25px !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.2em !important;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    margin: 0 0 35px auto !important;
    color: var(--white) !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    text-align: right !important;
    max-width: 700px !important;
    width: 100% !important;
    align-self: flex-end !important;
}

.hero-content p {
    font-size: 1.15rem !important;
    max-width: 650px !important;
    line-height: 1.8 !important;
    margin: 0 0 45px 0 !important;
    color: rgba(255,255,255,0.95) !important;
    font-family: 'Montserrat', sans-serif !important;
}

.hero-btns {
    display: flex !important;
    gap: 18px !important;
    justify-content: center !important;
    margin: 0 0 60px 0 !important;
    width: 100% !important;
    flex-wrap: wrap !important;
}

.hero-btns .btn {
    padding: 14px 32px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
}

.hero-btns .btn:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.capabilities-section {
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
}

.capabilities-section h3 {
    color: var(--gold) !important;
    font-size: 0.95rem !important;
    margin-bottom: 22px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    font-weight: 600 !important;
}

.capabilities-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.capability-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    color: var(--white) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
}

.capability-link:hover {
    color: var(--gold) !important;
    transform: translateX(8px) !important;
}

.capability-dot {
    width: 10px !important;
    height: 10px !important;
    background: var(--gold) !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.scroll-indicator {
    margin-top: 50px !important;
    opacity: 0.8 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
}

/* Identity Section Refinement */
.identity-section h2 {
    font-size: 2rem !important;
}

.identity-section h3 {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.identity-section p {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
}

.identity-section {
    padding: 120px 0 !important;
}

.identity-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, var(--premium-teal) 0%, #003333 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--premium-shadow);
    position: relative;
    overflow: hidden;
}

.identity-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 148, 78, 0.15) 0%, transparent 70%);
}

.identity-image-placeholder img {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

/* Cards Premium Styling */
.premium-card {
    background: white;
    padding: 45px 40px;
    border-radius: 4px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--premium-gold) 0%, var(--premium-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 85, 85, 0.1);
    border-color: transparent;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--premium-teal);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Playfair Display', serif;
}

/* Clients Section */
.client-logo-box {
    background: white;
    padding: 30px 50px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.client-logo-box:hover {
    border-color: var(--premium-gold);
    box-shadow: 0 10px 30px rgba(184, 148, 78, 0.15);
}

.client-logo-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-text-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--premium-teal);
}

/* Section Enhancements */
section {
    position: relative;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--premium-gold);
    margin: 30px 0;
}

.section-divider.center {
    margin: 30px auto;
}

/* Stats Styling */
.premium-stat {
    background: linear-gradient(135deg, white 0%, #FAFAFA 100%);
    padding: 50px 40px;
    border-radius: 4px;
    border: 1px solid #EEE;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.premium-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--premium-teal);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 12px;
}

.premium-stat .label {
    font-size: 0.85rem;
    color: var(--premium-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Image with Fade Effect */
.image-frame {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
.strategic-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 40px !important;
    }
    .hero-content {
        max-width: 100% !important;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        max-width: 100% !important;
    }
    .hero-btns {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .hero-btns .btn {
        width: 100% !important;
        max-width: 100% !important;
    }
    .strategic-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 25px !important;
        min-height: 90vh !important;
    }
    .hero-content h1 {
        font-size: 1.9rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
    }
}

/* Strategic Advisory Slideshow Styles */
.strategic-slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.question-slide {
    display: none;
    animation: slideFade 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-slide.active {
    display: block;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}

.control-btn {
    background: transparent;
    border: 1px solid rgba(0, 85, 85, 0.2);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    z-index: 5;
}

.control-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.slideshow-dots {
    display: flex;
    gap: 8px;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: var(--gold);
}

.strategic-slideshow-container .premium-card {
    margin: 0;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.strategic-slideshow-container .premium-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 20px !important;
}

.strategic-slideshow-container .premium-card p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
}

/* Value Proposition Tabs Styles */
.value-prop-sidebar {
    min-height: 350px;
}

.value-prop-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
    flex: 1;
}

.value-prop-tab:hover {
    border-color: var(--premium-gold);
    transform: translateX(5px);
}

.value-prop-tab.active {
    background: linear-gradient(135deg, var(--premium-teal) 0%, #004444 100%);
    border-color: var(--premium-teal);
}

.value-prop-tab .tab-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--premium-gray);
    font-family: 'Playfair Display', serif;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.value-prop-tab.active .tab-number {
    color: var(--premium-gold);
    opacity: 1;
}

.value-prop-tab .tab-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-prop-tab.active .tab-title {
    color: white;
}

.value-prop-content-item {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.value-prop-content-item.active {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .value-prop-tabs-container {
        grid-template-columns: 1fr !important;
    }
    .value-prop-sidebar {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .value-prop-tab {
        flex-shrink: 0;
        min-width: 200px;
    }
}

/* Clients Marquee Styles */
.clients-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.clients-marquee {
    display: flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.client-logo-box {
    flex-shrink: 0;
    min-width: 200px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-marquee:hover {
    animation-play-state: paused;
}

/* Pillars Tabs Styles */
.pillars-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
    flex: 1;
}

.pillars-tab:hover {
    border-color: var(--premium-gold);
    transform: translateX(-5px);
}

.pillars-tab.active {
    background: linear-gradient(135deg, var(--premium-teal) 0%, #004444 100%);
    border-color: var(--premium-teal);
}

.pillars-tab .tab-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--premium-gray);
    font-family: 'Playfair Display', serif;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.pillars-tab.active .tab-number {
    color: var(--premium-gold);
    opacity: 1;
}

.pillars-tab .tab-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.pillars-tab.active .tab-title {
    color: white;
}

.pillars-content-item {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.pillars-content-item.active {
    display: block;
}

/* Responsive for pillars tabs */
@media (max-width: 992px) {
    .pillars-tabs-container {
        grid-template-columns: 1fr !important;
    }
    .pillars-sidebar {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 10px;
        order: -1;
    }
    .pillars-tab {
        flex-shrink: 0;
        min-width: 200px;
    }

    .hero {
        min-height: auto;
        padding: 80px 20px;
    }
    .hero-content {
        width: 100%;
    }
    .hero-content p {
        max-width: 100% !important;
        padding: 0 10px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: 100%;
    }

    .identity-section > .container > div,
    .workforce-intelligence > .container > div,
    .value-prop-tabs-container,
    .pillars-tabs-container,
    .governance-grid,
    .clients-marquee {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .value-prop-sidebar,
    .pillars-sidebar {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        order: -1;
    }
    .value-prop-tab,
    .pillars-tab {
        flex-shrink: 0 !important;
        min-width: 220px !important;
    }

    .clients-marquee-container {
        overflow-x: auto !important;
        padding-bottom: 10px;
    }
    .clients-marquee {
        animation: none !important;
        display: flex !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
    }
    .client-logo-box {
        min-width: 180px;
        flex: 0 0 auto;
    }

    #strategic-questions .container > div > div[style*="display: inline-block"] {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

* {
    scroll-behavior: smooth;
}