/* Main styles for Govind Ayurveda Hospital website */

:root {
    --primary-color: #198754;
    --secondary-color: #ffc107;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    position: relative;
    min-height: 100vh;
}

/* Admin Login Page Styles */
.admin-login-background {
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(255, 255, 255, 0.6) 100%);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.admin-login-logo {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
    margin-bottom: 10px;
}

.admin-login-background .card {
    border-radius: 10px;
    overflow: hidden;
}

.admin-login-background .card-header {
    border-bottom: none;
}

.admin-login-background .form-control-lg {
    border-radius: 0.4rem;
}

.admin-login-background .btn-success {
    background: linear-gradient(to right, #198754, #00b05b);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 176, 91, 0.3);
    transition: all 0.3s ease;
}

.admin-login-background .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 176, 91, 0.4);
}

.admin-login-background .card-footer {
    border-top: 1px solid #f0f0f0;
}

/* News & Updates Styles */
.news-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.featured-news .card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-news .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.featured-news .card-title {
    font-weight: 600;
    color: var(--primary-color);
}

.news-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.events-table th {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.newsletter-form .form-control {
    height: 48px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Admin Login News Sidebar */
.list-group-item-action:hover {
    background-color: rgba(25, 135, 84, 0.05);
}

.list-group-item-action h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* News Detail Modal */
.modal-body .news-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-body .news-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.modal-body .news-content h2, 
.modal-body .news-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body .news-content ul, 
.modal-body .news-content ol {
    margin-bottom: 1.5rem;
}

/* Top Info Bar Styles */
.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-info-item {
    margin-right: 1.5rem;
    color: var(--text-dark);
}

.top-info-item:last-child {
    margin-right: 0;
}

.top-info-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.top-info-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-info-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .social-links {
        display: none; /* Hide top bar social links on larger screens */
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation Social Links */
.nav-social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .top-info {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .top-info-item {
        margin-right: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Header Styles */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

/* Add a subtle transition effect on hover for nav links */
.navbar .nav-link {
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Rounded pill style for login/register buttons */
.navbar-nav li:nth-last-child(2) .nav-link,
.navbar-nav li:last-child .nav-link {
    border-radius: 20px;
    padding: 0.5rem 1.25rem !important;
    margin-left: 5px;
}

.navbar-nav li:nth-last-child(2) .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar-nav li:last-child .nav-link {
    background-color: var(--secondary-color);
    color: var(--text-dark) !important;
    border: 1px solid var(--secondary-color);
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    left: 0;  /* Changed from auto to 0 to fix alignment */
    position: absolute;
    z-index: 1030; /* Ensure dropdown appears above other elements */
}

.dropdown-item {
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    font-size: 0.9rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 991.98px) {
    /* Let mobile-fixes.css handle navbar-collapse styling */
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    /* Let mobile-fixes.css handle dropdown menu styling for mobile */
}

/* Fix for dropdown alignment */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .dropdown-menu {
    left: 0;
    right: auto;
    position: absolute;
}

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
    }
}

/* End fix for dropdown alignment */

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/ayurveda-herbs-banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-family: "Times New Roman MT", "Times New Roman", Times, serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

/* Mobile responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh; /* Slightly smaller on mobile for better usability */
    }
    
    .hero-content h1 {
        font-size: 2.5rem; /* Adjust title size for mobile */
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: auto;
}

.cert-badge {
    display: inline-block;
    padding: 10px 15px;
    margin: 10px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 5px;
    font-weight: 600;
}

.cert-buttons-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-buttons-row .btn-warning, .btn-warning.nabh-badge {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #FFC107;
    border-color: #FFC107;
}

.btn-warning.nabh-badge {
    padding: 8px 16px;
    border-radius: 4px;
}

/* Add shadow effect on hover */
.cert-buttons-row .btn-warning:hover, .btn-warning.nabh-badge:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Doctors Section */
.doctors-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.doctor-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.doctor-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

.doctor-card .card-title {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.doctor-card .btn-outline-success {
    border-width: 2px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-card {
    padding: 2rem;
    text-align: center;
    border-radius: 0.75rem;
    box-shadow: var(--box-shadow);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.specialized-service-card {
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.specialized-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.specialized-service-card img {
    object-fit: cover;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.25rem;
    position: absolute;
    left: 0.25rem;
    top: -0.25rem;
}

.additional-service-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.additional-service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.service-mini-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.additional-service-item h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 15px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
}

.testimonial-star {
    color: #ffc107;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--primary-color);
    color: var(--text-light);
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #333 0%, #222 100%);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    background-color: #333;
    color: var(--text-light);
    padding: 50px 0 20px;
}

footer h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-info p {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

footer .newsletter-block .form-control {
    background-color: rgba(255,255,255,0.1);
    border: none;
    color: white;
}

footer .newsletter-block .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

footer .newsletter-block .btn {
    padding: 0.5rem 1rem;
}

footer a.text-success {
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a.text-success:hover {
    color: #fff !important;
}

footer hr.border-light {
    opacity: 0.1;
}

/* Floating Button */
.floating-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.btn-opd {
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    border: none;
    font-weight: bold;
    white-space: nowrap;
}

/* Products Page */
.product-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(60, 72, 88, 0.10), 0 1.5px 4px 0 rgba(60, 72, 88, 0.08);
    transition: transform 0.18s, box-shadow 0.18s;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(60, 72, 88, 0.18), 0 2px 8px 0 rgba(60, 72, 88, 0.10);
    z-index: 2;
}

.product-card .product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: #f8f9fa;
    box-shadow: 0 1px 0 0 #eee;
}

.product-card .card-body {
    padding: 1.2rem 1rem 0.8rem 1rem;
}

.product-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a3c34;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4a200;
    background: #fffbe6;
    border-radius: 6px;
    padding: 0.25em 0.7em;
    margin-bottom: 0.7em;
    display: inline-block;
}

.product-card .card-footer {
    background: none;
    border: none;
    padding: 0.7rem 1rem 1.1rem 1rem;
}

.product-card .btn-success {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5em 1.2em;
    font-size: 1rem;
    box-shadow: 0 2px 8px 0 rgba(40, 167, 69, 0.08);
    transition: background 0.15s, color 0.15s;
}

.product-card .btn-success:hover {
    background: #1a3c34;
    color: #fffbe6;
}

.product-card .btn-link {
    color: #198754;
    font-weight: 500;
    text-decoration: underline;
    font-size: 0.98rem;
    padding: 0.2em 0;
}

.product-card .btn-link:hover {
    color: #d4a200;
    text-decoration: none;
}

@media (max-width: 991px) {
    .product-card .product-img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .product-card .product-img {
        height: 140px;
    }
    .product-card .card-body {
        padding: 0.8rem 0.5rem 0.6rem 0.5rem;
    }
}

/* Gallery Page */
.gallery-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Login & Register Page */
.auth-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Dashboard Page */
.dashboard-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-card {
    padding: 20px;
    border-radius: 10px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.stat-card-blue {
    background: linear-gradient(45deg, #4e73df, #224abe);
}

.stat-card-green {
    background: linear-gradient(45deg, #1cc88a, #169a67);
}

.stat-card-yellow {
    background: linear-gradient(45deg, #f6c23e, #dda20a);
}

.stat-card-red {
    background: linear-gradient(45deg, #e74a3b, #be2617);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.3;
}

/* Appointments Page */
.appointment-card {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

/* Cart Page */
.cart-item {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

/* NABH Page Styles */
.nabh-content h2, .nabh-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.nabh-certificate-box {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.nabh-certificate-box:hover {
    transform: scale(1.02);
}

.certificate-caption {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2.5rem;
    box-shadow: var(--box-shadow);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.standard-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
}

.standard-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.standard-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.nabh-cta {
    background: linear-gradient(rgba(25, 135, 84, 0.9), rgba(25, 135, 84, 0.8)), 
                url('../images/ayurveda-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.nabh-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Accommodation Page Styles */
.accommodation-intro {
    margin-bottom: 2.5rem;
}

.accommodation-details h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.accommodation-details .amenities {
    margin-bottom: 1.25rem;
}

.accommodation-details .price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1.5rem;
}

.booking-section {
    background-color: var(--bg-light);
    margin-top: 2.5rem;
}

.booking-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

/* About Us Page Styles */
.about-content h2, .about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.mission-list li {
    margin-bottom: 0.75rem;
}

.founder-section {
    background-color: var(--bg-light);
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.approach-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
}

.approach-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.approach-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.facility-card {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.facility-card .card-body {
    padding: 1.25rem;
}

.contact-section {
    background-color: var(--bg-light);
    margin-top: 2.5rem;
}

/* Testimonials Page Styles */
.testimonial-intro {
    margin-bottom: 2.5rem;
}

.featured-testimonial {
    background-color: var(--bg-light);
    margin-bottom: 2.5rem;
}

.testimonial-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
}

.testimonial-quote {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-rating {
    margin: 0.25rem 0;
}

.testimonial-body {
    font-style: italic;
}

.testimonial-treatment {
    margin-top: 1.25rem;
}

.video-testimonial {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(25, 135, 84, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.submit-testimonial {
    background-color: var(--bg-light);
    margin-top: 2.5rem;
}

.rating {
    font-size: 1.5rem;
    color: #ffc107;
    cursor: pointer;
}

.rating i {
    margin-right: 0.25rem;
}

/* News & Updates Page Styles */
.featured-news {
    margin-bottom: 2.5rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.news-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Events Table Styles */
.events-table th {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.events-table td {
    vertical-align: middle;
}

/* Media Section Styles */
.media-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.media-logo {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.media-logo img {
    max-height: 100%;
    max-width: 80%;
}

.media-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-section {
    background-color: var(--bg-light);
    margin-top: 2.5rem;
}

/* CTA Button Styles */
.btn-cta {
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

.btn-cta-mobile {
    padding: 0.75rem 2rem;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease;
}

.btn-cta-mobile:hover {
    background-color: #e0a800;
    color: var(--text-dark);
}

/* Treatments Page Styles */
.recommended-badge {
    background-color: #198754;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading .separator {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem auto;
}

.section-heading .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.section-heading .line {
    flex: 1;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 0.75rem;
}

.treatment-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem;
    background-color: #f8f9fa;
    border-radius: 100px;
    display: inline-flex;
    margin-bottom: 2rem;
}

.treatment-nav .nav-link {
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.treatment-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.treatment-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.treatment-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.treatment-img {
    position: relative;
    overflow: hidden;
}

.treatment-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.treatment-card:hover .treatment-img img {
    transform: scale(1.05);
}

.treatment-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.treatment-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(25, 135, 84, 0.9);
    color: white;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.treatment-content {
    padding: 1.5rem;
    background-color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treatment-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.treatment-content p {
    margin-bottom: 1.25rem;
    color: #666;
    flex: 1;
}

.treatment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #777;
}

.treatment-info-card .card {
    transition: transform 0.3s ease;
}

.treatment-info-card .card:hover {
    transform: translateY(-5px);
}

.treatment-guidelines li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.treatment-guidelines li:last-child {
    border-bottom: none;
}

.treatment-guidelines li i {
    margin-right: 0.75rem;
}

.treatment-modal-img {
    height: 100%;
    overflow: hidden;
}

.treatment-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-list li {
    margin-bottom: 0.5rem;
}

.cta-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/treatments/ayurvedic-herbs.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

/* Enhanced ui elements */
.separator-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-opd {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #06a04b);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-opd:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.5);
    background: linear-gradient(135deg, #06a04b, var(--primary-color));
}

.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

.btn-cta-mobile {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}

.btn-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.btn-cta {
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Featured Treatments Section */
.treatment-highlight-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    background-color: #fff;
}

.treatment-highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.treatment-highlight-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.treatment-highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.treatment-highlight-card:hover .treatment-highlight-img img {
    transform: scale(1.05);
}

.treatment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(25, 135, 84, 0.9);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.treatment-highlight-content {
    padding: 1.5rem;
}

.treatment-highlight-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.treatment-highlight-content p {
    margin-bottom: 1.25rem;
    color: #666;
    height: 4.5rem;
    overflow: hidden;
}

@media (max-width: 767px) {
    .treatment-nav {
        border-radius: 0.5rem;
    }
    
    .treatment-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 0;
}

.back-to-top i {
    font-size: 20px;
    line-height: 50px;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* Utility classes */
.nowrap {
    white-space: nowrap;
}

/* Enhanced navigation styles */
.navbar .nav-link {
    white-space: normal;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        white-space: normal;
        width: 100%;
    }
}

/* Admin Link */
.admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(52, 58, 64, 0.1);
    color: #343a40;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background-color: #343a40;
    color: white;
    transform: translateY(-2px);
}

/* Admin Login Card */
.card-header h3 {
    margin-bottom: 0;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .admin-link {
        margin-top: 0.5rem;
    }
}

/* Doctor Availability Styles */
.doctor-availability-container {
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.doctor-availability-container::-webkit-scrollbar {
    width: 8px;
}

.doctor-availability-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.doctor-availability-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.doctor-availability-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#opdModal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

#opdModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), #06a04b);
}

#opdModal .list-group-item {
    transition: all 0.3s ease;
}

#opdModal .list-group-item:hover {
    /* Add your desired background property here, for example: */
    background-color: rgba(25, 135, 84, 0.1) !important;
}

/* NABH Certified Logo Styling */
.nabh-certified-logo {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    margin-left: 10px;
}

/* NABH Logo in Buttons */
.nabh-btn-logo {
    height: 30px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

/* NABH Logo Container in Footer */
.nabh-logo-container {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* NABH Logo in Footer */
.nabh-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .nabh-certified-logo {
        height: 30px;
        margin-left: 5px;
    }
    
    .nabh-btn-logo {
        height: 24px;
        margin-right: 6px;
    }
    
    .nabh-logo-container {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }
}

/* Highlight featured product rows in admin product table */
.featured-product-row {
    background: linear-gradient(90deg, #fffbe6 60%, #fff9c4 100%);
    border-left: 5px solid #ffd600;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(255, 214, 0, 0.08);
    transition: background 0.3s;
}
.featured-product-row:hover {
    background: linear-gradient(90deg, #fffde7 60%, #fffde4 100%);
}
.featured-product-row .badge.bg-warning {
    font-size: 0.85em;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* Video Banner Styles */
.video-banner {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Video File Banner */
.video-file-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* YouTube Banner */
.youtube-banner {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.youtube-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.youtube-player {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    pointer-events: none; /* Prevent direct interaction */
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mute-toggle {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 8px 12px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mute-toggle:hover {
    background: rgba(25, 135, 84, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

.video-progress {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #198754, #00b05b);
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.5);
}

/* Content overlay for video banners */
.video-banner .container {
    position: relative;
    z-index: 2;
}

.video-banner .hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .video-banner {
        min-height: 60vh;
    }
    
    .video-banner .hero-content {
        padding: 20px;
    }
    
    .video-controls {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
    
    .video-progress {
        width: 100px;
    }
    
    .mute-toggle {
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* Form validation styles */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #198754;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Hide validation messages until validation is applied */
.form-control:not(.is-invalid):not(.is-valid) ~ .invalid-feedback {
    display: none;
}