





/* --------------------- Carasoul ------------------------------ */

.carousel-section {
    margin: 100px auto;
    max-width: 1200px;
}
  /* subtle left vertical rule like screenshot */
  .content-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:48px;
    align-items:center;
    position:relative;
    padding-left:44px; /* space for the vertical rule */
    opacity:0;
    transform:translateY(22px);
    transition:opacity .7s cubic-bezier(.2,.9,.28,1), transform .7s cubic-bezier(.2,.9,.28,1);
    will-change:opacity,transform;

    .vertical-rule{
        position:absolute;
        left:20px;
        top:0;
        bottom:0;
        width:1px;
        background:rgba(0,0,0,0.06);
        border-radius:2px;
    }

    /* left column text */
    .left-col{
        padding-right:24px;

        p.intro{
            color:var(--muted);
            font-size:18px;
            line-height:1.9;
            margin:8px 0 36px;
            max-width:42ch;
        }

        h2{
            font-size: clamp(1.6rem, 3.6vw, 2.4rem);
            margin:0 0 18px;
            font-weight:700;
            letter-spacing: -0.02em;
            color:var(--text);
        }

        p.body{
            color:var(--text-color);
            font-size:18px;
            line-height:1.75;
            margin:0;
            max-width:46ch;
        }
    }

    /* right column - carousel area */
    .right-col{
        display:flex;
        justify-content:center;
        align-items:flex-start;

        .carousel {
            width:100%;
            max-width:520px;                 
            border-radius:28px;
            overflow:hidden;
            position:relative;
            box-shadow: 0 10px 38px rgba(12,12,12,0.06);
            background:#efefef;

            /* slides container */
            .slides {
                display:flex;
                width:150%;
                transition:transform .8s ease-in-out .5s;
                will-change:transform;

                .slide {
                    min-width:100%;
                    height:630px; /* desktop height — responsive below */
                    display:block;
                    position:relative;

                    img{
                        width:100%;
                        height:100%;
                        object-fit:cover;
                        display:block;
                    }
                }
            }

            /* rounded inner corner look */
            .controls{
                position:absolute;
                top:50%;
                transform:translateY(-50%);
                width:100%;
                pointer-events:none;

                .arrow{
                    position:absolute;
                    pointer-events:auto;
                    width:46px;
                    height:46px;
                    border-radius:50%;
                    background:var(--accent);
                    display:flex;
                    align-items:center;
                    justify-content:center;
                    color:#fff;
                    border:0;
                    box-shadow: 0 6px 18px rgba(47,91,255,0.18);
                    cursor:pointer;
                    transition:transform .15s ease, box-shadow .15s ease;
                }

                .arrow:active{ transform:scale(.98); }
                .arrow--left{ left:18px; }
                .arrow--right{ right:18px; }

                .arrow svg{ width:18px; height:18px; transform:translateY(1px); }
            }

            /* dots pill centered bottom */
            .dots-pill{
                position:absolute;
                left:50%;
                transform:translateX(-50%);
                bottom:18px;
                background:rgba(0,0,0,0.18);
                padding:10px 14px;
                border-radius:36px;
                display:flex;
                gap:10px;
                align-items:center;
                justify-content:center;
                pointer-events:auto;

                .dot{
                    width:10px;
                    height:10px;
                    border-radius:50%;
                    background:rgba(255,255,255,0.55);
                    transition:transform .18s ease, background .18s ease;
                }
                .dot.active{
                    width:12px;
                    height:12px;
                    background:#fff;
                    box-shadow:0 4px 10px rgba(0,0,0,0.12);
                    transform:translateY(-1px);
                }
            }
        }
    }
  }

  /* Media Query */
  @media (max-width: 1024px){
    .content-row {
        .right-col {
            .carousel{ 
                max-width:560px; 
                .slides {
                    .slide{ height:650px; }
                }
            }
        }
    }

  }

   @media (max-width: 860px) {
        .content-row {
            grid-template-columns: 1fr; 
            padding-left:16px; 
            gap:28px;

            .vertical-rule{ display:none; }

            .left-col p.intro, .left-col p.body{ 
                max-width:none; 
            }

            /* small visual polish */
            .left-col h2 + .mission-title{
                margin-top:28px;
                font-size:28px;
            }

            .right-col {
                order:-1;
                .carousel{ 
                    max-width:70%; 
                    border-radius:20px; 

                    .slides {
                        .slide{ 
                            height:600px; 

                            img {
                                object-position: center;
                            }
                        }
                    }
                    .controls {
                        /* accessible focus styles */
                        .arrow:focus, .dot:focus{
                            outline:3px solid rgba(47,91,255,0.16);
                            outline-offset:4px;
                        }
                    }
                }
            }
        }
   }



/* --------------------- Caraousal ------------------------------ */


/* --------------------- Team Section ------------------------------ */

.team-section {
    padding: 60px 40px;
    display: flex;
    justify-content: center;

    .team-grid {
        display: grid;
        gap: 35px;
        max-width: 1300px;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);

        .team-card {
            position: relative;
            background: #fff;
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
            transform: translateY(40px);
            opacity: 0;
            transition: all 0.8s ease;

            img {
                width: 100%;
                height: 100%;
                aspect-ratio: 4 / 5;
                object-fit: cover;
                display: block;
                }

            .team-info {
                position: absolute;
                left: 50%;
                bottom: 20px;
                transform: translateX(-50%);
                width: calc(100% - 40px);
                padding: 18px 22px;
                background: #fff;
                border-radius: 16px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                box-shadow: 0 6px 18px rgba(0,0,0,0.1);

                h3 {
                    margin: 0;
                    font-size: 20px;
                    font-weight: 600;
                    color: #000;
                    }

                p {
                    margin: 3px 0 0 0;
                    color: #666;
                    font-size: 15px;
                    }
                }

            .linkedin img {
                width: 26px;
                height: 26px;
                }
            }
        }
    }

/* ------------------Media---------------------------------*/

@media (max-width: 1200px) {

    .team-section {
        .team-grid {
            padding: 0 calc(20px - 1vw);
            grid-template-columns: repeat(2, 1fr);

            .team-card {
                width: 100%;
                height: 430px;

                img{
                    aspect-ratio: 2 / 3;
                }
            }
        }
    }
}

@media (max-width: 830px) {

    .team-section {
        .team-grid {
            grid-template-columns: repeat(2,1fr);
            padding: 0;
            .team-card {
                width: 100%;
                height: 330px;

                img{
                    aspect-ratio: 2 / 3;
                }
                .team-info {
                    h3 {
                    margin: 0;
                    font-size: 16px;
                    font-weight: 600;
                    color: #000;
                    }

                p {
                    margin: 3px 0 0 0;
                    color: #666;
                    font-size: 13px;
                    }
                }
            }
        }
    }
}

@media (max-width: 700px) {
    .team-section{
        .team-grid {
            grid-template-columns: 1fr;

            .team-card {
                width: 450px;
                margin: 0 auto;
                height: 470px;
            }
        }
    }
}

/* --------------------- Team Section ------------------------------ */




/* --------------------- Reveal ------------------------------ */

.reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
        }

/* --------------------- Reveal ------------------------------ */