* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #000000;
    color: #fff;
}
#header {
    width: 100%;
    height: 100vh;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
}
.container {
    padding: 10px 10%;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo {
    width: 140px;
}
nav ul li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}
nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff004f;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}
nav ul li a:hover::after {
    width: 100%;
}
.hero-content {
    margin-top: 20%;
    font-style: 30px;
}

.hero-content h1 {
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h1 span {
    color: #ff004f;
}
.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* -----------About Section----------- */
#about {
    padding: 80px 0;
    color: #ababab;
}
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}
.about-col-2 {
    flex-basis: 60%;padding-left: 20px;
}
.about-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}
.tab-link{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #ff004f;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -8px;
    left: 0;
    transition: 0.5s;
}
.tab-link.active-link::after {
    width: 70%;
}
.tab-content ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-content ul li span {
    font-weight: 600;
    color: #b54769;
}
.tab-content{
    display: none;
}
.active-tab {
    display: block;
}
.active-content {
    display: block;
}
/* ---------projects Section----------- */
#projects {
    padding: 50px 0;
}
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.project-card{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.project-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
}
.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a img {
    width: 50px;
    height: 50px;
    margin-top: 20px;
    color: #ff004f;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
}
.project-card:hover .layer {
    height: 100%;
    transition: height 0.5s ease;
}
.project-card:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
/*-----contact Section----------- */
#contact {
    padding: 80px 0;
}
.contact-left {
    flex-basis: 35%;
}
.contact-title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}
.contact-left p {
    margin-top: 30px;
}
.contact-left p img {
    width: 20px;
    margin-right: 15px;
    font-size: 25px;
    vertical-align: middle;
}
.social {
    margin-top: 30px;
}
.social a {
    text-decoration: none;
}
.social a img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    transition: transform 0.3s ease;
    border-radius: 7px;
    padding: 2px;
}
.social a img:hover {
    transform: scale(1.1);
    background: #808080;
}
.download-cv {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff004f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.download-cv:hover {
    background: #b54769;
}
.contact-right {
    flex-basis: 60%;
}
.contact-right form {
    width: 100%;
}
form input,form textarea {
    width: 100%;
    border: 0;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 5px;
    background: #262626;
    color: #fff;
    font-size: 16px;
    outline: none;
}
.contact-right form button {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: #ff004f;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
.contact-right form button:hover {
    background: #b54769;
}

/* -----media queries----------- */
.close-menu , .open-menu {
    display: none;
}
@media only screen and (max-width: 600px) {
    #header {
        background-image: url('images/phone-background.png');
    }
    .hero-content{
        margin-top: 100%;
        font-size: 16px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .open-menu, .close-menu {
        display: block;
        width: 30px;
        height: 30px;
        font-size: 25px;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        background: #ff004f;
        padding-top: 50px;
        width: 200px;
        height: 100%;
        transition: transform 0.3s ease;
        transform: translateX(100%);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }
    nav ul li {
        margin: 25px;
        display: block;
    }
    nav ul img{
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    .about-title {
        font-size: 40px;
    }
    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 20px;
    }
    .tab-link {
        margin-right: 20px;
        font-size: 16px;
    }
    .contact-left,.contact-right {
        flex-basis: 100%;
    }
}
.success-message {
    color: #28a745;
    font-size: 16px;
    margin-top: 20px;
    display: none; /* Initially hidden */
}