* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    font-family: Open Sans, sans-serif;
}

body {
    background-color: black;
}

.header_secstion {
    background: url(imges/sazzad-cover.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 80%;
    min-height: 100vh;
    animation: fade 1s forwards ease;
    opacity: 0;
    animation-delay: 0.8s;
    transition: .6s;
    position: relative;
    z-index: 1;
}

.header_secstion:after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}


@keyframes fade {
    100%{
        opacity: 1;
    }
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 50px;
    color: #fff;
    position: fixed;
    width: 100%; /* Ensure it spans the full width */
    background-color: rgba(0, 0, 0, 0);
}

ul li {
    display: inline-block;
    margin: 0 25px;
}

ul li a {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: .6s !important;
}

ul li a:hover{
    color: rgb(0, 179, 134);
}

.bars {
    display: none;
}


.client_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    position: relative;
    top: 100px;
    margin-left: 100px;
}
.client_info h1{
    color: #fff;
    font-size: 30px;
    margin: 10px;
}
.client_info h2{
    color: #fff;
    font-size: 60px;
    margin: 10px;
}
.client_info p{
    color: #fff;
    width: 1000px;
    line-height: 30px;
    margin: 10px;
    font-size: 20px;

}
.icon{
    display: flex;
    list-style: none;
}
.icon li{
    margin: 30px 25px;
}
.icon li a i{
    font-size: 20px;
    transition: .3s;
}
.icon li a i:hover{
    color: rgb(0, 179, 134);
}

 button{
    width: 150px;
    height: 40px;
    background-color:transparent;
    color: #fff;
    margin: 15px;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0px 0px 0 rgb(0, 179, 134);
    position: relative;
    transition: .6s !important;
    overflow: hidden !important;
}
button::after{
    position: absolute;
    content: '';
    top: -100%;
    left: 0%;
    background-color: rgb(0, 179, 134);
    height: 100%;
    width: 100%;
    transition: .5s;
}
button:hover:after{
    top: 100%;

}
 button:hover{
     box-shadow: 5px 5px 0 rgb(0, 179, 134);
 }

@media (max-width:1180px) {
    .contain_client_info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .client_info_table{
        margin-left: 100px;
    }
    .download_cv{
        margin-left: 100px;
    }
}

@media (max-width:884px) {
    .client_info_table{
        margin-left: 0;
    }
    .download_cv{
        margin-left: 0;
    }
}
@media (max-width:900px) {
    .download_cv{
       display: block;
    }
    .contain_client_info{
        height: 150vh;
        background-color: #000;
    }
}


@media (max-width:1250px) {
    nav {
        padding: 0 10px;
    }
}


@media (max-width:1100px) {
    .bars {
        display: block;
        padding: 20px;
        cursor: pointer;
    }

    nav {
        padding: 55px;
    }

    ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        color: #fff;
        z-index: 9999;
        opacity: 0;
        transition: 0.5s;
    }

    ul li {
        display: block;
        margin: 20px 0px;
        padding: 10px 0;
        padding-left: 8%;
    }

    ul li a:hover {
        color: orangered;
    }

    .show_menu {
        opacity: 1;
    }

    body {
        width: 100%;
    }

    .client_info {
        position: relative;
        right: 10%;
    }

    .demo_text {
        max-width: 400px;
    }

}


.education-section {
    padding: 50px 10%;
    background-color: #000000;
    color: #fff;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: rgb(0, 179, 134);
}

.education-item {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 4px solid rgb(0, 179, 134);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: 0.3s;
}

.education-item:hover {
    background-color: rgba(0, 179, 134, 0.1);
}

.degree {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.institution {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
}

.year {
    display: block;
    font-size: 16px;
    color: #bbb;
    margin-bottom: 10px;
}

.education-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .education-section {
        padding: 30px 5%;
    }
    .section-title {
        font-size: 28px;
    }
    .education-item {
        padding: 15px;
    }
    .degree {
        font-size: 20px;
    }
    .institution {
        font-size: 16px;
    }
    .education-description {
        font-size: 14px;
    }
}



.projects-section {
    padding: 50px 10%;
    background-color: #000000;
    color: #fff;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgb(0, 179, 134);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 179, 134, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid rgb(0, 179, 134);
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(0, 179, 134);
}

.project-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ddd;
}

.github-link {
    color: rgb(0, 179, 134);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.github-link:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
    .project-card {
        margin-bottom: 30px;
    }
}


.btn-group {
    margin: 45px 0;
}

.btn-group .btn {
    border-color: #d5d5d5;
    color: #fff;
    background-color: #333;
    padding: 12px 25px;
    margin: 5px 0px;
    margin-right: 7px;
    border-radius: 30px;
    border: 2px solid #e5e5e5;
    box-shadow: 0 10px 10px -8px rgb(0 0 0 / 78%);
}

.btn.active {
    border-color:rgb(0, 179, 134);
}