*{
    font-family: "Roboto", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /* scroll-behavior: smooth; */
}

/* body {
  overflow-x: hidden;
} */

:root {
    --primary-bg: #0a192f;
    --secondary-bg: #112240;
    --card-bg: #ffffff;
    --primary-text: #ffffff;
    --secondary-text: #ccd6f6;
    --accent: #1e90ff;
    --border: #233554;
    --shadow: rgba(30, 144, 255, 0.15);
}

.site-container {
    min-height: 100vh;
}

.section-title {
    /* border: 2px solid; */
    padding: none;
    width: 100%;
    height: 10%;
    text-align: center;
    align-content: center;
    font-size: clamp(1rem, 2vw, 2rem);
    padding-bottom: 10px;
}

section {
    /* border: 2px solid rgb(162, 94, 222); */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

/*  */

nav {
    /* border: 2px solid red; */
    z-index: 1000;
    display: flex;
    width: 100%;
    height: 10vh;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(1rem, 5vw, 1.5rem);
    border-bottom: 3px solid #5b5b5b;
}

.Name{
    /* border: 2px solid red; */
    display: flex;
    font-weight: 800;
    letter-spacing: 0.2rem;
    cursor:default;
    font-size: clamp(1rem, 5vw, 3.5rem);
    text-transform: uppercase;
}

.nav-bar-items{
    /* border: 2px solid blue; */
    display: flex;
}

.nav-bar-items li{
    list-style: none;
    margin: 0 0.75rem;
}

.nav-bar-items li a{
    color: black;
    font-size: clamp(0.5rem, 3vw, 1.5rem);
}

.nav-bar-items li a:hover{
    color: #3a40ac;
}

/*  */

#section1 {
    /* border: 2px solid green; */
    height: calc(100vh - 10vh);
    width: 98vw;
    
}

#section1 #first-half {
    /* border: 2px solid green; */
    width: 45vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

#section1 #first-half h2 {
    padding: 0.5rem;
    font-size: clamp(1rem, 5vw, 3rem);
}

#section1 #first-half p {
    padding: 0.5rem;
    font-size: clamp(1rem, 2vw, 2rem);
}

#section1 #first-half .links {
    /* border: 2px solid goldenrod; */
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    letter-spacing: 2vw;
}

#section1 #first-half .links a{
    color: black;
    margin: 2rem 0.2rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

#section1 #first-half button {
    outline: none;
    border: none;
    cursor: pointer;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 300;
    color: white;
    background-color: #000000;
    padding: 0.5rem 0.9rem;
    margin: 1rem 0.3rem;
    letter-spacing: 0.1rem;
    text-transform: capitalize;
    box-shadow: 0 1rem 1rem #5b5b5b;
}

#section1 #second-half{
    /* border: 2px solid orange; */
    width: 40vw;
    display: flex;
    justify-content: center;
}

#section1 #second-half .round-frame {
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

#section1 #second-half img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    transform: translate(0, 0%);
}

/*  */

#section2 {
    height: 100vh;
    width: 98vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    padding: none;
}

#section2 .container {
    position: relative; /* Ensure arrows are positioned correctly */
    height: 70%;
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #eef0ff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(16,32,64,0.18);
    /* padding: 2rem 1rem; */
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* border: #000000 2px solid; */
}

.slide {
    display: none;
    flex: 0.9;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(16,32,64,0.15);
    padding: 2rem;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 2px solid #233554;
    color: #e6e6e6;
    min-height: 350px;
    min-width: 0;
}

.slide.horizontal img {
    width: 80%;
    max-width: 500px;
    height: auto;
    /* max-height: 220px; */
    /* margin-bottom: 1rem; */
    min-width: 180px;
    min-height: 120px;
    object-fit: cover;
}

.slide.horizontal .description {
    width: 100%;
    padding-left: 0;
    padding-top: 0.5rem;
    text-align: left;
}

.slide.active {
    display: flex;
    box-shadow: 0 8px 32px rgba(34, 38, 87, 0.18);
    transform: scale(1.03);
}

.slide img {
    width: 260px;
    height: 260px;
    max-width: 30vw;
    max-height: 30vw;
    min-width: 180px;
    min-height: 180px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(35, 26, 83, 0.12);
    /* border: 2px solid #a25ede33; */
    background: #f3eaff;
}

.slide img.focus-top {
    object-position: top;
}

.description {
    width: 60%;
    text-align: left;
    padding-left: 1rem;
}

.description h3 {
    margin-top: 0;
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    color: #1d0a61;
    margin-bottom: 0.5rem;
}

.description p {
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    color: #444;
    margin-bottom: 0;
}

.arrow {
    position: absolute;
    top: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

/*  */

#section3 {
    /* border: 2px solid purple; */
    height: 95vh;
    flex-direction: column;
    flex-wrap: wrap;
}

#section3 #gradio {
    width: 80%;
    height: 70%;
    border: 2px solid;
}

/* mobile */
@media (max-width: 700px) {

    #section1 {
        height: auto;
        height: calc(100vh - 30vh);
        margin-top: 0;
        padding-top: 10px;
    }
    #section2 .slide {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #section2 .slide {
        width: 80%;
        max-width: 260px;
        height: auto;
        margin-bottom: 1rem;
    }
    #section2 .slide .description {
        width: 100%;
        padding-left: 0;
        padding-top: 0.5rem;
        text-align: center;
    }
}