@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
}


.logo {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 40%;
    min-width: 100px;
    /* border: 3px solid white; */
    border-radius: 10px;
}

.navbar {
    /* flex - element direction row */
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    cursor: pointer;
    z-index: 1000; /* Ensure navbar is always on top */
}

.nav-list {
    width: 60%;
    /* background-color: red; */
    display: flex;
    /* justify-content: center; */
    align-items: center;

}

.nav-list li {
    /* to remove list . */
    list-style: none;
    padding: 20px 30px;
}

.nav-list li a {
    /* to remove underline */
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-family: "Ubuntu", sans-serif;

}

.nav-list li a:hover {
    /* to remove underline */
    color: rgb(227, 81, 13);
}

.rightNav {
    /* background-color: brown; */
    width: 40%;
    text-align: right;
    padding: 0 30px;
}

#search {
    padding: 10px 30px;
    font-size: 17px;
    border: 2px solid gray;
    border-radius: 9px;
    /* margin: 0 10px; */
}

.background {
    background: rgba(0, 0, 0, 0.7) url(../images/RISCV_Backgraound.jpeg) center top;
    background-size: cover;
    background-blend-mode: darken;
}

.background_contact {
    background: rgba(0, 0, 0, 0.7) url(../images/xkalp_rs=w_1920\,m.jpeg) center top;
    background-size: cover;
    background-blend-mode: darken;
}

.firstSection {
    height: 100vh;
}

.box-main {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    max-width: 60%;
    margin: auto;
    height: 100%;

}

.firstHalf {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.secondHalf {
    width: 30%;
}

.secondHalf img {
    width: 70%;
    border: 4px solid white;
    border-radius: 150px;
    display: block;
    margin: auto;
}

.text-big {
    font-size: 50px;
}

.text-small {
    font-size: 20px;
}

.btn {
    padding: 10px 50px;
    font-size: 18px;
    text-align: center;
    border: 2px solid white;
    border-radius: 10px;
    margin: 20px 3px;
    background: none;
    color: white;
    cursor: pointer;

    font-family: "Ubuntu", sans-serif;


}

.btn-sm {
    padding: 8px 10px;
    vertical-align: middle;
}

.section {
    /* height: 447px; */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 80%;
    margin: auto;

    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.section-Left {

    flex-direction: row-reverse;
}

/* .section-Up {
    flex-direction: column;
    padding-top: 450px;
    padding-bottom: 450px;
} */

.text-mid {
    font-size: 40px;
}

.paras {
    padding: 45px 45px;
}

.sectionTag {
    padding-bottom: 10px;
}

.sectionSubTag {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.risc-v img {
    width: 350px;
    padding: 72px 0 0 0;
}

.micro-archi img {
    width: 1440px;
    border: 2px solid black;
}

.thumbnail img {
    width: 250px;
    border: 2px solid black;
    border-radius: 60px;
    margin-top: 50px;
}

.contact {
    background-color: transparent;
    height: 824px; /* or your preferred height */
    padding: 0;
    position: relative;
}

.connect-heading {
    text-align: center;
    font-family: "Ubuntu", sans-serif;
    font-size: 37px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 32px 0 18px 0;
    border-bottom: 2px solid #e0e0e0;
    width: 100%;
    background: rgba(255,255,255,0.15);
    box-sizing: border-box;
    z-index: 1; /* Lower than navbar */
    position: relative;
}

/* Center social links absolutely in the section */
.social-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 80%;
    z-index: 1; /* Lower than navbar */
}

.social-links a img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 8px;
}

.social-links a:hover img {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 4px 24px rgba(33,33,33,0.18);
    background: #f5f5f5;
}

.text-center {
    text-align: center;
    padding: 22px 0 0 0;
    font-family: "Ubuntu", sans-serif;
    font-size: 37px;
}

.form {
    max-width: 62%;
    margin: 25px auto;
}

.form-input {
    margin: 20px 0;
    padding: 9px 12px;
    width: 100%;
    font-size: 25px;
    border: 2px solid rgb(33, 32, 32);
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    color: #0b0606;
    background: rgba(255,255,255,0.4); /* Faint transparent white */
}

.dark-btn {
    color: black;
    border: 2px solid gray;
}

.text-footer {
    text-align: center;
    justify-content: center;
    padding: 20px 0;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    color: white;
}

.burger{
    display: none;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top :15px;

}

.line{
    width: 33px;
    height: 3px;
    margin: 5px;
    background-color: white;
}

@media only screen and (max-width:1140px){
    .nav-list{
        flex-direction: column;
    }
    .navbar{
        flex-direction: column;
        transition: all 0.3s ease-out;
        height: 450px;
    }
    .rightNav{
        text-align: center;   
    }
    #search{
        width: 100%;
        padding: 10px 0px;
        margin-left: auto;
    }

    .box-main{
        flex-direction: column-reverse;
        max-width: 100%;
    }

    .burger{
        display: block;
    }

    .h-nav-resp{
        height : 62px;
    }

    .v-class-resp{
        opacity: 0;
    }

    .firstSection {
        height: 100%;
    }

    .section{
        flex-direction: column-reverse;
    }

    .secondHalf{
        padding: 20px;
    }
}