/* ============================================================
   STC (Sathya Talent Centre) — dedicated page styles
   Self-contained: does not depend on shared sathya2-* classes.
   ============================================================ */

/* stc-theme.css sets `html, body { height: 100%; position: relative; }`
   globally. On a long scrolling page like this one, constraining body to
   exactly the viewport height (instead of the site's normal auto-growing
   body) throws off the offset math the shared footer's scroll-reveal
   animation (`wow zoomIn`, wow.min.js) uses to detect when it has scrolled
   into view — the footer never gets revealed. This file loads after
   stc-theme.css on both STC pages, so this wins the cascade and restores
   the normal auto-height body without having to drop stc-theme.css
   (which also supplies the page's fonts/buttons). */
html, body { height: auto; }

/* This project's bootstrap.min.css is Bootstrap 4, but the Apply Now form
   (Views/Stc/ApplyNow.cshtml) uses a couple of Bootstrap-5-only utility
   classes that don't exist here, so they were silently doing nothing:
   - .visually-hidden on each radio input meant the native radio circle was
     rendering next to the styled pill label instead of being hidden.
   - .gy-4 on the form row meant no vertical gap between the stacked form/
     side-panel columns on narrower screens.
   Defined here (Bootstrap 5's own implementations) rather than swapping
   the markup back to Bootstrap 4's .sr-only, so the classes keep working
   if the rest of the site ever upgrades to Bootstrap 5. */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.gy-4 { row-gap: 1.5rem; }

/* Hero banner image is now light (white/light-gray backdrop behind the
   text column), so text/buttons use the site's existing LIGHT hero-text
   styling (stc-theme.css .hero-text h1 + stc-site.css's fluid clamp
   override) instead of the previous white-on-dark treatment, and the
   default blue .btn_one / .btn_outline (no dark-bg override needed). */
.stc-hero {
    background-image: url('/assets/images/stc/stc-hero-banner.png');
    background-size: contain;
    background-position: 70% center;
    background-repeat: no-repeat;
    background-color: #fff;
    padding: 90px 0;
}
.stc-hero h1 {
    font-size: clamp(28px, 5.2vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    color: #0b104a;
    margin-bottom: 20px;
}
.stc-hero h4 { font-size: 1.05rem; font-weight: 600; color: #007bff; margin-bottom: 1.1rem; text-transform: none; }
.stc-hero p { font-size: 1rem; line-height: 1.75; font-weight: 500; color: #4a5355; max-width: 640px; margin-bottom: 1.8rem; }
.stc-hero .stc-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.stc-section { padding: 64px 0; }
.stc-section-gray { background: #f6f8fb; }

.stc-section-title { text-align: center; margin-bottom: 42px; }
.stc-section-title h2 { font-size: 1.9rem; font-weight: 700; color: #16213e; margin: 0 0 .5rem; }
.stc-section-title p { color: #667085; font-size: 1rem; margin: 0; }

.stc-about-text h2 { font-size: 1.9rem; font-weight: 700; color: #16213e; margin-bottom: 1rem; }
.stc-about-text p { color: #4a5568; line-height: 1.8; margin-bottom: 1rem; }
.stc-about-img {
    width: 85%;
    height: 570px;
}

/* Grid ----------------------------------------------------- */
.stc-grid { display: grid; gap: 26px; align-items: stretch; }
.stc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.stc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stc-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
    .stc-grid-4, .stc-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .stc-grid-2, .stc-grid-3, .stc-grid-4, .stc-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stc-grid-2, .stc-grid-3, .stc-grid-4, .stc-grid-5 { grid-template-columns: 1fr; }
}

/* Card ------------------------------------------------------ */
.stc-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(16,24,40,.05);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.stc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(16,24,40,.1); }

.stc-card-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #e8f0ff;
    color: #0072FA;
    font-size: 1.5rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.stc-card-img-wrap { width: 100%; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.stc-card-img-wrap img { width: 100%; height: 170px; object-fit: cover; display: block; }

.stc-card h3 { font-size: 1.05rem; font-weight: 700; color: #16213e; margin: 0 0 .6rem; letter-spacing: 0; }
.stc-card p { font-size: .92rem; color: #5b6478; line-height: 1.65; margin: 0; }
.stc-card .stc-card-tags { font-size: .8rem; color: #8993a6; margin-top: .8rem; line-height: 1.7; }

/* Why Choose STC — hexagon honeycomb ---------------------------- */
.stc-why-choose {
    background-image: url('/assets/images/stc/why-choose-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0 46px;
}
.stc-why-choose .stc-section-title h2 { color: #fff; }
.stc-why-choose .stc-section-title p { color: rgba(255,255,255,.85); }

.stc-hex-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
    padding-top: 18px;
}
.stc-hex:nth-child(even) { margin-top: 30px; }
.stc-hex-shape {
    width: 128px; height: 130px;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 14px 18px;
    box-shadow: 0 12px 26px rgba(0,10,60,.3);
    transition: transform .25s ease;
}
.stc-hex-shape:hover { transform: translateY(-6px); }
.stc-hex-icon { color: #0072FA; font-size: 1.4rem; margin-bottom: 8px; }
.stc-hex-shape h3 { font-size: .74rem; font-weight: 700; color: #16213e; line-height: 1.3; margin: 0; }

@media (max-width: 900px) {
    .stc-hex-row { justify-content: flex-start; overflow-x: auto; padding: 10px 4px 12px; }
    .stc-hex { flex-shrink: 0; }
    .stc-hex-shape { width: 108px; height: 96px; padding: 10px 12px; }
    .stc-hex-icon { font-size: 1.2rem; margin-bottom: 6px; }
    .stc-hex-shape h3 { font-size: .68rem; }
}
@media (max-width: 560px) {
    .stc-hex-row { gap: 8px; }
    .stc-hex-shape { width: 96px; height: 86px; padding: 8px 10px; }
}

/* Process / Programs timeline --------------------------------- */
.stc-process-wrap {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: start;
}
.stc-process-info h2 { font-size: 1.9rem; font-weight: 700; color: #16213e; margin: 0 0 .7rem; }
.stc-process-info p { color: #667085; line-height: 1.7; margin: 0 0 26px; }
.stc-process-img { width: 90%; height: 470px; display: block; }

.stc-timeline { position: relative; }
.stc-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 26px;
}
.stc-timeline-item:last-child { padding-bottom: 0; }
.stc-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 54px;
    bottom: 0;
    width: 2px;
    background: #cddaf5;
}
.stc-timeline-marker {
    position: relative;
    z-index: 1;
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(10, 52, 176, .28);
}
.stc-timeline-item:nth-child(5n+1) .stc-timeline-marker { background: #4f8ef7; }
.stc-timeline-item:nth-child(5n+2) .stc-timeline-marker { background: #3b7ff2; }
.stc-timeline-item:nth-child(5n+3) .stc-timeline-marker { background: #2a68e8; }
.stc-timeline-item:nth-child(5n+4) .stc-timeline-marker { background: #1c4fd6; }
.stc-timeline-item:nth-child(5n+5) .stc-timeline-marker { background: #0f34b0; }

.stc-timeline-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: 0 2px 10px rgba(16,24,40,.05);
    flex: 1;
    transition: transform .25s ease, box-shadow .25s ease;
}
.stc-timeline-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(16,24,40,.1); }
.stc-timeline-card h3 { font-size: 1.08rem; font-weight: 700; color: #16213e; margin: 0 0 .4rem; }
.stc-timeline-card p { font-size: .92rem; color: #5b6478; line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
    .stc-process-wrap { grid-template-columns: 1fr; }
    .stc-process-img { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .stc-timeline-item { gap: 16px; }
    .stc-timeline-marker { width: 44px; height: 44px; font-size: 1rem; }
    .stc-timeline-item:not(:last-child)::before { left: 21px; top: 46px; }
    .stc-timeline-card { padding: 18px 20px; }
}

/* Training Programs — tag pills ------------------------------- */
.stc-tag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    text-align: left;
}
#programs .stc-card { padding-bottom: 18px; }
.stc-tag-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #eef4ff;
    color: #1c4fd6;
    font-size: .74rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.25;
}
.stc-tag-pill i { color: #0072FA; font-size: .68rem; flex-shrink: 0; }
@media (max-width: 480px) {
    .stc-tag-grid { grid-template-columns: 1fr; }
}

/* Who Can Join — reuses the site's existing .who-course-card family
   (stc-site.css: rotated image badge, top gradient accent bar, centered
   body, icon-bullet footer) instead of a bespoke card, so this section
   matches the same "course card" language already built for it. Only
   the grid container and the image height (left unset in stc-site.css,
   commented-out aspect-ratio) are supplied here. */
.stc-who-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.stc-who-grid .who-course-img { height: 190px; }
@media (max-width: 1100px) {
    .stc-who-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .stc-who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .stc-who-grid { grid-template-columns: 1fr; }
}

/* Horizontal scroll row (used by Testimonials) -------------------- */
.stc-scroll-wrap { position: relative; }
.stc-scroll-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 26px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    -webkit-overflow-scrolling: touch;
}
.stc-scroll-row::-webkit-scrollbar { height: 8px; }
.stc-scroll-row::-webkit-scrollbar-thumb { background: #d5dae3; border-radius: 10px; }
.stc-scroll-row::-webkit-scrollbar-track { background: transparent; }
.stc-scroll-row .stc-card { flex: 0 0 320px; scroll-snap-align: start; }
@media (max-width: 560px) {
    .stc-scroll-row .stc-card { flex-basis: 82%; }
}
/* Testimonials -------------------------------------------------- */
.stc-testimonial-card { align-items: flex-start; text-align: left; }
.stc-quote-icon { color: #bcd2ff; font-size: 1.5rem; margin-bottom: 8px; }
.stc-stars { color: #ffc107; font-size: .85rem; margin-bottom: 12px; }
.stc-card-quote { flex-grow: 1; }
.stc-testimonial-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef1f6;
    width: 100%;
}
.stc-testimonial-name h3 { font-size: .95rem; margin-bottom: 2px; }
.stc-testimonial-name small { color: #8993a6; font-size: .8rem; }
.stc-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #0072FA;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .8rem;
    flex-shrink: 0;
}

/* Scroll arrows (either side of the testimonial row) ------------ */
.stc-scroll-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 1px solid #eef1f6;
    box-shadow: 0 4px 14px rgba(16,24,40,.12);
    display: flex; align-items: center; justify-content: center;
    color: #0072FA; cursor: pointer; z-index: 2;
    transition: background .2s, color .2s;
}
.stc-scroll-arrow:hover { background: #0072FA; color: #fff; }
.stc-scroll-arrow-prev { left: -20px; }
.stc-scroll-arrow-next { right: -20px; }
@media (max-width: 768px) {
    .stc-scroll-arrow { display: none; }
}

/* CTA ------------------------------------------------------------ */
.stc-cta {
    background: #fff;
    padding: 70px 0;
}
.stc-cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.stc-cta-visual img { width: 100%; height: auto; display: block; }
.stc-cta-content h2 { color: #16213e; font-size: 1.9rem; font-weight: 700; margin: 0 0 .4rem; }
.stc-cta-tagline { color: #0072FA; font-weight: 600; margin: 0 0 .8rem; }
.stc-cta-content p { color: #5b6478; font-size: 1rem; line-height: 1.7; max-width: 520px; margin: 0 0 1.8rem; }
.stc-cta .stc-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.stc-cta-link { color: #0072FA; font-weight: 700; font-size: .95rem; padding: 8px 4px; }
.stc-cta-link:hover { color: #0056b3; text-decoration: underline; }

@media (max-width: 900px) {
    .stc-cta-wrap { grid-template-columns: 1fr; text-align: center; }
    .stc-cta-content p { margin-left: auto; margin-right: auto; }
    .stc-cta .stc-btn-row { justify-content: center; }
    .stc-cta-visual { max-width: 380px; margin: 0 auto; }
}
