/* Enhanced Banner Text Overlay Styles - Premium Look */

/* =============================================== */
/* ENHANCED TYPOGRAPHY & TEXT OVERLAY SYSTEM     */
/* =============================================== */

/* Font imports for better typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Enhanced Times New Roman MT Bold for brand consistency */
@font-face {
    font-family: 'Times New Roman MT Extra Bold';
    src: local('Times New Roman MT Extra Bold'), 
         local('Times New Roman MT Bold'), 
         local('Times New Roman Bold'), 
         local('Times New Roman'), 
         local('Times'), 
         serif;
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =============================================== */
/* MAIN TEXT OVERLAY CONTAINER                   */
/* =============================================== */

.hero-content {
    position: relative;
    z-index: 10;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0;
    padding: 3rem 2.5rem;
    margin: 2rem;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 700px;
    animation: slideInUp 1.2s ease-out;
}

.hero-content:hover {
    transform: none;
    box-shadow: none;
}

/* =============================================== */
/* ENHANCED H1 HEADING STYLES                    */
/* =============================================== */

.hero-content h1,
.hero-content h1.govind-ayurveda-brand,
.h1-preview {
    font-family: 'Times New Roman MT Extra Bold', 'Playfair Display', 'Times New Roman', serif !important;
    font-weight: 900 !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1.5rem !important;
    
    /* Enhanced gradient text effect */
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f8f9fa 25%,
        #ffffff 50%, 
        #e9ecef 75%,
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* Fallback for browsers that don't support gradient text */
    color: #ffffff !important;
    
    /* Enhanced text shadow for depth */
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Animation */
    animation: fadeInDown 1s ease-out 0.3s both;
    position: relative;
}

/* Add subtle glow effect to H1 */
.hero-content h1::before,
.hero-content h1.govind-ayurveda-brand::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-content:hover h1::before,
.hero-content:hover h1.govind-ayurveda-brand::before {
    opacity: 1;
}

/* =============================================== */
/* ENHANCED H2 SUBTITLE STYLES                   */
/* =============================================== */

.hero-content h2,
.h2-preview {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1.25rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.3);
    
    animation: fadeInLeft 1s ease-out 0.6s both;
    position: relative;
}

/* Add accent line under H2 */
.hero-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #e0a800);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 1.2s both;
}

/* =============================================== */
/* ENHANCED H3 DESCRIPTION STYLES                */
/* =============================================== */

.hero-content h3,
.h3-preview {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    line-height: 1.6 !important;
    letter-spacing: 0.01em !important;
    margin-bottom: 2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.2);
    
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* =============================================== */
/* ENHANCED BUTTON STYLES                        */
/* =============================================== */

.hero-content .btn {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
    
    animation: fadeInUp 1s ease-out 1.2s both;
    margin-right: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Primary button (Book Appointment) */
.hero-content .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: #ffffff !important;
}

.hero-content .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.hero-content .btn-success:hover::before {
    left: 100%;
}

.hero-content .btn-success:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 12px 24px rgba(40, 167, 69, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15) !important;
    background: linear-gradient(135deg, #218838, #1e7e34) !important;
}

/* Secondary button (Our Services) */
.hero-content .btn-outline-light {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 
        0 12px 24px rgba(255, 255, 255, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* NABH Certification button */
.hero-content .btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 
        0 6px 12px rgba(255, 193, 7, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.hero-content .btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #d39e00) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 8px 16px rgba(255, 193, 7, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.15) !important;
}

.nabh-btn-logo {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* =============================================== */
/* CUSTOM BANNER BUTTON STYLES                   */
/* =============================================== */

.hero-content .custom-banner-btn {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: #ffffff !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-content .custom-banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.hero-content .custom-banner-btn:hover::before {
    left: 100%;
}

.hero-content .custom-banner-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085) !important;
    transform: translateY(-3px) !important;
    box-shadow: 
        0 12px 24px rgba(0, 123, 255, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* =============================================== */
/* ANIMATIONS & KEYFRAMES                        */
/* =============================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* =============================================== */
/* RESPONSIVE DESIGN                             */
/* =============================================== */

@media (max-width: 1200px) {
    .hero-content {
        padding: 2.5rem 2rem;
        margin: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: 600px;
    }
    
    .hero-content h1,
    .hero-content h1.govind-ayurveda-brand {
        font-size: clamp(2rem, 4vw, 3.5rem) !important;
        margin-bottom: 1.25rem !important;
    }
    
    .hero-content h2 {
        font-size: clamp(1.3rem, 2.5vw, 2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content h3 {
        font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem 1.25rem;
        margin: 0.75rem;
        border-radius: 16px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    
    .hero-content h1,
    .hero-content h1.govind-ayurveda-brand {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
        margin-bottom: 1rem !important;
        letter-spacing: -0.01em !important;
    }
    
    .hero-content h2 {
        font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important;
        margin-bottom: 0.875rem !important;
    }
    
    .hero-content h3 {
        font-size: clamp(0.95rem, 1.6vw, 1.1rem) !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-content .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        margin-right: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.25rem 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .hero-content h1,
    .hero-content h1.govind-ayurveda-brand {
        font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
        margin-bottom: 0.875rem !important;
    }
    
    .hero-content h2 {
        font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-content h3 {
        font-size: clamp(0.9rem, 1.4vw, 1rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        margin-right: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .hero-content .btn + .btn {
        margin-top: 0.75rem;
    }
}

/* =============================================== */
/* DARK MODE SUPPORT                             */
/* =============================================== */

@media (prefers-color-scheme: dark) {
    .hero-content {
        background: linear-gradient(135deg, 
            rgba(15, 15, 15, 0.85) 0%,
            rgba(0, 0, 0, 0.65) 50%, 
            rgba(15, 15, 15, 0.75) 100%);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

/* =============================================== */
/* ACCESSIBILITY & REDUCED MOTION                */
/* =============================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-content h1,
    .hero-content h2,
    .hero-content h3,
    .hero-content .btn {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-content .btn:hover {
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-content {
        background: rgba(0, 0, 0, 0.9) !important;
        border: 2px solid #ffffff !important;
    }
    
    .hero-content h1,
    .hero-content h2,
    .hero-content h3 {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    }
    
    .hero-content .btn {
        border: 2px solid currentColor !important;
    }
}

/* =============================================== */
/* TEXT POSITION VARIANTS                        */
/* =============================================== */

/* Left-aligned text */
.hero-content.text-left {
    text-align: left;
    margin-left: 2rem;
    margin-right: auto;
}

/* Right-aligned text */
.hero-content.text-right {
    text-align: right;
    margin-left: auto;
    margin-right: 2rem;
}

/* Center-aligned text (default) */
.hero-content.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Top positioning */
.hero-content.position-top {
    align-self: flex-start;
    margin-top: 3rem;
}

/* Bottom positioning */
.hero-content.position-bottom {
    align-self: flex-end;
    margin-bottom: 3rem;
}

/* =============================================== */
/* PRINT STYLES                                  */
/* =============================================== */

@media print {
    .hero-content {
        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        border: 1px solid #000000 !important;
    }
    
    .hero-content h1,
    .hero-content h2,
    .hero-content h3 {
        color: #000000 !important;
        text-shadow: none !important;
    }
    
    .hero-content .btn {
        display: none !important;
    }
}
