/* Existing CSS... */

* {
    padding: 0;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
}

:root {
    --text-color: #ffc448;
    --bg-color: #222;
    --white: #fff;
    --black: #000;
    --mob-color: #2d2c2c;
}

.container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
}

/* Header Start */
header {
    background: var(--bg-color);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo {
    z-index: 1;
}

nav .logo a {
    text-decoration: none;
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
}

nav .logo a span {
    color: var(--text-color);
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 18px;
    list-style: none;
    z-index: 1;
}

/* Home Start */
.home {
    background: linear-gradient(180deg, #393e46, #222831);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    padding: 250px 0 50px;
}

.home .home-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-info .left {
    flex: 1;
    text-align: center;
    color: #fff;
}

.left span {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(130deg, #383528 0%, #191919 100%);
    border: 1px solid #3b3b3b;
    color: var(--white);
    padding: 5px 25px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 15px;
}

.left h1 {
    font-size: 6rem;
    margin: 20px 0;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.left p {
    width: 80%;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #ddd;
    margin: 0 auto 35px;
    text-align: justify;
}

.left .btn {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.left .btn button {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    background: linear-gradient(130deg, #61dafb, #2196f3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.left .btn button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.social .social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    font-size: 24px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(130deg, #27ae60, #2ecc71);
    transition: 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.home-info .right {
    flex: 1;
}

.right .profile {
    text-align: center;
}

.right .profile img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #61dafb;
    box-shadow: 0 0 30px rgba(97, 218, 251, 0.5);
}

/* Additional styles from the second CSS file */
.faizp1 {
    width: 100%;
    padding: 78px 0;
    background-color: white;
}

.faizp1 img {
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.faizp1-text {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.main {
    max-width: 1130px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faizp1-text h1 {
    color: white;
    font-size: 48px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.faizp1-text h5 {
    color: black;
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

span {
    color: #f9004d;
}

.faizp1-text p {
    color: black;
    letter-spacing: 1px;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 30px;
}

button {
    background: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: background 0.3s, border 0.3s;
}

button:hover {
    background: transparent;
    border: 2px solid #f9004d;
    color: #f9004d;
    cursor: pointer;
}

/* Portfolio Section */
.Portfolio {
    width: 100%;
    padding: 78px 0;
    background-color: white;
}

.Portfolio img {
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.pain-text {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.pain-text h1 {
    color: white;
    font-size: 48px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.pain-text h5 {
    color: black;
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

span {
    color: #f9004d;
}

.pain-text p {
    color: black;
    letter-spacing: 1px;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 30px;
}

.btn {
    text-align: center;
    margin-top: 20px;
}

.btn a {
    text-decoration: none;
}

.btn button {
    background-color: #f9004d;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.btn button:hover {
    background-color: #d7003f;
}




@media (max-width: 768px) {
    header {
        height: auto;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .home {
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .home-info {
        flex-direction: column;
    }

    .left h1 {
        font-size: 4rem;
    }

    .left p {
        width: 100%;
    }

    .left .btn {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    .right .profile img {
        width: 150px;
        height: 150px;
    }

    .faizp1,
    .Portfolio,
    .resume {
        padding: 50px 0;
    }
}
