body {
    background-color: #121212;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding-left: 10%;
    padding-right: 10%;
}

.nav-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header a {
    text-decoration: none;
    color: #333;
}

.header a p {
    margin: 0;
    transition: color 0.3s;
}

.header a:hover p {
    color: #007bff;
}

/* Hide checkbox and hamburger on desktop */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

html {
    scroll-behavior: smooth;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 10%;
    padding-right: 10%;
    gap: 50px;
    align-items: center;
    min-height: 80vh;
}

.hero-colum1 {
    display: grid;
    align-content: center;
}

.hero-colum2 {
    display: grid;
    justify-items: center;
    align-items: center;
}

.hero-colum2 img {
    max-width: 100%;
    height: auto;
}

.linkedin-icon {
    height: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.linkedin-icon:hover {
    transform: scale(1.1);
}

.h-button-1 {
    background-color: #1893f8;
    color: white;
    width: 100%;
    max-width: 260px;
    margin-top: 50px;
    border: 0;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.h-button-1:hover {
    background-color: #1578d1;
    transform: translateY(-2px);
}

.hero-sub-grid {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    border: #1893f8;
    border-width: 1px;
    border-style: solid;
    background-color: #70707013;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-top: 50px;
    padding: 40px 28px;
    border-radius: 5px;
}

.section-1 {
    margin-top: 80px;
    display: grid;
    align-content: center;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

.gear-icon {
    height: 80px;
}

.section-1-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    margin-top: 50px;
    row-gap: 50px;
}

.section-1-sub-grid-colum {
    background-color: #70707013;
    padding: 50px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.section-1-sub-grid-colum:hover {
    transform: scale(1.05);
}

.section-2 {
    margin-top: 80px;
    display: grid;
    align-content: center;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

.section-2-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    gap: 50px;
    align-items: center;
}

.section-2-sub-grid-colum-1 img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.section-2-sub-grid-colum-2 {
    padding-right: 50px;
    text-align: left;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    white-space: nowrap;
    padding-top: 50px;
    margin-top: 50px;
}

.logos:hover .logo-slider {
    animation-play-state: paused;
}

.logo-slider {
    display: inline-block;
    animation: 25s slide infinite linear;
}

.logo-slider img {
    height: 60px;
    margin: 0 70px;
}

.section-3 {
    margin-top: 80px;
    display: grid;
    align-content: center;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

.portfolio {
    padding-top: 50px;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 50px;
}

.portfolio a {
    text-decoration: none;
}

.portfolio-colum-1,
.portfolio-colum-2,
.portfolio-colum-3 {
    transition: transform 0.3s ease;
}

.portfolio-colum-1:hover,
.portfolio-colum-2:hover,
.portfolio-colum-3:hover {
    transform: scale(1.05);
}

.portfolio-images {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-bottom: 0;
}

.section-4 {
    margin-top: 80px;
    display: grid;
    align-content: center;
    text-align: center;
    padding-bottom: 50px;
    padding-left: 5%;
    padding-right: 5%;
}

.contact-container {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form {
    font-family: lato;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    row-gap: 20px;
    width: 100%;
    max-width: 900px;
}

.contact-inputs {
    height: 40px;
    width: 100%;
    border: none;
    outline: none;
    padding-left: 25px;
    font-family: lato;
    color: #919191;
    font-weight: bold;
    font-size: 16px;
    background-color: #1b1b1b;
    border-radius: 5px;
}

textarea.contact-inputs {
    grid-column: 1 / -1;
    height: 150px;
    padding-top: 15px;
    resize: vertical;
}

.contact-form-button {
    grid-column: 1 / -1;
    background-color: transparent;
    color: #8d8d8d;
    border: solid;
    border-radius: 5px;
    border-width: 2px;
    font-family: lato;
    font-weight: bold;
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-button:hover {
    background-color: #1893f8;
    color: white;
    border-color: #1893f8;
}

.section-5 {
    margin-top: 100px;
    padding-top: 50px;
    background-color: #1b1b1b;
    padding-left: 5%;
    padding-right: 5%;
}

.fotter-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.fotter-icons {
    margin-top: 30px;
    display: grid;
    justify-items: center;
    align-items: center;
}

.fotter-contact-info {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    gap: 20px;
}

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .hero,
    .section-2-sub-grid,
    .section-1-sub-grid,
    .portfolio {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Standard Desktop/Laptop (1366px - 1919px) */
@media (max-width: 1600px) {
    .header {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-1-sub-grid {
        column-gap: 40px;
    }

    .section-2-sub-grid-colum-2 {
        padding-right: 20px;
    }

    .portfolio {
        column-gap: 40px;
    }
}

/* Laptop (1024px - 1365px) */
@media (max-width: 1365px) {
    .header {
        padding-left: 3%;
        padding-right: 3%;
    }

    .hero {
        padding-left: 3%;
        padding-right: 3%;
        gap: 30px;
    }

    h1 {
        font-size: 55px;
    }

    .section-1-sub-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
    }

    .section-2-sub-grid {
        gap: 30px;
    }

    .portfolio {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
    }

    .portfolio-images {
        height: 300px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
        text-align: center;
        min-height: auto;
    }

    .hero-colum1 {
        padding-bottom: 40px;
    }

    .hero-colum2 img {
        max-width: 70%;
    }

    .h-button-1 {
        margin-left: auto;
        margin-right: auto;
    }

    .linkedin-icon {
        margin: 0 auto;
        display: block;
    }

    .section-1-sub-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .section-2-sub-grid {
        grid-template-columns: 1fr;
    }

    .section-2-sub-grid-colum-1 img {
        max-width: 70%;
        margin: auto;
        display: block;
    }

    .section-2-sub-grid-colum-2 {
        padding-right: 0;
        padding-left: 0;
        text-align: justify;
    }

    .portfolio {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .portfolio-images {
        height: 350px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .fotter-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .fotter-contact-info {
        grid-template-columns: 1fr;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: #1b1b1b;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    }

    .menu-toggle:checked ~ .nav-container {
        right: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-container a {
        width: 100%;
        text-align: center;
    }

    .nav-container a p {
        color: #959595;
        font-size: 18px;
    }

    .hero {
        padding: 0 15px;
        gap: 20px;
    }

    .hero-colum2 img {
        max-width: 90%;
    }

    .h-button-1 {
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        margin-top: 30px;
    }

    .section-1-sub-grid {
        max-width: 100%;
    }

    .section-1-sub-grid-colum {
        padding: 30px 20px;
    }

    .section-2-sub-grid-colum-1 img {
        max-width: 90%;
    }

    .logo-slider img {
        height: 40px;
        margin: 0 30px;
    }

    .portfolio-images {
        height: 250px;
    }

    .contact-form {
        max-width: 100%;
        padding: 0 15px;
    }

    .fotter-menu {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-5 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .portfolio-images {
        height: 200px;
    }

    .gear-icon {
        height: 60px;
    }

    .logo-slider img {
        height: 35px;
        margin: 0 20px;
    }
}