/* =========================================================
   SQE2 PAGE — MATCHED TO SQE1 STRUCTURE
   ========================================================= */

/* ===========================
   HERO SECTION
   =========================== */

.sqe2-hero {
    background: radial-gradient(circle at top left, #132438, #0a1626 60%, #040810 100%);
    padding: 80px 0 160px;
    color: #ffffff;
}

.sqe2-hero .hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
}

.sqe2-hero .hero-left {
    max-width: 540px;
}

.hero-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    text-transform: uppercase;
    color: #e5c278;
    margin-bottom: 10px;
}

/* Golden Title */
.sqe2-hero .hero-left h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
    color: #f4e2a8;
}

/* Divider */
.hero-divider {
    width: 120px;
    height: 3px;
    background: #e5c278;
    opacity: 0.9;
    margin-bottom: 22px;
}

/* Paragraph */
.sqe2-hero .hero-left p {
    font-size: 1.15rem;
    color: #d7d9e2;
    margin-bottom: 30px;
    line-height: 1.65;
}

/* Hero Button */
.hero-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 40px;
    background: #e5c278;
    color: #08192f;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-btn:hover {
    background: #f7d692;
    transform: translateY(-3px);
}

.hero-subtext {
    margin-top: 18px;
    opacity: 0.78;
    font-size: 0.9rem;
}

/* =========================================================
   MAIN BODY SECTIONS — IDENTICAL TO SQE1 LAYOUT
   ========================================================= */

.sqe2-section {
    padding: 110px 0;
    background: #ffffff;
}

.sqe2-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 14px;
    color: #0a1a2f;
}

.sqe2-section p {
    font-size: 1.05rem;
    color: #3d4e66;
    line-height: 1.65;
}

.sqe2-section ul {
    margin-top: 18px;
}

.sqe2-list li {
    margin-bottom: 8px;
    font-size: 1.02rem;
    color: #2b3c4f;
}



/* =========================================================
   GRID SYSTEM (Matches SQE1)
   ========================================================= */

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

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



/* =========================================================
   SNAPSHOT BOX — SAME STYLE AS SQE1
   ========================================================= */

.snapshot-box {
    padding: 28px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(10,26,47,0.1);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.snapshot-label {
    display: inline-block;
    background: #e5c278;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #08192f;
    border-radius: 20px;
    margin-bottom: 12px;
}



/* =========================================================
   SKILL CARDS — Same UI as SQE1 route cards
   ========================================================= */

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

.skill-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    border: 1px solid rgba(10,26,47,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.skill-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0a1a2f;
}

.skill-card p {
    font-size: 0.98rem;
    color: #475a74;
}



/* =========================================================
   ROUTE CARDS — Matches SQE1 design
   ========================================================= */

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

.route-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    border: 1px solid rgba(10,26,47,0.08);
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: 0.25s ease;
}

.route-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.route-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0a1a2f;
}

.route-card p {
    margin-top: 10px;
    color: #475a74;
}



/* =========================================================
   WHY CHOOSE US — Matches SQE1 Home cards
   ========================================================= */

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

.why-card {
    background: #ffffff;
    padding: 26px;
    border-radius: 16px;
    border: 1px solid rgba(10,26,47,0.09);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.why-card h3 {
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0a1a2f;
}

.why-card p {
    font-size: 0.98rem;
    color: #475a74;
}



/* =========================================================
   CTA SECTION (Exact SQE1 CTA)
   ========================================================= */

.sqe2-cta {
    background: #0F2234;
    padding: 80px 0;
    text-align: center;
}

.sqe2-cta h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
}

.sqe2-cta p {
    color: #d5dde8;
    font-size: 1.05rem;
    margin-bottom: 22px;
}

.cta-btn-sm {
    padding: 12px 28px;
    border-radius: 38px;
    background: #e5c278;
    color: #08192f;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: 0.25s ease;
}

.cta-btn-sm:hover {
    background: #f7d692;
}



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

@media (max-width: 900px) {

    .sqe2-hero .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .sqe2-hero-graphic img {
        margin: 0 auto;
        width: 310px;
    }

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

    .skills-grid,
    .routes-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}



/* =========================================================
   SQE2 MAIN BODY – UPGRADE
   ========================================================= */

/* Intro section tweaks */
.sqe2-intro {
    background: #ffffff;
}

.sqe2-subheading {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a88940;
    font-weight: 700;
    margin-bottom: 10px;
}

.sqe2-lead {
    font-size: 1.03rem;
    color: #3d4e66;
    margin-bottom: 18px;
    line-height: 1.7;
}

/* generic list */
.sqe2-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.sqe2-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #2b3c4f;
    font-size: 0.98rem;
}

.sqe2-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: #e5c278;
}

/* =========================================================
   WHAT YOU'LL LEARN
   ========================================================= */

.sqe2-learn {
    background: #f7f9fc;
}

.sqe2-section-header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.sqe2-section-header h2 {
    margin-bottom: 10px;
}

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

.learn-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 22px 24px;
    border: 1px solid rgba(10, 26, 47, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: 0.25s ease;
}

.learn-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #08192f;
}

.learn-card p {
    font-size: 0.96rem;
    color: #3d4e66;
    margin-bottom: 10px;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
}

/* pill list inside learn cards */
.sqe2-pill-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sqe2-pill-list li {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(229, 194, 120, 0.12);
    color: #6a5a2b;
    border: 1px solid rgba(229, 194, 120, 0.4);
}

/* =========================================================
   HOW THE PROGRAMME RUNS – STEPS
   ========================================================= */

.sqe2-steps {
    background: #ffffff;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.step-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(10, 26, 47, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    font-size: 0.94rem;
    color: #3d4e66;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5c278;
    color: #08192f;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.step-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #08192f;
    margin-bottom: 6px;
}

/* =========================================================
   ROUTES
   ========================================================= */

.sqe2-routes {
    background: #f7f9fc;
}

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

.route-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px 26px;
    border: 1px solid rgba(10, 26, 47, 0.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
}

.route-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: #08192f;
}

.route-tagline {
    font-size: 0.95rem;
    color: #4b5a6c;
    margin-bottom: 10px;
}

.route-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 10px 0;
    font-size: 0.94rem;
    color: #3d4e66;
}

.route-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.route-list li::before {
    content: "•";
    position: absolute;
    left: 5px;
    top: 0;
    color: #e5c278;
}

.route-note {
    font-size: 0.88rem;
    color: #6a768a;
    margin-top: 4px;
}

/* badge */
.route-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(229, 194, 120, 0.18);
    color: #7a6323;
    margin-bottom: 10px;
}

.route-badge-main {
    background: #e5c278;
    color: #08192f;
}

/* hover */
.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

/* routes footnote */
.routes-footnote {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #4b5a6c;
    text-align: center;
}

.routes-footnote a {
    color: #e5c278;
    text-decoration: none;
    font-weight: 600;
}

.routes-footnote a:hover {
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE TWEAKS FOR NEW SECTIONS
   ========================================================= */
@media (max-width: 1100px) {
    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .route-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .learn-grid {
        grid-template-columns: 1fr;
    }
    .steps-row {
        grid-template-columns: 1fr;
    }
    .route-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   HERO ORB — FIXED, PERFECT CIRCULAR ALIGNMENT
   ========================================================= */

.sqe2-hero-orb {
    position: relative;
    width: 520px;
    height: 520px;
    margin-right: 20px;
    transform: translateY(-6px);
}

/* Golden orb core */
.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    height: 155px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        #fffbe9 0%,
        #f4e2a8 40%,
        #d0b069 95%
    );
    box-shadow:
        0 0 55px rgba(255,235,180,0.45),
        0 0 120px rgba(255,235,180,0.28),
        inset 0 0 34px rgba(255,255,255,0.30);
}

/* Orbit rings */
.sqe2-hero-orb::before,
.sqe2-hero-orb::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sqe2-hero-orb::before {
    width: 340px;     /* MAIN ORBIT SIZE */
    height: 340px;
    border: 1px dashed rgba(255,255,255,0.010);
}

.sqe2-hero-orb::after {
    width: 255px;
    height: 255px;
    border: 1px solid rgba(255,255,255,0.04);
}

/* TAG CONTAINER — MUST MATCH ORBIT EXACTLY */
.skill-cloud {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    animation: orbitRotate 55s linear infinite;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Individual skill tags — upright orbit version */
.skill-tag {
    position: absolute;
    background: rgba(12,20,34,0.78);
    padding: 8px 22px;
    border-radius: 40px;
    color: #f4e2a8;
    font-size: 0.83rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.35),
        0 0 12px rgba(255,220,150,0.10);
    backdrop-filter: blur(5px);
    pointer-events: auto;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    transition: transform 0.30s ease, box-shadow 0.30s ease;
    z-index: 5;
     --angle: 0deg;  /* direction from sun */
    --dist: 1; 

    /* Keep tags upright while orbit rotates */
    animation: stayUpright 55s linear infinite;
}

/* Hover */
.skill-tag:hover {
    transform: translate(-50%, -50%) translateY(-5px);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.55),
        0 0 18px rgba(255,220,150,0.25);
}

/* Counter-rotation keeps text upright */
@keyframes stayUpright {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
/* =========================================================
   THE REAL COMET TRAIL — Motion-blur streak
   ========================================================= */
.skill-tag::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40%;
    width: 150%;
    transform-origin: left center;

    /* Perfect comet gradient */
    background: linear-gradient(
        to right,
        rgba(255, 215, 130, 0.55),
        rgba(255, 215, 130, 0.18),
        transparent
    );

    border-radius: 60px;
    filter: blur(14px);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;

    /* DIRECTION + LENGTH SYNCED HERE */
    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        scaleX(calc(0.6 + var(--dist)));
}

/* Hover enhancement */
.skill-tag:hover {
    transform: translate(-50%, -50%) translateY(-6px);
    box-shadow:
        0 12px 35px rgba(0,0,0,0.55),
        0 0 30px rgba(255,220,150,0.35);
}


/* -------------------------------------------
   RADIAL CONNECTION LINES (Behind everything)
   ------------------------------------------- */

.line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;      
    height: 1px;
    background: rgba(255,255,255,0.06);
    transform-origin: left center;
    z-index: 0; 
    pointer-events: none;
}

/* 8-point geometric directions */
.l1 { transform: rotate(-90deg); }    /* Top */
.l2 { transform: rotate(-45deg); }    /* Upper-Right */
.l3 { transform: rotate(0deg); }      /* Right */
.l4 { transform: rotate(45deg); }     /* Lower-Right */
.l5 { transform: rotate(90deg); }     /* Bottom */
.l6 { transform: rotate(135deg); }    /* Lower-Left */
.l7 { transform: rotate(180deg); }    /* Left */
.l8 { transform: rotate(-135deg); }   /* Upper-Left */

/* =========================================================
   PERFECT CIRCLE COORDINATES
   ========================================================= */

/* PERFECT EIGHT-POINT CIRCLE GEOMETRY */

/* Center: top:50%, left:50% */

/* 90° – TOP */
.s1 {
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 45° – UPPER-RIGHT */
.s2 {
    top: 23%;
    left: 77%;
    transform: translate(-50%, -50%);
}

/* 0° – RIGHT */
.s3 {
    top: 50%;
    left: 92%;
    transform: translate(-50%, -50%);
}

/* 315° – LOWER-RIGHT */
.s4 {
    top: 77%;
    left: 77%;
    transform: translate(-50%, -50%);
}

/* 270° – BOTTOM */
.s5 {
    top: 92%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 225° – LOWER-LEFT */
.s6 {
    top: 77%;
    left: 23%;
    transform: translate(-50%, -50%);
}

/* 180° – LEFT */
.s7 {
    top: 50%;
    left: 8%;
    transform: translate(-50%, -50%);
}

/* 135° – UPPER-LEFT */
.s8 {
    top: 23%;
    left: 23%;
    transform: translate(-50%, -50%);
}
/* slow full rotation */
.skill-cloud {
    animation: sqe2Orbit 55s linear infinite;
    transform-origin: center center;
}

@keyframes sqe2Orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}


=============


.orb-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.35rem;
    font-weight: 800;
    color: #3b2d10;
    letter-spacing: 0.05em;
    pointer-events: none;
    text-shadow: 
        0 0 8px rgba(255,255,255,0.5),
        0 0 14px rgba(255,240,180,0.6);
}




=========
.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    height: 155px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        #fffbe9 0%,
        #f4e2a8 40%,
        #d0b069 95%
    );
    box-shadow:
        0 0 45px rgba(255,235,180,0.35),
        0 0 95px rgba(255,235,180,0.22),
        inset 0 0 30px rgba(255,255,255,0.25);
}

.orb-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 800;
    color: #3b2d10;
    letter-spacing: 0.02em;
    pointer-events: none;
    text-shadow:
        0 0 6px rgba(255,255,255,0.6),
        0 0 14px rgba(255,240,180,0.75);
}



