/* ==========================================================================
   About College & Healthcare Leaders Section (Figma Pixel-Perfect Implementation)
   Matching Figma Node 26:16 (Rectangle 10) & Children 28:27, 28:31, 110:228, 26:18, 28:32
   ========================================================================== */

.gr-about-section {
    width: 100%;
    margin: 40px auto 0 auto;
    padding: 0 31px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.gr-about-card {
    background-color: #F6F7FF;
    width: 100%;
    max-width: 1539px;
    margin: 0 auto;
    position: relative;
    padding: 68px 51px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left Main Content Block (Headline + Bottom Row) */
.gr-about-left-block {
    display: flex;
    flex-direction: column;
}

/* 4-Line Figma Headline */
.gr-about-headline {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: clamp(32px, 3.4vw, 54px);
    font-weight: 400;
    line-height: 1.08;
    color: #000000;
    letter-spacing: -0.02em;
    margin: 0 0 36px 0;
    max-width: 960px;
}

.gr-about-headline .gr-text-blue {
    color: var(--gr-primary-blue, #2A3EC0);
    display: inline;
}

/* Bottom Content Area (OT Image + Text & Buttons) */
.gr-about-bottom-left-row {
    margin-top: 0;
}

/* OT Room Image (LHS 16:9 Thumbnail matching Figma) */
.gr-about-img-ot {
    width: 240px;
    height: 135px;
    flex-shrink: 0;
    overflow: hidden;
}

.gr-about-img-ot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gr-about-img-ot:hover img {
    transform: scale(1.05);
}

/* Description Text & Action Buttons (matching Figma) */
.gr-about-info-col {
    flex: 1;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
}

.gr-about-description {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #2b2b2b;
    margin: 0;
    max-width: 560px;
}

.gr-about-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.gr-about-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 38px;
    min-width: 116px;
    background-color: var(--gr-primary-blue, #2A3EC0);
    color: #FFFFFF;
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.gr-about-btn-primary:hover {
    background-color: #1e2fa0;
    transform: translateY(-1px);
}

.gr-about-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 38px;
    min-width: 116px;
    background-color: transparent;
    color: var(--gr-primary-blue, #2A3EC0);
    border: 1px solid var(--gr-primary-blue, #2A3EC0);
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.gr-about-btn-outline:hover {
    background-color: rgba(42, 62, 192, 0.08);
    transform: translateY(-1px);
}

/* Right Mosaic: Staggered Diagonal Arrangement matching Figma */
.gr-about-right-mosaic {
    width: 390px;
    height: 390px;
    position: relative;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Image 1: Doctor with Microscope (Top-Left: 195px x 195px) */
.gr-about-img-microscope {
    position: absolute;
    top: 0;
    left: 0;
    width: 195px;
    height: 195px;
    overflow: hidden;
}

.gr-about-img-microscope img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gr-about-img-microscope:hover img {
    transform: scale(1.05);
}

/* Image 2: Hospital Ward Beds (Bottom-Right: 195px x 195px) */
.gr-about-img-ward {
    position: absolute;
    top: 195px;
    left: 195px;
    width: 195px;
    height: 195px;
    overflow: hidden;
}

.gr-about-img-ward img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gr-about-img-ward:hover img {
    transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .gr-about-section {
        padding: 0 24px;
    }

    .gr-about-card {
        padding: 48px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }
    
    .gr-about-right-mosaic {
        width: 360px;
        height: 360px;
        align-self: center;
    }
    
    .gr-about-img-microscope {
        width: 180px;
        height: 180px;
    }
    
    .gr-about-img-ward {
        top: 180px;
        left: 180px;
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 1100px) {
    .gr-about-card {
        flex-direction: column;
        padding: 48px 24px;
    }
    
    .gr-about-right-mosaic {
        margin: 30px auto 0 auto;
        align-self: center;
    }
    
    .gr-about-bottom-left-row {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .gr-about-section {
        padding: 0 16px;
        margin: 24px auto 0 auto;
    }
    
    .gr-about-card {
        padding: 32px 16px;
    }
    
    .gr-about-img-ot {
        width: 100%;
        height: 200px;
    }
    
    .gr-about-right-mosaic {
        width: 280px;
        height: 280px;
    }
    
    .gr-about-img-microscope {
        width: 140px;
        height: 140px;
    }
    
    .gr-about-img-ward {
        top: 140px;
        left: 140px;
        width: 140px;
        height: 140px;
    }
    
    .gr-about-actions {
        flex-wrap: wrap;
    }
    
    .gr-about-btn-primary,
    .gr-about-btn-outline {
        width: 100%;
    }
}
