/* Inner page styles — The Pride Group */

/* ─── Page intro banners ─── */
.page-intro {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
    background: linear-gradient(135deg, var(--bg) 0%, #121a28 100%);
    color: #fff;
    text-align: center;
}

.page-intro__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.page-intro__lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 36rem;
    margin: 0 auto;
}

.business-intro {
    padding-bottom: 2rem;
}

/* ─── Page heroes ─── */
.page-hero,
.container-slider,
.hero-section,
.hero-section-media,
.join_us,
.business_categories {
    position: relative;
    margin-top: 0;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 4rem);
    background: var(--bg);
    color: #fff;
    overflow: hidden;
}

.page-hero::before,
.hero-section::before,
.hero-section-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.3) 0%, rgba(6, 8, 15, 0.88) 100%);
    z-index: 1;
}

.container-slider {
    min-height: 70vh;
    align-items: center;
    padding-top: calc(var(--nav-h) + 2rem);
    background: var(--bg);
}

.container-slider .slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    opacity: 0;
    animation: fadeSlide 8s infinite;
}

.container-slider .slide-img:nth-child(2) { animation-delay: 2.5s; }
.container-slider .slide-img:nth-child(3) { animation-delay: 5s; }

@keyframes fadeSlide {
    0%, 28% { opacity: 1; }
    33%, 100% { opacity: 0; }
}

.container-slider .desc,
.desc-start {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.container-slider .desc .head h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.container-slider .desc .data {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 36rem;
}

.hero-section {
    background: url("../images/happiness.jpg") center/cover no-repeat;
    min-height: 65vh;
}

.hero-section .the-black-screen {
    position: relative;
    z-index: 2;
    width: 100%;
    background: none;
    display: block;
    height: auto;
}

.hero-section .the-black-screen .text {
    width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-section .head {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.hero-section .desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 36rem;
    display: block;
}

.hero-section-media {
    background: url("../images/section2.jpg") center/cover no-repeat;
    min-height: 60vh;
    align-items: center;
}

.hero-section-media .note {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    left: auto;
    top: auto;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.35;
}

.hero-section-media .note .name {
    color: var(--gold-light);
    font-style: italic;
}

.join_us {
    background:
        linear-gradient(135deg, rgba(6, 8, 15, 0.8), rgba(6, 8, 15, 0.65)),
        url("../images/career-hero-back.jpg") center/cover no-repeat;
    min-height: 70vh;
    align-items: center;
}

.join_us .row { top: 0; position: relative; }
.join_us .container { margin-top: 0; width: var(--container); margin-inline: auto; }

.join_us .head {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold-light);
}

.join_us .desc { color: var(--text-dim); font-size: 1.1rem; }

/* ─── Business page ─── */
.business_categories {
    min-height: auto;
    padding: calc(var(--nav-h) + 3rem) 0 4rem;
    background:
        linear-gradient(180deg, rgba(6, 8, 15, 0.7), rgba(6, 8, 15, 0.9)),
        url("../images/bg-business-card.jpg") center/cover no-repeat;
    align-items: center;
}

.business_categories .container .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.business_categories .card-business {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    min-height: 140px;
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.business_categories .card-business:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}

.business_categories .heading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    margin-top: 0.75rem;
    display: block;
}

.fab-business { font-size: 2rem; color: var(--gold-light); }

.bus_each {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bus_each::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 8, 15, 0.88), rgba(6, 8, 15, 0.7));
}

.bus_each .container { position: relative; z-index: 1; }

.bus_each .heading,
.bus_each .head {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    text-align: center;
    text-transform: capitalize;
}

.bus_each .desc {
    color: var(--text-dim);
    text-align: center;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.fab-bus_each {
    font-size: 2.5rem;
    color: var(--gold-light);
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.bus-each-education { background-image: url("../images/section1.jpg"); }
.bus-each-commerce { background-image: url("../images/section2.jpg"); }
.bus-each-sports { background-image: url("../images/section3.jpg"); }
.bus-each-medical { background-image: url("../images/section4.jpg"); }
.bus-each-stock { background-image: url("../images/section5.jpg"); }
.bus-each-bullion { background-image: url("../images/section6.jpg"); }
.bus-each-transport { background-image: url("../images/section7.jpg"); }

/* ─── About: timeline & founder ─── */
.timeline {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    background: var(--bg-soft);
}

.timeline .flip-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.timeline .flip-card-front,
.timeline .flip-card-back {
    padding: 1.5rem;
}

.timeline .flip-card-front h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0;
}

.founder {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    background: #fff;
}

.founder .img-founder img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.founder .head {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 1rem;
}

.founder .desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    border-left: 3px solid var(--gold);
    padding-left: 1.25rem;
}

.last_decade {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    background: var(--bg-soft);
}

.last_decade .head h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

.wid-last_decade {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ─── Community welfare ─── */
.welfare {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #fff;
}

.welfare .head {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    color: var(--text);
    padding: 0 1rem 2rem;
}

.welfare .desc_head {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.welfare .desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.welfare .img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

/* ─── Media blogs & gallery ─── */
.blogs {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    margin-top: 0;
    background: var(--bg-soft);
}

.blogs .container .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blogs .card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    padding: 0;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.blogs .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blogs .card .row { margin: 0; }
.blogs .img img { border-radius: 0; border: none; width: 100%; height: 180px; object-fit: cover; }
.blogs .head { color: var(--text); font-size: 0.95rem; line-height: 1.5; padding: 1rem; display: block; }

.gallery-section {
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

/* Career form */
.career-form-section {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    background: var(--bg-soft);
}

.career-form-section .form-control {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
}

.career-form-section .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}
