@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
*{
    margin: 0;
    padding: 0;
}

/* Utility for accessible hidden labels */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0; padding: 0; margin: -1px;
}

html{
    scroll-behavior: smooth;
}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.logo img{
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 2px solid white;
    border-radius: 50%;
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    background-color: #0b0b0b;
    z-index: 1000;
}

.nav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width, 1100px);
    padding: 12px 20px;
}

.nav-list{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-list li{
    list-style: none;
}

.nav-list li a{
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-family: 'Ubuntu', sans-serif;
    padding: 12px 14px;
    border-radius: 6px;
}

.nav-list li a:hover{
    color: grey;
    background: rgba(255,255,255,0.06);
}

.rightNav{
    width: 30%;
    text-align: right;
    padding:0 23px;
    display: none;
}

.background{
    background-color: #0b0b0b;
    color: #fff;
}

.firstSection{
    height: 100vh;
}

.box-main{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width:50%;
    margin: auto;
    height: 80%;
}

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

.secondHalf{
    width:30%;
}

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

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

.text-small{
    font-size: 19px;
    text-align: center;
}

.btn{
    display: inline-block;
    padding: 8px 20px;
    margin: 8px 12px;
    border: 3px solid white;
    border-radius: 12px;
    background: none;
    color: rgb(15, 1, 1);
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    background-color: #f0e9f5;
    text-decoration: none;
}

.btn:hover{
    background-color: rgb(161, 156, 156);
}
.btn-sm{
    padding: 6px 10px;
    vertical-align: middle;
    font-size: 20px;
}

.btn-dark{
    color:black;
    border:2px solid grey;
    background-color:#f0e9f5;
}
.section{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 80%;
    margin:auto;
    font-family: 'Ubuntu', sans-serif;
    padding:10px;
}

.section-left{
    flex-direction: row-reverse;
}

.paras{
    padding: 0px 65px;
}  

.sectionTag{
    padding:16px 0;
}

.sectionSubTag{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.contact{
    background-color: #352f29;
    height: 833px;
}
.text-center{

    text-align: center;
    padding:30px;
    font-family: 'Ubuntu', sans-serif;
    font-size:35px;
}

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

.form input{
    margin:14px 0;
    padding:5px 13px;
    width:100%;
    font-size:19px;
    border:2px solid grey;
    border-radius:6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.xor{
    display: flex;
    padding: 80px;
    font-size: 23px;
}

.container
{
    padding: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}
.container .sec
{
    margin-right: 180px;
}
.container .sec.aboutus
{
    width:70%;
}
.container p{
    color:#fff;
}
.container h2
{
    position: relative;
    font-weight:600;
    margin-bottom: 15px;
}
.container h2:before
{
    content: '';
    position: absolute;
    bottom: -5px;
    left:0;
    width:50px;
    height:2px;
    background:#f00;
}
.sci
{
    margin-top:20px;
    display:flex;
}
.sci li
{
    list-style: none;
}
.sci li a
{
    display: inline-block;
    width:40px;
    height:40px;
    background:#222;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
}
.sci li a:hover
{
    background:#f00;
}
.sci li a .fa
{
    color:#fff;
    font-size:20px;
}
.contacts h2
{
    position: relative;
    font-weight:600;
    margin-bottom: 15px;
}
.contacts h2:before
{
    content: '';
    position: absolute;
    bottom: -5px;
    left:0;
    width:50px;
    height:2px;
    background:#f00;
}
.contacts
{
    margin-left: 15px;
    padding: 10px;
    width:200px;
    margin-right: 0 !important;
}
.contacts .info{
    position:relative;
    color:#fff;
}
.contacts .info li{
    display: flex;
    margin-bottom:16px;
    color:#fff;
}
.contacts .info li span:nth-child(1)
{
    color:#fff;
    font-size:20px;
    margin-right: 10px;
}
.contacts .info li span{
    color:#fff;
}
.contacts .info li a{
    color:#fff;
    text-decoration:none;
}
.contacts .info li a:hover{
    color:#fff;
}

.text-footer{
    text-align: center;
    padding:30px 0;
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    justify-content: center;
    color:white;

}

.burger{
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px;
}
.line{
    width:33px;
    background-color: white;
    height:4px;
    margin: 5px 3px;
}
@media only screen and (max-width:1140px){
    .nav-inner{
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .nav-list{
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    .rightNav{
        text-align:center;
    }
    .box-main{
        flex-direction: column-reverse;
        max-width: 100%;
    }

    #search{
        width:100%;
    }
    .burger{
        display: block;
    }
    .h-nav-resp{
        height:72px;
    }
    .v-class-resp{
        display: none !important;
    }
    .section{
        flex-direction: column-reverse;
    }
    .text-small{
        text-align:center;
    }
    .text-big{
        text-align:center;
    }
    .buttons{
        text-align:center;
    }
    .paras{
        padding: 0px;
    }
    .container{
        flex-direction:column;
    }
    .container .sec{
        margin-right:0;
        margin-bottom:40px;
    }
    .container .sec.aboutus,.contact
    {
        width:100%;
    }
}

/* Page sections (Education, Skills, Works) */
.page-section{
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    align-items: center;
}

.page-content{
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.section-title{
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
}

.education-item,
.skill-item,
.work-item{
    background: rgba(255,255,255,0.05);
    padding: 30px;
    margin-bottom: 25px;
    border-left: 4px solid #f0e9f5;
    border-radius: 8px;
}

.education-item h2,
.skill-item h2,
.work-item h2{
    font-size: 24px;
    color: #f0e9f5;
    margin-bottom: 15px;
    font-family: 'Ubuntu', sans-serif;
}

.education-item p,
.skill-item p,
.work-item p{
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media only screen and (max-width:1140px){
    .page-section{
        padding: 40px 15px;
    }

    .section-title{
        font-size: 36px;
        margin-bottom: 30px;
    }

    .education-item,
    .skill-item,
    .work-item{
        padding: 20px;
        margin-bottom: 20px;
    }

    .education-item h2,
    .skill-item h2,
    .work-item h2{
        font-size: 20px;
    }
}
