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

body{
    overflow-x: hidden;
}
.bgImage {
    background: url('../starter-code/assets/technology/background-technology-desktop.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
}

.hero{
    position: relative;
    top: 20px;
    left: 90px;
    color: white;
    /* border: 1px solid red; */
    width: 90%;
}

.hero > h1 {
    margin-top: -10px;
    margin-bottom: -20px;
}
.tech {
    align-items: center;
    width: 90%;

}

.tech-desc {
    width: 80%;
}

.tech-desc > h3 {
    text-transform: uppercase;
    margin-bottom: 20px;

}
.tech-desc > h2 {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tech-desc > p {
    width: 80%;
    line-height: 1.7;
}

.tech-image > img {
    width: 100%;
}


.row{
    width: 90%;
}

.circle-btn {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: black;
    color: white;
    border: 1px solid white;
    cursor: pointer;
    margin: 10px;
}

.circle-btn.active {
    background-color: white;
    border: 1px solid black;
    color: black;
}

@media screen and (max-width:1200px) {
    .bgImage{
        height: 100vh;
    }
    .row{
        /* border: 1px solid green; */
        width: 90%;
    }

    .hero {
        /* border: 1px solid yellow; */
        margin: 0;
    }
    .tech{
        flex-direction: column;
    }

    .tech-image {
        /* border: 2px solid aqua; */
        margin-top: 0;
    }

    .circle-btn{
        width: 20px;
        height: 20px;
    }
}

/* Tablet Styles */
@media screen and (max-width: 991px) {
    .bgImage {
        background: url('../starter-code/assets/technology/background-technology-tablet.jpg') no-repeat center center;
        background-size: cover;
    }

    .hero {
        left: 5%;
        width: 90%;
    }

    .tech {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tech-desc {
        width: 90%;
        order: 2;
    }

    .tech-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .tech-image > img {
        width: 100%;
        max-width: 768px;
    }

    .circle-btn {
        width: 40px;
        height: 40px;
    }

    .tech-buttons {
        order: 3;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .bgImage {
        background: url('../starter-code/assets/technology/background-technology-mobile.jpg') no-repeat center center;
        background-size: cover;
    }

    .hero {
        left: 0;
        padding: 1rem;
        text-align: center;
    }

    .tech-desc > h2 {
        font-size: 24px;
    }

    .tech-desc > h3 {
        font-size: 16px;
    }

    .tech-desc > p {
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .circle-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 375px) {
    .tech-desc > h2 {
        font-size: 20px;
    }

    .tech-desc > p {
        font-size: 14px;
    }

    .circle-btn {
        width: 25px;
        height: 25px;
        margin: 5px;
    }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .bgImage {
        min-height: 120vh;
    }

    .tech {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 1rem;
    }

    .tech-desc {
        order: 2;
        text-align: left;
    }

    .tech-image {
        order: 3;
        width: 30%;
    }

    .tech-buttons {
        order: 1;
        flex-direction: column;
        margin-right: 1rem;
    }
}

