/* =========================================================
   ABOUT PAGE — Professional UI (Compact + Navy→Red gradient)
   File: public/assets/css/about.css
   Theme vars: --neel, --sindoor, --haldi, --tulsi-tint
   ========================================================= */

/* =========================================================
   HERO SECTION (compact padding)
   ========================================================= */
.page-hero {
    position: relative;
    min-height: 260px;
    background-image:
        linear-gradient(135deg, rgba(14, 33, 71, 0.72), rgba(14, 33, 71, 0.55)),
        url('/uploads/background-image/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 28px 0; /*  kam padding */
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
    pointer-events: none;
    z-index: 3;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(200, 169, 81, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(200, 169, 81, 0.10) 0%, transparent 45%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 1.2px;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.page-hero h1::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: var(--haldi, #c8a951);
    margin: 10px auto 0;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(200, 169, 81, 0.65);
}

.page-crumbs {
    margin-top: 8px;
    font-size: 0.88rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

.page-crumbs a {
    color: var(--haldi, #c8a951);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-crumbs a:hover { color: #fff; }
.page-crumbs span { margin: 0 8px; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.ab-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.22;
    color: var(--neel-deep);
    margin: 0 0 14px;
    text-wrap: balance;
    position: relative;
    padding-bottom: 12px;
}

.ab-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: linear-gradient(90deg, var(--haldi), var(--sindoor));
    border-radius: 3px;
}

.ab-title-light { color: #fff; }

/* =========================================================
   INTRO SECTION
   ========================================================= */
.ab-intro, .ab-env {
    padding: 52px 0; /* 👈 kam padding */
    position: relative;
}

.ab-intro {
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 169, 81, 0.06), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(46, 125, 50, 0.05), transparent 45%),
        #ffffff;
    overflow: hidden;
}

.ab-intro::before {
    content: 'ॐ';
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    font-size: 18rem;
    font-family: var(--font-display);
    color: rgba(14, 33, 71, 0.035);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.ab-intro p, .ab-env p {
    color: #3A4352;
    max-width: 62ch;
    line-height: 1.8;
    margin-bottom: 14px;
}

.ab-intro p:last-child,
.ab-env p:last-child { margin-bottom: 0; }

.ab-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ink) !important;
    font-weight: 500;
    margin-bottom: 16px !important;
}

.ab-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ab-intro-media {
    position: relative;
    margin: 0;
    max-width: 360px;
    justify-self: center;
    width: 100%;
}

.ab-intro-media .arch-frame {
    display: block;
    position: relative;
    border-radius: 170px 170px 20px 20px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(14, 33, 71, .2);
    background: linear-gradient(180deg, #f7f6f1, #ffffff);
    padding: 8px;
}

.ab-intro-media .arch-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 162px 162px 14px 14px;
    object-fit: cover;
}

.ab-intro-media::before {
    content: '';
    position: absolute;
    inset: -14px -14px 30px -14px;
    border: 2px dashed rgba(200, 169, 81, 0.55);
    border-radius: 190px 190px 26px 26px;
    z-index: -1;
    animation: archSpin 40s linear infinite;
}

@keyframes archSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ab-seal {
    position: absolute;
    left: -18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 6px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 12px 28px rgba(14, 33, 71, .2);
    font-weight: 600;
    font-size: .86rem;
    color: var(--neel-deep);
    max-width: calc(100% + 10px);
    border: 1px solid rgba(200, 169, 81, 0.28);
    animation: sealFloat 4s ease-in-out infinite;
}

@keyframes sealFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.ab-seal img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f7f6f1;
    padding: 3px;
}

/* =========================================================
   PRINCIPLES BAND
   ========================================================= */
.ab-principles {
    background: linear-gradient(120deg, var(--neel-deep), var(--neel));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ab-principles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(200, 169, 81, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(200, 169, 81, 0.14) 0%, transparent 40%);
    pointer-events: none;
}

.ab-principles::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neel) 0 33.3%, var(--haldi) 33.3% 66.6%, var(--sindoor) 66.6%);
}

.ab-pr-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.ab-pr-row li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 22px 18px; /* 👈 kam padding */
    border-left: 1px solid rgba(255, 255, 255, .14);
    transition: background .3s ease, transform .3s ease;
}

.ab-pr-row li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.ab-pr-row li:first-child { border-left: 0; padding-left: 0; }

.ab-pr-row i {
    color: var(--haldi);
    font-size: 1.3rem;
    margin-top: 2px;
    width: 24px;
    text-align: center;
    transition: transform .3s ease;
}

.ab-pr-row li:hover i {
    transform: scale(1.15) rotate(-8deg);
}

.ab-pr-row b { display: block; font-size: .98rem; margin-bottom: 3px; }
.ab-pr-row span { display: block; color: rgba(255, 255, 255, .72); font-size: .88rem; line-height: 1.45; }

/* =========================================================
   ENVIRONMENT
   ========================================================= */
.ab-env {
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 169, 81, 0.08), transparent 50%),
        var(--tulsi-tint);
    overflow: hidden;
}

.ab-env-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.ab-env-media {
    position: relative;
    padding: 0 0 14px 0;
}

.ab-env-media::before {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 2px solid var(--haldi);
    border-radius: 16px;
    transition: inset .5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

.ab-env-media::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 54px;
    height: 54px;
    border-top: 3px solid var(--sindoor);
    border-left: 3px solid var(--sindoor);
    border-radius: 16px 0 0 0;
    z-index: 2;
    transition: all .4s ease;
}

.ab-env-media img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(14, 33, 71, .18);
    transition: transform .5s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow .5s ease;
    z-index: 1;
}

.ab-env-media:hover img {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(14, 33, 71, .28);
}

.ab-env-media:hover::before { inset: 20px -20px -20px 20px; }
.ab-env-media:hover::after  { top: -14px; left: -14px; }

.ab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-weight: 700;
    color: var(--sindoor);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.ab-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--sindoor);
    transition: width .35s ease;
}

.ab-link:hover::after { width: 100%; }

.ab-link i { font-size: .8rem; transition: transform .25s ease; }
.ab-link:hover { color: var(--sindoor-dark); }
.ab-link:hover i { transform: translateX(6px); }

/* =========================================================
   DOCTORS — Navy Blue → Red Light Gradient
   ========================================================= */
.ab-doctors {
    padding: 56px 0; /* 👈 kam padding */
    background: linear-gradient(
        120deg,
        var(--neel-deep) 0%,
        #2d3a7a 35%,
        #7a2f3a 70%,
        #a63d3d 100%
    );
    position: relative;
    overflow: hidden;
}

.ab-doctors::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(200, 169, 81, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255, 100, 100, 0.14) 0%, transparent 45%);
    pointer-events: none;
}

.ab-doctors::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--neel) 0 33.3%, var(--haldi) 33.3% 66.6%, var(--sindoor) 66.6%);
}

.ab-doc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ab-doc-sub {
    color: var(--haldi);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 14px;
    position: relative;
    padding-left: 20px;
}

.ab-doc-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--haldi);
    border-radius: 2px;
}

.ab-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0; /* 👈 kam padding */
    color: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: padding-left .3s ease, color .3s ease;
    font-size: .97rem;
}

.ab-checks li:hover { padding-left: 6px; color: #fff; }
.ab-checks li:last-child { border-bottom: 0; }

.ab-checks i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sindoor);
    color: #fff;
    font-size: .66rem;
    box-shadow: 0 6px 16px rgba(200, 60, 60, 0.35);
    transition: transform .3s ease, background .3s ease;
}

.ab-checks li:hover i {
    transform: scale(1.15) rotate(-10deg);
    background: var(--haldi);
    box-shadow: 0 8px 22px rgba(200, 169, 81, 0.5);
}

/* =========================================================
   CTA CARD
   ========================================================= */
.ab-cta {
    background: #fff;
    border-radius: 18px;
    padding: 26px 24px; /* 👈 kam padding */
    box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--haldi);
}

.ab-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ab-cta h3 {
    font-size: 1.4rem;
    margin: 0 0 8px;
    color: var(--neel-deep);
    font-family: var(--font-display);
    position: relative;
    z-index: 1;
}

.ab-cta p {
    color: var(--muted);
    margin: 0 0 16px;
    line-height: 1.55;
    position: relative;
    z-index: 1;
    font-size: .95rem;
}

.ab-cta-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--neel-deep);
    text-decoration: none;
    white-space: nowrap;
    transition: color .3s ease;
    position: relative;
    z-index: 1;
}

.ab-cta-phone:hover { color: var(--sindoor); }

.ab-cta-phone i {
    color: var(--sindoor);
    font-size: 1rem;
    transition: transform .3s ease;
}

.ab-cta-phone:hover i { transform: scale(1.2) rotate(-12deg); }

.ab-cta .btn {
    width: 100%;
    padding: .72rem 1.1rem;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: transform .3s ease, box-shadow .3s ease;
    font-size: .95rem;
}

.ab-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .page-hero { min-height: 220px; padding: 22px 0; }
    .page-hero h1 { font-size: 1.6rem; }

    .ab-intro, .ab-env, .ab-doctors { padding: 40px 0; }

    .ab-intro-grid,
    .ab-env-grid,
    .ab-doc-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ab-intro-media { order: -1; max-width: 280px; }
    .ab-seal { left: 0; }

    .ab-pr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-pr-row li:nth-child(3) { border-left: 0; padding-left: 0; }
    .ab-pr-row li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }

    .ab-intro::before { font-size: 12rem; right: 2%; }

    .ab-title { text-align: center; }
    .ab-title::after { left: 50%; transform: translateX(-50%); }

    .ab-doc-sub { padding-left: 0; text-align: center; }
    .ab-doc-sub::before { display: none; }

    .ab-checks li { justify-content: flex-start; }

    .ab-intro p, .ab-env p { max-width: 100%; text-align: center; }
    .ab-lead { text-align: center; }

    .ab-env-media { margin-right: 12px; }
}

@media (max-width: 575px) {
    .page-hero { min-height: 180px; padding: 18px 0; }
    .page-hero h1 { font-size: 1.4rem; letter-spacing: .8px; }
    .page-hero h1::after { width: 40px; margin-top: 8px; height: 2px; }
    .page-crumbs { font-size: 0.78rem; margin-top: 6px; }

    .ab-intro, .ab-env, .ab-doctors { padding: 34px 0; }
    .ab-lead { font-size: 1.02rem; }

    .ab-pr-row { grid-template-columns: minmax(0, 1fr); }
    .ab-pr-row li,
    .ab-pr-row li:nth-child(3) {
        border-left: 0;
        padding: 16px 0;
    }
    .ab-pr-row li + li { border-top: 1px solid rgba(255, 255, 255, .14); }

    .ab-cta { padding: 22px 18px; }
    .ab-cta h3 { font-size: 1.25rem; }
    .ab-cta-phone { font-size: 1.05rem; }

    .ab-intro::before { font-size: 8rem; }

    .ab-seal {
        left: 50%;
        transform: translateX(-50%);
        animation: none;
        font-size: .78rem;
        padding: 5px 12px 5px 5px;
    }
    .ab-seal img { width: 34px; height: 34px; }

    .ab-env-media::after { width: 40px; height: 40px; }
}

/* About Us Hero - Left Alignment */
.page-hero {
    text-align: left !important;
}

.page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-hero h1,
.page-hero .page-title {
    text-align: left !important;
    margin-left: 0;
}

.page-hero .breadcrumb,
.page-hero .breadcrumbs {
    justify-content: flex-start !important;
    text-align: left !important;
}
