/* Custom Styles for Dr. Smita J. Shah */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 160, 23, 0.6); }
}

/* Floating Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow */
.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e3a5f;
}

::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e8b828;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #d4a017 0%, #e8b828 50%, #f0c94d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Image Overlay Gradient */
.image-overlay {
    position: relative;
}

.image-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.3) 0%, transparent 100%);
    z-index: 1;
}

.image-overlay img {
    position: relative;
    z-index: 0;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav,
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-navy-900 {
        background: white !important;
        color: black !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .text-gold-400 {
        color: #d4a017 !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
