/* about-section.css */

.ams-about-section {
    position: relative;
    padding: 100px 0 40px 0; /* Reduced bottom padding to fix huge gap to pipeline */
    background-color: var(--ams-white, #fff);
    font-family: var(--ams-body-font, sans-serif);
    overflow: hidden;
}

/* Background Accents */
.ams-about-bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--ams-primary-blue, #0E88D3);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.ams-about-container {
    max-width: var(--ams-container-width, 1320px);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.ams-about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.ams-about-col {
    flex: 1;
    min-width: 300px;
}

/* Image Side */
.ams-about-col-image {
    position: relative;
}

.ams-about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ams-about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 3;
}

.ams-about-image-decor-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--ams-primary-blue, #0E88D3) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
    opacity: 0.3;
}

.ams-about-image-decor-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--ams-light-gray, #F7F7F7);
    border-radius: 16px;
    z-index: 2;
}

/* Content Side */
.ams-about-col-content {
    max-width: 600px;
}

.ams-section-label {
    display: inline-block;
    color: var(--ams-accent-red, #F0274A);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

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

.ams-section-description {
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 40px;
}

/* Bullet Points */
.ams-about-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ams-about-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ams-dark-blue, #1357D5);
}

.ams-bullet-icon {
    color: var(--ams-accent-red, #F0274A);
    flex-shrink: 0;
}

/* CTA Area */
.ams-about-actions {
    margin-top: 15px;
}

.ams-about-actions .ams-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ams-accent-red, #F0274A);
    color: var(--ams-white, #fff);
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(240, 39, 74, 0.2);
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
}
.ams-about-actions .ams-btn:hover {
    background: #c01a37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 39, 74, 0.3);
}
.ams-about-actions .ams-btn svg {
    transition: transform 0.3s ease;
}
.ams-about-actions .ams-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive */

@media (max-width: 1024px) {
    .ams-about-row { gap: 40px; }
    .ams-section-heading { font-size: 32px; }
}

@media (max-width: 991px) {
    .ams-about-section { padding: 80px 0 40px 0; }
    .ams-about-row {
        flex-direction: column;
    }
    .ams-about-col-image, .ams-about-col-content {
        width: 100%;
        max-width: 100%;
    }
    .ams-about-image-wrapper { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 576px) {
    .ams-section-heading { 
        font-size: 24px; 
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .ams-section-description { 
        font-size: 15px; 
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .ams-about-bullets li {
        font-size: 16px;
        gap: 10px;
    }
    .ams-bullet-icon {
        width: 20px;
        height: 20px;
    }
    .ams-about-actions {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .ams-about-actions .ams-btn,
    .ams-about-actions .ams-btn-large {
        width: auto !important;
        padding: 16px 25px;
        font-size: 14px;
        letter-spacing: 0.5px;
        box-shadow: 0 6px 15px rgba(240, 39, 74, 0.2);
        border-radius: 50px;
        display: inline-flex !important;
    }
}
