/**
 * Empire Five Athletics - Homepage Styles
 *
 * This file contains all homepage-specific styles.
 * CSS Variables are inherited from the main style.css file.
 *
 * Variables used from style.css:
 * - Colors: --empire-primary, --empire-secondary, --empire-accent, --empire-accent-hover
 *           --empire-accent-light, --empire-white, --empire-text, --empire-text-light
 *           --empire-gray-light
 * - Shadows: --shadow-sm, --shadow-md, --shadow-lg, --shadow-xl
 * - Radius: --radius-sm, --radius-md, --radius-lg, --radius-xl, --radius-full
 * - Transitions: --transition-fast, --transition-normal, --transition-smooth
 *
 * @package Empire_Five_Child
 * @since 1.0.0
 */

/* ==========================================================================
   HOMEPAGE STYLES
   ========================================================================== */

/* SEO H1 - Accessible but visually hidden for clean hero design */
.seo-hero-heading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.visually-hidden-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Page Wrapper - Override GeneratePress defaults */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

#page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.site-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.site-main.homepage {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure all sections are full-width and centered */
.hero-section,
.pillars-section,
.serve-section,
.products-section,
.why-section,
.process-section,
.stats-section,
.testimonials-section,
.quality-section,
.cta-section,
.contact-strip {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Override GeneratePress defaults for homepage */
.empire-home .site-content,
.empire-home .content-area,
.empire-home .inside-article,
.empire-home .entry-content,
.empire-home .grid-container,
.empire-home .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Remove any GeneratePress sidebar space */
.empire-home #primary {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--empire-primary);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slide .empire-container {
    width: 100%;
    max-width: 100%;
    padding: 0 5%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Banner Image */
.hero-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-banner-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 40, 104, 0.9) 0%,
        rgba(0, 40, 104, 0.7) 35%,
        rgba(0, 40, 104, 0.4) 60%,
        rgba(0, 40, 104, 0.2) 100%
    );
    z-index: 2;
}

/* Hero Sport Tag */
.hero-sport-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--empire-accent);
    color: var(--empire-white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

/* Hero Slider Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    flex-wrap: nowrap;
    justify-content: center;
}

.hero-dot {
    width: auto;
    height: 28px;
    padding: 0 10px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.hero-dot .dot-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--empire-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.active {
    background: var(--empire-accent);
}

.hero-dot.active .dot-label {
    opacity: 1;
}

/* Hero Slider Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--empire-white);
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: var(--empire-accent);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-media video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-text {
    max-width: 550px;
    margin-left: 50px;
    padding-left: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--empire-white);
    margin-bottom: 24px;
}

.hero-title .title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.3s; }

.hero-title .title-line.accent {
    color: var(--empire-accent);
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-subtitle strong {
    color: var(--empire-white);
}

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

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-cta .btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--empire-white);
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-item svg {
    color: var(--empire-accent);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ========== Pillars Section ========== */
.pillars-section {
    padding: 80px 0;
    background: var(--empire-white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--empire-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--empire-primary), var(--empire-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--empire-accent-light);
    border-radius: var(--radius-full);
    color: var(--empire-accent);
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    background: var(--empire-accent);
    color: var(--empire-white);
    transform: scale(1.1);
}

.pillar-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--empire-primary);
    margin-bottom: 12px;
}

.pillar-text {
    color: var(--empire-text-light);
    line-height: 1.6;
}

/* ========== Section Headers ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--empire-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--empire-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Who We Serve Section ========== */
.serve-section {
    padding: 100px 0;
    background: var(--empire-gray-light);
}

/* Countries Served */
.countries-served {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 40px;
    background: var(--empire-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.countries-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--empire-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.countries-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.flag-item {
    font-size: 2rem;
    transition: transform 0.3s ease;
    cursor: default;
}

.flag-item:hover {
    transform: scale(1.3);
}

.flag-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--empire-accent);
    background: var(--empire-accent-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.serve-card {
    position: relative;
    min-height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.serve-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.serve-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 40, 104, 0.95) 0%,
        rgba(0, 40, 104, 0.7) 50%,
        rgba(0, 40, 104, 0.3) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.serve-card:hover .serve-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 40, 104, 0.98) 0%,
        rgba(0, 40, 104, 0.8) 50%,
        rgba(0, 40, 104, 0.4) 100%
    );
}

.serve-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
}

.serve-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--empire-white);
    margin-bottom: 20px;
}

.serve-list {
    list-style: none;
    margin-bottom: 28px;
}

.serve-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.serve-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--empire-accent);
    border-radius: 50%;
}

.serve-card .btn-light {
    background: var(--empire-white);
    color: var(--empire-primary);
    border: 2px solid var(--empire-white);
    font-weight: 600;
}

.serve-card .btn-light:hover {
    background: var(--empire-accent);
    border-color: var(--empire-accent);
    color: var(--empire-white);
}

/* ========== Products Section ========== */
.products-section {
    padding: 100px 0;
    background: var(--empire-white);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: 2px solid var(--empire-gray-light);
    border-radius: var(--radius-full);
    color: var(--empire-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--empire-primary);
    color: var(--empire-primary);
}

.tab-btn.active {
    background: var(--empire-primary);
    border-color: var(--empire-primary);
    color: var(--empire-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    display: block;
    text-decoration: none;
    background: var(--empire-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--empire-gray-light);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* Placeholder fallback until images are added */
.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder::after {
    content: attr(data-label);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-card:hover .product-placeholder {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 104, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-more {
    color: var(--empire-white);
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--empire-white);
    border-radius: var(--radius-full);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-card:hover .view-more {
    transform: translateY(0);
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--empire-primary);
    padding: 20px 20px 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--empire-text-light);
    padding: 0 20px 20px;
}

.product-card-more .product-placeholder {
    background: var(--empire-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-icon {
    font-size: 3rem;
    color: var(--empire-primary);
    font-weight: 300;
    transition: transform 0.4s ease;
}

.product-card-more:hover .more-icon {
    transform: rotate(90deg);
}

/* ========== Why Factory Direct Section ========== */
.why-section {
    padding: 100px 0;
    background: var(--empire-gray-light);
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content .section-title {
    text-align: left;
}

.why-intro {
    font-size: 1.1rem;
    color: var(--empire-text);
    line-height: 1.7;
    margin-bottom: 36px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-item .why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--empire-white);
    border-radius: var(--radius-md);
    color: var(--empire-accent);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: var(--empire-accent);
    color: var(--empire-white);
    transform: scale(1.1);
}

.why-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--empire-primary);
    margin-bottom: 6px;
}

.why-text p {
    color: var(--empire-text-light);
    line-height: 1.5;
}

.why-image-wrapper {
    position: relative;
    overflow: visible;
    padding-bottom: 50px;
}

.why-factory-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s ease;
}

.why-factory-img:hover {
    transform: scale(1.02);
}

/* Placeholder fallback */
.why-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
    border-radius: var(--radius-xl);
}

.why-stats {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    gap: 20px;
}

.stat-bubble {
    background: var(--empire-white);
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    flex: 1;
}

.stat-bubble .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--empire-accent);
    display: block;
}

.stat-bubble .stat-label {
    font-size: 0.85rem;
    color: var(--empire-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Process Section ========== */
.process-section {
    padding: 100px 0;
    background: var(--empire-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-bottom: 50px;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--empire-primary), var(--empire-accent));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--empire-white);
    border: 3px solid var(--empire-primary);
    border-radius: var(--radius-full);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--empire-primary);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: var(--empire-primary);
    color: var(--empire-white);
    transform: scale(1.1);
}

.step-content {
    background: var(--empire-white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.process-step:hover .step-content {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.step-icon {
    color: var(--empire-primary);
    margin-bottom: 16px;
}

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--empire-primary);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--empire-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.step-time {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--empire-accent);
    background: var(--empire-accent-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.process-cta {
    text-align: center;
}

/* ========== Stats Section ========== */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: var(--empire-primary);
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
    opacity: 0.95;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--empire-white);
}

.stat-item .stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--empire-white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    padding: 100px 0;
    background: var(--empire-gray-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--empire-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #F59E0B;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--empire-text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--empire-primary);
    color: var(--empire-white);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.author-info strong {
    display: block;
    font-weight: 700;
    color: var(--empire-primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--empire-text-light);
}

/* ========== Quality Section ========== */
.quality-section {
    padding: 100px 0;
    background: var(--empire-white);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quality-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.quality-image-main {
    grid-row: span 1;
}

.quality-image-main .quality-img {
    height: 100%;
    min-height: 400px;
}

.quality-image-small {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.quality-image-small .quality-img {
    flex: 1;
    min-height: 0;
}

.quality-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.quality-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Keep placeholder styles as fallback */
.quality-placeholder {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--empire-primary) 0%, var(--empire-secondary) 100%);
}

.quality-placeholder.main {
    height: 100%;
    min-height: 400px;
}

.quality-placeholder.small-1,
.quality-placeholder.small-2 {
    height: 190px;
}

.quality-content .section-title {
    text-align: left;
}

.quality-intro {
    font-size: 1.1rem;
    color: var(--empire-text);
    line-height: 1.7;
    margin-bottom: 32px;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.quality-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--empire-text);
}

.quality-feature svg {
    color: var(--empire-accent);
    flex-shrink: 0;
}

.quality-certifications {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cert-label {
    font-weight: 600;
    color: var(--empire-primary);
}

.cert-badges {
    display: flex;
    gap: 10px;
}

.cert-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--empire-gray-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--empire-primary);
}

/* ========== CTA Section ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--empire-accent) 0%, #8B0020 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--empire-white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.cta-feature svg {
    color: var(--empire-white);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-light {
    background: var(--empire-white);
    color: var(--empire-accent);
    border: 2px solid var(--empire-white);
}

.btn-light:hover {
    background: transparent;
    color: var(--empire-white);
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ========== Contact Strip ========== */
.contact-strip {
    padding: 40px 0;
    background: var(--empire-primary);
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--empire-white);
}

.contact-strip-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-strip-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.contact-strip-item a,
.contact-strip-item span:not(.label) {
    color: var(--empire-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-strip-item a:hover {
    opacity: 0.8;
}

.contact-strip-item.whatsapp svg {
    color: #25D366;
}

/* ========== Homepage Responsive ========== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .countries-served {
        padding: 20px 24px;
        margin-bottom: 30px;
    }

    .countries-label {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .countries-flags {
        gap: 12px;
    }

    .flag-item {
        font-size: 1.5rem;
    }

    .serve-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .serve-card {
        min-height: 380px;
    }

    .serve-card-content {
        padding: 30px;
    }

    .serve-card h3 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-image-wrapper {
        order: -1;
    }

    .why-factory-img {
        height: 350px;
    }

    .why-image-placeholder {
        height: 350px;
    }

    .why-stats {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 20px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-line {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 15px;
        gap: 4px;
        flex-wrap: wrap;
        max-width: 95%;
    }

    .hero-dot {
        padding: 0 6px;
        height: 24px;
    }

    .hero-dot .dot-label {
        font-size: 0.5rem;
        letter-spacing: 0;
    }

    .hero-sport-tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .pillars-section {
        margin-top: 0;
        padding: 60px 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar-card {
        padding: 30px 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .serve-section,
    .products-section,
    .why-section,
    .process-section,
    .testimonials-section,
    .quality-section {
        padding: 60px 0;
    }

    .serve-card-content {
        padding: 30px 24px;
    }

    .products-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .tab-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px;
    }

    .quality-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quality-image-main {
        grid-column: auto;
    }

    .quality-image-main .quality-img {
        min-height: 250px;
    }

    .quality-image-small {
        flex-direction: row;
        height: auto;
    }

    .quality-image-small .quality-img {
        height: 150px;
        flex: 1;
    }

    .quality-placeholder.main {
        min-height: 250px;
    }

    .quality-placeholder.small-1,
    .quality-placeholder.small-2 {
        height: 150px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .contact-strip-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .contact-strip-item {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== AOS-like Scroll Animations ========== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
