﻿/* ============================================================
   SAN ROBOTICS - FOUNDATION PROGRAM
   Theme:
   Navy + Blue + Cyan
   Futuristic Robotics / AI / STEM
   ============================================================ */


/* ============================================================
   GLOBAL
   ============================================================ */

.foundation-hero,
.foundation-intro,
.duration-section,
.learning-section,
.approach-section,
.projects-section,
.outcomes-section,
.journey-section {
    position: relative;
    overflow: hidden;
}

.foundation-hero *,
.foundation-intro *,
.duration-section *,
.learning-section *,
.approach-section *,
.projects-section *,
.outcomes-section *,
.journey-section * {
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: #19D3FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

section p {
    line-height: 1.8;
}


/* ============================================================
   HERO
   ============================================================ */

.foundation-hero {
    min-height: 690px;
    padding: 120px 7% 90px;
    background:
        radial-gradient(circle at 80% 45%, rgba(0, 183, 255, .14), transparent 25%),
        radial-gradient(circle at 20% 20%, rgba(18, 88, 180, .18), transparent 30%),
        linear-gradient(135deg, #020B1B 0%, #061A3A 55%, #032B55 100%);
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-grid,
.journey-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(25,211,255,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25,211,255,.15) 1px, transparent 1px);
    background-size: 45px 45px;
    pointer-events: none;
}

.foundation-hero-content {
    position: relative;
    z-index: 5;
    width: 57%;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border: 1px solid rgba(25,211,255,.45);
    background: rgba(25,211,255,.08);
    border-radius: 50px;
    color: #19D3FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    box-shadow: 0 0 25px rgba(25,211,255,.08);
}

.foundation-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.foundation-hero h1 span {
    color: #19D3FF;
}

.foundation-hero p {
    max-width: 680px;
    margin: 25px 0 35px;
    color: #B9CBE0;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.foundation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: all .3s ease;
}

.primary-btn {
    color: #02101F;
    background: #19D3FF;
    box-shadow: 0 8px 25px rgba(25,211,255,.20);
}

.primary-btn:hover {
    color: #02101F;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(25,211,255,.35);
}

.outline-btn {
    color: #fff;
    border: 1px solid rgba(25,211,255,.5);
    background: rgba(255,255,255,.03);
}

.outline-btn:hover {
    color: #19D3FF;
    border-color: #19D3FF;
    background: rgba(25,211,255,.07);
    transform: translateY(-3px);
}


/* ============================================================
   HERO TECHNOLOGY VISUAL
   ============================================================ */

.hero-tech-visual {
    position: absolute;
    right: 6%;
    top: 50%;
    width: 390px;
    height: 390px;
    transform: translateY(-50%);
}

.tech-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #19D3FF;
    font-size: 38px;
    background: radial-gradient(circle, #073A68, #03162D);
    border: 2px solid rgba(25,211,255,.7);
    box-shadow:
        0 0 25px rgba(25,211,255,.5),
        0 0 70px rgba(25,211,255,.15);
    z-index: 5;
}

.tech-orbit {
    position: absolute;
    border: 1px solid rgba(25,211,255,.22);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 180px;
    height: 180px;
}

.orbit-two {
    width: 285px;
    height: 285px;
}

.orbit-three {
    width: 370px;
    height: 370px;
    border-style: dashed;
}

.tech-node {
    position: absolute;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #19D3FF;
    background: rgba(3,28,55,.9);
    border: 1px solid rgba(25,211,255,.35);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    z-index: 6;
}

.node-one {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.node-two {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.node-three {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.node-four {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-one {
    width: 250px;
    height: 250px;
    right: 15%;
    top: 15%;
    background: rgba(0,174,255,.12);
}

.hero-glow-two {
    width: 180px;
    height: 180px;
    left: 10%;
    bottom: 5%;
    background: rgba(25,211,255,.08);
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.foundation-intro {
    padding: 100px 0;
    background: #F5F8FC;
    color: #182536;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.intro-content h2,
.section-heading h2,
.projects-content h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    margin: 0 0 22px;
    color: #08234A;
}

.intro-content h2 span,
.section-heading h2 span,
.projects-content h2 span {
    color: #087ED1;
}

.intro-content p {
    color: #596B7F;
    font-size: 16px;
    margin-bottom: 17px;
}

.intro-visual {
    display: flex;
    justify-content: center;
}

.intro-card {
    position: relative;
    width: 100%;
    max-width: 390px;
    min-height: 330px;
    padding: 50px 40px;
    text-align: center;
    border-radius: 25px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 0%, rgba(25,211,255,.16), transparent 35%),
        linear-gradient(145deg, #061A3A, #083B70);
    border: 1px solid rgba(25,211,255,.25);
    box-shadow: 0 25px 60px rgba(8,55,100,.18);
}

.intro-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: #19D3FF;
    font-size: 38px;
    background: rgba(25,211,255,.08);
    border: 1px solid rgba(25,211,255,.3);
}

.intro-card h3 {
    margin: 0 0 12px;
    font-size: 25px;
}

.intro-card p {
    color: #B7CBDF;
}

.intro-tech-lines {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 25px;
}

.intro-tech-lines span {
    width: 35px;
    height: 3px;
    border-radius: 10px;
    background: #19D3FF;
}

.intro-tech-lines span:nth-child(2) {
    width: 60px;
}


/* ============================================================
   DURATION
   ============================================================ */

.duration-section {
    padding: 70px 0;
    background: #fff;
}

.duration-card {
    display: grid;
    grid-template-columns: 100px 1fr 300px;
    align-items: center;
    gap: 30px;
    padding: 35px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #061A3A, #083B70);
    color: #fff;
    box-shadow: 0 20px 50px rgba(5,40,75,.15);
    overflow: hidden;
    position: relative;
}

.duration-card:after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -100px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(25,211,255,.15);
}

.duration-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #19D3FF;
    font-size: 30px;
    background: rgba(25,211,255,.08);
    border: 1px solid rgba(25,211,255,.25);
}

.duration-content h2 {
    margin: 0 0 5px;
    font-size: 38px;
}

.duration-content p {
    color: #B9CBE0;
    margin: 0;
}

.duration-side {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.duration-side div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #AFC3D8;
    font-size: 12px;
    text-align: center;
}

.duration-side span {
    color: #19D3FF;
    font-size: 18px;
    font-weight: 800;
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.section-heading {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading p {
    color: #65768A;
    font-size: 16px;
}


/* ============================================================
   LEARNING SECTION
   ============================================================ */

.learning-section {
    padding: 110px 0;
    background: #F5F8FC;
}

.learning-card {
    position: relative;
    display: grid;
    grid-template-columns: 65px 100px 1fr;
    gap: 25px;
    align-items: start;
    padding: 45px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #E3EAF2;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(8,40,75,.06);
    transition: all .35s ease;
}

.learning-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8,126,209,.3);
    box-shadow: 0 20px 55px rgba(8,40,75,.11);
}

.learning-card-number {
    font-size: 16px;
    font-weight: 800;
    color: #087ED1;
    padding-top: 8px;
}

.learning-card-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #087ED1;
    font-size: 31px;
    background: linear-gradient(135deg, #E8F7FF, #DDF1FF);
    border: 1px solid #CBE9FA;
}

.learning-card-content h3 {
    margin: 0 0 12px;
    color: #08234A;
    font-size: 28px;
}

.learning-card-content p {
    color: #5E6F82;
    margin: 0 0 13px;
}

.learning-card-content h4 {
    margin: 25px 0 15px;
    color: #163E6C;
    font-size: 15px;
}

.learning-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px 25px;
}

.learning-list div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #52667A;
    font-size: 14px;
    line-height: 1.5;
}

.learning-list i {
    color: #087ED1;
    margin-top: 3px;
}


/* ============================================================
   LEARNING APPROACH
   ============================================================ */

.approach-section {
    padding: 110px 0;
    background: #fff;
}

.approach-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 70px;
}

.approach-step {
    width: 150px;
    text-align: center;
}

.approach-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #087ED1;
    background: #EAF7FF;
    border: 1px solid #CDEBFA;
    font-size: 25px;
    transition: all .3s ease;
}

.approach-step:hover .approach-icon {
    color: #fff;
    background: #087ED1;
    box-shadow: 0 10px 30px rgba(8,126,209,.25);
}

.approach-step span {
    display: block;
    color: #19AEDA;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
}

.approach-step h3 {
    margin: 0;
    color: #08234A;
    font-size: 18px;
}

.approach-step p {
    color: #77889A;
    font-size: 12px;
    margin: 5px 0 0;
}

.flow-arrow {
    color: #19BEEA;
    font-size: 18px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.skill-item {
    min-height: 80px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #E0E8F0;
    border-radius: 12px;
    background: #F8FAFC;
    color: #4D6175;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.skill-item:hover {
    transform: translateY(-4px);
    border-color: #A9DFF5;
    background: #F0FAFF;
}

.skill-item i {
    color: #087ED1;
    font-size: 20px;
}


/* ============================================================
   PROJECTS
   ============================================================ */

.projects-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(8,126,209,.06), transparent 30%),
        #F5F8FC;
}

.projects-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.projects-visual {
    display: flex;
    justify-content: center;
}

.project-core {
    position: relative;
    width: 380px;
    height: 380px;
}

.project-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(8,126,209,.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-one {
    width: 230px;
    height: 230px;
}

.ring-two {
    width: 340px;
    height: 340px;
    border-style: dashed;
}

.project-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 110px;
    height: 110px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #19D3FF;
    font-size: 38px;
    background: linear-gradient(145deg, #061A3A, #083B70);
    border: 2px solid rgba(25,211,255,.45);
    box-shadow: 0 0 45px rgba(25,211,255,.15);
}

.project-floating {
    position: absolute;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #087ED1;
    background: #fff;
    border: 1px solid #CFE6F4;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(8,50,90,.10);
}

.project-one {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.project-two {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.project-three {
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.projects-content h2 {
    margin-bottom: 25px;
}

.projects-content p {
    color: #5E7084;
}

.project-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    border-left: 3px solid #19D3FF;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 25px rgba(8,50,90,.06);
}

.project-highlight > i {
    color: #087ED1;
    font-size: 27px;
}

.project-highlight strong,
.project-highlight span {
    display: block;
}

.project-highlight strong {
    color: #173E68;
    font-size: 14px;
}

.project-highlight span {
    color: #738397;
    font-size: 12px;
    margin-top: 4px;
}


/* ============================================================
   OUTCOMES
   ============================================================ */

.outcomes-section {
    padding: 110px 0;
    background: #fff;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.outcome-card {
    position: relative;
    min-height: 220px;
    padding: 30px 25px;
    border: 1px solid #E1E8F0;
    border-radius: 18px;
    background: #FAFCFE;
    transition: all .3s ease;
    overflow: hidden;
}

.outcome-card:hover {
    transform: translateY(-5px);
    border-color: #9EDBF2;
    box-shadow: 0 15px 40px rgba(8,50,90,.08);
}

.outcome-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #DCEAF4;
    font-size: 38px;
    font-weight: 800;
}

.outcome-card i {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 14px;
    color: #087ED1;
    background: #EAF7FF;
    font-size: 22px;
}

.outcome-card p {
    margin: 0;
    color: #53677B;
    font-size: 14px;
    line-height: 1.65;
}


/* ============================================================
   JOURNEY CTA
   ============================================================ */

.journey-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(25,211,255,.12), transparent 30%),
        linear-gradient(135deg, #020B1B, #061A3A 60%, #032B55);
    color: #fff;
}

.journey-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.journey-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #19D3FF;
    font-size: 32px;
    background: rgba(25,211,255,.08);
    border: 1px solid rgba(25,211,255,.35);
    box-shadow: 0 0 35px rgba(25,211,255,.1);
}

.journey-section .section-label {
    margin-bottom: 12px;
}

.journey-content h2 {
    margin: 0 0 20px;
    font-size: clamp(35px, 4vw, 52px);
}

.journey-content h2 span {
    color: #19D3FF;
}

.journey-content > p {
    max-width: 720px;
    margin: 0 auto 20px;
    color: #B8CBE0;
    font-size: 17px;
}

.journey-content h3 {
    margin: 25px 0 40px;
    color: #fff;
    font-size: 25px;
    line-height: 1.5;
}

.program-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.program-summary > div {
    min-height: 120px;
    padding: 22px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(25,211,255,.18);
    border-radius: 15px;
    background: rgba(255,255,255,.035);
}

.program-summary i {
    color: #19D3FF;
    font-size: 21px;
    margin-bottom: 10px;
}

.program-summary strong {
    color: #fff;
    font-size: 13px;
    margin-bottom: 5px;
}

.program-summary span {
    color: #AFC3D7;
    font-size: 12px;
    line-height: 1.5;
}

.journey-btn {
    margin-top: 5px;
}


/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .foundation-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .foundation-hero-content {
        width: 62%;
    }

    .hero-tech-visual {
        right: -50px;
        transform: translateY(-50%) scale(.8);
    }

    .duration-card {
        grid-template-columns: 80px 1fr;
    }

    .duration-side {
        grid-column: 2;
        justify-content: flex-start;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .container {
        width: 90%;
    }

    .foundation-hero {
        min-height: auto;
        padding: 120px 5% 80px;
        display: block;
    }

    .foundation-hero-content {
        width: 100%;
        text-align: center;
    }

    .foundation-hero h1 {
        font-size: 40px;
    }

    .foundation-hero p {
        font-size: 15px;
    }

    .hero-actions {
        justify-content: center;
    }

    .foundation-btn {
        width: 100%;
        max-width: 260px;
    }

    .hero-tech-visual {
        position: relative;
        right: auto;
        top: auto;
        width: 280px;
        height: 280px;
        margin: 60px auto 0;
        transform: none;
    }

    .orbit-one {
        width: 135px;
        height: 135px;
    }

    .orbit-two {
        width: 215px;
        height: 215px;
    }

    .orbit-three {
        width: 275px;
        height: 275px;
    }

    .tech-core {
        width: 75px;
        height: 75px;
        font-size: 28px;
    }

    .tech-node {
        width: 45px;
        height: 45px;
    }

    .foundation-intro,
    .learning-section,
    .approach-section,
    .projects-section,
    .outcomes-section,
    .journey-section {
        padding: 75px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .intro-content {
        text-align: center;
    }

    .intro-content h2,
    .section-heading h2,
    .projects-content h2 {
        font-size: 34px;
    }

    .duration-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 22px;
    }

    .duration-icon {
        margin: 0 auto;
    }

    .duration-side {
        grid-column: auto;
        justify-content: center;
    }

    .learning-card {
        grid-template-columns: 1fr;
        padding: 30px 23px;
        text-align: center;
    }

    .learning-card-number {
        padding: 0;
    }

    .learning-card-icon {
        margin: 0 auto;
    }

    .learning-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .approach-flow {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 50px;
    }

    .approach-step {
        width: 100%;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 3px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-core {
        width: 290px;
        height: 290px;
    }

    .ring-one {
        width: 175px;
        height: 175px;
    }

    .ring-two {
        width: 260px;
        height: 260px;
    }

    .project-center {
        width: 85px;
        height: 85px;
        font-size: 28px;
    }

    .projects-content {
        text-align: center;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .outcome-card {
        min-height: auto;
    }

    .program-summary {
        grid-template-columns: 1fr;
    }

    .journey-content h3 {
        font-size: 21px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .foundation-hero h1 {
        font-size: 34px;
    }

    .program-badge {
        font-size: 10px;
    }

    .hero-tech-visual {
        width: 245px;
        height: 245px;
    }

    .orbit-one {
        width: 120px;
        height: 120px;
    }

    .orbit-two {
        width: 190px;
        height: 190px;
    }

    .orbit-three {
        width: 240px;
        height: 240px;
    }

    .tech-node {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .learning-card-content h3 {
        font-size: 23px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

}