/* Custom CSS for Aarogyam Hospital */

/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3a8a;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1f2937;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Header Styles */
.top-bar {
    background: var(--gradient-primary) !important;
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

.main-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nabh-img {
    height: 60px;
    width: auto;
}

.hospital-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
}

.hospital-subtitle {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.certification {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Navigation */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 5px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.nav-btn {
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
}

.slide.active {
    opacity: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Slide Animations */
.animate-fadeInUp {
    animation: fadeInUp 1s ease-out;
}

.animate-fadeInUp.delay-1 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.animate-fadeInUp.delay-2 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.animate-fadeInRight {
    animation: fadeInRight 1s ease-out;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: white;
    border-color: white;
}

/* Placeholder Images */
.hospital-image-placeholder,
.medical-icon-placeholder,
.medical-care-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

/* Quick Actions */
.quick-actions {
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.action-card .card {
    transition: var(--transition);
    cursor: pointer;
}

.action-card .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.action-card .card:hover i {
    transform: scale(1.1);
}

/* Section Styles */
.section-title {
    color: var(--dark-color);
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* About Section */
.about-section .about-image {
    text-align: center;
}

.hospital-placeholder {
    padding: 100px 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.highlight-box {
    background: var(--gradient-primary) !important;
    border-radius: var(--border-radius);
    text-align: center;
}

/* Services Section */
.service-card {
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover i {
    transform: scale(1.2);
}

/* Features Section */
.feature-item {
    padding: 20px 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.feature-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-content p {
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary) !important;
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer .contact-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a:hover {
    color: var(--accent-color) !important;
}

.address p {
    line-height: 1.8;
}

/* Utility Classes */
.text-decoration-none {
    text-decoration: none !important;
}

.border-0 {
    border: 0 !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Custom Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
