/* Global Styles */
:root {
    --primary-color: #303868; /* Dark blue */
    --secondary-color: #f5e985; /* Light yellow */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --danger-color: #F44336;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
}

.company-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Hero CTA Button */
.hero-cta {
    padding: 1.5rem 2.5rem; /* Twice as high */
    font-size: 1.5rem; /* Larger font */
    margin: 2rem auto;
    display: inline-block;
    min-width: fit-content; /* Width adjusts to content */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* More prominent shadow */
    border-radius: 8px; /* Slightly rounded corners */
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--primary-color), #4356b5); /* Gradient background */
    border: 2px solid var(--white); /* Border for contrast */
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.05); /* Bigger lift on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(135deg, #4356b5, var(--primary-color)); /* Reverse gradient on hover */
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg) translateX(-150%);
    transition: all 0.5s ease;
}

.hero-cta:hover::after {
    transform: skewX(-45deg) translateX(50%); /* Shimmering effect on hover */
}

/* Add arrow icon styling */
.arrow-icon {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.6rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.hero-cta:hover .arrow-icon {
    transform: translateX(6px); /* Arrow moves on hover */
}

/* Pulsing animation for the button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 233, 133, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 233, 133, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 233, 133, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.back-button {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    text-align: left;
}

.hero-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start; /* Changed from center to flex-start to align tops */
    margin-bottom: 3rem;
}

.hero-text {
    max-width: 100%;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 0; /* Ensure no top margin */
}

.hero-image {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Changed from flex-start to center for vertical alignment */
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.quick-benefits {
    margin: 2rem 0;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.quick-benefit {
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.quick-benefit:last-child {
    margin-bottom: 0;
}

/* Center-aligned Quick Benefits */
.quick-benefits-centered {
    margin: 2rem auto;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    max-width: 500px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.quick-benefits-centered .quick-benefit {
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-benefits-centered .quick-benefit:last-child {
    margin-bottom: 0;
}

.checkmark {
    color: var(--success-color);
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Yellow Button Style */
.yellow-button {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.yellow-button:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
    transform: translateY(-4px) scale(1.05);
}

/* Quick benefits inline style */
.quick-benefits-inline {
    margin: 0.5rem 0 1.5rem;
}

.quick-benefits-inline .quick-benefit {
    margin-bottom: 0.35rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.quick-benefits-inline .quick-benefit:last-child {
    margin-bottom: 0;
}

/* Yellow CTA button style for bottom section */
.yellow-cta {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important; 
    border: 2px solid var(--primary-color);
    background-image: none !important;
}

.yellow-cta:hover {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--white);
    transform: translateY(-4px) scale(1.05);
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
}

.benefit-card p {
    margin-bottom: 0;
    color: var(--dark-gray);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
    background-image: linear-gradient(45deg, rgba(245, 233, 133, 0.9), rgba(48, 56, 104, 0.1));
    padding: 3rem 0;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: left;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
    background-color: rgba(245, 233, 133, 0.5); /* Increased opacity for more visibility */
    padding: 2px 4px;
    border-radius: 3px;
}

.author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 100px; 
    height: 100px; 
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 3rem;
}

.cta-section h2 {
    color: var(--white);
}

/* Override for the bottom yellow button */
.cta-section .cta-button.yellow-cta {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    background-image: none !important;
}

.cta-section .cta-button.yellow-cta:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--white) !important;
    transform: translateY(-4px) scale(1.05);
}

/* Original CTA button styles - we'll override these with the above */
.cta-section .cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.cta-section .cta-button:hover {
    background-color: var(--white);
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.error-message {
    color: var(--danger-color);
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
    border-left: 4px solid var(--danger-color);
}

.success-message {
    color: var(--success-color);
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    border-left: 4px solid var(--success-color);
}

/* User Info Page */
.user-info {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.background-image {
    display: none;
}

/* Question Page */
.question-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.question-container {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}

.question-text {
    color: var(--white);
    margin-bottom: 2rem;
}

.answer-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Standard Yes/No buttons */
.answer-button {
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    width: 100%;
}

.yes-button {
    background-color: var(--success-color);
    color: var(--white);
}

.no-button {
    background-color: var(--danger-color);
    color: var(--white);
}

.answer-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Radio button and checkbox styling */
.radio-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
}

.radio-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.radio-option input[type="radio"] {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    cursor: pointer;
}

.radio-option label {
    flex: 1;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    color: var(--white);
}

/* Rating scale styling */
.rating-scale {
    width: 100%;
}

/* Short answer styling */
.short-answer {
    width: 100%;
}

.text-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    resize: vertical;
}

.text-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Other option styling */
.other-option {
    width: 100%;
    margin-top: 8px;
    margin-left: 36px;
}

.other-input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Follow-up styling */
.follow-up {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.follow-up-label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.follow-up-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    resize: vertical;
}

/* Submit button container */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.submit-button {
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    background-color: var(--white);
}

/* Results Page */
.results-section {
    padding: 4rem 0;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.score-container {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.score-container h2 {
    margin-bottom: 2rem;
}

/* Gauge styling */
.gauge-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    text-align: center;
}

#score-gauge {
    width: 100%;
    height: auto;
    display: block;
}

.score-value {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    background-color: var(--white);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid var(--light-gray);
    z-index: 10;
}

/* Old Thermometer styling - can be removed if gauge is working properly */
.thermometer {
    display: none;
    position: relative;
    width: 100px;
    height: 300px;
    margin: 0 auto 2rem;
}

.thermometer-outer {
    position: relative;
    width: 50px;
    height: 250px;
    background-color: #eee;
    border-radius: 25px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.thermometer-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Start at 0% height and will be animated by JS */
    background-color: var(--primary-color);
    border-radius: 25px 25px 25px 25px;
    transition: height 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.thermometer-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.thermometer-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
    position: absolute;
    right: 0;
    top: 0;
}

.label {
    font-size: 0.8rem;
}

.label.high {
    align-self: flex-start;
}

.label.medium {
    align-self: center;
}

.label.low {
    align-self: flex-end;
}

.score-interpretation {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    text-align: left;
}

.score-category {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
}

.score-category.high {
    background-color: var(--success-color);
    color: var(--white);
}

.score-category.medium {
    background-color: var(--warning-color);
    color: var(--dark-gray);
}

.score-category.low {
    background-color: var(--danger-color);
    color: var(--white);
}

.results-explanation {
    text-align: center;
    margin: 2rem 0;
}

.report-container {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.report-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.report-status {
    margin-bottom: 2rem;
}

.download-container {
    margin: 1.5rem 0;
    text-align: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.download-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.download-button:hover .download-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23303868'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E");
}

.next-steps {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    margin-top: 2rem;
}

.next-steps h3 {
    margin-bottom: 1rem;
}

.next-steps ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.75rem;
}

.next-steps .cta-button {
    margin-top: 1rem;
    display: block;
    text-align: center;
}

.book-call-button {
    background-color: var(--success-color);
}

.book-call-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.info-message {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(48, 56, 104, 0.1);
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.results-content {
    margin: 3rem 0;
}

.results-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Fortune 500 Section */
.fortune500-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 3rem 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
}

.fortune-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.fortune-category {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.fortune-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.fortune-company {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #fafafa;
}

.fortune-company:last-child {
    margin-bottom: 0;
}

.company-logo {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .results-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        max-width: 1000px;
    }
}

@media (min-width: 768px) {
    .background-image {
        display: block;
    }
    
    .user-info .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    /* Hero grid becomes two columns on larger screens */
    .hero-grid {
        grid-template-columns: 3fr 2fr;
        text-align: left;
    }
    
    .hero-text {
        padding-right: 2rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .answer-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .question-container {
        padding: 1.5rem;
    }
    
    .fortune-categories {
        grid-template-columns: 1fr;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .fortune-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Video Section */
.video-section {
    margin: 6rem auto; 
    padding: 2.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    text-align: center;
    max-width: 1200px; /* Increased from 1000px for better desktop viewing */
    width: 100%; /* Ensure it scales with the viewport */
    margin-left: auto;
    margin-right: auto;
}

.video-section h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.video-section .subtitle {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 1200px) {
    .video-container {
        max-width: 1200px; /* Increased size for larger screens */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .video-container {
        max-width: 900px; /* Adjusted size for medium-large screens */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .video-container {
        max-width: 700px; /* Adjusted size for medium screens */
    }
}

@media (max-width: 767px) {
    .video-container {
        max-width: 100%; /* Full width for smaller screens */
    }
}
