body {
    background-color: black;
}

/* pic and text section */

.hero-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-container-child {
    width: 70%;
    max-width: 1200px;
    display: flex;
    margin: 200px auto 0px auto;
    gap: 5rem;
    flex-wrap: wrap;
}

.hero-image-left {
    flex: 1;
    min-width: 300px;
}

.hero-image-left img {
    width: 450px;
    height: 500px;
    max-width: 100%;
    height: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 300px;
}

.hero-subtitle {
    display: block;
    text-transform: uppercase;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 4vw, 3rem);
}

.hero-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 70px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.hero-image-right {
    margin: auto;
    width: 100%;
}

.hero-image-right img {
    width: 450px;
    height: 400px;
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
}

.image-hover-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 0.5s ease;
}

.original-img,
.hover-img {
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: block;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1);
}

.image-hover-container:hover .original-img {
    opacity: 0;
    transform: scale(0.9);
}

.image-hover-container:hover .hover-img {
    opacity: 1;
    transform: scale(1);
}

/* Specific adjustments for image sizes */
.hero-image-left .image-hover-container,
.hero-image-left img {
    width: 450px;
    height: 500px;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.hero-image-right .image-hover-container,
.hero-image-right img {
    width: 450px;
    height: 400px;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* animation */

.pixel-container {
    position: relative;
    overflow: hidden;
    width: 450px;
    height: 500px;
    width: 100%;
    height: auto;
    aspect-ratio: 9/10;
}

.hero-image-right .pixel-container {
    aspect-ratio: 9/8;
    height: auto;
}

.original-img,
.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-img {
    opacity: 0;
    transform: scale(1.2);
}

.pixel-container:hover .original-img {
    animation: pixel-break 0.8s forwards;
}

.pixel-container:hover .hover-img {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}

/* subscribe section */

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0px 20px;
    color: #ffffff;
}

.newsletter-icon {
    width: 40px;
    height: 40px;
    background-color: rgb(66, 66, 66);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background-color: rgb(66, 66, 66);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background-color: rgb(66, 66, 66);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-left: 1px solid #2e2e2e;
}

.newsletter-form button:hover {
    color: #49b93b;
    border: none;
    border-left: 1px solid #2e2e2e;
}

.newsletter-form button:hover svg {
    fill: #49b93b;
}

.newsletter-privacy {
    font-size: 14px;
    color: #aaa;
}

.newsletter-privacy a {
    color: #ccc;
    text-decoration: underline;
}

.newsletter-privacy input {
    margin-right: 6px;
    accent-color: #555;
}

/* slider  */
.image-slider-contact {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    padding: 30px 0;
}

.slider-tract {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slider-tract::-webkit-scrollbar {
    display: none;
}

.showcase-image {
    width: 400px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: fill;
    user-select: none;
    pointer-events: none;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #49b93b;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* .active,
.dot:hover {
    background-color: white;
} */

/* 6 images  */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.image-row img {
    width: calc(16.666% - 20px);
    max-width: 370px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.newsletter-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.newsletter-success {
    background-color: #27ae60;
    color: white;
}

.newsletter-error {
    background-color: #e74c3c;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ****************************************************media query********************************************* */

@media screen and (max-width: 786px) {
    .showcase-image {
        width: 234px;
        height: 250px;
    }
}

@media screen and (max-width: 450px) {
    .showcase-image {
        width: 190px;
        height: 210px;
    }

    .newsletter-heading {
        font-size: 30px;
    }

    .newsletter-form input {
        font-size: 12px;
    }

    .newsletter-form button {
        font-size: 12px;
    }
}

@media screen and (max-width: 350px) {
    .showcase-image {
        width: 145px;
        height: 190px;
    }

    .newsletter-heading {
        font-size: 25px;
    }

    .newsletter-form input {
        font-size: 10px;
    }

    .newsletter-form button {
        font-size: 10px;
    }
}

/* RESPONSIVE ADDITIONS START */
@media screen and (max-width: 1200px) {
    .hero-container-child {
        width: 85%;
    }
}

@media screen and (max-width: 1024px) {
    .hero-container-child {
        gap: 3rem;
    }

    .image-row img {
        width: calc(33.333% - 20px);
    }
}

@media screen and (max-width: 900px) {
    .hero-container-child {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .hero-container-child {
        flex-direction: column;
        margin: 100px auto 0;
        gap: 2rem;
    }

    .hero-image-left,
    .hero-content {
        width: 100%;
    }

    .hero-image-left img,
    .hero-image-right img {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-image-right {
        margin-top: 2rem;
    }

    .image-row img {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 600px) {
    .hero-container-child {
        width: 95%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        margin-bottom: 40px;
    }

    .newsletter-heading {
        font-size: 30px;
    }
}

@media screen and (max-width: 450px) {
    .image-row img {
        width: 100%;
        max-width: 370px;
    }
}

/* RESPONSIVE ADDITIONS END */