/* About page - uses the same SQRFT variables, typography and core components as style.css */

.about-hero {
    position: relative;
    height: min(650px, 78vh);
    min-height: 500px;
    margin-top: 78px;
    overflow: hidden;
    background: var(--navy);
}
.about-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,22,35,.84), rgba(5,22,35,.42), rgba(5,22,35,.12));
}
.about-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding-top: 30px;
}
.about-hero h1 {
    max-width: 760px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.06;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}
.about-hero h1 span { color: var(--orange); }
.about-hero p {
    max-width: 590px;
    color: rgba(255,255,255,.86);
    font-size: 16px;
}

.story-section { background: var(--bg); }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}
.story-image-wrap { position: relative; }
.story-image-wrap img {
    height: 530px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.story-badge {
    position: absolute;
    left: -25px;
    bottom: 30px;
    background: var(--orange);
    color: white;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(247,147,30,.25);
}
.story-badge strong, .story-badge span { display:block; }
.story-badge strong { font-family:"Manrope"; font-size:21px; }
.story-badge span { font-size:11px; }
.story-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 17px;
}
.story-content .story-lead {
    color: var(--ink);
    font-family: "Manrope";
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
}
.story-content h2 {
    font-family: "Manrope";
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.story-content h2 span { color: var(--orange); }

.team-section { background: white; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Team Card */
.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

/* Team Image */
.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.team-designation {
    font-size: 14px;
    font-weight: 700;
    color: #b08a4a;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
}

.team-designation::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 3px;
    height: 15px;
    background: #b08a4a;
    border-radius: 3px;
}

.team-info p {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    font-weight: 400;
}
.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Team Information */
.team-info {
    padding: 20px 22px;
}

.team-info h3,
.team-card > div:last-child h3 {
    margin: 0 0 7px;
    font-size: 21px;
    font-weight: 700;
    color: #1d2d2d;
}

.team-info p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* Ashish Pandey Designation 
.team-info-span {
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}*/

/* Designation 
.team-info {
    font-weight: 600;
    color: #b08a4a;
}

.team-info-span {
    font-weight: 400;
    color: #666;
}*/


/* Mobile */
@media (max-width: 767px) {
    .team-card {
        margin-bottom: 20px;
    }

    .team-info {
        padding: 18px;
    }

    .team-info h3,
    .team-card > div:last-child h3 {
        font-size: 19px;
    }

    .team-info-span {
        font-size: 13px;
        line-height: 1.6;
    }
}

.team-info { padding: 18px 18px 20px; }
.team-info h3 { font-family:"Manrope"; font-size:18px; margin-bottom:3px; }
/* .team-info p { color:var(--orange-dark); font-size:12px; font-weight:700; }

.team-info p { color:var(--orange-dark); font-size:12px; font-weight:700; } */

.feedback-section { background: var(--blue-light); }
.feedback-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}
.feedback-card {
    position:relative;
    padding:32px 27px 27px;
    background:white;
    border:1px solid rgba(21,87,138,.10);
    border-radius:18px;
    box-shadow:0 7px 25px rgba(11,41,66,.05);
}
.quote-mark {
    font-family:Georgia,serif;
    color:var(--orange);
    font-size:55px;
    line-height:.7;
    margin-bottom:18px;
}
.feedback-card > p {
    color:var(--muted);
    font-size:14px;
    line-height:1.75;
    min-height:105px;
}
.client {
    display:flex;
    flex-direction:column;
    border-top:1px solid var(--border);
    padding-top:16px;
    margin-top:20px;
}
.client strong { font-family:"Manrope"; font-size:14px; }
.client span { color:var(--muted); font-size:11px; }

.purpose-section { background:white; }
.purpose-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.purpose-card {
    position:relative;
    padding:32px 25px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--bg);
    overflow:hidden;
    transition:.3s ease;
}
.purpose-card:hover { transform:translateY(-7px); box-shadow:var(--shadow); }
.purpose-card.featured { background:var(--navy); color:white; }
.purpose-number {
    color:var(--orange);
    font-family:"Manrope";
    font-size:12px;
    font-weight:800;
    letter-spacing:1px;
    margin-bottom:18px;
}
.purpose-card h3 { font-family:"Manrope"; font-size:22px; margin-bottom:9px; }
.purpose-card p { color:var(--muted); font-size:13px; line-height:1.7; }
.purpose-card.featured p { color:rgba(255,255,255,.72); }

.counter-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:60px;
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
}
.counter-item {
    text-align:center;
    padding:30px 15px;
    border-right:1px solid var(--border);
    background:white;
}
.counter-item:last-child { border-right:0; }
.counter-item strong {
    display:block;
    color:var(--navy);
    font-family:"Manrope";
    font-size:clamp(30px,4vw,46px);
    line-height:1;
}
.counter-item sup { color:var(--orange); font-size:20px; top:-.7em; position:relative; }
.counter-item p { color:var(--muted); font-size:11px; margin-top:9px; font-weight:600; }

@media (max-width:1050px) {
    .team-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
    .about-hero { margin-top:70px; min-height:560px; height:75vh; }
    .about-hero-content { padding-inline:28px; }
    .story-grid { grid-template-columns:1fr; gap:45px; }
    .story-image-wrap img { height:420px; }
    .story-badge { left:15px; }
    .feedback-grid { grid-template-columns:1fr; }
    .purpose-grid { grid-template-columns:1fr; }
    .counter-grid { grid-template-columns:repeat(2,1fr); }
    .counter-item:nth-child(2) { border-right:0; }
    .counter-item:nth-child(-n+2) { border-bottom:1px solid var(--border); }
}
@media (max-width:540px) {
    .about-hero { min-height:530px; }
    .about-hero h1 { font-size:40px; letter-spacing:-1.5px; }
    .about-hero p { font-size:13px; }
    .story-image-wrap img { height:330px; }
    .team-grid { grid-template-columns:1fr; }
    .team-image { height:360px; }
    .counter-grid { grid-template-columns:1fr 1fr; margin-top:40px; }
    .counter-item { padding:25px 8px; }
    .counter-item strong { font-size:30px; }
}
