/* =========================================================
   CORPORATE PYTHON DEVELOPMENT & DATA ANALYTICS
   Synced with Corporate SQL & PL/SQL visual system
========================================================= */

.corp-python-page {
    font-family: "Poppins", sans-serif;
    --navy: #07152d;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --cyan: #22c7f2;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --soft: #f8fafc;
    overflow-x: hidden;
}

.corp-python-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.corp-python-section {
    padding: 90px 0;
}

.corp-python-section-head {
    max-width: 850px;
    margin: 0 auto 52px;
    text-align: center;
}

.corp-python-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.corp-python-section-head h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 750;
}

.corp-python-section-head h2 span,
.corp-python-seo-content h2 span {
    color: var(--blue);
}

.corp-python-section-head p {
    max-width: 780px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   HERO
========================================================= */

.corp-python-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 65px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 45%, rgba(37,99,235,.32), transparent 35%),
        linear-gradient(115deg, #041126 0%, #07152d 48%, #0d2c58 100%);
}

.corp-python-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image:
        linear-gradient(rgba(96,165,250,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96,165,250,.12) 1px, transparent 1px);
    background-size: 54px 54px;
}

.corp-python-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 17px 0 25px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

.corp-python-breadcrumb a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.corp-python-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 55px;
    min-height: 530px;
}

.corp-python-hero-content {
    min-width: 0;
}

.corp-python-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #67d9ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.corp-python-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    flex: 0 0 38px;
    background: var(--cyan);
}

.corp-python-hero h1 {
    max-width: 650px;
    margin: 0 0 15px;
    color: #fff;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    font-weight: 750;
}

.corp-python-hero h1 span {
    color: var(--blue-light);
}

.corp-python-hero h2 {
    margin: 0 0 17px;
    color: #60c8ff;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 650;
}

.corp-python-hero-content > p {
    max-width: 620px;
    margin: 0 0 14px;
    color: #d7e5f6;
    font-size: 15px;
    line-height: 1.8;
}

.corp-python-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    margin-bottom: 22px;
}

.corp-python-btn {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.corp-python-btn:hover {
    transform: translateY(-2px);
}

.corp-python-btn-primary {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: 0 10px 25px rgba(37,99,235,.22);
}

.corp-python-btn-primary:hover {
    color: #fff;
    background: #1d4ed8;
}

.corp-python-btn-outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,.65);
}

.corp-python-btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.08);
}

.corp-python-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    color: #c7d6e8;
    font-size: 12px;
}

.corp-python-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.corp-python-hero-points i {
    color: #2dd4bf;
}

.corp-python-hero-visual {
    position: relative;
    min-height: 440px;
    pointer-events: none;
}

.corp-python-hero-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.25);
    background: #102b4e;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

.corp-python-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4,17,38,.58), rgba(4,17,38,.05) 70%);
}

.corp-python-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================================================
   BENEFITS
========================================================= */

.corp-python-benefits {
    position: relative;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(15,23,42,.05);
}

.corp-python-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.corp-python-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 15px 18px;
    border-right: 1px solid var(--border);
}

.corp-python-benefit:last-child {
    border-right: 0;
}

.corp-python-benefit-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
}

.corp-python-benefit strong,
.corp-python-benefit span {
    display: block;
}

.corp-python-benefit strong {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.35;
}

.corp-python-benefit span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   WHY / LEARNING
========================================================= */

.corp-python-why-section {
    background: #fff;
}

.corp-python-learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.corp-python-learning-card {
    min-width: 0;
    min-height: 205px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.corp-python-learning-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 32px rgba(15,23,42,.08);
}

.corp-python-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 9px;
    color: var(--blue);
    background: #edf4ff;
    font-size: 20px;
}

.corp-python-learning-card h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.4;
}

.corp-python-learning-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CURRICULUM
========================================================= */

.corp-python-curriculum-section {
    background: var(--soft);
}

.corp-python-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.corp-python-curriculum-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.corp-python-number {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.corp-python-curriculum-card h3 {
    margin: 0 0 13px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.4;
}

.corp-python-curriculum-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.corp-python-curriculum-card li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 19px;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.corp-python-curriculum-card li:last-child {
    margin-bottom: 0;
}

.corp-python-curriculum-card li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--blue);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}


/* =========================================================
   PROCESS
========================================================= */

.corp-python-process-section {
    background: #fff;
}

.corp-python-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.corp-python-process::before {
    content: "";
    position: absolute;
    top: 47px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: #bfdbfe;
}

.corp-python-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.corp-python-process-number {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid #bfdbfe;
    border-radius: 50%;
    color: var(--blue);
    background: #fff;
    font-size: 15px;
    font-weight: 800;
}

.corp-python-process-step h3 {
    max-width: 190px;
    margin: 0 auto 9px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
}

.corp-python-process-step p {
    max-width: 190px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   SEO CONTENT
========================================================= */
.corp-python-seo-section { background: var(--soft); }
.corp-python-seo-content { max-width: 950px; margin: 0 auto; text-align: left; }
.corp-python-seo-content .corp-python-kicker { display:inline-block; margin-bottom:13px; color:var(--blue); font-size:11px; font-weight:800; line-height:1.4; letter-spacing:1.5px; text-transform:uppercase; }
.corp-python-seo-content h2 { max-width:800px; margin:0 0 24px; color:var(--text); font-size:38px; font-weight:750; line-height:1.2; letter-spacing:-.7px; }
.corp-python-seo-content h2 span { color:var(--blue); }
.corp-python-seo-content p { max-width:900px; margin:0 0 17px; color:#475569; font-size:15px; line-height:1.85; }
.corp-python-seo-content > h3 { margin:30px 0 10px; color:var(--text); font-size:17px; font-weight:700; line-height:1.45; }

/* =========================================================
   PYTHON & DATA ANALYTICS FAQ
========================================================= */
.corp-python-faq-section { background:#fff; }
.corp-python-faq-section .corp-python-seo-content { max-width:950px; }
.corp-python-faq-section .corp-python-seo-content h2 { margin-bottom:34px; }
.corp-python-faq-section .corp-python-seo-content > h3 { position:relative; margin:0; padding:20px 58px 20px 22px; color:var(--text); font-size:17px; font-weight:700; line-height:1.45; border:1px solid var(--border); border-bottom:0; background:#fff; transition:background .25s ease,border-color .25s ease,color .25s ease; }
.corp-python-faq-section .corp-python-seo-content > h3::after { content:"\f059"; position:absolute; top:50%; right:20px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; transform:translateY(-50%); color:var(--blue); font-family:"Font Awesome 6 Free"; font-size:16px; font-weight:900; }
.corp-python-faq-section .corp-python-seo-content > h3 + p { margin:0 0 18px; padding:18px 22px 20px; color:var(--muted); font-size:15px; line-height:1.8; border:1px solid var(--border); background:#fff; }
.corp-python-faq-section .corp-python-seo-content > h3:first-of-type { border-radius:10px 10px 0 0; }
.corp-python-faq-section .corp-python-seo-content > h3:last-of-type + p { margin-bottom:0; border-radius:0 0 10px 10px; }
.corp-python-faq-section .corp-python-seo-content > h3:hover { color:var(--blue); border-color:#bfdbfe; background:#fafdff; }

/* =========================================================
   FINAL CTA
========================================================= */
/* =========================================================
   FINAL CTA
========================================================= */

.corp-python-final-cta {
    padding: 80px 0;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(37,99,235,.32), transparent 40%),
        #07152d;
}

.corp-python-final-cta-content {
    max-width: 820px;
    margin: 0 auto;
}

.corp-python-final-cta .corp-python-kicker {
    color: #67d9ff;
}

.corp-python-final-cta h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 750;
}

.corp-python-final-cta h2 span {
    color: var(--blue-light);
}

.corp-python-final-cta p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #cbd9ea;
    font-size: 15px;
    line-height: 1.8;
}

.corp-python-final-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   RESPONSIVE - 1199
========================================================= */

@media (max-width:1199px) {

    .corp-python-hero h1 {
        font-size: 48px;
    }

    .corp-python-hero-grid {
        gap: 35px;
    }

    .corp-python-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .corp-python-benefit:nth-child(3) {
        border-right: 0;
    }

    .corp-python-benefit:nth-child(n+4) {
        border-top: 1px solid var(--border);
    }

}


/* =========================================================
   RESPONSIVE - 900
========================================================= */

@media (max-width:900px) {

    .corp-python-section {
        padding: 72px 0;
    }

    .corp-python-section-head h2 {
        font-size: 36px;
    }

    .corp-python-hero {
        padding-bottom: 55px;
    }

    .corp-python-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        min-height: auto;
    }

    .corp-python-hero h1 {
        font-size: 46px;
    }

    .corp-python-hero-visual {
        min-height: 400px;
    }

    .corp-python-hero-image {
        min-height: 400px;
    }

    .corp-python-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .corp-python-benefit {
        border-bottom: 1px solid var(--border);
    }

    .corp-python-benefit:nth-child(2n) {
        border-right: 0;
    }

    .corp-python-learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .corp-python-curriculum-grid {
        grid-template-columns: 1fr;
    }

    .corp-python-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .corp-python-process::before {
        display: none;
    }

    .corp-python-section-head h2 { font-size:34px; }
    .corp-python-seo-content h2 { font-size:34px; }
    .corp-python-faq-section .corp-python-seo-content > h3 { padding:19px 50px 19px 20px; font-size:16px; }
    .corp-python-faq-section .corp-python-seo-content > h3 + p { padding:17px 20px 19px; font-size:14px; }

}


/* =========================================================
   RESPONSIVE - 600
========================================================= */

@media (max-width:600px) {

    .corp-python-container {
        width: 92%;
    }

    .corp-python-section {
        padding: 58px 0;
    }

    .corp-python-section-head {
        margin-bottom: 35px;
    }

    .corp-python-section-head h2 {
        font-size: 29px;
    }

    .corp-python-hero h1 {
        font-size: 36px;
    }

    .corp-python-hero h2 {
        font-size: 17px;
    }

    .corp-python-hero-content > p {
        font-size: 14px;
    }

    .corp-python-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .corp-python-btn {
        width: 100%;
    }

    .corp-python-hero-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .corp-python-hero-visual,
    .corp-python-hero-image {
        min-height: 300px;
    }

    .corp-python-benefits-grid {
        grid-template-columns: 1fr;
    }

    .corp-python-benefit,
    .corp-python-benefit:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .corp-python-benefit:last-child {
        border-bottom: 0;
    }

    .corp-python-learning-grid {
        grid-template-columns: 1fr;
    }

    .corp-python-learning-card {
        min-height: auto;
    }

    .corp-python-curriculum-card {
        grid-template-columns: 38px 1fr;
        padding: 22px;
    }

    .corp-python-process {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .corp-python-process-step {
        text-align: left;
        display: grid;
        grid-template-columns: 82px 1fr;
        column-gap: 18px;
        align-items: center;
    }

    .corp-python-process-number {
        grid-row: 1 / span 2;
        width: 76px;
        height: 76px;
        margin: 0;
    }

    .corp-python-process-step h3,
    .corp-python-process-step p {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .corp-python-seo-content h2 {
        font-size: 28px;
    }

    .corp-python-final-cta {
        padding: 60px 0;
    }

    .corp-python-final-cta h2 {
        font-size: 29px;
    }

    .corp-python-final-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .corp-python-final-cta-actions .corp-python-btn {
        width: 100%;
    }

    .corp-python-seo-content { width:100%; text-align:left; }
    .corp-python-seo-content h2 { font-size:29px; line-height:1.25; }
    .corp-python-faq-section .corp-python-seo-content h2 { margin-bottom:28px; }
    .corp-python-faq-section .corp-python-seo-content > h3 { padding:17px 47px 17px 17px; font-size:15px; line-height:1.5; }
    .corp-python-faq-section .corp-python-seo-content > h3::after { right:15px; width:25px; height:25px; font-size:14px; }
    .corp-python-faq-section .corp-python-seo-content > h3 + p { margin-bottom:14px; padding:15px 17px 17px; font-size:14px; line-height:1.75; }

}


/* =========================================================
   RESPONSIVE - 400
========================================================= */

@media (max-width:400px) {

    .corp-python-hero h1 {
        font-size: 32px;
    }

    .corp-python-section-head h2,
    .corp-python-seo-content h2 {
        font-size: 25px;
    }

    .corp-python-faq-section .corp-python-seo-content > h3 { padding:16px 43px 16px 15px; font-size:14px; }
    .corp-python-faq-section .corp-python-seo-content > h3::after { right:13px; font-size:13px; }
    .corp-python-faq-section .corp-python-seo-content > h3 + p { padding:14px 15px 16px; font-size:13px; }

}


/* =========================================================
   FINAL HERO POSITION FIX
   Match the visible Power BI hero positioning.
   Uses explicit offsets so grid centering cannot create
   the extra vertical gap seen on the Python page.
========================================================= */

/* Move the Python hero content upward to match PBI. */
.corp-python-hero-content {
    position: relative !important;
    top: -28px !important;
}

/* Move the Python hero visual slightly downward to match PBI. */
.corp-python-hero-visual {
    position: relative !important;
    top: 20px !important;
}

/* Keep the Python hero image sizing stable. */
.corp-python-hero-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
}

/* Reset these offsets on tablet/mobile where the layout stacks. */
@media (max-width: 900px) {
    .corp-python-hero-content {
        top: 0 !important;
    }

    .corp-python-hero-visual {
        top: 0 !important;
    }
}
