/* Modern Card-Based Layout Styles */
/* Container Width Restrictions */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content-section .container {
    max-width: 1000px;
}

.content-hero-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 80, 162, 0.15);
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-text-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 450px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--rotary-gold) 0%, #e09400 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rotary-dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-content .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--rotary-blue);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 80, 162, 0.8) 0%, rgba(247, 168, 27, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.overlay-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Cards Grid */
.feature-cards-grid {
    margin: 60px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 80, 162, 0.2);
    border-left-color: var(--rotary-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--rotary-blue) 0%, var(--rotary-dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--rotary-gold) 0%, #e09400 100%);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--rotary-dark-blue);
    margin-bottom: 15px;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--rotary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link:hover {
    color: var(--rotary-gold);
    transform: translateX(5px);
}

.feature-link i {
    transition: transform 0.3s ease;
}

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

/* CTA Banner */
.cta-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 60px 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 80, 162, 0.9) 0%, rgba(1, 87, 155, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    color: white;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

.btn-cta-primary {
    background: var(--rotary-gold);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-right: 15px;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary:hover {
    background: #e09400;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247, 168, 27, 0.4);
    color: white;
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 13px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--rotary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for New Layout */
@media (max-width: 768px) {
    .hero-text-content {
        padding: 40px 30px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-text-content h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .feature-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .cta-content {
        padding: 40px 20px;
        text-align: center;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
}
