/* Redesigned Homepage Styles */

/* Hero Banner Styles */
.hero-banner-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ayurveda-cream) 0%, var(--ayurveda-ivory) 50%, var(--ayurveda-earth) 100%);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(125, 132, 113, 0.1) 0%, rgba(156, 175, 136, 0.05) 50%, transparent 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-leaf {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-leaf-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-leaf-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

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

.hero-content-left {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ayurveda-primary), var(--ayurveda-sage));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    line-height: 1.2;
}

.hero-title-hindi {
    display: block;
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    color: var(--ayurveda-primary);
    font-weight: 700;
}

.hero-title-english {
    display: block;
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--ayurveda-charcoal);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--ayurveda-charcoal);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--ayurveda-sage);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--ayurveda-primary), var(--ayurveda-sage));
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(125, 132, 113, 0.3);
}

.hero-btn-call {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.hero-trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--ayurveda-primary);
    font-weight: 700;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--ayurveda-charcoal);
}

/* Form Area Styles */
.hero-form-area {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.appointment-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(125, 132, 113, 0.15);
    border: 1px solid var(--ayurveda-earth);
    max-width: 500px;
    width: 100%;
}

.form-header {
    border-bottom: 2px solid var(--ayurveda-earth);
    padding-bottom: 1rem;
}

.form-title {
    color: var(--ayurveda-primary);
    font-family: 'Philosopher', serif;
    font-weight: 600;
    margin: 0;
}

.form-subtitle {
    color: var(--ayurveda-charcoal);
    margin: 0;
    font-size: 0.9rem;
}

.form-floating label {
    color: var(--ayurveda-secondary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ayurveda-primary);
    box-shadow: 0 0 0 0.2rem rgba(125, 132, 113, 0.25);
}

.consultation-type .btn-outline-primary {
    border-color: var(--ayurveda-primary);
    color: var(--ayurveda-primary);
}

.consultation-type .btn-check:checked + .btn-outline-primary {
    background: var(--ayurveda-primary);
    border-color: var(--ayurveda-primary);
}

.submit-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.form-footer {
    border-top: 1px solid var(--ayurveda-earth);
    padding-top: 1rem;
}

/* Emergency Widget */
.emergency-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    max-width: 280px;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-icon {
    font-size: 1.5rem;
}

.emergency-text strong {
    display: block;
    font-size: 0.9rem;
}

.emergency-text span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.emergency-call-btn {
    background: white;
    color: #dc3545;
    border: none;
    font-weight: 600;
    white-space: nowrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--ayurveda-primary);
    z-index: 3;
}

.scroll-text {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* Quick Stats Styles */
.quick-stats-section {
    position: relative;
    overflow: hidden;
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon-large {
    font-size: 3rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stats-info-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.info-title {
    margin-bottom: 1rem;
}

.achievement-item {
    padding: 0.5rem;
}

.achievement-item strong {
    display: block;
    font-size: 1.1rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--ayurveda-earth);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(125, 132, 113, 0.15);
}

.service-header {
    position: relative;
    padding: 1.5rem 1.5rem 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ayurveda-primary), var(--ayurveda-sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-content {
    padding: 0 1.5rem 1.5rem;
}

.service-title {
    color: var(--ayurveda-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--ayurveda-charcoal);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.service-benefits li {
    padding: 0.25rem 0;
    color: var(--ayurveda-charcoal);
    font-size: 0.9rem;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--ayurveda-cream);
    border-radius: 10px;
}

.service-stats .stat-item {
    text-align: center;
    padding: 0;
}

.service-stats .stat-item strong {
    display: block;
    color: var(--ayurveda-primary);
    font-weight: 700;
}

.service-stats .stat-item span {
    font-size: 0.8rem;
    color: var(--ayurveda-charcoal);
}

.service-footer {
    padding: 0 1.5rem 1.5rem;
}

/* Treatment Categories */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--ayurveda-earth);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(125, 132, 113, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-title {
    color: var(--ayurveda-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-conditions {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.category-conditions li {
    padding: 0.25rem 0;
    color: var(--ayurveda-charcoal);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--ayurveda-earth);
}

.category-conditions li:last-child {
    border-bottom: none;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--ayurveda-cream);
    border-radius: 10px;
}

.success-rate {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.patient-count {
    color: var(--ayurveda-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Quick Access Buttons */
.quick-access-btn {
    display: block;
    background: white;
    border: 2px solid var(--ayurveda-earth);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-access-btn:hover {
    border-color: var(--ayurveda-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 132, 113, 0.15);
    text-decoration: none;
}

.quick-access-btn .btn-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quick-access-btn .btn-text {
    font-size: 0.8rem;
    color: var(--ayurveda-charcoal);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-hindi {
        font-size: 2rem;
    }
    
    .hero-title-english {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-trust-indicators {
        justify-content: center;
        gap: 1rem;
    }
    
    .appointment-form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .emergency-widget {
        position: fixed;
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}
