/* ==========================
   About Section Styles
   ========================== */

   .about-section {
    padding: 80px 0;
    background-color: #fdfdfa;
    position: relative;
    overflow: hidden;

    /* 👇 Add 3 background images (in order from topmost to bottom-most) */
    background-image: 
        url('../../images/top-left.png'),
        url('../../images/top-right.png'),
        url('../../images/bottom-right.png');

    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position:
        top left,
        bottom right,
        bottom right;

    background-size:
        800px auto,  /* adjust size as needed */
        400px auto,
        800px auto;
}

.about-section::before {
    top: -10%; /* Adjust position */
    left: -5%; /* Adjust position */
    background-position: top left;
     /* Optional fade effect using mask */
    mask-image: radial-gradient(circle at top left, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at top left, black 40%, transparent 80%);
}

.about-section::after {
    bottom: -10%; /* Adjust position */
    right: -5%; /* Adjust position */
    background-position: bottom right;
     /* Optional fade effect using mask */
    mask-image: radial-gradient(circle at bottom right, black 40%, transparent 80%);
     -webkit-mask-image: radial-gradient(circle at bottom right, black 40%, transparent 80%);
}

/* Ensure container content is above pseudo-elements */
.about-container {
    position: relative;
    z-index: 1;
}

.about-content-wrapper {
    position: relative;
    padding-left: 60px; /* Space for the vertical bar */
}

/* Vertical Accent Bar Styling */
.vertical-accent-bar {
    position: absolute;
    left: 10px; /* Position from the left edge of the wrapper */
    top: 0;
    bottom: 0; /* Stretch vertically */
    width: 50px; /* Total width: 16px blue + 4px gap + 6px yellow */
    display: flex;
    padding: 15px 0; /* Add some vertical padding inside the bar */
    box-sizing: border-box; /* Include padding in height calculation */
}

.vertical-accent-bar > div {
     border-radius: 10px; /* Rounded corners */
     height: 100%; /* Fill the padded height */
}

.bar-blue {
    background-color: #3498db; /* Blue */
    width: 40px;
}

.bar-yellow {
    background-color: #f1c40f; /* Yellow/Gold */
    width: 8px;
    margin-right: 4px; /* Space between blue and yellow */
}

/* Content Grid Layout */
.about-grid {
    display: grid;
    /* Two equal columns */
    grid-template-columns: repeat(2, 1fr);
    /* Define rows implicitly, control gaps */
    gap: 40px 30px; /* Row gap, Column gap */
    align-items: center; /* Vertically align items in the first row */
    margin-left: 10px;
}

.about-image {
    /* Span 1 column (default), placed by grid order */
    grid-row: 1 / 2; /* Explicitly place in first row */
    grid-column: 1 / 2; /* Explicitly place in first column */
}

.about-image img {
    max-width: 90%;
    height: auto;
    margin: auto;
    display: block;
    margin-top: 10px;
    border-radius: 5px; /* Optional: slight rounding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

.about-text-main {
    /* Span 1 column (default), placed by grid order */
    grid-row: 1 / 2; /* Explicitly place in first row */
    grid-column: 2 / 3; /* Explicitly place in second column */
    color: #333; /* Darker text color on light background */
}

.about-text-main .subheading {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888; /* Grey color for subheading */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-text-main h2 {
    font-size: 2.2rem; /* Adjust size */
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #222; /* Very dark grey/black */
}

.about-button {
    background-color: #3498db; /* Blue */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #2980b9; /* Darker blue */
}

/* Bottom Row Columns */
.about-column {
    color: #555; /* Standard text color */
    max-width: 500px;
}

.about-inline{
    display: flex;
    gap: 80px;
    margin-left: 40px;
    margin-top: 30px;
}

.about-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
}

.about-column p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .about-section {
        padding: 60px 0;
        
        background-size:
            700px auto,  /* adjust size as needed */
            400px auto,
            700px auto;
    }
}
@media (max-width: 768px) {
    .about-image img{
        max-width:100%;
    }
    
    .about-text-main h2{
        font-size: 1.6rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
     .about-content-wrapper {
        padding-left: 0; /* Remove padding */
    }
    .vertical-accent-bar {
       display: none; /* Hide the bar entirely on small screens */
    }
     .about-image {
        max-width: 90%;
    }
    
    .about-inline{
        gap: 20px;
        margin-left: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 426px) {
    .about-section {
        padding: 30px 0;
        
        background-size:
            500px auto,  /* adjust size as needed */
            350px auto,
            500px auto;
    }
    
    .about-text-main h2 {
        font-size: 1.2rem;
    }
    
    .about-button{
        padding: 10px 14px;
        font-size: 0.8rem;
    }

}

@media (max-width: 376px) {
    .about-inline {
        margin-left: 10px;
    }
    .about-column h3{
        font-size: 1rem;
    }
    .about-column p{
        font-size: 0.8rem;
    }
    .about-grid{
        gap: 40px 10px;
    }
}