/* Add all the CSS from the previous styles.css here */
/* The CSS remains exactly the same as provided earlier */
/* Just make sure it's in the src folder */

body {
    font-family: 'Patrick Hand', cursive;
    margin: 0;
    padding: 20px;
    background-image: url('crystal\ model\ 731.jpg'); /* Adjusted for correct path */
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center;
    background-attachment: fixed; /* Background stays fixed while scrolling */
    position: relative;
    color: #2c3e50;
}




/* Hide the overlay when the button is clicked */
.warning-overlay.hidden {
    display: none;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
}

/* Warning overlay */
.warning-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    z-index: 10; /* Ensure it's on top of the video */
    cursor: pointer; /* Indicates it's clickable */
}

/* Warning button */
.warning-button {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border: 2px solid #fff;
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.warning-button:hover {
    background-color: rgba(255, 255, 255, 1); /* Less transparent on hover */
}


/* Add to existing styles */
.mt-15 {
    margin-top: 15px;
}

.energy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 107, 107, 0.5); /* Semi-transparent border */
    border-radius: 6px;
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8); /* 80% opaque white */
    margin: 10px 0;
    transition: all 0.3s ease;
}

select:focus {
    border-color: rgba(255, 71, 87, 0.8); /* Brighter border on focus */
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    outline: none;
    background: rgba(255, 255, 255, 0.9); /* Slightly more opaque when focused */
}

.calendar-deprecation {
    background: rgba(147, 51, 234, 0.1);
    border-color: #9333ea;
}

.calendar-deprecation legend {
    color: #9333ea;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.65); /* 65% opaque */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(248, 249, 250, 0.7); /* 70% opaque */
    border-radius: 10px;
    border: 1px solid rgba(233, 236, 239, 0.3); /* 30% opaque border */
}

fieldset {
    border: 2px solid #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

legend {
    color: #2c3e50;
    font-weight: bold;
    padding: 0 10px;
}

/* Input Fields (Text Inputs) */
input[type="text"] {
    width: 100%; /* Full width */
    padding: 10px;
    background: rgba(255, 255, 255, 0.8); /* 80% opaque */
    border: 2px solid rgba(255, 107, 107, 0.5); /* Semi-transparent border */
    border-radius: 6px;
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Text Areas */
textarea {
    width: 100%; /* Full width */
    min-height: 100px; /* Minimum height */
    resize: vertical; /* Allow vertical resizing */
    background: rgba(255, 255, 255, 0.8); /* 80% opaque */
    border: 2px solid rgba(255, 107, 107, 0.5); /* Semi-transparent border */
    padding: 12px;
    border-radius: 6px;
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Focus States for Inputs and Text Areas */
input[type="text"]:focus,
textarea:focus {
    border-color: rgba(255, 71, 87, 0.8); /* Brighter border on focus */
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3); /* Subtle shadow */
    outline: none;
    background: rgba(255, 255, 255, 0.9); /* Slightly more opaque when focused */
}


.checkbox-label {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 107, 107, 0.15);
}

button {
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.disclaimer {
    background: rgba(255, 241, 118, 0.1);
    border-color: #ffe082;
}

.disclosure-note {
    font-size: 0.9em;
    color: rgba(0, 0, 0, 0.85); /* Slightly transparent text */
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8); /* 80% opaque white */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

.disclosure-note ul {
    margin: 10px 0;
    padding-left: 20px;
}

.disclosure-note ul li {
    color: rgba(0, 0, 0, 0.85); /* Slightly transparent text */
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.advisory-content ul {
    padding-left: 20px;
    margin: 10px 0;
}

.advisory-content li {
    margin-bottom: 8px;
}

.guru-section {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.validation-error {
    border-color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.05);
}

.error-feedback {
    background: #ffebee;
    border: 2px solid #ff4444;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.error-feedback h3 {
    margin: 0 0 15px 0;
    color: #ff4444;
}

.error-feedback ul {
    margin: 0;
    padding-left: 20px;
}

.form-feedback {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.disclaimer-text-death {
    text-align: center; /* Center all text */
    margin: 2rem auto; /* Add some spacing */
    max-width: 800px; /* Limit width for better readability */
}

.disclaimer-text-death p {
    margin: 0.5rem 0; /* Add spacing between paragraphs */
    font-family: 'Patrick Hand', cursive; /* Match your site's font */
    color: rgba(0, 0, 0, 0.85); /* Slightly transparent text */
}

/* Optional: Style for the audio container if needed */
.audio-container {
    text-align: center;
}

/* Progressive font size reduction */
.disclaimer-text-death p:nth-child(1) { font-size: 1.2em; }
.disclaimer-text-death p:nth-child(2) { font-size: 1.1em; }
.disclaimer-text-death p:nth-child(3) { font-size: 1em; }
.disclaimer-text-death p:nth-child(4) { font-size: 0.9em; }
.disclaimer-text-death p:nth-child(5) { font-size: 0.8em; }
.disclaimer-text-death p:nth-child(6) { font-size: 0.7em; }
.disclaimer-text-death p:nth-child(7) { font-size: 0.6em; }

/* Simple footer styling */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 10px;
    transition: background-color 0.3s ease;
}

/* Hover effect for the footer */
.footer:hover {
    background-color: transparent; /* Change to a lighter color on hover */
}




/* Your existing CSS remains the same */
/* ... all your previous styles ... */

/* Add these Bootstrap overrides at the end */
.container {
    max-width: 800px;
    padding: 30px;
}

/* Bootstrap compatibility overrides */
.form-control {
    font-family: 'Patrick Hand', cursive !important;
    border: 2px solid rgba(255, 107, 107, 0.5) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    border-color: rgba(255, 71, 87, 0.8) !important;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.btn {
    font-family: 'Patrick Hand', cursive !important;
    border-radius: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

/* Keep your original button style */
button:not(.warning-button) {
    background: #ff6b6b !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .energy-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}