/* About Section Enhancements */
#about {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    /* Increased gap for breathing room */
    align-items: center;
}

/* Image Column (Left) */
.about-image-wrapper {
    position: relative;
    padding-left: var(--spacing-lg);
    /* Space for offset element if needed */
    padding-bottom: var(--spacing-lg);
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background-color: #fff;
    /* In case of transparency or loading */
}

/* Decorative Pattern Behind Image */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.6;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 30px;
    /* Offset from right edge of container */
    width: 200px;
    height: 200px;
    background-color: var(--accent-light);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
    filter: blur(40px);
}

/* Text Column (Right) */
.about-section .section-title {
    font-size: clamp(1.25rem, 3.5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
}

.about-intro-text {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    /* Assuming typical text color */
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Principles Grid */
.about-principles {
    margin-bottom: var(--spacing-lg);
}

.about-principles h3 {
    font-size: var(--font-size-h4);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Column Grid for items */
    gap: var(--spacing-md) var(--spacing-lg);
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.principle-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    /* Align with first line of text */
}

.principle-text {
    font-weight: 500;
    color: var(--text-color);
}

/* CQC Compliance Box */
.cqc-box {
    background-color: #f8fcf9;
    /* Very light green */
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-top: var(--spacing-lg);
}

.cqc-statement {
    margin: 0;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
    line-height: 1.5;
}

.cqc-label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        gap: var(--spacing-xl);
    }

    .about-intro-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image-wrapper {
        order: -1;
        /* Image first on mobile */
        margin-bottom: var(--spacing-md);
        /* Reduced gap */
        padding: 0;
        max-width: 100%;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
    }

    .about-image-wrapper::before {
        display: none;
        /* Remove decorative pattern on mobile */
    }

    .about-image-wrapper::after {
        display: none;
        /* Remove decorative blur on mobile */
    }

    /* Text adjustments */
    .about-text {
        text-align: left;
        /* Keep left-aligned for readability */
    }

    .about-intro-text {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }

    .about-principles h3 {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-sm);
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .principle-item {
        gap: 12px;
        padding: var(--spacing-xs) 0;
    }

    .principle-icon {
        width: 18px;
        height: 18px;
        margin-top: 2px;
    }

    .principle-text {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    /* CQC Box mobile optimization */
    .cqc-box {
        padding: var(--spacing-sm) var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .cqc-label {
        font-size: 10px;
    }

    .cqc-statement {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-image img {
        max-height: 280px;
    }

    .about-intro-text {
        font-size: 0.875rem;
    }

    .about-principles h3 {
        font-size: 1rem;
    }

    .principle-text {
        font-size: 0.875rem;
    }

    .cqc-box {
        padding: var(--spacing-sm);
    }

    .cqc-statement {
        font-size: 0.8125rem;
    }
}