/* SMC Homepage Specific Styles - Premium Revamp */

#smc-home-wrapper {
    overflow-x: hidden;
    background-color: var(--smc-bg-body);
    width: 100% !important;
}

/* Ensure Avada wrapper doesn't restrict full width on this page */
.page-template-template-home #wrapper,
.page-template-template-home #main {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: var(--smc-bg-body) !important;
}

/* Hero Slider Section */
.smc-hero-slider {
    position: relative;
    min-height: 90vh;
    background: radial-gradient(circle at 0% 0%, #a12329 0%, #0e7673 100%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.smc-slide-container {
    display: flex;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.smc-hero-content {
    flex: 0 0 55%;
    z-index: 10;
}

.smc-hero-title {
    font-family: var(--smc-font-heading);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    color: #fff;
    text-transform: capitalize;
}

.smc-hero-subtitle {
    font-family: var(--smc-font-body);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.smc-hero-actions {
    display: flex;
    gap: 20px;
}

/* Buttons */
.smc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: var(--smc-font-heading);
    letter-spacing: 0.5px;
}

.smc-btn-primary {
    background: #fff;
    color: var(--smc-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.smc-btn-primary:hover {
    background: var(--smc-gold);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 137, 0, 0.3);
}

/* Services Section */
.smc-services-section {
    padding: 140px 0;
    background-color: var(--smc-bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.smc-section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--smc-text-main);
    margin-bottom: 20px;
    font-family: var(--smc-font-heading);
    letter-spacing: -1px;
}

.smc-section-desc {
    font-size: 20px;
    color: var(--smc-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.smc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
}

.smc-service-card {
    background: var(--smc-bg-surface);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid var(--smc-border-light);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.smc-service-card:hover {
    transform: translateY(-15px);
    border-color: var(--smc-teal);
    box-shadow: 0 30px 60px rgba(14, 118, 115, 0.1);
}

.smc-service-icon {
    width: 70px;
    height: 70px;
    background: rgba(14, 118, 115, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--smc-teal);
    transition: all 0.3s ease;
}

.smc-service-icon i {
    width: 32px;
    height: 32px;
}

.smc-service-card:hover .smc-service-icon {
    background: var(--smc-teal);
    color: #fff;
    transform: rotate(10deg);
}

.smc-service-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--smc-text-main);
    margin-bottom: 20px;
    font-family: var(--smc-font-heading);
}

.smc-service-card p {
    color: var(--smc-text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.smc-link-btn {
    text-decoration: none;
    color: var(--smc-teal);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-family: var(--smc-font-heading);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.smc-link-btn i {
    width: 16px;
    height: 16px;
}

.smc-link-btn:hover {
    gap: 18px;
    color: var(--smc-red);
}

/* Resources Section */
.smc-resources-section {
    padding: 100px 0;
}

.smc-resources-content {
    display: flex;
    align-items: center;
    gap: 80px;
    background: var(--smc-bg-surface);
    border-radius: 40px;
    padding: 80px;
    border: 1px solid var(--smc-border-light);
    box-shadow: var(--smc-shadow-subtle);
}

.smc-resource-featured h3 {
    font-size: 42px;
    font-family: var(--smc-font-heading);
    color: var(--smc-text-main);
    margin-bottom: 25px;
    font-weight: 800;
}

.resource-tag {
    background: var(--smc-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 1px;
}

.smc-resource-image img {
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.smc-resource-image:hover img {
    transform: scale(1.03);
}

/* Testimonials Section */
.smc-testimonials-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #0e7673 0%, #084846 100%);
    position: relative;
    overflow: hidden;
}

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

.smc-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.smc-testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--smc-font-body);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-right: 20px;
}

.testimonial-author h4 {
    color: #fff;
    font-family: var(--smc-font-heading);
    font-size: 18px;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .smc-hero-title {
        font-size: 56px;
    }

    .smc-resources-content {
        padding: 60px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {

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

    .smc-hero-content {
        flex: 0 0 100%;
        text-align: center;
    }

    .smc-hero-subtitle {
        margin: 0 auto 30px;
    }

    .smc-hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .smc-services-grid,
    .smc-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .smc-hero-title {
        font-size: 42px;
    }

    .smc-resources-content {
        flex-direction: column;
        text-align: center;
    }

    .smc-section-title {
        font-size: 36px;
    }
}