/*   ABOUT SECTION: 

*/

.about-section {
    background-color: #1a2035; /* Dark blue background matching the image */
    color: #e2e8f0;
    padding: 4rem 2rem;
    font-family: sans-serif;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & Colors */
.about-text h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.accent-text {
    color: #f59e0b; /* Orange accent */
}

.about-text > p {
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.6;
    color: #94a3b8;
}

/* Flexbox Layout for Rows */
.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
}

.content-text {
    flex: 1 1 400px; /* Grows and shrinks, base width 400px */
}

.content-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: flex-start; /* Aligns image to the left of its container */
    
}

.content-image .about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Softens the image edges */
    object-fit: cover;
}

/* Decorative Heading Borders */
.content-text h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #f59e0b; /* Orange left border */
}

.content-text p {
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Custom Checkmark Lists */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

/* Adds the orange checkmark */
.features-list li::before {
    content: '✔'; 
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-size: 1.1rem;
}

/* ------------------------------
   RESPONSIVE MEDIA QUERIES
--------------------------------*/
@media (max-width: 850px) {
    .content-row {
        /* Stacks the text and image on tablets and mobile */
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .content-image {
        max-height: 300px; /* Slightly shorter images on mobile */
    }
}
