* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth
}

body {
    background-color: #020000;
    font-family: Poppins,sans-serif;
    position: relative;
    font-family: 'Poppins', sans-serif;
    background-color: #020000;
    color: #2d2e32;
    min-height: 100vh;
}

.hero {
    background-color: #020000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%
}

@media (max-width: 900px) {
    .hero {
        height:auto;
        padding: 11rem 0
    }
}

.hero-main {
    align-items: center;
    display: flex;
    gap: 10rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .hero-main {
        flex-direction:column-reverse;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

.content {
    align-items: center;
    display: flex;
    gap: 10rem;
    height: 65rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .content {
        flex-direction:column;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

@media (min-width: 1600px) {
    .content {
        margin-top:6rem
    }
}

@media (min-width: 1900px) {
    .content {
        margin-top:10rem
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    max-width: 50rem;
    position: relative
}

.hero-text h1 {
    color: #2d2e32;
    font-size: 5.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 2rem
}

@media (max-width: 500px) {
    .hero-text h1 {
        font-size:4rem
    }
}

.hero-text p {
    color: #555;
    font-family: Mulish,sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6
}

@media (max-width: 900px) {
    .hero-text p {
        margin-bottom:5rem
    }
}

.hero-text span {
    cursor: pointer;
    display: flex;
    gap: 1.3rem;
    margin: 2.5rem 0
}

.hero-text span a {
    color: #2d2e32;
    font-size: 3rem
}

@media (max-width: 900px) {
    .hero-text span {
        gap:1.6rem;
        justify-content: center;
        margin-bottom: 4rem;
        margin-top: -2rem
    }
}

.hero-text span a {
    transition: all .2s
}

.hero-text span a:hover {
    color: #0a8f27
}





@media (max-width: 500px) {
    .hero-img {
        height:28rem;
        width: 28rem
    }
}

@-webkit-keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}


.logo-img {
    background-image: url(images/logo.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 4rem;
    position: absolute;
    top: 3%;
    left: 0;
    transform: translateY(-50%);
    transition: all 1s ease-in-out;
    width: 10rem;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.tech-skills {
    background-color: #020000;
    padding: 4rem 3rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.tech-skills h2 {
    color: #2d2e32;
    font-size: 3.2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.skill img {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.skill:hover img {
    transform: translateY(-8px);
}

.skill span {
    color: #555;
    font-size: 1.6rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    .tech-skills {
        padding: 3rem 2rem;
    }

    .tech-skills h2 {
        font-size: 2.8rem;
        margin-bottom: 2.5rem;
    }

    .skills-container {
        gap: 3rem;
    }

    .skill img {
        width: 56px;
        height: 56px;
    }

    .skill span {
        font-size: 1.4rem;
    }
}

.projects-showcase {
    margin-top: 6rem;
    background-color: #020000;
    padding: 4rem 3rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.projects-showcase h2 {
    color: #2d2e32;
    font-size: 3.2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.projects-slider {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 2rem 0;
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 300px;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    color: #2d2e32;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.view-project {
    display: inline-block;
    color: #147efb;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-project:hover {
    color: #0a5dc7;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: #2d2e32;
    color: #fff;
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #147efb;
}

@media (max-width: 768px) {
    .projects-showcase {
        padding: 3rem 2rem;
        margin-top: 4rem;
    }

    .project-card {
        min-width: 260px;
    }

    .project-info h3 {
        font-size: 1.6rem;
    }

    .view-project {
        font-size: 1.4rem;
    }
}
