*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background: #080808;
    color: #fff;
    line-height: 1.6;
}

#header{
    width: 100%;
    min-height: 100vh;
    background-image: url(images/background.jpeg);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.logo{
    width: 140px;
}

.menu-toggle{
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

h1 span{
    color: #ff004f;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
}

#about, #services, #portfolio, #contact{
    padding: 60px 0;
}

#about{ color: #ababab; }

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.about-col-1{ flex-basis: 35%; }
.about-col-1 img{ width: 100%; border-radius: 15px; }
.about-col-2{ flex-basis: 60%; }

.sub-title{ font-size: 50px; font-weight: 600; color: #fff; }

.tab-titles{ display: flex; margin: 20px 0 40px; }
.tab-links{ margin-right: 40px; font-size: 18px; cursor: pointer; position: relative; }

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.3s;
}
.tab-links.active-link::after{ width: 50%; }
.tab-contents{ display: none; }
.tab-contents.active-tab{ display: block; }
.tab-contents ul li{ list-style: none; margin: 10px 0; }
.tab-contents ul li span{ color: #ff004f; font-size: 14px; }

.services-list, .work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 24px;
    margin-top: 35px;
}

.services-list div, .project-card{
    background: #262626;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.services-list div:hover, .project-card:hover{
    transform: translateY(-8px);
}

.services-list div:hover{
    background: #ff004f;
}

.project-card h3{
    margin-bottom: 12px;
    text-transform: capitalize;
}

.project-card p{
    color: #d0d0d0;
    margin-bottom: 18px;
}

.project-card a{
    color: #ff004f;
    text-decoration: none;
    font-weight: 600;
}

.project-card a:hover{ text-decoration: underline; }

.contact-email a{
    color: #ff004f;
    text-decoration: none;
}

.social-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 18px 0 8px;
}

.social-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #262626;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icons a:hover{
    transform: scale(1.1);
    background: #ff004f;
}

form{ margin-top: 20px; }
form input, form textarea{
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: none;
    outline: none;
    background: #262626;
    color: white;
    border-radius: 5px;
}

form button{
    padding: 12px 30px;
    border: none;
    background: #ff004f;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
form button:hover{ background: #e60045; }

footer{
    border-top: 1px solid #262626;
    text-align: center;
    padding: 20px 10px;
    color: #ababab;
}

@media only screen and (max-width: 768px){
    .container{ padding: 10px 6%; }

    h1{ font-size: 2rem; }

    .menu-toggle{ display: block; }

    nav ul{
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 12px;
        background: rgba(8, 8, 8, 0.9);
        border: 1px solid #262626;
        border-radius: 8px;
        padding: 10px 0;
    }

    nav ul.open{ display: flex; }

    nav ul li{
        display: block;
        margin: 10px 20px;
    }

    .row{ flex-direction: column; }
    .about-col-1, .about-col-2{ flex-basis: 100%; }
    .sub-title{ font-size: 35px; }

    .social-icons{ justify-content: center; }

    form button{ width: 100%; max-width: 220px; }
}

#education a {
    color: #00BFFF;
    text-decoration: none;
}

#education a:hover {
    text-decoration: underline;
}
