/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Afacad, sans-serif;
    width: 100%;
    /*height: auto; */
    /*overflow-y: visible; */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
body {
    scrollbar-width: none; /* For Firefox */
}

/* Hide scrollbar for Internet Explorer 10+ and Edge */
body {
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

/* Ensure header and footer are clearly defined */
header, footer {
    width: 100%;
    margin-top: 20px;
    /* background-color: #f8f9fa; */
}

/* Center and make the video responsive */
.video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 25px; /* Adds space above and below the video */
    
}

.body-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.parent-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 20px;
    padding: 8px;
    max-width: 1025px;
    margin-top: 16px;
    background-color: aliceblue;
}

.show-section {
    display: flex;
    width: 1050px;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    width: 100%;
    gap: 24px;
    padding: 8px;
    overflow: hidden; /* Ensures iframes don't overflow container */
}

.mod3d-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    max-width: 1050px;
    width: 100%;
    gap: 24px;
    border-radius: 25px;
    margin-top: 44px;
    /* background-color: aliceblue; */
    overflow: hidden; /* Ensures iframes don't overflow container */
}

.spec-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    max-width: 1050px;
    width: 100%;
    gap: 24px;
    border-radius: 25px;
    margin-top: 44px;
    overflow: hidden;
}

.spec-section1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    max-width: 1050px;
    width: 100%;
    gap: 24px;
    border-radius: 25px;
    margin-top: 44px;
    overflow: hidden;
}

.spec-section2 {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    max-width: 1050px;
    width: 100%;
    gap: 24px;
    border-radius: 25px;
    margin-top: 44px;
    overflow: hidden;
}

.show-section iframe {
    /* border-radius: 40px; */
    border: none;
    /* margin-top: 44px; */
}

.headtext1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px;
}

.headtext2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px;
    display: none;
}

/* Media query for viewport width 768px and smaller */
@media (max-width: 768px) {
    .show-section {
        flex-direction: column; /* Stack iframes vertically */
        height: auto; /* Allow height to adjust */
    }
    
    .hero {
        display: none;
    }

    .show-section .a3d2 {
        display: none; /* Hide 3d2 on smaller screens */
    }

    .show-section iframe {
        border-radius: 40px;
        border: none;
        margin-top:20px;

    }

    .spec-section1 {
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
        max-width: 1050px;
        width: 100%;
        gap: 24px;
        border-radius: 25px;
        margin-top: 44px;
        overflow: hidden;
    }

    .spec-section2 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
        /* max-width: 1050px; */
        width: 100%;
        gap: 24px;
        border-radius: 25px;
        margin-top: 44px;
        overflow: hidden;
    }

    .mod3d-section {
        display: flex;
        /* margin-left: 45px; */
        /* padding-left: 45px; */
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
        max-width: 1050px;
        width: 100%;
        gap: 24px;
        overflow: hidden; 
        flex-wrap: wrap;
    }

    .headtext1 {
        display: none;
    }

    .headtext2 {
        display: block;
        margin-top: 40px;
    }

}

.video-wrapper {
    width: 100%; /* This ensures responsiveness */
    max-width: 1050px; /* Maximum width for the video */
    aspect-ratio: 16 / 9; /* Maintains the aspect ratio */
    position: relative;
    border-radius: 25px;
}

.videoplayer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover; /* Ensures the video covers the container while maintaining aspect ratio */
    border: none;
    border-radius: 25px;
}

button {
    margin: 20px 0;
  }
  .custom-btn {
    width: 90px;
    height: 35px;
    color: #fff;
    border-radius: 5px;
    padding: 8px 8px;
    font-family: Afacad, sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
     box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
  }

.btn-2 {
    background: rgb(96,9,240);
    background: linear-gradient(0deg, rgb(51, 51, 51) 0%, rgb(36, 36, 36) 100%);
    border: none;
    
  }
  .btn-2:before {
    height: 0%;
    width: 2px;
  }
  .btn-2:hover {
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
      inset -4px -4px 6px 0 rgba(255,255,255,.2),
      inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
  }

.showtext {
    font-weight: bold;
    font-size: 2.027rem;
    margin-left: 32.44px;
    line-height: 1;
}

.responsive-image {
    position: relative;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.responsive-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .responsive-image {
        background-image: url('carousel/assetcar/01_study_touch_specs-01-small.jpg');
        background-size: cover;
    }

    .responsive-image img {
        opacity: 0;
    }
}
