/* ============================================================
   CodzFlow IT Solutions — About Us Page Custom Styles
   Color Palette: #2F1F19 (dark brown) + #FFF669 (golden yellow)
   ============================================================ */

/* ============ PAGE HERO / BREADCRUMB ============ */
.about-hero-area {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(47, 31, 25, 0.3) 0%,
            rgba(47, 31, 25, 0.85) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: clamp(72px, 12vw, 180px);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.about-hero-title-stroke {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

.about-hero-title-fill {
    color: #fff;
}

.about-hero-subtitle {
    font-size: 18px;
    color: #FFF669;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-breadcrumb li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.about-breadcrumb li a {
    color: #FFF669;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-breadcrumb li a:hover {
    color: #fff;
}

.about-breadcrumb li .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}


/* ============ COMPANY STORY ============ */
.about-story-area {
    position: relative;
    overflow: hidden;
}

.about-story-text {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
}

.about-story-text strong {
    color: #FFF669;
    font-weight: 600;
}

.about-story-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-story-img-wrap:hover img {
    transform: scale(1.05);
}

.about-story-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 246, 105, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

/* Mission / Vision Row */
.about-mission-row {
    margin-top: 80px;
}

.about-mission-card {
    background: rgba(255, 246, 105, 0.04);
    border: 1px solid rgba(255, 246, 105, 0.1);
    border-radius: 16px;
    padding: 45px 40px;
    height: 100%;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.about-mission-card:hover {
    border-color: rgba(255, 246, 105, 0.3);
    background: rgba(255, 246, 105, 0.07);
}

.about-mission-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 246, 105, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #FFF669;
    font-size: 24px;
}

.about-mission-card h4 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.about-mission-card p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
}


/* ============ ANIMATED COUNTERS ============ */
.about-counter-area {
    position: relative;
}

.about-counter-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .about-counter-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .about-counter-wrapper {
        grid-template-columns: 1fr;
    }
}

.about-counter-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.about-counter-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 246, 105, 0.15);
}

.about-counter-item:last-child::after {
    display: none;
}

@media (max-width: 991px) {
    .about-counter-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 575px) {
    .about-counter-item::after {
        display: none;
    }
}

.about-counter-number {
    font-size: 64px;
    font-weight: 700;
    color: #FFF669;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: baseline;
}

.about-counter-number .suffix {
    font-size: 36px;
    margin-left: 2px;
}

.about-counter-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Yellow bg counter variant */
.about-counter-dark .about-counter-number {
    color: #2F1F19;
}

.about-counter-dark .about-counter-label {
    color: rgba(47, 31, 25, 0.65);
}

.about-counter-dark .about-counter-item::after {
    background: rgba(47, 31, 25, 0.15);
}


/* ============ FOUNDER SECTION ============ */
.about-founder-area {
    position: relative;
    overflow: hidden;
}

.about-founder-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-height: 580px;
}

.about-founder-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-founder-img-wrap:hover img {
    transform: scale(1.04);
}

.about-founder-img-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(0deg, rgba(47, 31, 25, 0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.about-founder-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: #FFF669;
    color: #2F1F19;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.about-founder-info {
    padding-left: 40px;
}

@media (max-width: 991px) {
    .about-founder-info {
        padding-left: 0;
        margin-top: 40px;
    }
}

.about-founder-name {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.15;
}

.about-founder-designation {
    font-size: 16px;
    color: #FFF669;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 30px;
    display: block;
}

.about-founder-bio {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.about-founder-highlight {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.about-founder-highlight-item {
    background: rgba(255, 246, 105, 0.06);
    border: 1px solid rgba(255, 246, 105, 0.12);
    border-radius: 12px;
    padding: 20px 25px;
    flex: 1;
    min-width: 160px;
    transition: border-color 0.3s ease;
}

.about-founder-highlight-item:hover {
    border-color: rgba(255, 246, 105, 0.3);
}

.about-founder-highlight-item h5 {
    font-size: 28px;
    font-weight: 700;
    color: #FFF669;
    margin-bottom: 5px;
}

.about-founder-highlight-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-founder-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    padding: 14px 32px;
    background: #FFF669;
    color: #2F1F19;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.about-founder-whatsapp:hover {
    background: #fff;
    color: #2F1F19;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 246, 105, 0.25);
}

.about-founder-whatsapp svg {
    width: 18px;
    height: 18px;
}


/* ============ TEAM EXPERTISE GRID ============ */
.about-team-area {
    position: relative;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .about-team-grid {
        grid-template-columns: 1fr;
    }
}

.about-team-card {
    background: rgba(47, 31, 25, 0.06);
    border: 1px solid rgba(47, 31, 25, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(47, 31, 25, 0.15);
    border-color: rgba(47, 31, 25, 0.25);
}

.about-team-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.about-team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-team-card:hover .about-team-card-img img {
    transform: scale(1.08);
}

.about-team-card-body {
    padding: 28px 28px 32px;
}

.about-team-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2F1F19;
    margin-bottom: 12px;
}

.about-team-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(47, 31, 25, 0.65);
    margin-bottom: 0;
}

/* Fifth card span 2 columns and center it */
.about-team-grid-center-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 991px) {
    .about-team-grid-center-wrap {
        flex-direction: column;
    }
}

.about-team-grid-center-wrap .about-team-card {
    max-width: 440px;
    width: 100%;
}


/* ============ VALUES SECTION ============ */
.about-values-area {
    position: relative;
    overflow: hidden;
}

.about-values-item {
    border-bottom: 1px solid rgba(47, 31, 25, 0.12);
    padding: 35px 0;
    transition: background 0.3s ease;
}

.about-values-item:first-child {
    border-top: 1px solid rgba(47, 31, 25, 0.12);
}

.about-values-item:hover {
    background: rgba(47, 31, 25, 0.03);
}

.about-values-number {
    font-size: 14px;
    font-weight: 600;
    color: rgba(47, 31, 25, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 60px;
}

.about-values-title {
    font-size: 28px;
    font-weight: 600;
    color: #2F1F19;
    margin-bottom: 0;
}

.about-values-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(47, 31, 25, 0.6);
}


/* ============ CTA SECTION ============ */
.about-cta-area {
    position: relative;
    overflow: hidden;
}

.about-cta-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-cta-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    display: block;
}

.about-cta-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(47, 31, 25, 0.6) 0%,
            rgba(47, 31, 25, 0.9) 100%);
}


/* ============ BANNER IMAGE FIX ============ */
.tp-banner-area.pp-banner-style .tp-banner-img img.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============ DECORATIVE ELEMENTS ============ */
.about-yellow-line {
    width: 60px;
    height: 3px;
    background: #FFF669;
    border-radius: 2px;
    display: block;
    margin-bottom: 25px;
}

.about-glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFF669;
    display: inline-block;
    animation: aboutGlowPulse 2s ease-in-out infinite;
}

@keyframes aboutGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(255, 246, 105, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 246, 105, 0.8);
    }
}

/* ============ TIMELINE STYLE (Company Journey) ============ */
.about-timeline {
    position: relative;
    padding-left: 40px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            #FFF669 0%,
            rgba(255, 246, 105, 0.2) 100%);
}

.about-timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF669;
    border: 3px solid #2F1F19;
}

.about-timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: #FFF669;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.about-timeline-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   RESPONSIVE ADJUSTMENTS — All Devices
   Breakpoints: 1399 / 1199 / 991 / 767 / 575 / 400
   ============================================================ */

/* ===== LARGE DESKTOP (below 1400px) ===== */
@media (max-width: 1399px) {
    .about-hero-title {
        font-size: clamp(64px, 10vw, 150px);
    }

    .about-counter-number {
        font-size: 54px;
    }

    .about-counter-number .suffix {
        font-size: 30px;
    }

    .about-founder-name {
        font-size: clamp(36px, 4.5vw, 50px);
    }
}


/* ===== DESKTOP / SMALL LAPTOP (below 1200px) ===== */
@media (max-width: 1199px) {
    .about-hero-title {
        font-size: clamp(56px, 9vw, 120px);
    }

    .about-hero-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .about-counter-number {
        font-size: 48px;
    }

    .about-counter-number .suffix {
        font-size: 28px;
    }

    .about-mission-card {
        padding: 35px 30px;
    }

    .about-story-text {
        font-size: 16px;
    }

    .about-founder-bio {
        font-size: 16px;
    }

    .about-founder-info {
        padding-left: 30px;
    }

    .about-values-title {
        font-size: 24px;
    }

    .about-values-desc {
        font-size: 14px;
    }

    .about-timeline {
        padding-left: 35px;
    }

    .about-timeline-item::before {
        left: -41px;
    }

    .about-team-card-img {
        height: 220px;
    }
}


/* ===== TABLET (below 992px) ===== */
@media (max-width: 991px) {
    .about-hero-area {
        min-height: 60vh;
        padding-bottom: 60px;
    }

    .about-hero-title {
        font-size: clamp(48px, 10vw, 100px);
        letter-spacing: -2px;
    }

    .about-hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .about-breadcrumb li {
        font-size: 14px;
    }

    /* Story section */
    .about-story-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .about-story-img-wrap {
        margin-top: 30px;
    }

    /* Mission row */
    .about-mission-row {
        margin-top: 50px;
    }

    .about-mission-card {
        padding: 30px 25px;
    }

    .about-mission-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about-mission-card h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-mission-card p {
        font-size: 14px;
    }

    /* Counters */
    .about-counter-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-counter-number {
        font-size: 44px;
    }

    .about-counter-number .suffix {
        font-size: 24px;
    }

    .about-counter-label {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .about-counter-item {
        padding: 30px 15px;
    }

    .about-counter-item:nth-child(2)::after {
        display: none;
    }

    /* Founder */
    .about-founder-info {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-founder-name {
        font-size: clamp(32px, 6vw, 48px);
    }

    .about-founder-designation {
        font-size: 14px;
        letter-spacing: 1.5px;
        margin-bottom: 25px;
    }

    .about-founder-bio {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .about-founder-highlight {
        gap: 15px;
        margin-top: 25px;
    }

    .about-founder-highlight-item {
        padding: 16px 20px;
    }

    .about-founder-highlight-item h5 {
        font-size: 24px;
    }

    .about-founder-highlight-item span {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .about-founder-img-wrap {
        max-height: 450px;
    }

    /* Team */
    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-team-card-img {
        height: 200px;
    }

    .about-team-card-body {
        padding: 22px 22px 26px;
    }

    .about-team-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .about-team-card-desc {
        font-size: 14px;
    }

    .about-team-grid-center-wrap {
        flex-direction: column;
        align-items: center;
    }

    .about-team-grid-center-wrap .about-team-card {
        max-width: 100%;
    }

    /* Values */
    .about-values-title {
        font-size: 22px;
    }

    .about-values-desc {
        font-size: 14px;
    }

    .about-values-number {
        margin-bottom: 5px;
    }

    .about-values-item {
        padding: 25px 0;
    }

    /* Timeline */
    .about-timeline {
        padding-left: 30px;
    }

    .about-timeline-item::before {
        left: -36px;
        width: 10px;
        height: 10px;
    }

    .about-timeline-item {
        padding-bottom: 30px;
    }

    .about-timeline-year {
        font-size: 13px;
    }

    .about-timeline-text {
        font-size: 15px;
    }
}


/* ===== MOBILE LANDSCAPE (below 768px) ===== */
@media (max-width: 767px) {
    .about-hero-area {
        min-height: 50vh;
        padding-bottom: 40px;
    }

    .about-hero-title {
        font-size: clamp(38px, 11vw, 80px);
        letter-spacing: -1px;
    }

    .about-hero-subtitle {
        font-size: 13px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    .about-breadcrumb {
        gap: 8px;
    }

    .about-breadcrumb li {
        font-size: 13px;
    }

    /* Story */
    .about-story-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-yellow-line {
        width: 45px;
        height: 2px;
        margin-bottom: 20px;
    }

    /* Mission */
    .about-mission-row {
        margin-top: 40px;
    }

    .about-mission-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .about-mission-card h4 {
        font-size: 18px;
    }

    .about-mission-card p {
        font-size: 13px;
        line-height: 1.65;
    }

    .about-mission-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        margin-bottom: 16px;
    }

    /* Counter */
    .about-counter-number {
        font-size: 38px;
    }

    .about-counter-number .suffix {
        font-size: 22px;
    }

    .about-counter-label {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .about-counter-item {
        padding: 25px 10px;
    }

    /* Founder */
    .about-founder-name {
        font-size: clamp(28px, 8vw, 42px);
    }

    .about-founder-designation {
        font-size: 13px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .about-founder-bio {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 12px;
    }

    .about-founder-highlight {
        gap: 12px;
        margin-top: 20px;
    }

    .about-founder-highlight-item {
        padding: 14px 16px;
        border-radius: 10px;
    }

    .about-founder-highlight-item h5 {
        font-size: 22px;
    }

    .about-founder-highlight-item span {
        font-size: 11px;
    }

    .about-founder-whatsapp {
        padding: 12px 26px;
        font-size: 14px;
        margin-top: 25px;
    }

    .about-founder-img-wrap {
        max-height: 380px;
    }

    .about-founder-badge {
        font-size: 11px;
        padding: 6px 16px;
        bottom: 20px;
        left: 20px;
    }

    /* Team */
    .about-team-grid {
        gap: 20px;
    }

    .about-team-card-img {
        height: 180px;
    }

    .about-team-card-body {
        padding: 18px 18px 22px;
    }

    .about-team-card-title {
        font-size: 17px;
    }

    .about-team-card-desc {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Values — stack layout for mobile */
    .about-values-item {
        padding: 20px 0;
    }

    .about-values-number {
        font-size: 13px;
        min-width: auto;
        margin-bottom: 4px;
    }

    .about-values-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .about-values-desc {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Timeline */
    .about-timeline {
        padding-left: 28px;
    }

    .about-timeline-item::before {
        left: -34px;
        width: 10px;
        height: 10px;
    }

    .about-timeline-item {
        padding-bottom: 28px;
    }

    .about-timeline-year {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .about-timeline-text {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Banner */
    .tp-banner-area.pp-banner-style .tp-banner-img.tp-banner-img-930 {
        height: 250px;
    }
}


/* ===== MOBILE PORTRAIT (below 576px) ===== */
@media (max-width: 575px) {
    .about-hero-area {
        min-height: 45vh;
        padding-bottom: 35px;
    }

    .about-hero-title {
        font-size: clamp(34px, 13vw, 64px);
        letter-spacing: -1px;
    }

    .about-hero-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .about-breadcrumb li {
        font-size: 12px;
    }

    .about-breadcrumb {
        gap: 6px;
    }

    /* Counter — single column */
    .about-counter-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-counter-item {
        padding: 20px 10px;
        border-bottom: 1px solid rgba(255, 246, 105, 0.1);
    }

    .about-counter-item:last-child {
        border-bottom: none;
    }

    .about-counter-item::after {
        display: none;
    }

    .about-counter-number {
        font-size: 36px;
    }

    .about-counter-number .suffix {
        font-size: 20px;
    }

    .about-counter-label {
        font-size: 11px;
    }

    /* Story */
    .about-story-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-yellow-line {
        width: 40px;
        margin-bottom: 18px;
    }

    /* Mission */
    .about-mission-row {
        margin-top: 30px;
    }

    .about-mission-card {
        padding: 22px 18px;
    }

    .about-mission-card h4 {
        font-size: 17px;
    }

    .about-mission-card p {
        font-size: 13px;
    }

    /* Founder */
    .about-founder-name {
        font-size: clamp(26px, 9vw, 38px);
    }

    .about-founder-designation {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .about-founder-bio {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-founder-highlight {
        flex-direction: column;
        gap: 10px;
    }

    .about-founder-highlight-item {
        min-width: 0;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .about-founder-highlight-item h5 {
        font-size: 20px;
        margin-bottom: 0;
    }

    .about-founder-highlight-item span {
        font-size: 11px;
        margin-bottom: 0;
    }

    .about-founder-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 12px;
    }

    .about-founder-img-wrap {
        max-height: 340px;
        border-radius: 12px;
    }

    .about-founder-badge {
        bottom: 15px;
        left: 15px;
        font-size: 10px;
        padding: 5px 14px;
        border-radius: 20px;
    }

    /* Team — single column */
    .about-team-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-team-card {
        border-radius: 12px;
    }

    .about-team-card-img {
        height: 200px;
    }

    .about-team-card-body {
        padding: 18px 16px 22px;
    }

    .about-team-card-title {
        font-size: 16px;
    }

    .about-team-card-desc {
        font-size: 13px;
    }

    .about-team-grid-center-wrap .about-team-card {
        max-width: 100%;
    }

    /* Values — full stack */
    .about-values-item {
        padding: 18px 0;
    }

    .about-values-number {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .about-values-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .about-values-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Timeline */
    .about-timeline {
        padding-left: 24px;
    }

    .about-timeline::before {
        width: 1.5px;
    }

    .about-timeline-item::before {
        left: -30px;
        width: 8px;
        height: 8px;
        border-width: 2px;
    }

    .about-timeline-item {
        padding-bottom: 25px;
    }

    .about-timeline-year {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .about-timeline-text {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Banner */
    .tp-banner-area.pp-banner-style .tp-banner-img.tp-banner-img-930 {
        height: 200px;
    }
}


/* ===== SMALL MOBILE (below 400px) ===== */
@media (max-width: 400px) {
    .about-hero-area {
        min-height: 40vh;
        padding-bottom: 30px;
    }

    .about-hero-title {
        font-size: clamp(28px, 14vw, 52px);
    }

    .about-hero-subtitle {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .about-counter-number {
        font-size: 32px;
    }

    .about-counter-number .suffix {
        font-size: 18px;
    }

    .about-mission-card {
        padding: 18px 15px;
    }

    .about-mission-card h4 {
        font-size: 16px;
    }

    .about-founder-name {
        font-size: clamp(24px, 10vw, 34px);
    }

    .about-founder-highlight-item h5 {
        font-size: 18px;
    }

    .about-team-card-img {
        height: 170px;
    }

    .about-values-title {
        font-size: 16px;
    }

    .about-timeline {
        padding-left: 20px;
    }

    .about-timeline-item::before {
        left: -26px;
        width: 7px;
        height: 7px;
    }

    .tp-banner-area.pp-banner-style .tp-banner-img.tp-banner-img-930 {
        height: 160px;
    }
}


/* ===== TOUCH DEVICE & ACCESSIBILITY ===== */
@media (hover: none) {
    .about-team-card:hover {
        transform: none;
        box-shadow: none;
    }

    .about-story-img-wrap:hover img,
    .about-founder-img-wrap:hover img {
        transform: none;
    }

    .about-mission-card:hover {
        border-color: rgba(255, 246, 105, 0.1);
        background: rgba(255, 246, 105, 0.04);
    }

    .about-founder-highlight-item:hover {
        border-color: rgba(255, 246, 105, 0.12);
    }
}

/* Ensure all interactive elements meet minimum tap target */
@media (max-width: 991px) {
    .about-founder-whatsapp {
        min-height: 48px;
    }

    .about-breadcrumb li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}


/* ===== LANDSCAPE PHONE FIX ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .about-hero-area {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .about-hero-title {
        font-size: clamp(32px, 8vw, 60px);
    }
}


/* ===== BR TAG HANDLING ===== */
@media (max-width: 767px) {
    .pp-section-title br,
    .about-hero-title br,
    .pp-footer-big-title br {
        display: none;
    }
}


/* ===== SECTION SPACING OVERRIDES ===== */
@media (max-width: 991px) {
    /* Reduce large paddings for tablet */
    .about-story-area.pt-155 {
        padding-top: 100px !important;
    }

    .about-story-area.pb-100 {
        padding-bottom: 60px !important;
    }

    .about-founder-area.pt-155 {
        padding-top: 100px !important;
    }

    .about-founder-area.pb-130 {
        padding-bottom: 80px !important;
    }

    .about-team-area.pt-155 {
        padding-top: 100px !important;
    }

    .about-team-area.pb-120 {
        padding-bottom: 80px !important;
    }

    .about-counter-area.pt-80 {
        padding-top: 50px !important;
    }

    .about-counter-area.pb-80 {
        padding-bottom: 50px !important;
    }

    .about-journey-area.pt-155 {
        padding-top: 100px !important;
    }

    .about-journey-area.pb-130 {
        padding-bottom: 80px !important;
    }

    /* Sticky sidebar fix for tablet */
    .about-journey-area .position-sticky {
        position: relative !important;
        top: auto !important;
    }

    /* Footer copyright padding */
    .pp-copyright-right.pl-130,
    .pp-copyright-right[class*="pl-130"] {
        padding-left: 0 !important;
    }

    /* Award divider margins */
    .pp-award-divider.ml-80 {
        margin-left: 0 !important;
    }

    .pp-award-divider.mr-80 {
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    /* Reduce spacing further for mobile */
    .about-story-area.pt-155 {
        padding-top: 70px !important;
    }

    .about-story-area.pb-100 {
        padding-bottom: 40px !important;
    }

    .about-founder-area.pt-155 {
        padding-top: 70px !important;
    }

    .about-founder-area.pb-130 {
        padding-bottom: 60px !important;
    }

    .about-team-area.pt-155 {
        padding-top: 70px !important;
    }

    .about-team-area.pb-120 {
        padding-bottom: 60px !important;
    }

    .about-counter-area.pt-80 {
        padding-top: 35px !important;
    }

    .about-counter-area.pb-80 {
        padding-bottom: 35px !important;
    }

    .about-journey-area.pt-155 {
        padding-top: 70px !important;
    }

    .about-journey-area.pb-130 {
        padding-bottom: 60px !important;
    }

    .about-values-area.pt-75 {
        padding-top: 50px !important;
    }

    .about-values-area.pb-115 {
        padding-bottom: 60px !important;
    }

    /* Footer CTA spacing */
    .tp-footer-area.pt-175 {
        padding-top: 80px !important;
    }

    .tp-footer-area.pb-140 {
        padding-bottom: 60px !important;
    }
}

@media (max-width: 575px) {
    .about-story-area.pt-155 {
        padding-top: 50px !important;
    }

    .about-story-area.pb-100 {
        padding-bottom: 30px !important;
    }

    .about-founder-area.pt-155 {
        padding-top: 50px !important;
    }

    .about-founder-area.pb-130 {
        padding-bottom: 40px !important;
    }

    .about-team-area.pt-155 {
        padding-top: 50px !important;
    }

    .about-team-area.pb-120 {
        padding-bottom: 40px !important;
    }

    .about-counter-area.pt-80 {
        padding-top: 25px !important;
    }

    .about-counter-area.pb-80 {
        padding-bottom: 25px !important;
    }

    .about-journey-area.pt-155 {
        padding-top: 50px !important;
    }

    .about-journey-area.pb-130 {
        padding-bottom: 40px !important;
    }

    .about-values-area.pt-75 {
        padding-top: 35px !important;
    }

    .about-values-area.pb-115 {
        padding-bottom: 40px !important;
    }

    .tp-footer-area.pt-175 {
        padding-top: 60px !important;
    }

    .tp-footer-area.pb-140 {
        padding-bottom: 40px !important;
    }

    /* Copyright section */
    .tp-copyright-area .pp-copyright-right {
        padding-left: 0 !important;
    }

    .tp-copyright-area .row {
        text-align: center;
    }
}


/* ===== PREVENT HORIZONTAL OVERFLOW ===== */
html,
body {
    overflow-x: hidden;
}

.about-hero-area,
.about-story-area,
.about-counter-area,
.about-founder-area,
.about-team-area,
.about-values-area,
.tp-footer-area {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}


/* ===================================================================
   MEET OUR TEAM SECTION
   =================================================================== */

/* Section */
.team-members-section {
    padding: 120px 0 100px;
}

/* Section heading */
.team-section-intro {
    max-width: 700px;
    margin: 0 auto 10px;
    text-align: center;
}
.team-section-intro p {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* ---- Leadership Row ---- */
.team-leadership-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}
.team-leader-card {
    background: rgba(58,42,34,0.55);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,246,105,0.1);
    border-radius: 22px;
    padding: 35px 30px 30px;
    text-align: center;
    width: 320px;
    position: relative;
    transition: all 0.45s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.team-leader-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FFF669, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.team-leader-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,246,105,0.35);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.team-leader-card:hover::before { opacity: 1; }

.team-leader-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: #FFF669;
    color: #2F1F19;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.team-leader-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,246,105,0.25);
    margin-bottom: 18px;
    transition: border-color 0.3s, transform 0.4s;
}
.team-leader-card:hover .team-leader-img {
    border-color: #FFF669;
    transform: scale(1.06);
}
.team-leader-name {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFF669;
    margin-bottom: 4px;
    line-height: 1.1;
}
.team-leader-role {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}
.team-leader-bio {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

/* ---- Filter Tabs ---- */
.team-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}
.team-filter-btn {
    background: rgba(58,42,34,0.5);
    border: 1px solid rgba(255,246,105,0.08);
    color: rgba(255,255,255,0.55);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}
.team-filter-btn:hover {
    border-color: rgba(255,246,105,0.25);
    color: #FFF669;
    background: rgba(58,42,34,0.7);
}
.team-filter-btn.active {
    background: #FFF669;
    color: #2F1F19;
    border-color: #FFF669;
}

/* ---- Team Grid ---- */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ---- Member Card ---- */
.team-member-card {
    background: rgba(58,42,34,0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,246,105,0.05);
    border-radius: 18px;
    padding: 28px 20px 22px;
    text-align: center;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.team-member-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFF669, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.team-member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,246,105,0.22);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.team-member-card:hover::after { opacity: 1; }

.team-member-card.hidden {
    display: none;
}

.team-member-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,246,105,0.12);
    margin-bottom: 14px;
    transition: border-color 0.3s, transform 0.4s;
}
.team-member-card:hover .team-member-img {
    border-color: rgba(255,246,105,0.5);
    transform: scale(1.08);
}
.team-member-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.2;
}
.team-member-role {
    font-size: 13px;
    color: #FFF669;
    margin-bottom: 8px;
    font-weight: 500;
}
.team-member-dept {
    display: inline-block;
    background: rgba(255,246,105,0.08);
    border: 1px solid rgba(255,246,105,0.12);
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Team Stats Bar ---- */
.team-stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,246,105,0.08);
    flex-wrap: wrap;
}
.team-stat-item {
    text-align: center;
}
.team-stat-num {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #FFF669;
    line-height: 1;
}
.team-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .team-members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .team-leadership-row { gap: 20px; }
    .team-leader-card { width: 280px; padding: 28px 22px 24px; }
}
@media (max-width: 768px) {
    .team-members-grid { grid-template-columns: repeat(2, 1fr); }
    .team-filter-tabs { gap: 8px; }
    .team-filter-btn { padding: 8px 18px; font-size: 13px; }
    .team-stats-bar { gap: 30px; }
    .team-members-section { padding: 80px 0 70px; }
}
@media (max-width: 576px) {
    .team-members-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-member-card { padding: 20px 14px 18px; }
    .team-member-img { width: 70px; height: 70px; }
    .team-leader-card { width: 100%; }
    .team-leadership-row { flex-direction: column; align-items: center; }
}
@media (max-width: 400px) {
    .team-members-grid { grid-template-columns: 1fr; }
}