/* ==========================================================================
   Base Styles
   ========================================================================== */
:root {
    --primary-color: #0a5c5c;
    /* Deep teal - represents healing and nature */
    --primary-dark: #074242;
    /* Darker teal */
    --primary-light: #e0f2f2;
    /* Light teal */
    --secondary-color: #d4af37;
    /* Gold - represents purity and value */
    --accent-color: #e67e22;
    /* Orange - represents energy and vitality */
    --light-color: #f5f5f0;
    /* Cream - represents purity and calm */
    --dark-color: #333333;
    /* Dark gray for text */
    --text-color: #444444;
    /* Slightly lighter for body text */
    --border-color: #e0e0e0;
    /* Light gray for borders */
    --success-color: #27ae60;
    /* Green - represents health */
    --danger-color: #e74c3c;
    /* Red - for alerts */
    --warning-color: #f39c12;
    /* Yellow - for warnings */
    --info-color: #3498db;
    /* Blue - for information */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 92, 92, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 92, 92, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #d35400;
    border-color: #d35400;
    color: white;
}

.btn-appointment {
    padding: 12px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1rem;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: white;
    text-decoration: none;
}

.top-bar-social a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-bar-social a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    color: var(--dark-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--dark-color);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
}

.hero-video,
.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-fallback {
    background: url('/assets/images/hero-background-mobile.jpg') center/cover no-repeat;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 92, 92, 0.85) 0%, rgba(10, 92, 92, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

/* Emergency Contact Strip */
.emergency-contact {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(212, 175, 55, 0.9);
    color: var(--dark-color);
    padding: 12px 0;
    z-index: 3;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 80px 0;
    }

    .hero-form {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero-fallback {
        display: block;
    }

    .hero-video {
        display: none;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .emergency-contact {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 80px 0 40px;
    }

    .hero-form {
        padding: 20px;
    }
}

.form-control,
.form-select {
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    margin-bottom: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(10, 92, 92, 0.25);
}

.emergency-contact {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(212, 175, 55, 0.9);
    color: var(--dark-color);
    padding: 12px 0;
    z-index: 3;
}

.emergency-contact a {
    color: var(--dark-color);
    font-weight: 600;
}

.social-icons a {
    color: var(--dark-color);
    margin-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Trust Indicators */
/* Trust Indicators */
.trust-indicators {
    background-color: white;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.trust-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.trust-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.trust-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.trust-text {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--text-color);
}

@media (max-width: 767.98px) {
    .trust-item {
        margin-bottom: 20px;
    }

    .trust-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 1.75rem;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.doctor-qualifications .qualification-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.doctor-qualifications .qualification-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 3px;
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }

    .experience-badge {
        width: 80px;
        height: 80px;
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 50px 0;
    }

    .experience-badge {
        width: 70px;
        height: 70px;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-card:hover:before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-color);
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-about img {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: white;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.newsletter-form .form-control {
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    height: 45px;
    padding: 0 20px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* Mobile Contact Bar */
.mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-contact-bar a {
    color: white;
    text-align: center;
    flex: 1;
    padding: 5px 0;
    font-size: 0.9rem;
}

.mobile-contact-bar i {
    margin-right: 5px;
}

@media (max-width: 767.98px) {
    .mobile-contact-bar {
        display: flex;
        justify-content: space-around;
    }

    body {
        padding-bottom: 60px;
        /* To prevent content from being hidden behind the fixed bar */
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-form {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-fallback {
        display: block;
    }

    .hero-video {
        display: none;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .trust-number {
        font-size: 1.5rem;
    }

    .experience-badge {
        width: 80px;
        height: 80px;
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .trust-item {
        padding: 15px;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .trust-number {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
/* General Responsive Adjustments */
@media (max-width: 1199.98px) {
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title:after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 40px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1199.98px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 7.98px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text .d-flex {
        justify-content: center;
    }

    .emergency-contact .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .emergency-contact .social-icons {
        margin-top: 10px;
        justify-content: center;
    }

    .emergency-contact .social-icons a {
        margin: 0 8px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title:after {
        height: 3px;
        bottom: -10px;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }
}

/* ==========================================================================
   Doctor Profile Page Styles
   ========================================================================== */

/* Doctor Header */
.doctor-header {
    padding: 100px 0 80px;
}

.doctor-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 100px;
    height: 100px;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-badge .years {
    font-size: 1.75rem;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.qualification-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--primary-light);
    border-radius: 10px;
}

.qualification-item i {
    font-size: 1.25rem;
    margin-top: 3px;
}

/* Timeline */
.timeline-wrapper {
    position: relative;
    padding-left: 30px;
}

.timeline-group {
    margin-bottom: 40px;
}

.timeline-group-title {
    position: relative;
    padding-left: 20px;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.timeline-group-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}

.timeline-marker {
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--primary-light);
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

/* Specializations */
.specialization-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.specialization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specialization-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.specialization-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.specialization-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.specialization-list li:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Achievements */
.achievement-card {
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* Philosophy */
.philosophy-image {
    position: relative;
}

.quote-box {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-box:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-color);
}

.point-icon i {
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .doctor-header {
        padding: 80px 0 60px;
    }
}

@media (max-width: 991.98px) {
    .experience-badge {
        width: 80px;
        height: 80px;
        right: 15px;
    }

    .qualification-item {
        padding: 12px;
    }
}

@media (max-width: 767.98px) {
    .doctor-header {
        padding: 70px 0 50px;
    }

    .timeline-wrapper {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 20px;
    }
}

@media (max-width: 575.98px) {
    .doctor-header {
        padding: 60px 0 40px;
    }

    .experience-badge {
        width: 70px;
        height: 70px;
        bottom: -15px;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 15px;
    }
}

/* ==========================================================================
   Facility Page Styles
   ========================================================================== */

/* Facility Features */
.facility-features .feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.facility-features .feature-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Department Cards */
.department-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.department-img {
    height: 200px;
    overflow: hidden;
}

.department-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.department-card:hover .department-img img {
    transform: scale(1.1);
}

.department-content {
    padding: 25px;
}

.department-features {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.department-features li {
    margin-bottom: 8px;
}

/* Amenity Cards */
.amenity-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

/* Gallery */
.gallery-grid {
    display: grid;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 92, 92, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .department-img {
        height: 180px;
    }

    .amenity-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .department-img {
        height: 220px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .department-img {
        height: 180px;
    }

    .amenity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5rem;
    /* Negative margin to compensate for gutter */
}

.gallery-grid>[class*="col-"] {
    padding: 0.5rem;
    /* Gutter between items */
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 1/1;
    /* Square ratio for first row */
}

/* Larger images for the 2-column row */
.gallery-grid>.col-md-6 .gallery-item img {
    aspect-ratio: 16/9;
    /* Wider ratio for larger images */
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 92, 92, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gallery-caption {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (min-width: 992px) {

    /* Desktop - 3 columns and 2 columns */
    .gallery-grid>.col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .gallery-grid>.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {

    /* Tablet - 2 columns for all */
    .gallery-grid>[class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .gallery-item img {
        aspect-ratio: 1/1;
        /* Square ratio for tablet */
    }
}

@media (max-width: 767.98px) {

    /* Mobile - 1 column */
    .gallery-grid>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-item img {
        aspect-ratio: 16/9;
        /* Wider ratio for mobile */
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    .gallery-caption {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Service Page Styles
   ========================================================================== */

/* Service Content */
.service-content img {
    border-radius: 15px;
    margin-bottom: 30px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.process-steps {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.process-steps li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    counter-increment: step-counter;
}

.process-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card:before {
    content: "\"";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card blockquote {
    position: relative;
    font-style: italic;
}

.rating {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Contact Info */
.contact-info i {
    width: 20px;
    text-align: center;
}

.service-links a {
    transition: all 0.3s ease;
    padding: 8px 0;
    display: block;
}

.service-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .service-content img {
        margin-bottom: 20px;
    }

    .testimonial-card {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .process-steps li {
        padding-left: 35px;
    }

    .process-steps li:before {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Ayurvedic Surgery Service Page Styles
   ========================================================================== */

/* Service Header */
.service-header {
    padding: 100px 0 80px;
}

/* Procedure Cards */
.procedure-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.procedure-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.procedure-card:hover:before {
    height: 100%;
}

.procedure-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.procedure-features {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.procedure-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.procedure-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Condition Cards */
.condition-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    height: 100%;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.condition-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits-image {
    position: relative;
}

.benefit-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon .icon-box {
    width: 50px;
    height: 50px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-header {
        padding: 80px 0 60px;
        text-align: center;
    }

    .service-header .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .service-header {
        padding: 70px 0 50px;
    }

    .procedure-card,
    .condition-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .service-header {
        padding: 60px 0 40px;
    }

    .condition-card {
        flex-direction: column;
    }

    .condition-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Map Section */
.map-container {
    position: relative;
    border: 1px solid var(--border-color);
}

.map-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 92, 92, 0.1);
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease;
}

.map-container:hover:before {
    opacity: 0;
}

/* Map Info Window */
.map-infowindow {
    padding: 15px;
}

.map-infowindow h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-infowindow p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.map-infowindow .btn {
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Panchakarma Service Page Styles
   ========================================================================== */

/* Process Cards */
.process-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 15px;
}

.process-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.process-features {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.process-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.process-features li:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Treatment Cards */
.treatment-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.treatment-icon img {
    width: 40px;
    height: 40px;
}

.treatment-duration {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Benefit Items */
.benefit-item {
    background-color: var(--primary-light);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.condition-badge {
    background-color: white;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .process-card {
        padding: 25px;
    }

    .treatment-card {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .process-card {
        margin-bottom: 30px;
    }

    .process-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .condition-badge {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .treatment-icon {
        width: 60px;
        height: 60px;
    }

    .treatment-icon img {
        width: 30px;
        height: 30px;
    }
}

/* ==========================================================================
   Yoga Therapy Page Styles
   ========================================================================== */

/* Service Header */
.service-header {
    padding: 100px 0;
    position: relative;
}

.service-header h1 {
    color: var(--primary-dark);
}

/* Yoga Benefits */
.yoga-benefits-list .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

/* Yoga Therapy Image Grid */
.yoga-therapy-image-grid img {
    transition: transform 0.3s ease;
    height: 100%;
    object-fit: cover;
}

.yoga-therapy-image-grid img:hover {
    transform: scale(1.03);
}

/* Approach Cards */
.approach-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 20px;
}

.program-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.program-features li {
    margin-bottom: 8px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 5px solid var(--primary-light);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-header {
        padding: 80px 0;
    }

    .yoga-therapy-image-grid {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .service-header {
        padding: 70px 0;
        text-align: center;
    }

    .service-header .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .service-header .d-flex {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .service-header {
        padding: 60px 0 40px;
    }

    .program-card {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   Ayurvedic Diet Service Page Styles
   ========================================================================== */

/* Dosha Cards */
.dosha-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dosha-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dosha-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.vata-card:before {
    background-color: #7f9eb2;
}

.pitta-card:before {
    background-color: #d66761;
}

.kapha-card:before {
    background-color: #7d9d6a;
}

.dosha-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bg-vata {
    background-color: #e1eef7;
}

.bg-pitta {
    background-color: #fdeceb;
}

.bg-kapha {
    background-color: #e9f3e5;
}

.dosha-details {
    text-align: left;
    margin-top: 20px;
}

/* Principle Cards */
.principle-card {
    display: flex;
    margin-bottom: 30px;
}

.principle-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Meal Plan */
.meal-time {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.meal-time:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .principle-card {
        flex-direction: column;
    }

    .principle-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .dosha-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .dosha-icon {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   Services Page Styles
   ========================================================================== */

/* Service Cards */
.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .service-content {
        padding: 20px;
    }
}

@media (max-width: 991.98px) {
    .service-image {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 30px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .service-image {
        height: 160px;
    }

    .service-content {
        padding: 15px;
    }
}

/* Footer Credits */
.footer-credits {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credits a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-credits a:hover {
    color: var(--accent-color);
}

.footer-credits a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-credits a:hover:after {
    width: 100%;
}

.footer-credits .fa-heart {
    font-size: 0.8rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}   

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top-container {
    position: relative;
    overflow: hidden;
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.featured-card .card-img-top {
    height: 350px;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Blog Meta */
.blog-meta {
    font-size: 0.9rem;
    color: var(--text-color);
}

.blog-meta i {
    color: var(--primary-color);
}

/* Blog Content */
.blog-card .card-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card:hover .card-title {
    color: var(--primary-color);
}

.blog-card .card-text {
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

/* Category List */
.category-list {
    list-style: none;
    padding-left: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    padding: 8px 0;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-count {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: none;
    margin: 0 5px;
    border-radius: 8px !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .featured-card .card-img-top {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .blog-card .card-img-top {
        height: 200px;
    }

    .featured-card .card-img-top {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .blog-card .card-img-top {
        height: 180px;
    }

    .featured-card .card-img-top {
        height: 220px;
    }

    .widget-title {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Blog Single Page Styles
   ========================================================================== */

/* Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-featured-img {
    overflow: hidden;
    border-radius: 12px;
}

.blog-content {
    line-height: 1.8;
    color: var(--text-color);
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

/* Styled Lists */
.styled-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.styled-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Callout Box */
.callout-box {
    border-left: 4px solid var(--accent-color);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Author Bio */
.author-bio {
    background-color: var(--primary-light);
    border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .blog-content h2 {
        font-size: 1.75rem;
    }

    .blog-featured-img {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .share-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .blog-content h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 20px;
    }
}