html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Utility */
.just,
.just2, .just1 {
    width: 100vw;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.just a:hover{
    cursor: pointer;
    background-color: yellow;
}

.logo img{
    height: 35px;
}

.just , .just1{
    justify-content: center;
}
.just a{
    /* box-shadow: h-offset v-offset blur spread color; */
    box-shadow: 1px 1px 5px 0px rgba(155, 154, 154, 0.3);
    text-decoration: none;
    color: white;
    padding: 5px 12px;
    background-color: black;
    border-radius: 12px;

}
.jimg{
    height: 40px;
    width: auto;
}

.just2 {
    justify-content: space-between;
    padding: 8px 12px;
    flex-wrap: wrap;
}

/* ================= HERO ================= */

.hero {
    width: 100vw;
    min-height: 55vh;
    margin: 12px auto;
}

.hetab {
    width: 100%;
    height: 100%;
    background-color: black;
}

.hetab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= HERO TEXT ================= */

.herotext {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.htbig {
    font-size: clamp(24px, 6vw, 40px);
    font-weight: bold;
    text-align: center;
}

.htsm {
    font-size: 14px;
    margin-top: 8px;
    max-width: 650px;
    text-align: center;
}

/* ================= HOME WEBS ================= */

.homewebs,
.homearc {
    width: 100%;
    margin: 16px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.homewebs {
    min-height: auto;
}

.homewebs2 {
    width: 100%;
    margin: 16px auto;
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    justify-content: center;
    gap: 12px;
}

/* ================= CARDS ================= */


.hw2text,.hwtext{
    /* Set the text to position: absolute to place it on the image */
    position: absolute;
    /* Position the text (e.g., center, top-left, bottom-right) */
    top: 50%;
    left: 50%;
    /* Use transform to accurately center the text regardless of its size */
    transform: translate(-50%, -50%); 
    cursor: pointer;
    
    /* Optional: Style the text for readability */
    color: white;
    background-color: rgba(32, 126, 233, 0.753); /* Semi-transparent background */
    padding: 10px;
    font-size: clamp(24px, 6vw, 20px);
    text-align: center;
    width: 100%;
    height: 100%;
    

}
.hwstab,.hwstab2{
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
}
.hwstab,.hwstab2 img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
/*
.hwstab,.hwstab2 h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    cursor: pointer;
    
    color: white;
    background-color: rgba(0, 0, 0, 0.295);
    padding: 10px;
    font-size: clamp(24px, 6vw, 40px);
    text-align: center;

} */
.hatab{

    position: relative;
    display: inline-block;
}
.hatab img{
    display: block;
    width: 100%;
    height: auto;
}
.hatext{
    /* Set the text to position: absolute to place it on the image */
    position: absolute;
    width: 80%;
    /* Position the text (e.g., center, top-left, bottom-right) */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    cursor: pointer;
    
    /* Optional: Style the text for readability */
    color: white;
    background-color: rgba(58, 46, 228, 0.63); /* Semi-transparent background */
    padding: 10px;
    font-size: 15px;
    text-align: center;
    height: 100%;
    width: 98%;

}



.hwstab,
.hatab {
    width: min(160px, 45vw);
    aspect-ratio: 3 / 4;
    background-color: aliceblue;
    overflow: hidden;
}

.hwstab2 {
    width: min(220px, 85vw);
    aspect-ratio: 4 / 5;
    background-color: aliceblue;
    overflow: hidden;
}

.hwstab img,
.hwstab2 img,
.hatab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= CONTACT HOME ================= */

.conthome {
    width: 100vw;
    margin: 16px auto;
}

.chtop {
    font-size: clamp(24px, 6vw, 40px);
    font-weight: bold;
    text-align: center;
}

.chbot {
    margin: 12px auto;
    padding: 12px;
    background-color: blue;
    border-radius: 10px;
    color: #fff;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    margin-top: 5px;
}

/* ================= FOOTER ================= */

footer {
    background-color: #111;
    color: white;
    padding: 20px 12px;
    text-align: center;
}

footer .footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

footer .footer-links ul li a {
    color: white;
    text-decoration: none;
}

/* ================= ARTICLE ================= */

.artih,
.acontent,
.ahtop {
    width: 100%;
    margin: 10px auto;
}

.atitle {
    font-size: clamp(22px, 6vw, 30px);
    text-align: center;
}

.asub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    font-size: 12px;
}

.ahn1 {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 17px;
    padding: 6px 10px;
}

.acontent img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* ================= DESKTOP ENHANCEMENTS ================= */

@media (min-width: 768px) {

    .hero {
        min-height: 450px;
    }

    .homewebs,
    .homearc {
        flex-wrap: nowrap;
    }

    .hwstab {
        width: 150px;
        height: 195px;
    }

    .hatab {
        width: 200px;
        height: 200px;
    }

    .acontent img {
        float: left;
        width: auto;
        height: 450px;
        margin-right: 12px;
    }
}


@media screen and (max-width: 768px) {

    body {
        width: 100vw;
    }

    .jimg{
        height: 20px;
        width: auto;
    }
    .logo img{
        height: 20px;
        width: auto;
    }

    .just2 {
        padding: 10px 7px;
        font-size: 10px;
        text-align: center;
        gap: 5px;
        line-height: 1.2;
    }

    .hero-slider {
        height: 30vh;
    }

    .slide img {
        width: 100vw;
        height: auto;
        object-fit: contain;
    }
    .just a{
        margin-bottom: 5px;
    }

    
.chbot {
    max-width: 600px;

}
.form-control {
    width: 80%;

}


}
