/* Custom Styles for Action ERA Section */

:root {
    --era-primary: #2FA8A1;
    /* Matches --primary-color */
    --era-secondary: #142B4F;
    /* Matches --secondary-color */
    --era-accent: #F28C28;
    /* Matches --tertiary-color */
    --era-bg-dark: #0f1f3a;
    --era-text-light: #ffffff;
}

#section-action-era {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--era-secondary) 0%, var(--era-bg-dark) 100%);
    color: var(--era-text-light);
}

/* Background Elements for Depth */
#section-action-era::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(47, 168, 161, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

#section-action-era .container {
    position: relative;
    z-index: 1;
}

/* Main Title Styling */
.era-title-container {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.era-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(to right, #fff, var(--era-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.era-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Image Container with Hover Effect */
.era-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.era-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(47, 168, 161, 0.3);
}

.era-image-wrapper img {
    transition: transform 0.7s ease;
    width: 100%;
    display: block;
}

.era-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Content Box Styling */
.era-content-box {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.era-highlight {
    display: flex;
    gap: 15px;
    font-size: var(--font-size-h4);
    font-weight: 700;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.era-word {
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.era-word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--era-accent);
    transition: width 0.3s ease;
}

.era-word:hover::after {
    width: 100%;
}

.era-word.empower {
    color: #fff;
}

.era-word.real {
    color: var(--era-primary);
}

.era-word.action {
    color: var(--era-accent);
}

.era-description {
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.era-description strong {
    color: var(--era-primary);
}

/* Button Styling Override */
.btn-era {
    background: var(--era-accent);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(242, 140, 40, 0.3);
}

.btn-era:hover {
    background: #fff;
    color: var(--era-accent);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(242, 140, 40, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .era-main-title {
        font-size: 2.5rem;
    }

    .era-content-box {
        margin-top: 30px;
    }
}