
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
    transition: all 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: black;
    background-size: 400% 400%;
    animation: bgShift 10s ease infinite;
    color: #fff;
    overflow-x: hidden;
}

@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.section-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 80px 0;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: #ff2d2d;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    display: inline-block;
    text-align: center;
    transition: 0.3s;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff2d2d;
    color: #ff2d2d;
    box-shadow: none;
}

.btn:hover {
    transform: translateY(-6px) scale(1.05);
    background: #fff;
    color: #ff2d2d;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.btn-outline:hover {
    background: #ff2d2d;
    color: #fff;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.sub-title span {
    color: #ff2d2d;
}


nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
    padding: 0 8%;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.nav-logo a {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
}

.nav-logo span {
    color: #ff2d2d;
}

.nav-logo a:hover {
    color: #ff2d2d;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.4rem 0;
    position: relative;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2.5px;
    background: #ff2d2d;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover {
    color: #ff2d2d;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #ff2d2d;
    text-shadow: 0 0 12px rgba(255, 45, 45, 0.9),
                 0 0 30px rgba(255, 45, 45, 0.5),
                 0 0 60px rgba(255, 45, 45, 0.25);
}

.nav-links a.active::after {
    width: 100%;
    box-shadow: 0 0 12px rgba(255, 45, 45, 0.9),
                0 0 30px rgba(255, 45, 45, 0.4);
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: rotate(90deg);
}


#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 4rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeUp 1s ease;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 25px;
    border: 4px solid #ff2d2d;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.9);
}

.hero-content {
    animation: fadeUp 1.2s ease;
}

.hero-content h2 {
    color: #f90c0c;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-content p span {
    color: #e33100;
    font-weight: 600;
}

.hero-content h4 {
    margin-bottom: 1rem;
}

/* Social Icons */
.socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #ff2d2d;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.socials a:hover {
    background: #ff2d2d;
    color: #fff;
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 0 30px rgba(255, 45, 45, 0.5);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


#about {
    padding: 80px 0;
    color: #ababab;
}

.about-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.about-col-2 p {
    margin-bottom: 1.5rem;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
    gap: 2rem;
}

.tab-link {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #ababab;
    background: none;
    border: none;
    padding: 0;
}

.tab-link::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff2d2d;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-link.active-link {
    color: #fff;
}

.tab-link.active-link::after {
    width: 50%;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul li {
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #b54769;
    font-size: 14px;
}


#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.work-item {
    max-width: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: auto;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.work-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.work-overlay h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.work-overlay p {
    color: #ababab;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.work-overlay a {
    color: #ff2d2d;
    font-size: 1.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.work-overlay a:hover {
    transform: scale(1.2);
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}


#contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-left p {
    margin: 1rem 0;
    color: #ababab;
}

.contact-left i {
    color: #ff2d2d;
    margin-right: 10px;
    width: 24px;
}

.btn-download {
    margin-top: 1.5rem;
    display: inline-block;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-right input:focus,
.contact-right textarea:focus {
    outline: none;
    border-color: #ff2d2d;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.contact-right textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ababab;
    margin-top: 2rem;
}

.copyright i {
    color: #ff2d2d;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image {
        order: 1;
    }
    .hero-content {
        order: 2;
    }
    .socials,
    .hero-btns {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sub-title {
        font-size: 45px;
    }
}


@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 1.5rem 0 2rem;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 45, 45, 0.2);
        position: absolute;
        top: 100%;
        left: 0;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1.1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .hero-image img {
        max-width: 300px;
    }
    .sub-title {
        font-size: 40px;
    }
    .tab-titles {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .work-list {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .nav-logo a {
        font-size: 1.4rem;
    }
    .sub-title {
        font-size: 32px;
    }
}