/* ==========================================
   Created by : Vanitha Devadiga - 9699986193
   Color Palette from Logo:
   - Primary (Navy): #2d4a5e
   - Accent (Lime Green): #7cb342
   ========================================== */

:root {
    --primary: #2d4a5e;
    --primary-light: #e8f4f8;
    --accent: #7cb342;
    --accent-light: #c5e1a5;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark: #1a1a2e;
    --bg-light: #f5f9fc;
    --primary-teal: #17A2B8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    color: var(--dark);
}

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

::-webkit-scrollbar-track {
    background: var(--light);
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-light-custom {
    background: var(--bg-light);
}

/* ==========================================
   NAVBAR STYLES
   ========================================== */
.navbar {
    padding: 7px 0;
    transition: all 0.3s ease;
    background: #fff;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar .nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    text-decoration: none !important;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

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

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 50%;
}

/* Offcanvas Styles */
.offcanvas {
    background: var(--white);
}

.offcanvas .nav-link {
    color: var(--dark) !important;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

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



/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #1e3a4a;
    border-color: #1e3a4a;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #689f38;
    border-color: #689f38;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 16px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    margin-top: 50px;
}

.badge-welcome {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-shape-1 {
    position: absolute;
    bottom: 50px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-2 {
    position: absolute;
    top: 100px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
}

.text-accent {
    color: var(--accent);
}

.hero-highlights {
    margin-top: 10px;
}

.hero-highlights span {
    font-size: 14px;
    font-weight: 600;
}

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

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

/* ==========================================
   FEATURES HIGHLIGHT
   ========================================== */
.features-highlight {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.feature-box {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-icon.accent {
    background: var(--accent);
}

.feature-box h5 {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 700;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-image-wrapper {
    position: relative;
}

.main-about-img {
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-stats-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    border-left: 4px solid var(--accent);
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: -15px;
    background: var(--accent);
    color: var(--white);
    padding: 18px 22px;
    border-radius: 12px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 74, 94, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 25px;
    position: relative;
}

.service-icon-small {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.service-icon-small.accent {
    background: var(--accent);
}

.service-content h5 {
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

/* ==========================================
   APPOINTMENT SECTION
   ========================================== */
.appointment-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.appointment-image {
    position: relative;
    min-height: 500px;
}

.appointment-image img {
    object-fit: cover;
}

.appointment-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(45, 74, 94, 0.95) 0%, rgba(45, 74, 94, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.appointment-image-content h3 {
    font-size: 1.8rem;
}

.appointment-form-wrapper {
    background: var(--white);
    padding: 50px 40px;
}

.appointment-form-wrapper .form-control,
.appointment-form-wrapper .form-select {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 18px;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.appointment-form-wrapper .form-control:focus,
.appointment-form-wrapper .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 74, 94, 0.1);
}

.appointment-form-wrapper .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 14px;
}
label.error {
    font-size: 13px;
    margin-top: 4px;
    color:red;
}

/* ==========================================
   STEP CARDS
   ========================================== */
.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

/* ==========================================
   DOCTOR/TEAM SECTION - REDESIGNED (NO IMAGES)
   ========================================== */
.doctor-card-simple {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
         border-start-start-radius: 0;
    border-start-end-radius: 0;
}

.doctor-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.doctor-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 20px 0;
}

.doctor-initials {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.doctor-initials.accent {
    background: var(--accent);
}

.doctor-card-body {
    padding: 25px 30px 30px;
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.doctor-designation {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.doctor-qualifications {
    margin-bottom: 15px;
}

.doctor-qualifications .badge {
    font-weight: 600;
    font-size: 12px;
}

.doctor-bio {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.specialty-badge {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
}

.doctor-contact a {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.doctor-contact a:hover {
    background: var(--primary);
    color: var(--white);
}

.doctor-img {
    height: 280px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Handles large images */
    transition: transform 0.4s ease;
        border-start-start-radius: 16px;
    border-start-end-radius: 16px;
}

.doctor-card-modern:hover img {
    transform: scale(1.05);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background: var(--primary);
    position: relative;
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

/* ==========================================
   TESTIMONIALS SECTION - REDESIGNED
   ========================================== */
.testimonial-card-new {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-text {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-initials {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-initials.accent {
    background: var(--accent);
}

.testimonial-author h6 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 15px;
}

.testimonial-author small {
    color: var(--gray);
    font-size: 13px;
}

.testimonial-source {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gray);
    font-size: 12px;
}

.testimonial-source i {
    color: #4285f4;
}
.testimonial-video video{
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
}
/* Testimonial Carousel Controls */
.carousel-control-custom {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-control-custom:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    background: #ddd;
    border: none;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators-custom button.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

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

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content h5 {
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-content h5 {
    color: var(--primary);
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item.active {
    color: var(--accent) !important;
}

.blog-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.blog-link:hover {
    color: var(--primary-teal);
    transform: translateX(5px);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}

.map-wrapper {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.newsletter-form .form-control {
    border-radius: 8px 0 0 8px;
    border: none;
    padding: 12px 18px;
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

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

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 30px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-stats-card {
        right: 10px;
        bottom: -20px;
        padding: 15px 20px;
    }

    .experience-badge {
        left: 10px;
        top: 10px;
        padding: 12px 15px;
    }

    .appointment-image {
        min-height: 350px;
    }

    .appointment-form-wrapper {
        padding: 40px 30px;
    }

    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-shape-2 {
        right: 0;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .appointment-form-wrapper {
        padding: 30px 20px;
    }

    .doctor-image img {
        height: 280px;
    }

    .review-summary {
        padding: 25px;
    }

    .stat-item h2 {
        font-size: 1.75rem;
    }

    .features-highlight {
        margin-top: -40px;
    }

    .min-vh-80 {
        min-height: auto;
    }

    .mbl-space {
        padding-left: 20px;
        padding-right: 20px;
    }
    .doctor-card-body {
    padding: 25px 15px 30px;
}
.navbar .nav-link::after {
    left: 15%;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 30%;
}

}

/* ==========================================
   ANIMATION CLASSES
   ========================================== */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Object Fit Helper */
.object-cover {
    object-fit: cover;
}

/* ==========================================
   PAGE HEADER (Blog Pages)
   ========================================== */
.page-header {
    background: var(--primary);
    padding: 140px 0 70px;
    position: relative;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent) !important;
}

/* ==========================================
   BLOG LISTING PAGE STYLES
   ========================================== */
.search-box {
    margin-top: 30px;
}

.search-box .form-control {
    border-radius: 8px 0 0 8px;
    border: 2px solid #eee;
    padding: 14px 20px;
}

.search-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.search-box .btn {
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
}

/* Featured Blog Card */
.featured-blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.featured-blog-card img {
    object-fit: cover;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Pagination Styling */
.pagination .page-link {
    border: none;
    color: var(--dark);
    padding: 12px 18px;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

.pagination .page-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ==========================================
   BLOG DETAIL PAGE STYLES
   ========================================== */
.blog-featured-img img {
    max-height: 500px;
    object-fit: cover;
}

.blog-content-detail {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.blog-content-detail h3 {
    color: var(--primary);
    margin-top: 2rem;
}

.blog-content-detail h4 {
    color: var(--primary);
}

.blog-content-detail p {
    margin-bottom: 1.2rem;
}

.blog-content-detail ul,
.blog-content-detail ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content-detail li {
    margin-bottom: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
}

.highlight-box ul {
    margin-bottom: 0;
}

/* Share Buttons */
.share-btn {
    width: 40px;
    height: 40px;
    background: var(--light);
    color: var(--dark);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Author Box */
.author-box {
    border-left: 4px solid var(--accent);
}

/* Comments */
.comment-item {
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: var(--white) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comment-form .form-control {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px 18px;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.comment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 74, 94, 0.1);
}

/* ==========================================
   SIDEBAR STYLES
   ========================================== */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.widget-title {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    font-weight: 700;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.category-list span {
    color: var(--gray);
}

/* Recent Posts */
.recent-post {
    transition: all 0.3s ease;
}

.recent-post:hover {
    transform: translateX(5px);
}

.recent-post img {
    object-fit: cover;
}

.recent-post h6 a:hover {
    color: var(--primary) !important;
}

/* Tag Cloud */
.tag-cloud a {
    text-decoration: none;
    padding: 8px 15px;
    font-size: 13px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tag-cloud a:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* CTA Widget */
.cta-widget {
    background: var(--primary);
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-float:hover {
    color: #fff;
}
.green-border-bottom {
  border-bottom: 2px solid #7cb342;
  display: inline-block;
}
.choose-card{
background:var(--bg-light);
padding:16px 18px;
border-radius:8px;
font-weight:500;
display:flex;
align-items:center;
border:1px solid #e9ecef;
transition:all .3s ease;
}

.choose-card i{
color:#7cb342;
font-size:18px;
}

.choose-card:hover{
transform:translateY(-3px);
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}
/* ==========================================
   RESPONSIVE ADJUSTMENTS FOR BLOG PAGES
   ========================================== */
@media (max-width: 991.98px) {
    .page-header {
        padding: 120px 0 50px;
    }

    .featured-blog-card .row {
        flex-direction: column;
    }

    .featured-content {
        padding: 30px !important;
    }

    .sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .search-box {
        margin-top: 20px;
    }

    .blog-content-detail {
        font-size: 1rem;
    }
    .whatsapp-float {
    bottom: 20px;
    right: 25px;}
}