/* Custom styles for AskGiftr - Soft & Beautiful Design */

:root {
    --askgiftr-coral: #ff9aa2;
    --askgiftr-peach: #ffb3ba;
    --askgiftr-mint: #bae1ff;
    --askgiftr-lavender: #c7ceea;
    --askgiftr-cream: #ffd3a5;
    --askgiftr-sage: #a8e6cf;
}

body {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    padding-top: 65px; /* Almost touching the blue bar */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Silk Blue Header */
.silk-blue-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 60px;
    z-index: 1000;
    padding: 0 !important;
    min-height: 60px;
}

.silk-blue-header .navbar {
    padding: 0 !important;
    height: 60px;
    display: flex;
    align-items: center;
}

.silk-blue-header .container {
    display: flex;
    align-items: center;
    height: 60px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible;
}

.navbar-brand {
    position: relative;
    width: 300px;
    height: 60px;
    overflow: visible;
    flex-shrink: 0;
}

/* Header Logo */
.header-logo {
    height: 240px;
    width: auto;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
    background: transparent !important;
    filter: brightness(1.1) contrast(1.1);
    transform: scale(1);
    backface-visibility: hidden;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 435px;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000 !important;
    transform: translateY(-1px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28107, 70, 193, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Page Logo (removed since it's now in header) */
.page-logo {
    display: none;
}

/* Premium Spacing and Layout */
.container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

/* About Us Slide-out Panel */
.about-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #4a6cf7 0%, #667eea 50%, #764ba2 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
}

.about-panel.active {
    right: 0;
}

.about-panel-content {
    padding: 30px;
    position: relative;
    height: 100%;
}

.about-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.about-panel-body {
    margin-top: 60px;
    color: #ffffff;
}

.about-image-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-gift-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-panel-body h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-panel-body p {
    color: #f8f9fa;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-panel-body .highlight {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-features .feature-item h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments for panel */
@media (max-width: 767px) {
    .about-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .about-panel.active {
        right: 0;
    }
}

/* How It Works Slide-out Panel */
.how-it-works-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #4a6cf7 0%, #667eea 50%, #764ba2 100%);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
}

.how-it-works-panel.active {
    left: 0;
}

.how-it-works-panel-content {
    padding: 30px;
    position: relative;
    height: 100%;
}

.how-it-works-panel-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.how-it-works-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.how-it-works-panel-body {
    margin-top: 60px;
    color: #ffffff;
}

.how-it-works-image-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.how-it-works-laptop-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.how-it-works-panel-body h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number-small {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-content h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.why-section h4 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: #f8f9fa;
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

/* Mobile adjustments for How It Works panel */
@media (max-width: 767px) {
    .how-it-works-panel {
        width: 100vw;
        left: -100vw;
    }
    
    .how-it-works-panel.active {
        left: 0;
    }
    
    .how-it-works-laptop-image {
        max-width: 250px;
    }
}

/* Contact Us Slide-out Panel */
.contact-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #4a6cf7 0%, #667eea 50%, #764ba2 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
}

.contact-panel.active {
    right: 0;
}

.contact-panel-content {
    padding: 30px;
    position: relative;
    height: 100%;
}

.contact-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.contact-panel-body {
    margin-top: 60px;
    color: #ffffff;
}

.contact-panel-body h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-panel-body h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 12px 0;
}

.contact-detail i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: #ffffff;
}

.contact-detail div {
    flex: 1;
}

.contact-detail strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-detail a {
    color: #f8f9fa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-detail span {
    color: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hours-info p {
    color: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.contact-message p {
    color: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0;
}

/* Mobile adjustments for Contact panel */
@media (max-width: 767px) {
    .contact-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .contact-panel.active {
        right: 0;
    }
}

/* FAQ Slide-out Panel */
.faq-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #4a6cf7 0%, #667eea 50%, #764ba2 100%);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
}

.faq-panel.active {
    left: 0;
}

.faq-panel-content {
    padding: 30px;
    position: relative;
    height: 100%;
}

.faq-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.faq-panel-body {
    margin-top: 60px;
    color: #ffffff;
}

.faq-panel-body h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.faq-item p {
    color: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mobile adjustments for FAQ panel */
@media (max-width: 767px) {
    .faq-panel {
        width: 100vw;
        left: -100vw;
    }
    
    .faq-panel.active {
        left: 0;
    }
    
    .faq-item {
        margin-bottom: 1.2rem;
        padding-bottom: 1.2rem;
    }
}

/* Enhanced Form Styling */
.start-arrow-container {
    margin-bottom: 1.5rem;
}

.start-arrow {
    font-size: 2rem;
    color: #4a6cf7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.form-input-highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #4a6cf7;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.15);
    transition: all 0.3s ease;
}

.form-input-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 108, 247, 0.2);
}

.form-input-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input-label i {
    color: #4a6cf7;
}

.form-select-enhanced {
    border: 2px solid #e3e6f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-select-enhanced:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
    transform: none;
}

.form-help-text {
    background: rgba(74, 108, 247, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.form-help-text small {
    color: #555 !important;
    font-weight: 500;
}

.form-help-text i {
    color: #4a6cf7;
}

/* Fix any white text issues on main page */
.form-help-text .text-muted {
    color: #555 !important;
}

p.text-muted {
    color: #666 !important;
}

/* Speech Functionality Styling */
.mic-button {
    border: 2px solid #e3e6f0;
    border-left: none;
    background: #ffffff;
    transition: all 0.3s ease;
    min-width: 80px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Improve touch responsiveness */
}

.mic-button:hover {
    background: #f8f9ff;
    border-color: #4a6cf7;
}

.mic-button.listening {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 230, 0.95));
    border-color: #ff6b35;
    animation: voiceGlow 2s ease-in-out infinite;
}

/* Voice Capture Indicator - Seismic Wave Effect */
.voice-capture-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 24px;
}

.voice-capture-indicator .wave {
    display: inline-block;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b6b, #ff8e53);
    border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite;
}

.voice-capture-indicator .wave:nth-child(1) {
    animation-delay: 0s;
    height: 40%;
}

.voice-capture-indicator .wave:nth-child(2) {
    animation-delay: 0.1s;
    height: 60%;
}

.voice-capture-indicator .wave:nth-child(3) {
    animation-delay: 0.2s;
    height: 100%;
}

.voice-capture-indicator .wave:nth-child(4) {
    animation-delay: 0.3s;
    height: 60%;
}

.voice-capture-indicator .wave:nth-child(5) {
    animation-delay: 0.4s;
    height: 40%;
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Pulsing glow effect when listening */
@keyframes voiceGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8), 0 0 30px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.speech-textarea-btn {
    align-self: flex-start;
    height: 42px;
    margin-top: 2px;
}

.speech-controls {
    text-align: center;
    margin: 20px 0;
}

.speak-button, .stop-speech-button {
    margin: 0 5px;
}

.stop-speech-button {
    display: none;
}

/* Input group adjustments for speech buttons */
.input-group .form-select {
    border-right: none;
}

.input-group .form-control {
    border-right: none;
}

/* Mobile responsive adjustments for enhanced form */
@media (max-width: 767px) {
    .form-input-highlight {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .start-arrow {
        font-size: 1.5rem;
    }
    
    .form-select-enhanced {
        font-size: 1rem;
        padding: 10px 14px;
    }
    
    .mic-button {
        min-width: 60px;
        min-height: 48px; /* Minimum touch target size for mobile */
        padding: 10px 12px;
        font-size: 18px;
    }
    
    .speech-textarea-btn {
        height: 48px;
    }
    
    /* Make voice indicator more visible on mobile */
    .voice-capture-indicator .wave {
        width: 4px;
        margin: 0 2px;
    }
}

/* How It Works Section (old styles, keeping for backwards compatibility) */
.how-it-works-step {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(74, 108, 247, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #4a6cf7 0%, #667eea 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.how-it-works-step h4 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.how-it-works-step p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Why AskGiftr Section */
.why-askgiftr {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
    font-size: 1rem;
}

/* Contact Us Section */
.contact-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 108, 247, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item, .social-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child, .social-item:last-child {
    border-bottom: none;
}

.contact-item i, .social-item i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item div, .social-item div {
    flex: 1;
}

.contact-item strong, .social-item strong {
    color: #333;
    font-weight: 600;
}

.contact-item a, .social-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover, .social-item a:hover {
    color: #667eea !important;
    text-decoration: underline;
}

.contact-hours {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.contact-hours h5 {
    margin-bottom: 10px;
}

.contact-hours p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Mobile responsive adjustments for Contact */
@media (max-width: 767px) {
    .contact-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .contact-item, .social-item {
        padding: 12px 0;
    }
    
    .contact-hours {
        padding: 15px;
    }
}

/* Mobile responsive adjustments for How It Works */
@media (max-width: 767px) {
    .how-it-works-step {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .step-number {
        left: 20px;
    }
    
    .why-askgiftr {
        padding: 30px 20px;
    }
    
    .benefit-item {
        padding: 12px;
        margin-bottom: 10px;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
    /* Mobile navbar styles */
    .navbar-collapse {
        background: rgba(74, 108, 247, 0.95);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 12px 15px !important;
        border-radius: 5px;
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    /* Mobile Modal Fixes */
    .modal-dialog {
        margin: 15px;
        max-height: calc(100vh - 30px);
    }
    
    .modal-content {
        max-height: calc(100vh - 30px);
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 15px 20px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }
    
    .btn-close {
        font-size: 1.2rem;
        padding: 10px;
        margin: -5px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        padding: 40px 0 40px 0;
    }
    
    .page-logo {
        height: 180px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Mobile Form Layout */
    .row.g-3 {
        margin: 0 -8px;
    }
    
    .row.g-3 > * {
        padding: 0 8px;
    }
    
    .form-floating {
        margin-bottom: 16px;
    }
}


.card-body {
    padding: 30px 40px;
}

@media (max-width: 768px) {
    .card-body {
        padding: 20px 15px;
    }
}\n\n/* Floating Question Sections */
.question-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .question-section {
        padding: 16px 20px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .question-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .question-section h4 {
        font-size: 1.2rem;
    }
    
    .form-select, .form-control, .btn {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .d-flex.gap-3 {
        gap: 15px !important;
    }
}\n\n.question-section h4 {
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.4rem;
}

.question-section p {
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.4;
}\n\n.question-section:hover {\n    transform: translateY(-2px);\n    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);\n}\n\n/* Premium Typography */\nh1, h2, h3, h4, h5, h6 {\n    font-weight: 700;\n    letter-spacing: -0.5px;\n    color: #000000;\n}\n\n/* Premium Progress Bar Styling */\n.progress-container {\n    display: flex;\n    justify-content: center;\n    margin-bottom: 40px;\n}\n\n.progress-bar {\n    display: flex;\n    align-items: center;\n    gap: 20px;\n}\n\n.progress-step {\n    width: 40px;\n    height: 40px;\n    border-radius: 50%;\n    background: #e5e7eb;\n    color: #6b7280;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-weight: 600;\n    transition: all 0.3s ease;\n    position: relative;\n}\n\n.progress-step.active {\n    background: #22c55e;\n    color: white;\n}\n\n.progress-step.completed {\n    background: #22c55e;\n    color: white;\n}\n\n.progress-step:not(:last-child)::after {\n    content: '';\n    position: absolute;\n    left: 100%;\n    top: 50%;\n    transform: translateY(-50%);\n    width: 20px;\n    height: 2px;\n    background: #e5e7eb;\n    transition: all 0.3s ease;\n}\n\n.progress-step.completed:not(:last-child)::after {\n    background: #22c55e;\n}\n\n/* Form Step Animation */\n.form-step {\n    opacity: 1;\n    transform: translateY(0);\n    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.form-step.hidden {\n    opacity: 0;\n    transform: translateY(20px);\n    pointer-events: none;\n}\n\n/* Hero Section Styling */
.hero-section {
    background: #ffffff;
    padding: 10px 0 80px 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
    color: #22c55e !important;
}

/* Hero Images Grid */
.hero-images-grid {
    padding-left: 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero-feature-card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.hero-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
}

.hero-feature-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hero-feature-content {
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.hero-feature-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

.hero-feature-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000000;
}

.hero-feature-content p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
}

/* Full explanation overlay */
.hero-feature-card .full-explanation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1200px;
    height: 70vh;
    max-height: 600px;
    background: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    z-index: 1000;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-feature-card:hover .full-explanation {
    opacity: 1;
    visibility: visible;
}

.hero-feature-card:hover .hero-feature-content {
    opacity: 0;
}

.explanation-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.explanation-content h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.explanation-content p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.full-explanation .expanded-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 16px 16px 0;
}

/* Backdrop overlay */
.hero-feature-card:hover::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 1;
}

@media (max-width: 991px) {
    .hero-images-grid {
        padding-left: 0;
        margin-top: 30px;
    }
}

.hero-image-placeholder {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
}

.placeholder-text {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 10px 0 60px 0;
    }
}

/* Clean white background - no pattern needed */

/* Override Progress Bar for Premium Landscape Design */
.progress-container {
    width: 100% !important;
    margin-bottom: 40px !important;
    padding: 20px 0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: block !important;
}

.progress-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    position: relative !important;
    gap: 0 !important;
}

.progress-bar::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 40px !important;
    right: 40px !important;
    height: 3px !important;
    background: #e5e7eb !important;
    transform: translateY(-50%) !important;
    border-radius: 2px !important;
    z-index: 1 !important;
}

.progress-bar::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 40px !important;
    width: var(--progress-width, 0%) !important;
    height: 3px !important;
    background: #22c55e !important;
    transform: translateY(-50%) !important;
    border-radius: 2px !important;
    z-index: 1 !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.progress-step {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #e5e7eb !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 2 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    color: transparent !important;
    font-size: 0 !important;
}

.progress-step.active {
    background: #22c55e !important;
    transform: scale(1.2) !important;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3) !important;
}

.progress-step.completed {
    background: #22c55e !important;
    transform: scale(1.1) !important;
}

/* Gift icon styling */
.fa-gift {
    animation: gentle-pulse 2s infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Premium Floating Cards */
.card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.card-header {
    border-radius: 16px 16px 0 0 !important;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #ffffff;
    padding: 24px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* Premium Form Styling */
.form-control, .form-select {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000000 !important;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

/* Ensure all input text is visible */
input[type="text"], input[type="number"], input[type="email"], textarea, select {
    color: #000000 !important;
    background: white !important;
}

/* Placeholder text styling */
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
    color: #666666 !important;
    opacity: 1;
}

/* Additional specificity for form inputs */
.form-control:not(:placeholder-shown) {
    color: #000000 !important;
    background: white !important;
}

.form-select option {
    color: #000000 !important;
    background: white !important;
}

.form-control:focus, .form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
    background: white;
    color: #000000 !important;
    outline: none;
    transform: translateY(-2px);
}


/* Premium Form Labels */
.form-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.2px;
}


/* Form text helpers */
.form-text {
    color: #000000;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Premium Button Design */
.btn-primary {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-weight: 600;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
}

.btn-outline-info {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    border-radius: 12px;
    padding: 16px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
}

.btn-outline-info:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Loading animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Soft Gift Recommendation Cards */
.gift-card {
    transition: all 0.4s ease;
    border-radius: 20px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 154, 162, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--givlv-coral), var(--givlv-peach), var(--givlv-mint));
}

.gift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #ffffff !important;
}

[data-bs-theme="dark"] .gift-card {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Ensure all text in gift cards is visible */
.gift-card .card-title,
.gift-card .card-text,
.gift-card h5,
.gift-card p,
.gift-card .cultural-note,
.gift-card .gift-description {
    color: #000000 !important;
}

.gift-card .card-body {
    background: transparent !important;
    color: #000000 !important;
}

/* Gift image styling */
.gift-image-container {
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.1) 0%, rgba(186, 225, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(168, 230, 207, 0.2);
    margin-bottom: 15px;
}

.gift-image {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    padding: 8px;
}

.gift-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Premium Gift Box Design with Image */
.gift-box-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-box {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.05);
}

.gift-box-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
}

.gift-box:hover .gift-box-image {
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.25)) brightness(0.95);
}

/* Shop Options Overlay */
.shop-options {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 180px;
    text-align: center;
}

.gift-box:hover .shop-options {
    opacity: 1;
    visibility: visible;
}

.shop-options h6 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-option-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, #FF6B35, #FF9A56);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 8px;
}

.shop-option-link:last-child {
    margin-bottom: 0;
}

.shop-option-link:hover {
    background: linear-gradient(135deg, #FF9A56, #FF6B35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

.shop-option-link i {
    margin-right: 8px;
    font-size: 18px;
}





.gift-price {
    background: linear-gradient(135deg, var(--givlv-sage), var(--givlv-mint));
    color: #000000;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    box-shadow: 0 2px 8px rgba(168, 230, 207, 0.3);
}

.cultural-note {
    background: linear-gradient(135deg, rgba(255, 211, 165, 0.1) 0%, rgba(168, 230, 207, 0.1) 100%);
    border-left: 4px solid var(--givlv-cream);
    padding: 12px 18px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--bs-gray-700);
    box-shadow: 0 2px 8px rgba(255, 211, 165, 0.1);
}

[data-bs-theme="dark"] .cultural-note {
    color: var(--bs-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 10px 25px;
    }
    
    .gift-card {
        margin-bottom: 1rem;
    }
}

/* Soft Flower and Card Section */
.flower-card-section {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.15) 0%, rgba(186, 225, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 16px;
    border-left: 4px solid var(--givlv-sage);
    font-size: 0.9rem;
    box-shadow: 0 2px 12px rgba(168, 230, 207, 0.1);
}

.flower-suggestion, .card-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.flower-suggestion:last-child, .card-message:last-child {
    margin-bottom: 0;
}

.flower-card-section .emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Soft Affiliate Links */
.affiliate-links {
    background: linear-gradient(135deg, rgba(186, 225, 255, 0.15) 0%, rgba(199, 206, 234, 0.1) 100%);
    border-radius: 15px;
    padding: 18px;
    border-left: 4px solid var(--givlv-mint);
    box-shadow: 0 2px 12px rgba(186, 225, 255, 0.1);
}

.affiliate-links .btn {
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.affiliate-links .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Accessibility improvements */
.btn:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Beautiful Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.gentle-float {
    animation: gentleFloat 6s ease-in-out infinite;
}

/* Hero section enhancements */
.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-image-container::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    animation: gentleFloat 4s ease-in-out infinite;
}

/* Soft loading state */
.loading-state {
    background: linear-gradient(135deg, 
        rgba(255, 154, 162, 0.1) 0%, 
        rgba(255, 183, 186, 0.15) 50%,
        rgba(186, 225, 255, 0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 154, 162, 0.15);
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card {
        border-radius: 15px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Hero Carousel Styles */
.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.hero-carousel-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.hero-carousel-card:hover {
    transform: scale(1.02);
}

.hero-carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hero-carousel-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-carousel-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.hero-carousel-content h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

.hero-carousel-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

/* Carousel indicators */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #3b82f6;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #3b82f6;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Modal backdrop styling */
.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background-color: white !important;
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
}

/* Hide old hero styles that are no longer used */
.hero-images-grid,
.hero-feature-card .full-explanation,
.hero-feature-card:hover::before {
    display: none;
}

/* Affiliate Disclaimer Footer Styles */
.affiliate-disclaimer-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    padding: 40px 0 30px 0;
    margin-top: 60px;
    position: relative;
}

.affiliate-disclaimer {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.affiliate-disclaimer h6 {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.affiliate-disclaimer p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.affiliate-disclaimer .fas.fa-info-circle {
    color: #3b82f6;
    opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .affiliate-disclaimer-footer {
        padding: 30px 0 20px 0;
        margin-top: 40px;
    }
    
    .affiliate-disclaimer {
        padding: 20px;
    }
    
    .affiliate-disclaimer h6 {
        font-size: 1rem;
    }
    
    .affiliate-disclaimer p {
        font-size: 0.9rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 1rem;
}

.privacy-section h3 {
    color: #333;
    font-weight: 600;
    font-size: 1.3rem;
}

.privacy-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.privacy-section strong {
    color: #333;
}

/* Mobile responsive for privacy policy */
@media (max-width: 768px) {
    .privacy-section {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section ul {
        margin-left: 1rem;
    }
}
