/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes aboutSlideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutSlideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-anim-left {
    opacity: 0;
    transform: translateX(-30px);
}

.about-anim-left.about-visible {
    animation: aboutSlideInFromLeft 0.8s ease forwards;
}

.about-anim {
    opacity: 0;
    transform: translateY(30px);
}

.about-anim.about-visible {
    animation: aboutSlideInFromBottom 0.8s ease forwards;
}

.about-anim-delay-1 {
    animation-delay: 0.1s;
}

.about-anim-delay-2 {
    animation-delay: 0.2s;
}

.about-anim-delay-3 {
    animation-delay: 0.3s;
}

.about-anim-delay-4 {
    animation-delay: 0.4s;
}

.about-anim-delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   HERO SECTION
   ============================================ */

.about-hero-section {
    position: relative;
    margin: 0 40px;
    height: 700px;
    overflow: visible;
    border-radius: 24px;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(74, 51, 44, 0.85) 0%, rgba(74, 51, 44, 0.5) 50%, rgba(74, 51, 44, 0.2) 100%);
    border-radius: 24px;
    z-index: 1;
}

.about-hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-left: 86px;
    height: 100%;
    display: flex;
    align-items: center;
}

.about-hero-content {
    max-width: 480px;
    padding: 60px 0;
}

.about-hero-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 20px;
}

.about-hero-divider {
    width: 60px;
    height: 3px;
    background-color: #8D6E63;
    border-radius: 2px;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
}

/* Contact Info */
.about-hero-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-hero-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-hero-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-hero-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-hero-contact-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.about-hero-contact-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-hero-contact-value:hover {
    color: #CFC2BB;
}

/* ============================================
   STATS SECTION (Floating Cards)
   ============================================ */

.about-stats-section {
    position: relative;
    margin: -80px 80px 0;
    z-index: 10;
    padding-bottom: 64px;
}

.about-stats-wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-stat-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.about-stat-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #8D6E63;
    line-height: 1.2;
    margin: 0;
}

.about-stat-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.3;
    margin: 0;
}

.about-stat-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #6C7A89;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   STORY SECTION
   ============================================ */

.about-story-section {
    background-color: #ffffff;
    padding: 64px 48px;
}

.about-story-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: center;
}

/* Single-column variant — used when the section has no image column */
.about-story-wrapper.about-story-wrapper--single {
    grid-template-columns: 1fr;
    max-width: 880px;
    text-align: center;
}

.about-story-wrapper--single .about-story-badge,
.about-story-wrapper--single .about-story-team {
    align-self: center;
    justify-content: center;
}

.about-story-wrapper--single .about-story-divider {
    margin-left: auto;
    margin-right: auto;
}

/* The callout keeps a left-aligned edge so its gold border reads correctly */
.about-story-wrapper--single .about-story-highlight {
    text-align: left;
}

/* ============================================
   STORY SECTION — feature treatment
   Soft translucent gradient wash + vector art
   ============================================ */

.about-story-section--feature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 72px;
    padding: 96px 48px 104px;
    background:
        /* warm translucent light pools */
        radial-gradient(ellipse 60% 50% at 12% 8%, rgba(201, 168, 76, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 92%, rgba(141, 110, 99, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.75) 0%, transparent 70%),
        /* base wash */
        linear-gradient(155deg, #FDF9F6 0%, #F8EFE8 45%, #F3E6DC 100%);
}

/* Hairline gradient rules top and bottom to frame the band */
.about-story-section--feature::before,
.about-story-section--feature::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.45) 50%, transparent 100%);
    z-index: 1;
}
.about-story-section--feature::before { top: 0; }
.about-story-section--feature::after { bottom: 0; }

/* Vector layer */
.about-story-vectors {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-story-vector {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Concentric rings — top left */
.about-story-vector--rings {
    top: -70px;
    left: -80px;
    width: 340px;
    height: 340px;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><circle cx='100' cy='100' r='42' stroke='%238D6E63' stroke-opacity='0.30' stroke-width='1'/><circle cx='100' cy='100' r='62' stroke='%238D6E63' stroke-opacity='0.24' stroke-width='1'/><circle cx='100' cy='100' r='82' stroke='%23C9A84C' stroke-opacity='0.32' stroke-width='1.2'/><circle cx='100' cy='100' r='99' stroke='%23C9A84C' stroke-opacity='0.18' stroke-width='1'/></svg>");
}

/* Soft leaf / petal motif — bottom right */
.about-story-vector--leaf {
    right: -90px;
    bottom: -90px;
    width: 380px;
    height: 380px;
    opacity: 0.55;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><path d='M100 18 Q152 62 152 100 T100 182 Q48 138 48 100 T100 18' stroke='%23C9A84C' stroke-opacity='0.34' stroke-width='1.3'/><path d='M100 46 Q132 72 132 100 T100 154 Q68 128 68 100 T100 46' stroke='%238D6E63' stroke-opacity='0.26' stroke-width='1.1'/><path d='M100 74 Q114 86 114 100 T100 126 Q86 114 86 100 T100 74' stroke='%23C9A84C' stroke-opacity='0.28' stroke-width='1'/></svg>");
}

/* Wide sweeping arc — right side */
.about-story-vector--arc {
    top: 8%;
    right: -140px;
    width: 460px;
    height: 460px;
    opacity: 0.45;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><path d='M10 190 Q40 40 190 12' stroke='%238D6E63' stroke-opacity='0.22' stroke-width='1.2'/><path d='M28 192 Q58 58 192 32' stroke='%23C9A84C' stroke-opacity='0.26' stroke-width='1.2'/></svg>");
}

/* Scattered dot grid — bottom left */
.about-story-vector--dots {
    left: 3%;
    bottom: 8%;
    width: 190px;
    height: 190px;
    opacity: 0.45;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='%238D6E63' fill-opacity='0.30'><circle cx='10' cy='10' r='2'/><circle cx='34' cy='10' r='2'/><circle cx='58' cy='10' r='2'/><circle cx='82' cy='10' r='2'/><circle cx='10' cy='34' r='2'/><circle cx='34' cy='34' r='2'/><circle cx='58' cy='34' r='2'/><circle cx='82' cy='34' r='2'/><circle cx='10' cy='58' r='2'/><circle cx='34' cy='58' r='2'/><circle cx='58' cy='58' r='2'/><circle cx='82' cy='58' r='2'/><circle cx='10' cy='82' r='2'/><circle cx='34' cy='82' r='2'/><circle cx='58' cy='82' r='2'/><circle cx='82' cy='82' r='2'/></g></svg>");
    background-size: 100px 100px;
    background-repeat: repeat;
    -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 30% 70%, #000 0%, transparent 72%);
}

/* Frosted content card so the text stays crisp over the artwork */
.about-story-section--feature .about-story-wrapper--single {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    padding: 56px 56px 52px;
    box-shadow:
        0 24px 60px rgba(74, 51, 44, 0.10),
        0 2px 6px rgba(74, 51, 44, 0.04);
}

/* Gradient accent bar across the top of the card */
.about-story-section--feature .about-story-wrapper--single::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, #8D6E63 0%, #C9A84C 50%, #E8D9A8 100%);
}

/* Slightly richer type inside the feature card */
.about-story-section--feature .about-story-title {
    background: linear-gradient(90deg, #4A332C 0%, #8D6E63 60%, #C9A84C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-story-section--feature .about-story-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 234, 225, 0.9) 100%);
    backdrop-filter: blur(4px);
}

@media (max-width: 992px) {
    .about-story-section--feature { margin-top: 48px; padding: 72px 24px 80px; }
    .about-story-section--feature .about-story-wrapper--single {
        padding: 40px 28px 36px;
        border-radius: 22px;
    }
    .about-story-vector--arc { display: none; }
    .about-story-vector--rings { width: 240px; height: 240px; top: -50px; left: -60px; }
    .about-story-vector--leaf { width: 260px; height: 260px; right: -70px; bottom: -70px; }
    .about-story-vector--dots { width: 140px; height: 140px; }
}

@media (max-width: 600px) {
    .about-story-section--feature { margin-top: 36px; padding: 56px 16px 64px; }
    .about-story-section--feature .about-story-wrapper--single {
        padding: 32px 20px 28px;
        border-radius: 18px;
    }
    .about-story-vector--dots { display: none; }
}

.about-story-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Badge */
.about-story-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFF4DA;
    border-radius: 56px;
    padding: 8px 16px;
    width: fit-content;
}

.about-story-badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-story-badge-icon svg {
    width: 100%;
    height: 100%;
}

.about-story-badge-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #9E6E00;
    line-height: 1;
    margin: 0;
}

/* Title */
.about-story-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.3;
    margin: 0;
}

.about-story-divider {
    width: 48px;
    height: 3px;
    background-color: #8D6E63;
    border-radius: 2px;
}

/* Text Content */
.about-story-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-story-paragraph {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #22313F;
    line-height: 1.6;
    margin: 0;
}

.about-story-paragraph strong {
    font-weight: 700;
    color: #4A332C;
}

.about-story-paragraph span {
    font-weight: 600;
    color: #4A332C;
}

/* Multidisciplinary team chips */
.about-story-team {
    list-style: none;
    padding: 0;
    margin: -4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-story-team li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F7F1EE 0%, #F0E6DF 100%);
    border: 1px solid #E7D8CE;
    border-radius: 999px;
    padding: 9px 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #8D6E63;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-story-team li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    flex-shrink: 0;
}

.about-story-team li:hover {
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.about-story-team li:hover::before {
    background: #FFFFFF;
}

/* Closing invitation callout */
.about-story-highlight {
    position: relative;
    margin: 4px 0 0;
    padding: 22px 26px;
    background: linear-gradient(135deg, #FBF5F1 0%, #F5EAE1 100%);
    border-left: 4px solid #C9A84C;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    color: #4A332C;
    line-height: 1.65;
    box-shadow: 0 8px 22px rgba(74, 51, 44, 0.07);
}

/* Image */
.about-story-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-story-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

/* ============================================
   COMPREHENSIVE HEALTHCARE SERVICES SECTION
   ============================================ */

.about-services-section {
    background-color: #ffffff;
    padding: 0 48px 64px;
}

.about-services-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background-color: #FAF5F2;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 32px;
    align-items: center;
}

.about-services-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.3;
    margin: 0;
}

.about-services-divider {
    width: 48px;
    height: 3px;
    background-color: #8D6E63;
    border-radius: 2px;
}

.about-services-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #22313F;
    line-height: 1.6;
    margin: 0;
}

/* Services List */
.about-services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.about-service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-service-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.about-service-check svg {
    width: 100%;
    height: 100%;
}

.about-service-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-service-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin: 0;
}

.about-service-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* Image */
.about-services-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-services-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

/* ============================================
   FOUNDERS SECTION
   ============================================ */

.about-founders-section {
    background-color: #ffffff;
    padding: 0 48px 64px;
}

.about-founders-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.about-founders-header {
    margin-bottom: 32px;
}

.about-founders-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.3;
    margin: 0 0 12px;
}

.about-founders-divider {
    width: 48px;
    height: 3px;
    background-color: #8D6E63;
    border-radius: 2px;
}

.about-founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-founder-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #CFC2BB;
    padding: 16px;
    display: flex;
    gap: 20px;
}

.about-founder-image-col {
    flex-shrink: 0;
}

.about-founder-image {
    width: 100%;
    max-width: 272px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.about-founder-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px 0;
}

.about-founder-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #22313F;
    line-height: 1.3;
    margin: 0 0 4px;
}

.about-founder-role {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.4;
    margin: 0 0 16px;
}

.about-founder-bio {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #22313F;
    line-height: 1.6;
    margin: 0 0 24px;
    flex: 1;
}

.about-founder-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #8D6E63;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.about-founder-btn:hover {
    background-color: #7d5e53;
}

.about-founder-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   WHY CHOOSE SECTION (from gynaecology.css)
   ============================================ */

.wlc-why-section {
    background-color: #ffffff;
    padding: 0 48px 64px;
}

.wlc-why-wrapper {
    background-color: #FAF5F2;
    border-radius: 24px;
    padding: 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.wlc-why-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #8D6E63;
    margin: 0 0 12px;
    line-height: 1.35;
}

.wlc-why-divider {
    width: 48px;
    height: 3px;
    background-color: #8D6E63;
    border-radius: 2px;
    margin-bottom: 32px;
}

.wlc-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.wlc-why-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wlc-why-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wlc-why-icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background-color: #F2EBE7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.wlc-why-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.wlc-why-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #22313F;
    line-height: 1.35;
    margin: 0;
}

.wlc-why-card-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #22313F;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1200px)
   ============================================ */

@media (max-width: 1200px) {
    .about-hero-heading {
        font-size: 32px;
    }

    .about-hero-content {
        max-width: 420px;
    }

    .about-stats-wrapper {
        padding: 32px 36px;
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 992px)
   ============================================ */

@media (max-width: 992px) {
    .about-hero-section {
        margin: 0 16px;
        height: auto;
        border-radius: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .about-hero-bg {
        position: relative;
        height: 340px;
        border-radius: 16px;
        flex-shrink: 0;
    }

    .about-hero-overlay {
        display: none;
    }

    .about-hero-content-wrapper {
        position: static;
        padding: 24px 0 0;
        height: auto;
        align-items: flex-start;
    }

    .about-hero-content {
        max-width: 100%;
        padding: 0;
    }

    .about-hero-heading {
        font-size: 28px;
        line-height: 1.35;
        color: #8D6E63;
        margin: 0 0 16px;
    }

    .about-hero-divider {
        margin-bottom: 16px;
    }

    .about-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        color: #6C7A89;
        margin: 0 0 24px;
    }

    .about-hero-contact-label {
        color: #6C7A89;
    }

    .about-hero-contact-value {
        color: #22313F;
    }

    .about-hero-contact-icon svg {
        fill: #8D6E63;
    }

    /* Stats Section Mobile */
    .about-stats-section {
        margin: 24px 16px 0;
        padding-bottom: 48px;
    }

    .about-stats-wrapper {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .about-stat-card {
        gap: 10px;
    }

    .about-stat-title {
        font-size: 18px;
    }

    .about-stat-subtitle {
        font-size: 15px;
    }

    /* Story Section Mobile */
    .about-story-section {
        padding: 48px 16px;
    }

    .about-story-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-story-image-col {
        order: -1;
    }

    .about-story-image {
        max-width: 100%;
    }

    .about-story-title {
        font-size: 28px;
    }

    .about-story-paragraph {
        font-size: 17px;
    }

    .about-story-team li {
        font-size: 13.5px;
        padding: 8px 15px;
    }

    .about-story-highlight {
        font-size: 16px;
        padding: 18px 20px;
    }

    /* Services Section Mobile */
    .about-services-section {
        padding: 0 16px 48px;
    }

    .about-services-wrapper {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .about-services-image-col {
        order: -1;
    }

    .about-services-image {
        max-width: 100%;
    }

    .about-services-title {
        font-size: 28px;
    }

    .about-services-text {
        font-size: 17px;
    }

    .about-service-name {
        font-size: 18px;
    }

    .about-service-desc {
        font-size: 15px;
    }

    /* Founders Section Mobile */
    .about-founders-section {
        padding: 0 16px 48px;
    }

    .about-founders-grid {
        grid-template-columns: 1fr;
    }

    .about-founders-title {
        font-size: 28px;
    }

    .about-founder-card {
        flex-direction: column;
        padding: 16px;
    }

    .about-founder-image {
        max-width: 100%;
        width: 100%;
    }

    .about-founder-content {
        padding: 0;
    }

    .about-founder-bio {
        margin-bottom: 20px;
    }

    /* Why Choose Section Mobile */
    .wlc-why-section {
        padding: 0 16px 48px;
    }

    .wlc-why-wrapper {
        padding: 32px 24px;
    }

    .wlc-why-title {
        font-size: 28px;
    }

    .wlc-why-grid {
        grid-template-columns: 1fr;
    }

    .wlc-why-card {
        padding: 24px;
    }

    .wlc-why-icon-wrap {
        width: 60px;
        height: 60px;
        padding: 12px;
    }

    .wlc-why-icon {
        width: 32px;
        height: 32px;
    }

    .wlc-why-card-title {
        font-size: 18px;
    }

    .wlc-why-card-desc {
        font-size: 15px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 576px)
   ============================================ */

@media (max-width: 576px) {
    .about-hero-bg {
        height: 280px;
    }

    .about-hero-heading {
        font-size: 24px;
    }

    .about-stats-wrapper {
        padding: 24px 20px;
    }

    .about-stat-header {
        gap: 10px;
    }

    .about-stat-icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   KNOW PROF. ALMANTAS MALECKAS SECTION
   ============================================ */

.about-prof-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 48px 96px;
    background:
        radial-gradient(ellipse 55% 45% at 88% 6%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 6% 94%, rgba(141, 110, 99, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #FBF6F2 100%);
}

.about-prof-vectors {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-prof-vector {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.about-prof-vector--rings {
    top: -90px;
    right: -80px;
    width: 320px;
    height: 320px;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><circle cx='100' cy='100' r='48' stroke='%238D6E63' stroke-opacity='0.26' stroke-width='1'/><circle cx='100' cy='100' r='70' stroke='%23C9A84C' stroke-opacity='0.30' stroke-width='1.2'/><circle cx='100' cy='100' r='92' stroke='%238D6E63' stroke-opacity='0.18' stroke-width='1'/></svg>");
}

.about-prof-vector--arc {
    bottom: -120px;
    left: -110px;
    width: 400px;
    height: 400px;
    opacity: 0.45;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><path d='M8 12 Q60 60 190 190' stroke='%238D6E63' stroke-opacity='0.20' stroke-width='1.2'/><path d='M28 8 Q80 56 192 168' stroke='%23C9A84C' stroke-opacity='0.24' stroke-width='1.2'/></svg>");
}

.about-prof-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.about-prof-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-prof-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #EADFD8;
    border-radius: 999px;
    padding: 11px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8D6E63;
    box-shadow: 0 4px 14px rgba(74, 51, 44, 0.08);
}

.about-prof-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8D6E63 0%, #C9A84C 100%);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* Grid: text + card.
   Centering both columns avoids the dead space that appears under the
   shorter text column when the taller profile card sits beside it. */
.about-prof-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-prof-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-prof-paragraph {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    color: #5C4B43;
    line-height: 1.85;
    margin: 0;
}

.about-prof-paragraph strong {
    color: #4A332C;
    font-weight: 700;
}

/* Profile card — kept compact so it stays close to the height of the
   text column and doesn't create dead space beside it. */
.about-prof-card {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    background: #FFFFFF;
    border: 1px solid #EDE5E0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(74, 51, 44, 0.12);
}

.about-prof-card-media {
    position: relative;
    background: linear-gradient(135deg, #F7F1EE 0%, #F0E6DF 100%);
}

.about-prof-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.about-prof-card-body {
    padding: 20px 22px 22px;
}

.about-prof-name {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #4A332C;
    margin: 0 0 5px;
    line-height: 1.3;
}

.about-prof-role {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #8D6E63;
    margin: 0 0 14px;
    line-height: 1.5;
}

.about-prof-meta {
    margin: 0 0 16px;
    padding: 14px 0 0;
    border-top: 1px solid #F0E6DF;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.about-prof-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.about-prof-meta dt {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #6B5A52;
    margin: 0;
}

.about-prof-meta dd {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #8D6E63;
    margin: 0;
    white-space: nowrap;
}

.about-prof-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    color: #FFFFFF;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(141, 110, 99, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.about-prof-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(141, 110, 99, 0.34);
}

.about-prof-btn svg {
    transition: transform 0.25s ease;
}

.about-prof-btn:hover svg {
    transform: translateX(3px);
}

/* Stats row */
.about-prof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 56px;
}

.about-prof-stat {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(237, 229, 224, 0.9);
    border-radius: 18px;
    padding: 30px 26px 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(74, 51, 44, 0.07);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-prof-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, #8D6E63 0%, #C9A84C 100%);
    opacity: 0.85;
}

.about-prof-stat:hover {
    transform: translateY(-4px);
    border-color: #D9C7BD;
    box-shadow: 0 20px 40px rgba(74, 51, 44, 0.12);
}

.about-prof-stat-value {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #8D6E63 0%, #C9A84C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-prof-stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #5C4B43;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .about-prof-section { padding: 64px 24px 72px; }
    .about-prof-header { margin-bottom: 36px; }
    .about-prof-badge { font-size: 13.5px; padding: 10px 20px; }
    .about-prof-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-prof-card { max-width: 380px; margin: 0 auto; }
    .about-prof-paragraph { font-size: 16px; }
    .about-prof-stats { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .about-prof-vector--arc { display: none; }
    .about-prof-vector--rings { width: 220px; height: 220px; top: -60px; right: -60px; }
}

@media (max-width: 600px) {
    .about-prof-section { padding: 52px 16px 60px; }
    .about-prof-badge { font-size: 12.5px; letter-spacing: .02em; }
    .about-prof-stat-value { font-size: 34px; }
    .about-prof-name { font-size: 19px; }
}

/* ============================================
   PROFESSOR PROFILE MODAL
   ============================================ */

.prof-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.prof-modal[hidden] { display: none; }

.prof-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35, 22, 17, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.prof-modal.is-open .prof-modal-backdrop { opacity: 1; }

.prof-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.prof-modal.is-open .prof-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.prof-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #4A332C;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
    transition: background 0.2s ease, transform 0.2s ease;
}

.prof-modal-close svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.4;
}

.prof-modal-close:hover {
    background: #FFFFFF;
    transform: rotate(90deg);
}

/* Modal header */
.prof-modal-head {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 32px;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(232, 217, 168, 0.20) 0%, transparent 58%),
        linear-gradient(135deg, #4A332C 0%, #6E4E3F 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.prof-modal-head::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23C9A84C' stroke-width='1.2'><circle cx='100' cy='100' r='48'/><circle cx='100' cy='100' r='70'/><circle cx='100' cy='100' r='92'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.22;
    pointer-events: none;
}

.prof-modal-photo {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 3px solid rgba(232, 217, 168, 0.65);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.prof-modal-head-text {
    position: relative;
    z-index: 1;
}

.prof-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 6px;
    line-height: 1.25;
}

.prof-modal-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #E8D9A8;
    margin: 0;
    line-height: 1.5;
}

/* Scrollable body */
.prof-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 30px 32px 34px;
    -webkit-overflow-scrolling: touch;
}

.prof-modal-body::-webkit-scrollbar { width: 10px; }
.prof-modal-body::-webkit-scrollbar-track { background: #FBF7F5; }
.prof-modal-body::-webkit-scrollbar-thumb {
    background: #DCC9BE;
    border-radius: 6px;
    border: 3px solid #FBF7F5;
}

/* Highlights */
.prof-highlights {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prof-highlights li {
    position: relative;
    padding: 14px 18px 14px 46px;
    background: linear-gradient(135deg, #FBF5F1 0%, #F5EAE1 100%);
    border: 1px solid #EFE2D8;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #4A332C;
    line-height: 1.6;
}

.prof-highlights li::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"),
        linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 12px 12px, 100% 100%;
}

/* Content blocks */
.prof-block {
    padding-top: 26px;
    margin-top: 26px;
    border-top: 1px solid #F0E6DF;
}

.prof-block:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.prof-block-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #4A332C;
    margin: 0 0 18px;
    line-height: 1.3;
}

.prof-block-title::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, #8D6E63 0%, #C9A84C 100%);
    flex-shrink: 0;
}

/* Education timeline */
.prof-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.prof-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 13px 0 13px 24px;
    border-left: 2px solid #F0E6DF;
}

.prof-timeline li:first-child { padding-top: 4px; }
.prof-timeline li:last-child { padding-bottom: 4px; }

.prof-timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 19px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    box-shadow: 0 0 0 3px #FFFFFF;
}

.prof-timeline li:first-child::before { top: 10px; }

.prof-timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #8D6E63;
    white-space: nowrap;
}

.prof-timeline-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #5C4B43;
    line-height: 1.65;
}

/* Previous / Current sublabels */
.prof-sublabel {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8D6E63;
    background: #F5EEE9;
    border-radius: 999px;
    padding: 5px 14px;
    margin: 0 0 12px;
}

.prof-sublabel--current {
    margin-top: 20px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
}

/* Plain bulleted lists */
.prof-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.prof-list li {
    position: relative;
    padding-left: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #5C4B43;
    line-height: 1.7;
}

.prof-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
}

/* Organization chips */
.prof-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prof-chips li {
    background: linear-gradient(135deg, #F7F1EE 0%, #F0E6DF 100%);
    border: 1px solid #E7D8CE;
    border-radius: 999px;
    padding: 9px 17px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #8D6E63;
    line-height: 1.4;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.prof-chips li:hover {
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .prof-modal { padding: 14px; }
    .prof-modal-dialog { max-height: 92vh; border-radius: 18px; }
    .prof-modal-head {
        gap: 16px;
        padding: 26px 22px 24px;
    }
    .prof-modal-photo { width: 68px; height: 68px; }
    .prof-modal-title { font-size: 21px; }
    .prof-modal-subtitle { font-size: 14px; }
    .prof-modal-body { padding: 24px 20px 28px; }
    .prof-block-title { font-size: 18px; }
    .prof-highlights li { font-size: 14.5px; padding: 13px 15px 13px 42px; }
    .prof-timeline li {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-left: 20px;
    }
    .prof-timeline li::before { top: 17px; }
    .prof-list li,
    .prof-timeline-text { font-size: 14.5px; }
    .prof-chips li { font-size: 12.5px; padding: 8px 14px; }
}

@media (max-width: 480px) {
    .prof-modal-head {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .prof-modal-close { top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 12px; }
    .prof-modal-close svg { width: 24px; height: 24px; }
}

/* ============================================
   OUR EXPERT TEAM SECTION
   ============================================ */

.about-team-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 48px 96px;
    background:
        radial-gradient(ellipse 55% 45% at 10% 6%, rgba(201, 168, 76, 0.11) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 92% 94%, rgba(141, 110, 99, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FBF6F2 0%, #F5EAE1 100%);
}

.about-team-vectors {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-team-vector {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.about-team-vector--rings {
    top: -80px;
    left: -70px;
    width: 300px;
    height: 300px;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><circle cx='100' cy='100' r='46' stroke='%238D6E63' stroke-opacity='0.26' stroke-width='1'/><circle cx='100' cy='100' r='68' stroke='%23C9A84C' stroke-opacity='0.30' stroke-width='1.2'/><circle cx='100' cy='100' r='90' stroke='%238D6E63' stroke-opacity='0.18' stroke-width='1'/></svg>");
}

.about-team-vector--leaf {
    right: -90px;
    bottom: -100px;
    width: 340px;
    height: 340px;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><path d='M100 18 Q152 62 152 100 T100 182 Q48 138 48 100 T100 18' stroke='%23C9A84C' stroke-opacity='0.30' stroke-width='1.3'/><path d='M100 50 Q130 74 130 100 T100 150 Q70 126 70 100 T100 50' stroke='%238D6E63' stroke-opacity='0.24' stroke-width='1.1'/></svg>");
}

.about-team-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.about-team-header {
    text-align: center;
    margin-bottom: 52px;
}

.about-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #EADFD8;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8D6E63;
    box-shadow: 0 4px 14px rgba(74, 51, 44, 0.08);
}

.about-team-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin: 22px 0 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #4A332C 0%, #8D6E63 60%, #C9A84C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-team-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8D6E63 0%, #C9A84C 100%);
    border-radius: 2px;
    margin: 20px auto 0;
}

.about-team-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16.5px;
    color: #6B5A52;
    line-height: 1.75;
    max-width: 760px;
    margin: 20px auto 0;
}

/* Grid */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.about-team-card {
    background: #FFFFFF;
    border: 1px solid #EDE5E0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(74, 51, 44, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-team-card:hover {
    transform: translateY(-6px);
    border-color: #D9C7BD;
    box-shadow: 0 24px 48px rgba(74, 51, 44, 0.15);
}

/* Media */
.about-team-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F7F1EE 0%, #F0E6DF 100%);
}

.about-team-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.about-team-card:hover .about-team-media img {
    transform: scale(1.05);
}

/* Gradient scrim so the tag stays legible over any photo */
.about-team-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 51, 44, 0.55) 100%);
    pointer-events: none;
}

.about-team-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-block;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 7px 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8D6E63;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: background 0.3s ease, color 0.3s ease;
}

.about-team-card:hover .about-team-tag {
    background: linear-gradient(135deg, #8D6E63 0%, #C9A84C 100%);
    color: #FFFFFF;
}

/* Body */
.about-team-body {
    padding: 22px 22px 24px;
    text-align: center;
}

.about-team-name {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #4A332C;
    margin: 0 0 8px;
    line-height: 1.3;
}

.about-team-role {
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    color: #8D6E63;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .about-team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 992px) {
    .about-team-section { padding: 64px 24px 72px; }
    .about-team-header { margin-bottom: 40px; }
    .about-team-title { font-size: 28px; }
    .about-team-subtitle { font-size: 15.5px; }
    .about-team-vector--rings { width: 200px; height: 200px; top: -50px; left: -50px; }
    .about-team-vector--leaf { width: 230px; height: 230px; right: -60px; bottom: -70px; }
}

@media (max-width: 600px) {
    .about-team-section { padding: 52px 16px 60px; }
    .about-team-grid { grid-template-columns: 1fr; gap: 18px; max-width: 380px; margin: 0 auto; }
    .about-team-title { font-size: 25px; }
    .about-team-name { font-size: 18px; }
    .about-team-body { padding: 18px 18px 20px; }
    /* A single full-width column makes the 3:4 portrait very tall,
       so crop to a shorter ratio on phones. */
    .about-team-media img {
        aspect-ratio: 4 / 3;
        object-position: center 12%;
    }
    .about-team-tag { font-size: 11.5px; padding: 6px 13px; left: 12px; bottom: 12px; }
}

/* Breathing room above the CTA on the About Us page */
.about-us-main .cta-section {
    margin-top: 72px;
}

@media (max-width: 992px) {
    .about-us-main .cta-section { margin-top: 48px; }
}

@media (max-width: 600px) {
    .about-us-main .cta-section { margin-top: 36px; }
}
