/* --- About Section Styles --- */
.about-section {
    background-color: rgba(0, 0, 0, 0.562);
    color: var(--text-color-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}
/* Styles for the bottom glow effect */
        .bottom-glow-effect {
            position: absolute; /* Position relative to .image-and-glow-container */
            bottom: 5px; /* Position at the bottom of the image-and-glow-container */
            width: 45%; /* Percentage width relative to its parent container */
            max-width: calc(var(--image-max-width) + 150px); /* Make glow wider than the image */
            left: 50%; /* Center the glow horizontally */
            transform: translateX(-50%); /* Adjust for perfect centering */
            height: 60px; /* Make the glow slightly taller for a more diffused look */
            background: rgb(0, 85, 255); /* The exact blue glow color */
            border-radius: 50%; /* Makes the glow elliptical/rounded */
            filter: blur(55px); /* Increased blur significantly for a softer, more diffused effect */
            opacity: 0.6; /* Adjust opacity for a subtle glow */
            z-index: -1; /* Places the glow behind the image */
        }
        /* New wrapper for image and glow together */
        .image-and-glow-container {
            position: relative; /* Establishes positioning context for the absolute glow */
            width: 100%; /* Takes full width of parent .about-container */
            max-width: calc(var(--image-max-width) + 100px); /* Slightly wider than the image to allow glow to extend beyond */
            display: flex; /* To center the image-wrapper within it */
            justify-content: center;
            align-items: center;
            padding-bottom: 50px; /* Add space below for the glow to appear without overlapping content */
            /* No overflow: hidden here, crucial for glow to extend outside its bounds */
        }

        /* Responsive adjustments for smaller screens */
        @media (max-width: 768px) {

            .image-and-glow-container {
                max-width: 95%; /* Adjust container max-width for smaller screens */
                padding-bottom: 40px; /* Less padding on small screens */
            }

            .bottom-glow-effect {
                bottom: 0px; /* Adjust glow position */
                height: 50px; /* Adjust glow height */
                max-width: calc(100% + 100px); /* Allow glow to be wider than image on smaller screens */
                filter: blur(45px); /* Slightly less blur for smaller screens */
            }
        }

.about-container {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Consider var(--container-width-lg) */
    gap: 2.5rem; /* var(--spacing-xl) */
    padding: 30px 0px;
    box-sizing: border-box;
}

.about-image-wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm); /* Using CSS variable */
    object-fit: cover;
    border: 8px solid rgb(22, 22, 22);
}

.about-content {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem; /* var(--spacing-md) */
    box-sizing: border-box;
    text-align: left;
}

.about-tag-button-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.about-tag-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    background-color: var(--bg-dark-transparent); /* Using defined var */
    padding: 10px 20px;
    border-radius: 20px;
    height: 40px;
    border: 1px solid var(--border-color-light);
    color: var(--text-color-light);
    white-space: nowrap;
}

.about-headline-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* var(--spacing-xs) */
    width: 100%;
}

.about-headline {
    color: var(--text-color-light);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    white-space: normal;
}

.about-subheadline {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color-dark-transparent);
    line-height: var(--line-height-tight);
}

.about-description-group {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* var(--spacing-sm) */
    width: 100%;
}

.description-subheading { /* This class seems specific to about section */
    color: var(--text-color-medium);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    margin-top: 15px;
}

.about-description-text {
    color: var(--text-color-dark-transparent);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
}

.about-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem; /* var(--spacing-md) */
    padding-top: 1rem; /* var(--spacing-sm) */
    width: 100%;
}

.about-main-cta {
    background-color: rgb(0, 85, 255);
    color: var(--text-color-light);
    font-weight: var(--font-weight-bold);
    padding: 0.85rem 1.8rem;
    border-radius: var(--border-radius-full);
    position: relative;
    transition: all var(--transition-speed-normal) ease-in-out; /* Using CSS variable */
    outline: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    white-space: nowrap;
    text-decoration: none;
}

.about-main-cta:hover {
    box-shadow: 0 0 15px rgba(0,85,255,0.8), inset 0 0 0.55em 0 #ffffff;
                scale: 1.05;
}

/* --- Responsive Styles --- */

/* About Section Responsive */
@media (min-width: 1024px) {
    .about-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4rem; /* var(--spacing-lg) potentially */
        padding: 70px 0;
    }
    .about-container.about-container-reverse { /* Added .about-container-reverse here */
        flex-direction: row-reverse;
    }
    .about-image-wrapper {
        flex: 1;
        max-width: 600px;
    }
    .about-content {
        flex: 1;
        max-width: 50%;
        padding: 0;
        align-items: flex-start;
        text-align: left;
    }
    .about-headline {
        font-size: var(--font-size-xl);
        white-space: nowrap;
    }
    .about-subheadline {
        font-size: var(--font-size-xl);
    }
}

@media (min-width: 1400px) { /* This was nested, should be top-level */
    .about-container {
        max-width: 1400px; /* var(--container-width-xl) */
        padding: 70px 50px;
    }
}

@media (max-width: 1023px) { /* To handle styles before 1024px for about section */
    .about-image-wrapper {
        max-width: 500px; /* Default from non-responsive part */
    }
}


@media (max-width: 767px) { /* About section mobile */
    .about-content {
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }
    .about-tag-button-wrapper {
        justify-content: center;
    }
    .about-description-text {
        font-size: var(--font-size-sm); /* Default, no change needed from base */
    }
    .about-cta-group {
        align-items: center;
    }
}

@media (min-width: 768px) { /* About section tablet specific, if any */
    /* .about-headline - already handled by min-width: 1024px for nowrap, size changes there too */
    /* .about-subheadline - already handled by min-width: 1024px for size */
    .about-description-text {
        font-size: var(--font-size-md);
    }
}


@media (min-width: 640px) { /* About CTA group responsive */
    .about-cta-group {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        /* gap: 1.5rem; */ /* Already defined in base */
    }
}

.fade-in-element{
opacity:0;
transform:translateY(20px);
transition: opacity 0.8s ease-out,transform 0.8s ease-out;
}
.fade-in-element.is-visible{
opacity: 1;
transform: translateY(0);
}