/* ============================================================
   ABOUT.CSS — Yash Infotech | About Page Styles
   Links after index.css — uses same :root variables
   Do NOT edit index.css. All about-page styles are here only.
   ============================================================ */


/* ============================================================
   SHARED ABOUT UTILITIES
   ============================================================ */
.about-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-section {
    padding: 80px 0;
}

.gray-bg-about {
    background: var(--gray-bg) !important;
}

.sec-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.about-sec-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-sec-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.75;
    margin: 0 auto;
}

.sec-head-center-about {
    text-align: center;
    margin-bottom: 48px;
}

/* Fade-up animation (mirrors index.css pattern) */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

#citp-navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
}


/* ============================================================
   SECTION 1 — MINI HERO
   ============================================================ */
.about-hero {
    min-height: 60vh;
    background-image:
        linear-gradient(to bottom, rgba(13,27,42,0.72) 0%, rgba(13,27,42,0.60) 100%),
        url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.about-hero-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.18);
    border: 1px solid rgba(230, 57, 70, 0.45);
    color: #ff8a94;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
}

.about-hero-h1 {
    font-size: clamp(30px, 5.5vw, 54px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
}

.about-hero-sub {
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.80);
    font-weight: 400;
    margin: 0;
    max-width: 560px;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.about-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.about-breadcrumb a:hover {
    color: var(--red);
}

.bc-sep {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}


/* ============================================================
   SECTION 2 — COMPANY OVERVIEW
   ============================================================ */
.overview-section {
    background: #ffffff;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-left .about-para {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.80;
    margin-bottom: 18px;
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overview-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.55;
}

.overview-list li i {
    color: var(--red);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Right side image */
.overview-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.overview-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 24px;
}

.ob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ob-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.ob-num sup {
    font-size: 14px;
    font-weight: 700;
    vertical-align: super;
}

.ob-lbl {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.90;
    text-transform: uppercase;
}

.ob-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.35);
}


/* ============================================================
   SECTION 3 — MISSION & VISION
   ============================================================ */
.mv-section {
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mv-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.mv-icon-red {
    background: rgba(230, 57, 70, 0.12);
    color: var(--red);
}

.mv-icon-navy {
    background: rgba(13, 27, 42, 0.10);
    color: var(--navy);
}

.mv-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.mv-para {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.80;
    margin: 0;
}


/* ============================================================
   SECTION 4 — WHY CHOOSE US
   ============================================================ */
.why-section {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.why-card {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.why-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(230, 57, 70, 0.10);
    color: var(--red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.28s ease;
}

.why-card:hover .why-icon-box {
    background: var(--red);
    color: #ffffff;
}

.why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.why-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.70;
    margin: 0;
}


/* ============================================================
   SECTION 5 — STATS
   ============================================================ */
.about-stats-section {
    background: var(--gray-bg);
    padding: 70px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-box {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-num {
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-num span {
    color: var(--red);
    font-size: 0.75em;
}

.stat-lbl {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* ============================================================
   SECTION 6 — CALL TO ACTION
   ============================================================ */
.about-cta-section {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 72px 0;
}

.cta-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-heading {
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    max-width: 680px;
}

.cta-sub {
    font-size: 15.5px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.65;
    margin: 0;
}

/* Re-use hbtn-primary on red CTA — override to white/outlined */
.about-cta-section .hbtn-primary {
    background: #ffffff !important;
    color: var(--red) !important;
    border-color: #ffffff !important;
    margin-top: 8px;
}

.about-cta-section .hbtn-primary:hover {
    background: var(--navy) !important;
    color: #ffffff !important;
    border-color: var(--navy) !important;
}

/* ============================================================
   SECTION 12: CONTACT — CLEAN CORPORATE BLOCK
   ============================================================ */
#citp-contact {
    background: #1e2a4a !important;
    padding: 60px 0 !important;
}

.contact-bg-decor {
    display: none !important;
}

.contact-heading-wrap {
    text-align: center !important;
    margin-bottom: 44px !important;
}

    .contact-heading-wrap h2 {
        font-size: 1.75rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
    }

    .contact-heading-wrap p {
        font-size: 14px !important;
        color: rgba(255,255,255,0.5) !important;
        margin-bottom: 14px !important;
    }

.contact-accent-line {
    width: 40px !important;
    height: 3px !important;
    background: #e63946 !important;
    border-radius: 2px !important;
    margin: 0 auto !important;
}

.contact-cols {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .contact-cols {
        grid-template-columns: 1fr !important;
        gap: 1px !important;
    }
}

.contact-col {
    background: #1e2a4a !important;
    padding: 32px 28px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    transition: background 0.2s ease !important;
}

    .contact-col:hover {
        background: #243358 !important;
    }

.contact-col-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
    background: rgba(230,57,70,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #e63946 !important;
}

.contact-col-label {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.38) !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.contact-col-value {
    font-size: 10.5px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
}

    .contact-col-value a {
        color: #ffffff !important;
        text-decoration: none !important;
        transition: color 0.2s !important;
    }

        .contact-col-value a:hover {
            color: #e63946 !important;
        }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ≤ 900px: two-col → single col */
@media (max-width: 900px) {

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overview-img-wrap img {
        height: 300px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

}

/* ≤ 600px: single col across board */
@media (max-width: 600px) {

    .about-section {
        padding: 55px 0;
    }

    .about-hero {
        background-attachment: scroll; /* fixed bg can glitch on iOS */
        min-height: 52vh;
        padding: 70px 20px 50px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-box {
        padding: 28px 16px;
    }

    .mv-card {
        padding: 30px 24px;
    }

    .why-card {
        padding: 26px 22px;
    }

    .about-cta-section {
        padding: 55px 0;
    }

    .cta-heading {
        font-size: 22px;
    }

    .overview-badge {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
    }

    .ob-divider {
        width: 48px;
        height: 1px;
    }

}
