/* Global Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f0f0, #d1eaff);
    color: #333333;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
    gap: 20px; /* space between sections */
}

.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.simulator-container {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #007BFF;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Slider Container */
.slider-container {
    width: 100%;
    margin: 10px 0;
    text-align: left;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

input[type="range"]:hover {
    background: #ccc;
}

input[type="range"]:active::-webkit-slider-thumb {
    background: #0056b3;
}

input[type="range"]:active::-moz-range-thumb {
    background: #0056b3;
}

/* Result Display */
.result {
    margin-top: 30px;
    color: #333333;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    font-weight: 700;
}

#totalViews {
    font-size: 1.5em;
}

/* CTA Button */
.cta-container {
    margin-top: 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #ffffff;
    background-color: #FF4136; /* Using the red color from the branding */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #e63629;
    transform: scale(1.05);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
    }

    .image-container, .simulator-container {
        flex: 1;
    }

    .image-container {
        max-width: 50%;
    }

    .simulator-container {
        max-width: 50%;
    }

    h1 {
        font-size: 2em;
    }

    .result {
        font-size: 2.2em;
    }
}
/* Global Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f0f0, #d1eaff);
    color: #333333;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
    gap: 20px; /* space between sections */
}

.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.simulator-container {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #007BFF;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Slider Container */
.slider-container {
    width: 100%;
    margin: 10px 0;
    text-align: left;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

input[type="range"]:hover {
    background: #ccc;
}

input[type="range"]:active::-webkit-slider-thumb {
    background: #0056b3;
}

input[type="range"]:active::-moz-range-thumb {
    background: #0056b3;
}

/* Result Display */
.result {
    margin-top: 30px;
    font-size: 1.5em;
    color: #333333;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    font-weight: 400;
}

/* CTA Button */
.cta-container {
    margin-top: 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #ffffff;
    background-color: #FF4136; /* Using the red color from the branding */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #e63629;
    transform: scale(1.05);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
    }

    .image-container, .simulator-container {
        flex: 1;
    }

    .image-container {
        max-width: 50%;
    }

    .simulator-container {
        max-width: 50%;
    }

    h1 {
        font-size: 2.5em;
    }
}
