/* =========================================================
   SILIBOT ROBOTICS PROGRAM
   Public Robotics page for Classes 9th to 10th.
   ========================================================= */


/* ---------------------------------------------------------
   Main page
   --------------------------------------------------------- */
.robotics-page {
    width: 100%;
    overflow: hidden;
    background: #f6f9fd;
    color: #14233b;
}


/* ---------------------------------------------------------
   Robotics hero section
   --------------------------------------------------------- */
.robotics-hero {
    position: relative;
    overflow: hidden;
    background: #071d36;
    color: #ffffff;
}


/* Futuristic grid background. */
.robotics-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 55px 55px;
}


/* Blue glow in the hero. */
.robotics-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.20);
    filter: blur(70px);
}


/* Hero content container. */
.robotics-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    min-height: 520px;
    margin: 0 auto;
    padding: 55px 30px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}


/* ---------------------------------------------------------
   Breadcrumb
   --------------------------------------------------------- */
.robotics-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    font-size: 13px;
    color: #aebfd5;
}


/* Breadcrumb links. */
.robotics-breadcrumb a {
    color: #8dbdff;
    text-decoration: none;
}


/* Breadcrumb separator. */
.robotics-breadcrumb span {
    color: #7187a2;
}


/* Current breadcrumb. */
.robotics-breadcrumb strong {
    color: #ffffff;
}


/* ---------------------------------------------------------
   Hero typography
   --------------------------------------------------------- */
.robotics-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #63a4ff;
}


/* Main robotics heading. */
.robotics-hero h1 {
    margin: 0;
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
}


/* Class range. */
.robotics-hero h2 {
    margin: 18px 0 22px;
    font-size: clamp(25px, 3vw, 36px);
    color: #4d9aff;
}


/* Hero description. */
.robotics-hero-content > p {
    max-width: 650px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #d0dceb;
}


/* ---------------------------------------------------------
   Hero highlights
   --------------------------------------------------------- */
.robotics-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 38px;
}


/* Individual highlight. */
.robotics-highlight {
    display: flex;
    align-items: center;
    gap: 11px;
}


/* Highlight icon. */
.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid #347fcf;
    border-radius: 12px;
    color: #62a9ff;
    font-size: 19px;
}


/* Highlight title. */
.robotics-highlight strong {
    display: block;
    font-size: 13px;
    color: #ffffff;
}


/* Highlight description. */
.robotics-highlight span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #9eb2ca;
}


/* ---------------------------------------------------------
   Robotics visual
   --------------------------------------------------------- */
.robotics-hero-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Circular visual rings. */
.robotics-visual-circle {
    position: absolute;
    border: 1px solid rgba(71, 154, 255, 0.35);
    border-radius: 50%;
}


.circle-one {
    width: 300px;
    height: 300px;
}


.circle-two {
    width: 410px;
    height: 410px;
}


.circle-three {
    width: 510px;
    height: 510px;
}


/* Simple robot illustration. */
.robot-visual-box {
    position: relative;
    z-index: 3;
    width: 270px;
    height: 230px;
}


/* Robot head. */
.robot-head {
    position: absolute;
    top: 10px;
    left: 78px;
    width: 115px;
    height: 80px;
    border: 4px solid #d8e7f7;
    border-radius: 25px;
    background: #163554;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}


/* Robot eyes. */
.robot-eye {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #57a8ff;
    box-shadow: 0 0 18px rgba(87,168,255,0.9);
}


/* Robot body. */
.robot-body {
    position: absolute;
    top: 92px;
    left: 58px;
    width: 155px;
    height: 105px;
    border: 4px solid #d8e7f7;
    border-radius: 25px;
    background: #102c49;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


/* Robot body details. */
.robot-body span {
    width: 22px;
    height: 45px;
    border: 2px solid #4d9aff;
    border-radius: 5px;
}


/* Robot wheels. */
.robot-wheel {
    position: absolute;
    bottom: 0;
    width: 48px;
    height: 48px;
    border: 5px solid #a9c4dd;
    border-radius: 50%;
    background: #10243a;
}


/* Left wheel. */
.wheel-left {
    left: 35px;
}


/* Right wheel. */
.wheel-right {
    right: 35px;
}


/* ---------------------------------------------------------
   Project showcase
   --------------------------------------------------------- */
.project-showcase {
    max-width: 1250px;
    margin: 0 auto;
    padding: 80px 30px 75px;
}


/* Showcase heading. */
.project-showcase-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}


/* Small section label. */
.robotics-section-label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #2563eb;
}


/* Showcase heading. */
.project-showcase-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 52px);
    letter-spacing: -1.5px;
}


/* Showcase description. */
.project-showcase-heading p {
    margin: 18px auto 0;
    font-size: 16px;
    line-height: 1.75;
    color: #65748a;
}


/* ---------------------------------------------------------
   Project grid
   --------------------------------------------------------- */
.robotics-project-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}


/* ---------------------------------------------------------
   Project card
   --------------------------------------------------------- */
.robotics-project-card {
    display: block;
    overflow: hidden;
    border: 1px solid #e1e8f1;
    border-radius: 18px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(24, 51, 86, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Project card hover. */
.robotics-project-card:hover {
    transform: translateY(-7px);
    border-color: #b9d2f5;
    box-shadow: 0 18px 40px rgba(24, 51, 86, 0.13);
}


/* ---------------------------------------------------------
   Project image
   --------------------------------------------------------- */
.project-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #edf2f7;
}


/* Project image itself. */
.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}


/* Zoom project image when card is hovered. */
.robotics-project-card:hover .project-image img {
    transform: scale(1.04);
}


/* ---------------------------------------------------------
   Project card bottom area
   --------------------------------------------------------- */
.project-card-content {
    min-height: 85px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


/* Project title. */
.project-card-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #14233b;
}


/* Project arrow. */
.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #b9d5fa;
    border-radius: 50%;
    color: #2563eb;
    font-size: 18px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Project arrow hover. */
.robotics-project-card:hover .project-arrow {
    background: #2563eb;
    color: #ffffff;
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   Bottom CTA
   --------------------------------------------------------- */
.robotics-cta {
    max-width: 1170px;
    margin: 10px auto 80px;
    padding: 28px 30px;
    border-radius: 28px;
    background: #09233f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* CTA content. */
.robotics-cta-content {
    display: flex;
    align-items: center;
    gap: 18px;
}


/* CTA icon. */
.cta-robot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(92, 160, 235, 0.20);
    font-size: 25px;
}


/* CTA heading. */
.robotics-cta h2 {
    margin: 0;
    font-size: 20px;
}


/* CTA paragraph. */
.robotics-cta p {
    margin: 5px 0 0;
    color: #aebfd2;
    font-size: 14px;
}


/* CTA button. */
.robotics-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 10px;
    background: #2678ed;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* CTA button hover. */
.robotics-cta-button:hover {
    background: #1766d6;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (max-width: 1050px) {

    .robotics-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }


    .robotics-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .robotics-breadcrumb {
        justify-content: center;
    }


    .robotics-highlights {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }


    .robotics-hero-visual {
        min-height: 320px;
    }


    .robotics-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */
@media (max-width: 700px) {

    .robotics-hero-inner {
        padding: 40px 20px 50px;
    }


    .robotics-highlights {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }


    .robotics-project-grid {
        grid-template-columns: 1fr;
    }


    .project-showcase {
        padding: 60px 20px;
    }


    .robotics-cta {
        margin: 10px 20px 50px;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }


    .robotics-cta-button {
        width: 100%;
        justify-content: center;
    }

}


/* ---------------------------------------------------------
   Small mobile screens
   --------------------------------------------------------- */
@media (max-width: 450px) {

    .robotics-highlights {
        grid-template-columns: 1fr;
    }


    .robotics-hero-visual {
        min-height: 260px;
    }


    .circle-one {
        width: 220px;
        height: 220px;
    }


    .circle-two {
        width: 300px;
        height: 300px;
    }


    .circle-three {
        width: 370px;
        height: 370px;
    }

}