/* Center the header video */
.tutorial-header-image {
    text-align: center;
    /* Center-align the video */
}

.tutorial-header-video {
    max-width: 100%;
    /* Ensure the video fits within the container */
    height: auto;
    /* Maintain the aspect ratio */
    border-radius: 10px;
    /* Optional: Add rounded corners */
    /* Match the image spacing */
}

.tutorial-header-image img {
    max-width: 100%;
    /* Ensure the image fits within the container */
    height: auto;
    /* Maintain the aspect ratio */
    border-radius: 10px;
    /* Optional: Add rounded corners */
    margin-bottom: 5rem;
}

/* Centered Heading */
#tutorial1 h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    /* Center the heading */
    color: #C9FEFF;
}

/* Overview Paragraph */
#tutorial1 .overview {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #C9FEFF;
    margin-left: 25rem;
    margin-right: 25rem;
}

/* Tutorial Layout */
.tutorial-layout {
    display: flex;
    flex-direction: column;
    /* Default to column layout */
    justify-content: center;
    align-items: center;
    color: #C9FEFF;
}

/* Steps Section */
.steps {
    width: 70%;
    /* Full width */
    margin-top: 40px;
    /* Space above steps */
}

/* Feature */
.feature {
    margin-bottom: 60px;
    /* Space between steps */
}

/* Video Section */
.video-section {
    width: 100%;
    /* Full width */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the video and description */
}

/* Video Box */
.video-box {
    width: 99%;
    max-width: 800px;
    /* Max width for larger screens */
    border: 1px solid #C9FEFF;
    /* Light teal border */
    border-radius: 10px;
    /* Optional: Add rounded corners */
    overflow: hidden;
    margin-bottom: 20px;
    /* Space below the video */
}

.video-box video {
    width: 100%;
    height: auto;
}

/* Paragraph under video */
.video-description {
    max-width: 80%;
    /* Ensure the description fits within the container */
    text-align: center;
    /* Center-align the text */
    font-size: 1em;
    color: #C9FEFF;
}

/* Call to Action */
.call-to-action {
    margin-top: 60px;
    /* Space above the call to action */
}

.cta-card {
    box-shadow: 0 0 10px rgba(201, 254, 255, 0.5);
    /* Light teal glow */
    display: flex;
    align-items: center;
}

.interactive_aidgent_background {
    background: hsla(181, 85%, 21%, 1);
    background: linear-gradient(0deg, hsla(181, 85%, 21%, 1) 10%, hsla(182, 82%, 6%, 1) 52%, hsla(181, 100%, 89%, 1) 100%);
    background: -moz-linear-gradient(0deg, hsla(181, 85%, 21%, 1) 10%, hsla(182, 82%, 6%, 1) 52%, hsla(181, 100%, 89%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#086162", endColorstr="#031D1E", GradientType=1);
}

.ready-to-get-started {
    margin-left: 10em;
    margin-right: 5em;
    white-space: nowrap;
}

.cta-card h1 {
    margin-bottom: 20px;
    /* Space between the heading and the button */
}

.product-download-btn a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-download-btn a {
    white-space: nowrap;
    /* Don't break onto two lines. */
}

.product-download-btn a:hover {
    background-color: white;
    color: #0E9294;
    /* Teal color on hover */
}
@media (max-width: 748px){/* Three Columns Layout */
.three-columns {
    flex-direction: column;
}
}
/* Three Columns Layout */
.three-columns {
    display: flex;
    margin: 50px;
    justify-content: space-between;
}

.three-columns .column {
    margin-bottom: 20px;
    /* Space between columns */
}

.three-columns h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #C9FEFF;
    text-align: center;
    margin-bottom: 10px;
}

.three-columns p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    color: #C9FEFF;
    text-align: center;
}

#cm-demo {
    margin-top: 10rem;
    margin-left: 10rem;
    margin-right: 10rem;
}

/* Responsive Styles */

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 480px) {
    #tutorial1 .overview {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }


    .three-columns .column {
        margin-bottom: 15px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .ready-to-get-started {
        margin: 0;
        margin-bottom: 20px;
    }



    .ready-to-get-started h1{
        font-size: 1.5em;
    }

    .product-download-btn {
        height: 50px;
    }

    .product-download-btn a {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Small Devices (Mobile Landscape) */
@media (min-width: 481px) and (max-width: 768px) {
    #tutorial1 .overview {
        margin-left: 10%;
        margin-right: 10%;
        font-size: 1.1em;
    }


    .cta-card {
        flex-direction: column;
        text-align: center;
        height: 10em;
    }
    

    .ready-to-get-started {
        margin: 0;
        margin-bottom: 20px;
    }
    

    .product-download-btn a {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
    #tutorial1 .overview {
        margin-left: 15%;
        margin-right: 15%;
        font-size: 1.2em;
    }


    .cta-card {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .ready-to-get-started {
        margin: 0 2em 0 2em;
    }

    .product-download-btn a {
        padding: 14px 28px;
        font-size: 17px;
    }
}

/* Large Devices (Desktops) */
@media (min-width: 1025px) and (max-width: 1440px) {
    #tutorial1 .overview {
        margin-left: 20%;
        margin-right: 20%;
        font-size: 1.3em;
    }


    .cta-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .ready-to-get-started {
        margin-left: 10em;
        margin-right: 5em;
    }

    .product-download-btn a {
        padding: 16px 32px;
        font-size: 18px;
    }
}

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1441px) {
    #tutorial1 .overview {
        margin-left: 25%;
        margin-right: 25%;
        font-size: 1.4em;
    }



    .cta-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .ready-to-get-started {
        margin-left: 12em;
        margin-right: 6em;
    }

    .product-download-btn a {
        padding: 18px 36px;
        font-size: 19px;
    }
}

/* Hide Spline Viewer on Non-PC Devices */
@media (max-width: 1024px) {
    spline-viewer {
        display: none;
    }
}

/* Show Spline Viewer only on PC (Desktop and larger) */
@media (min-width: 1025px) {
    spline-viewer {
        display: block;
    }
}