/* hero-slider.css - Polish Phase 2 */

.ams-hero-section {
    position: relative;
    width: 100%;
    background: var(--ams-light-gray, #F7F7F7);
    font-family: var(--ams-body-font, sans-serif);
    padding-bottom: 60px;
    overflow: hidden;
}

/* Background Shapes */
.ams-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.ams-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}
.ams-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--ams-primary-blue, #0E88D3);
    top: -200px;
    left: -200px;
}
.ams-shape-2 {
    width: 500px;
    height: 500px;
    background: var(--ams-accent-red, #F0274A);
    bottom: -100px;
    right: 20%;
    opacity: 0.1;
}

/* Swiper Container */
.ams-hero-swiper {
    width: 100%;
    height: 780px; /* Exact height for Desktop */
    position: relative;
    z-index: 5;
}

.ams-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Full Bleed Image */
.ams-slide-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Gradient Blend to merge image with solid left side */
.ams-slide-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, var(--ams-light-gray, #F7F7F7) 45%, rgba(247, 247, 247, 0.9) 50%, transparent 65%);
}

/* Inner Container for Content */
.ams-slide-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: var(--ams-container-width, 1320px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.ams-slide-content {
    width: 50%; /* Content area */
    max-width: 700px;
}

/* Typography */
.ams-slide-label {
    display: inline-block;
    background: var(--ams-accent-red, #F0274A);
    color: var(--ams-white, #fff);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(240, 39, 74, 0.3);
}

.ams-slide-heading {
    font-family: var(--ams-heading-font, sans-serif);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ams-dark-blue, #1357D5);
    margin-top: 0;
    margin-bottom: 25px;
}

.ams-slide-description {
    font-size: 20px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 40px;
}

.ams-slide-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.ams-btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ams-btn-primary {
    background: var(--ams-accent-red, #F0274A);
    color: var(--ams-white, #fff);
    box-shadow: 0 10px 25px rgba(240, 39, 74, 0.35);
    border: none;
}
.ams-btn-primary:hover {
    background: #d01d3c;
    color: var(--ams-white, #fff);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(240, 39, 74, 0.45);
}

.ams-btn-outline {
    background: var(--ams-white, #fff);
    color: var(--ams-dark-blue, #1357D5);
    border: 2px solid var(--ams-primary-blue, #0E88D3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ams-btn-outline:hover {
    background: var(--ams-white, #fff);
    border-color: var(--ams-dark-blue, #1357D5);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Swiper Overrides */
.swiper-button-next, .swiper-button-prev {
    color: var(--ams-dark-blue, #1357D5);
    background: var(--ams-white, #fff);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 22px;
    font-weight: 900;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.1);
    color: var(--ams-accent-red, #F0274A);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.swiper-button-prev { left: 30px; }
.swiper-button-next { right: 30px; }

/* Trust Bar */
.ams-hero-trust-bar {
    max-width: var(--ams-container-width, 1320px);
    margin: -50px auto 0;
    position: relative;
    z-index: 20;
    padding: 0 20px;
}

.ams-hero-trust-bar-inner {
    background: var(--ams-white, #fff);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 35px;
    gap: 20px;
}

.ams-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px;
    border-right: 1px solid #edf2f7;
}
.ams-hero-trust-item:last-child {
    border-right: none;
}

.ams-hero-trust-icon {
    width: 54px;
    height: 54px;
    background: var(--ams-light-gray, #F7F7F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ams-primary-blue, #0E88D3);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.ams-hero-trust-item:hover .ams-hero-trust-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--ams-primary-blue, #0E88D3);
    color: var(--ams-white, #fff);
}

.ams-hero-trust-icon svg {
    width: 26px;
    height: 26px;
}

.ams-hero-trust-text {
    font-weight: 800;
    font-size: 17px;
    color: var(--ams-dark-blue, #1357D5);
    line-height: 1.3;
}

/* =========================================
   RESPONSIVE
========================================= */

/* 1366px */
@media (max-width: 1366px) {
    .ams-slide-heading { font-size: 56px; }
}

/* 1024px (Tablet Landscape) */
@media (max-width: 1024px) {
    .ams-hero-swiper { height: 650px; }
    .ams-slide-heading { font-size: 48px; letter-spacing: -1px; }
    .ams-slide-description { font-size: 18px; }
    .ams-slide-content { width: 55%; }
    .ams-slide-bg-image { width: 50%; }
    .ams-hero-trust-bar-inner { grid-template-columns: repeat(2, 1fr); padding: 25px; }
    .ams-hero-trust-item:nth-child(2) { border-right: none; }
    .ams-hero-trust-item:nth-child(3), .ams-hero-trust-item:nth-child(4) { padding-top: 20px; border-top: 1px solid #edf2f7; }
}

/* 768px (Tablet Portrait / Mobile Landscape) */
@media (max-width: 768px) {
    .ams-hero-swiper { height: auto; }
    .ams-slide-inner {
        align-items: flex-start;
        padding-top: 350px; /* space for absolute image */
        padding-bottom: 80px;
    }
    .ams-slide-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .ams-slide-bg-image {
        width: 100%;
        height: 400px;
        right: 0;
        top: 0;
    }
    .ams-slide-blend {
        background: linear-gradient(to bottom, transparent 30%, var(--ams-light-gray, #F7F7F7) 380px);
    }
    .ams-slide-actions { justify-content: center; }
    .swiper-button-next, .swiper-button-prev { display: none; }
}

/* 480px & 390px (Mobile) */
@media (max-width: 576px) {
    .ams-slide-inner { padding-top: 300px; }
    .ams-slide-bg-image { height: 350px; }
    .ams-slide-blend { background: linear-gradient(to bottom, transparent 20%, var(--ams-light-gray, #F7F7F7) 330px); }
    
    .ams-slide-heading { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 20px; line-height: 1.1; }
    .ams-slide-description { font-size: 16px; margin-bottom: 30px; }
    .ams-btn { width: 100%; padding: 16px; font-size: 15px; }
    
    .ams-hero-trust-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 10px;
    }
    .ams-hero-trust-item {
        flex-direction: column;
        text-align: center;
        border: none !important;
        padding: 10px 5px;
        gap: 8px;
    }
    .ams-hero-trust-icon {
        width: 44px;
        height: 44px;
    }
    .ams-hero-trust-icon svg {
        width: 20px;
        height: 20px;
    }
    .ams-hero-trust-text {
        font-size: 13px;
    }
}
