/* 
 * Elraed Custom Shortcodes Styles
 * Version: 1.0.0
 */

/* ===== BUTTON STYLES ===== */
.elraed-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.elraed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Button Styles */
.elraed-btn-primary {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.elraed-btn-primary:hover {
    background: #005a8b;
    border-color: #005a8b;
    color: white;
}

.elraed-btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.elraed-btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    color: white;
}

.elraed-btn-success {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.elraed-btn-success:hover {
    background: #1e7e34;
    border-color: #1e7e34;
    color: white;
}

.elraed-btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.elraed-btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
    color: white;
}

.elraed-btn-light {
    background: white;
    color: #333;
    border-color: #dee2e6;
}

.elraed-btn-light:hover {
    background: #f8f9fa;
    color: #333;
}

/* Button Sizes */
.elraed-btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.elraed-btn-medium {
    padding: 12px 24px;
    font-size: 14px;
}

.elraed-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== ALERT STYLES ===== */
.elraed-alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin: 15px 0;
    position: relative;
    border-left: 4px solid;
}

.elraed-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.elraed-alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.elraed-alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.elraed-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.elraed-alert-dismissible {
    padding-right: 50px;
}

.elraed-alert-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.elraed-alert-close:hover {
    opacity: 1;
}

/* ===== CARD STYLES ===== */
.elraed-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.elraed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.elraed-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.elraed-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.elraed-card-content {
    padding: 20px;
}

.elraed-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.elraed-card-text {
    color: #666;
    line-height: 1.6;
}

/* ===== TESTIMONIAL STYLES ===== */
.elraed-testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.elraed-testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    color: #007cba;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-position {
    color: #666;
    font-size: 14px;
}

/* ===== PRICING STYLES ===== */
.elraed-pricing {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.elraed-pricing:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.elraed-pricing-featured {
    border: 3px solid #007cba;
    transform: scale(1.05);
}

.elraed-pricing-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #007cba;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    background: #f8f9fa;
    padding: 30px 20px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007cba;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    padding: 30px 20px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 20px;
    background: #f8f9fa;
}

/* ===== COUNTER STYLES ===== */
.elraed-counter {
    text-align: center;
    margin-bottom: 30px;
}

.elraed-counter i {
    font-size: 3rem;
    color: #007cba;
    margin-bottom: 20px;
    display: block;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1;
}

.counter-title {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* ===== PROGRESS STYLES ===== */
.elraed-progress {
    margin-bottom: 30px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.progress-percentage {
    color: #007cba;
    font-weight: 600;
}

.progress-bar {
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== CTA STYLES ===== */
.elraed-cta {
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.elraed-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: cta-glow 4s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== TEAM MEMBER STYLES ===== */
.elraed-team-member {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.elraed-team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.elraed-team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px 20px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.team-position {
    color: #007cba;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #007cba;
    color: white;
    transform: translateY(-3px);
}

/* ===== FEATURE BOX STYLES ===== */
.elraed-feature-box {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.elraed-feature-default {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.elraed-feature-centered {
    text-align: center;
}

.elraed-feature-boxed {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.elraed-feature-boxed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 3rem;
    color: #007cba;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* ===== TABS STYLES ===== */
.elraed-tabs {
    margin-bottom: 30px;
}

.elraed-tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.elraed-tab-nav li {
    margin-right: 5px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-button:hover,
.tab-button.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.elraed-tab-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #f0f0f0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ===== ACCORDION STYLES ===== */
.elraed-accordion {
    margin-bottom: 30px;
}

.elraed-accordion-item {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

.elraed-accordion-item.active .accordion-header {
    background: #007cba;
    color: white;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.elraed-accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.elraed-accordion-item.active .accordion-content {
    display: block;
}

.accordion-body {
    padding: 20px;
    color: #666;
    line-height: 1.6;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .elraed-cta {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }
    
    .elraed-feature-default {
        flex-direction: column;
        text-align: center;
    }
    
    .elraed-tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .elraed-btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .elraed-cta {
        padding: 30px 15px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .elraed-card-content,
    .elraed-testimonial,
    .team-info,
    .elraed-feature-boxed {
        padding: 20px 15px;
    }
}

/* ===== NEW ENHANCED PAGE SHORTCODES STYLES ===== */

/* ===== RESPONSIVE TYPOGRAPHY OVERRIDES ===== */
:root {
    --fs-xs: clamp(0.7rem, 0.68rem + 0.18vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.76rem + 0.25vw, 0.9rem);
    --fs-md: clamp(0.9rem, 0.85rem + 0.35vw, 1.0rem);
    --fs-lg: clamp(1.0rem, 0.95rem + 0.5vw, 1.2rem);
    --fs-xl: clamp(1.2rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1.5vw, 2.2rem);
    --fs-3xl: clamp(1.8rem, 1.4rem + 2.4vw, 2.8rem);
}

.elraed-card-title,
.pricing-title,
.team-name,
.feature-title,
.cta-title {
    font-size: var(--fs-xl);
    line-height: 1.3;
}

.amount,
.counter-number {
    font-size: var(--fs-3xl);
    line-height: 1.1;
}

.testimonial-content,
.elraed-card-text,
.team-bio,
.feature-description,
.cta-text,
.accordion-body,
.pricing-features li {
    font-size: var(--fs-md);
    line-height: 1.7;
}

.author-name,
.team-position,
.counter-title,
.progress-label,
.progress-percentage,
.period,
.author-position {
    font-size: var(--fs-sm);
}

.elraed-btn,
.elraed-btn-medium,
.elraed-btn-large,
.tab-button,
.accordion-header {
    font-size: var(--fs-sm);
}

.elraed-btn-small {
    font-size: var(--fs-xs);
}

