/* General Resets & Variables */
:root {
    --primary-color: #f79220; /* Green */
    --secondary-color: #dd68f2; /* Blue */
    --accent-color: #ffc107; /* Yellow */
    --dark-text: #333;
    --light-text: #f8f9fa;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-color: #e9ecef;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --header-height: 80px;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #dd68f2;
    text-decoration: none;
}

/* Global Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.logo span {
    color: var(--dark-text);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-sm);
}

.nav-menu a {
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-text);
}

/* Mobile Nav */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding-bottom: var(--spacing-sm);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        text-align: center;
        width: 100%;
    }
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-toggle {
        display: block; /* Show hamburger on mobile */
    }
    .header .btn {
        display: none; /* Hide CTA button on mobile nav while open, or place it inside nav-menu */
    }
}


/* Breadcrumb Navigation */
/* General breadcrumb container */
.breadcrumb {
  background-color: #f9f9f9;
  padding: 1rem 0;
  font-size: 0.95rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Optional container class if using a grid system */
.breadcrumb .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Breadcrumb list */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Breadcrumb items */
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #666;
}

/* Links inside breadcrumb */
.breadcrumb li a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Separator (slash or chevron) */
.breadcrumb li + li::before {
  content: "›";
  margin: 0 0.5rem;
  color: #ccc;
}

/* Current page style */
.breadcrumb li:last-child a,
.breadcrumb li:last-child {
  color: #222;
  font-weight: 500;
  pointer-events: none;
  text-decoration: none;
}


/* Global Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: var(--spacing-lg) 0;
    font-size: 0.9rem;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer ul {
    margin-bottom: var(--spacing-sm);
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--light-text);
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #777;
    border-radius: 5px;
    margin-bottom: 0.75rem;
    background-color: #555;
    color: var(--light-text);
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background-color: #dd68f2;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid #444;
}

/* Hero Section - General */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: var(--spacing-lg) 0;
    min-height: 70vh; /* Default height */
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-sm);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Home Page Specifics */
/* Hero Section - Home with animation */
.hero.home-hero {
     /* Placeholder */
    animation: zoomOut 20s infinite alternate; /* Background zoom animation */
}

@keyframes zoomOut {
    0% { background-size: 100%; }
    100% { background-size: 110%; }
}

/* Animate medical particles (conceptual, could be SVG/JS too) */
.hero.home-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; /* Start below view */
    left: 0;
    width: 100%;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 2%, transparent 20%);
    background-size: 20px 20px;
    animation: floatParticles 15s infinite linear;
    opacity: 0.5;
    z-index: 1;
}

@keyframes floatParticles {
    0% { transform: translateY(0) translateX(0); opacity: 0.5; }
    50% { transform: translateY(-50px) translateX(20px); opacity: 0.8; }
    100% { transform: translateY(0) translateX(40px); opacity: 0.5; }
}


/* Section Styling */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark-text);
}

.section-subtitle {
     text-align: center;
     font-size: 1.2rem;
     color: #555;
     margin-bottom: var(--spacing-lg);
}

/* Top Factors */
.top-factors {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: var(--spacing-md) 0;
}

.factors-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.factor-item {
    flex: 1;
    min-width: 200px;
    padding: var(--spacing-sm);
}

.factor-item i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.factor-item h3 {
    font-size: 2rem;
}

/* About Section */
.about-content-wrapper,
.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 768px) {
    .about-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .why-choose-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.choose-us-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.box-padding{
    padding-bottom: 20px;
}

.choose-us-card:hover {
    transform: translateY(-5px);
}

.choose-us-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.choose-us-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: var(--spacing-sm);
}

.service-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-card-content p {
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-accordion .accordion-header {
    background-color: var(--light-bg);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark-text);
}

.faq-accordion .accordion-header:hover {
    background-color: darken(var(--light-bg), 5%);
}

.faq-accordion .accordion-header .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-content {
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden by default */
}

.faq-accordion .accordion-item.active .accordion-content {
    display: block;
}

.faq-accordion .accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    padding: var(--spacing-md);
    background-color: var(--light-bg);
    border-radius: 8px;
}

.testimonial-slide {
    display: none; /* Hidden by default, JS will show one */
    text-align: center;
    padding: var(--spacing-md);
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-slide .author {
    font-weight: bold;
    color: var(--dark-text);
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light-text);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-nav .prev-btn {
    left: 1rem;
}

.slider-nav .next-btn {
    right: 1rem;
}


/* Blog Posts (General Card Style) */


/* About Page Specifics */
.hero.about-hero {
    min-height: 60vh;
    background-image: url('page-hero.jpg'); /* Placeholder */
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}
@media (min-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mission-vision-card {
    background-color: var(--light-bg);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.mission-vision-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}
.feature-item {
    text-align: center;
    padding: var(--spacing-sm);
}
.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.feature-item h4 {
    font-size: 1.2rem;
}


/* Services Page Specifics */
.hero.services-hero {
    background-image: url('https://source.unsplash.com/1600x900/?medical-services,healthcare-clinic'); /* Placeholder */
}

/* Individual Services Page Specifics */
.hero.individual-service-hero {
    background-image: url('https://source.unsplash.com/1600x900/?{service-name},medical-procedure'); /* Placeholder */
}
.service-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}
@media (min-width: 768px) {
    .service-detail-content {
        grid-template-columns: 2fr 1fr;
    }
}
.service-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
}
.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: var(--spacing-md);
}
.service-type-item {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* FAQ Page Specifics */
/* FAQ Section - Accordion Style */
.faq-section {
    background-color: #fff;
    padding: 40px; /* Increased padding */
    border-radius: 10px;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* More prominent shadow */
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between accordion items */
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow when open */
}

.faq-question {
    display: block; /* Ensures summary takes full width */
    padding: 18px 25px; /* More padding for larger click area */
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
    font-weight: 600; /* Bolder text */
    cursor: pointer;
    position: relative;
    user-select: none;
    font-size: 1.1em;
    outline: none; /* Remove outline on focus */
}

/* Custom caret for details/summary */
.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
}

.faq-question::after { /* Custom arrow icon for summary */
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '\2212'; /* Minus sign */
    transform: translateY(-50%) rotate(0deg); /* No rotation needed for minus */
}

.faq-answer {
    padding: 15px 25px;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    font-size: 1em;
    animation: fadeIn 0.3s ease-out; /* Smooth fade-in for answer */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
    margin: 0;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .main-content {
        padding: 40px 0;
    }
    .faq-section, .blog-preview-section {
        padding: 30px;
    }
   
}

@media (max-width: 768px) {
    .hero-section {
        height: 280px;
        padding: 80px 20px;
    }
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .breadcrumb ul {
        justify-content: center;
    }
    .main-content h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .faq-question::after {
        right: 15px;
        font-size: 1.3em;
    }
    .faq-answer {
        padding: 12px 20px;
    }
    
}

@media (max-width: 480px) {
    .hero-section {
        height: 220px;
        padding: 60px 15px;
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .breadcrumb ul li {
        font-size: 0.8em;
    }
    .faq-section, .blog-preview-section {
        padding: 20px;
    }
    .faq-question {
        padding-right: 45px; /* Ensure space for caret */
    }
}

/* Health Insurance Page Specifics */
/* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        .main-content section {
            background-color: white;
            padding: 40px;
            margin-bottom: 30px;
            border-radius: 8px;
            /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
        }

        .main-content h2 {
            font-size: 2.5em;
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 10px;
        }

        .main-content h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #dd68f2;
            border-radius: 2px;
        }

        /* Introduction Section */
        .section-intro p {
            font-size: 1.1em;
            text-align: justify;
        }

        /* Supporting Image */
        .section-image {
            text-align: center;
            background-color: transparent; /* No background for image section */
            box-shadow: none;
            padding: 0 0 40px 0; /* Adjust padding for spacing */
            margin-bottom: 0; /* Reset margin as padding handles spacing */
        }
        .supporting-image {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: block; /* Remove extra space below image */
            margin: 0 auto; /* Center image */
        }
        .image-caption {
            font-style: italic;
            color: #6c757d;
            margin-top: 15px;
            font-size: 0.9em;
        }


        /* Packages Section - Cards */
        .package-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .package-card {
            background-color: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

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

        .package-card.featured {
            border-color: #dd68f2;
            box-shadow: 0 6px 20px rgba(0,123,255,0.2);
            transform: scale(1.03); /* Slightly larger to highlight */
        }

        .package-card.featured:hover {
            transform: translateY(-10px) scale(1.03); /* Maintain scale on hover */
        }


        .package-card h3 {
            font-size: 1.8em;
            margin-bottom: 15px;
            color: #dd68f2; /* Primary color for package names */
        }

        .package-card p {
            font-size: 1em;
            margin-bottom: 20px;
            flex-grow: 1; /* Allow description to take available space */
        }

        .package-card ul {
            list-style: none;
            padding: 0;
            margin-bottom: 20px;
            text-align: left;
        }

        .package-card ul li {
            margin-bottom: 8px;
            padding-left: 25px;
            position: relative;
            color: #555;
        }

        .package-card ul li::before {
            content: "\f00c"; /* Font Awesome check icon */
            font-family: "Font Awesome 5 Free";
            font-weight: 900; /* Required for solid icons */
            color: #f79220;
            position: absolute;
            left: 0;
            top: 0;
        }

        /* Benefits Section - Grid with Icons */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
            text-align: center;
        }

        .benefit-item {
            background-color: #eaf6ff; /* Light blue background */
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .benefit-item:hover {
            transform: translateY(-5px);
        }

        .benefit-item .icon {
            font-size: 3em;
            color: #dd68f2;
            margin-bottom: 15px;
        }

        .benefit-item h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .benefit-item p {
            font-size: 0.95em;
            color: #555;
        }

        /* Footer */
        .site-footer {
            background-color: #2c3e50; /* Dark blue/grey */
            color: white;
            text-align: center;
            padding: 40px 20px;
            margin-top: 50px;
            font-size: 0.9em;
        }

        .site-footer a {
            color: #009cff; /* Lighter blue for footer links */
        }

        .site-footer a:hover {
            color: #dd68f2;
            text-decoration: underline;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero-section h1 {
                font-size: 3em;
            }
            .hero-section p {
                font-size: 1.2em;
            }
            .main-content h2 {
                font-size: 2.2em;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 20px;
                min-height: 350px;
            }
            .hero-section h1 {
                font-size: 2.5em;
            }

            .hero-section p {
                font-size: 1.1em;
            }

            .main-content h2 {
                font-size: 2em;
            }

            .package-cards, .benefits-grid {
                grid-template-columns: 1fr; /* Stack cards/benefits on smaller screens */
            }

            .main-content section {
                padding: 30px 20px;
            }

            .package-card.featured {
                transform: scale(1.02); /* Slightly less dramatic scaling for mobile */
            }
            .package-card.featured:hover {
                transform: translateY(-10px) scale(1.02);
            }
        }

        @media (max-width: 480px) {
            .hero-section {
                padding: 60px 15px;
                min-height: 300px;
            }
            .hero-section h1 {
                font-size: 2em;
            }

            .hero-section p {
                font-size: 1em;
            }

            .btn {
                padding: 10px 20px;
                font-size: 0.9em;
            }

            .breadcrumb ul {
                padding: 0 10px;
            }

            .main-content h2 {
                font-size: 1.8em;
            }

            .main-content section {
                padding: 20px 15px;
            }
        }
/* Blogs Page Specifics */
/* Main Content & Blog Posts */
.main-content {
    padding: 60px 0;
}

.blog-posts-section {
    margin-bottom: 60px;
}

/* Featured Blog */
.featured-blog-post {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.featured-blog-post .blog-thumbnail {
    flex: 2; /* Takes more space for the image */
    min-width: 40%;
}

.featured-blog-post .blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-blog-post .blog-content {
    flex: 3; /* Takes more space for the content */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-blog-post .blog-content h3 {
    font-size: 2.2em;
    color: var(--text-color);
}

.featured-blog-post .blog-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

/* Additional Blogs Grid */
.additional-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card .blog-thumbnail {
    flex-shrink: 0; /* Prevents image from shrinking */
}

.blog-card .blog-thumbnail img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.blog-card .blog-content {
    padding: 20px;
    flex-grow: 1; /* Allows content area to grow */
    display: flex;
    flex-direction: column;
}

.blog-card .blog-content h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.blog-card .blog-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

.blog-card .blog-content p {
    font-size: 0.95em;
    line-height: 1.5;
    flex-grow: 1; /* Allows paragraph to take up available space */
}

.blog-card .read-more-btn {
    align-self: flex-start; /* Aligns button to the left */
}

/* Footer */
.site-footer {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 60px 0 20px;
    font-size: 0.9em;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.site-footer .footer-content > div {
    flex: 1;
    min-width: 250px;
}

.site-footer h3 {
    color: var(--primary-color); /* Use primary for footer headings for contrast */
    margin-bottom: 15px;
    font-size: 1.2em;
}

.site-footer p {
    color: #bbb;
    margin-bottom: 10px;
}

.site-footer ul {
    list-style: none;
}

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

.site-footer ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

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

.site-footer .social-links a {
    display: inline-block;
    margin-right: 10px;
}

.site-footer .social-links img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    padding: 2px;
}

.site-footer .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
}

.site-footer .footer-bottom p {
    margin-bottom: 5px;
}

.site-footer .footer-bottom a {
    color: var(--primary-color);
}

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


/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .featured-blog-post {
        flex-direction: column;
    }

    .featured-blog-post .blog-content {
        padding: 25px;
    }

    .featured-blog-post .blog-content h3 {
        font-size: 1.8em;
    }

    .additional-blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .site-footer .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-content > div {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .site-header .main-nav {
        display: none; /* Hide navigation on small screens, usually replaced by a hamburger menu */
    }

    .site-header .container {
        justify-content: center; /* Center logo if nav is hidden */
    }

    .hero-section {
        padding: 60px 15px;
        min-height: 300px;
    }

    .hero-section h1 {
        font-size: 2.2em;
    }

    .breadcrumb ol {
        justify-content: center;
    }

    .main-content {
        padding: 40px 0;
    }

    .featured-blog-post .blog-content {
        padding: 20px;
    }

    .featured-blog-post .blog-content h3 {
        font-size: 1.5em;
    }

    .blog-card .blog-content h4 {
        font-size: 1.3em;
    }

    .additional-blogs-grid {
        grid-template-columns: 1fr; /* Single column layout for very small screens */
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .read-more-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}


/* Individual Blog Page Specifics */
 /* Your Provided CSS Snippet for Individual Blog Page (Integrated) */
        .hero.blog-post-hero {
            background-image: url('https://source.unsplash.com/1600x900/?medical-research,health-article'); /* Placeholder */
            background-size: cover;
            background-position: center;
            color: var(--light-text);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px; /* Make the hero section more prominent */
            margin-bottom: var(--spacing-lg);
            position: relative;
        }
        .hero.blog-post-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5); /* Overlay for readability */
            z-index: 1;
        }
        .hero.blog-post-hero .hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: var(--spacing-md);
        }
        .hero.blog-post-hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        }
        .hero.blog-post-hero .author-date {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .blog-post-header {
            text-align: center;
            margin-bottom: var(--spacing-md);
            margin-top: var(--spacing-md); /* Add some top margin */
        }
        .blog-post-header h1 {
            font-size: 3rem;
            color: var(--dark-text);
            margin-bottom: 1rem;
        }
        .blog-feature-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: var(--spacing-md);
            margin-top: 90px;
        }
        .blog-content {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: var(--spacing-lg);
            background-color: var(--white-bg);
            padding: var(--spacing-md);
            border-radius: 8px;
            /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
        }
        .blog-content h2, .blog-content h3 {
            color: var(--primary-color);
            margin-top: var(--spacing-md);
            margin-bottom: var(--spacing-sm);
        }
        .blog-content p {
            margin-bottom: 1rem;
        }
        .blog-content ul {
            list-style: disc;
            margin-left: var(--spacing-md);
            margin-bottom: 1rem;
            padding-left: var(--spacing-sm);
        }
        .comment-section {
            background-color: var(--white-bg);
            padding: var(--spacing-md);
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: var(--spacing-lg);
        }
        .comment-section h3 {
            margin-bottom: var(--spacing-md);
            color: var(--secondary-color);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: var(--spacing-xs);
        }
        .comment-form .form-group {
            margin-bottom: 1rem;
        }
        .comment-form label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: var(--dark-text);
        }
        .comment-form input[type="text"],
        .comment-form input[type="email"],
        .comment-form textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-size: 1rem;
            box-sizing: border-box; /* Include padding in width */
        }
        .comment-form textarea {
            min-height: 120px;
            resize: vertical;
        }
        .comment-form button[type="submit"] {
            background-color: var(--primary-color);
            color: var(--light-text);
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .comment-form button[type="submit"]:hover {
            background-color: #0056b3; /* Darker shade */
        }

       

/* Book an Appointment Page Specifics */
/* Main Content Layout */
main {
    flex-grow: 1; /* Allows main content to expand and push footer down */
}

.main-content-section {
    padding: 40px 0;
}

.two-column-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Allow columns to stack on smaller screens */
}

.contact-info-column,
.tab-section {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
}

.contact-info-column {
    background-color: var(--form-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: fit-content; /* Adjust height to content */
    border-left: 5px solid var(--primary-color);
}

.contact-info-column h3 {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--light-text-color);
}

/* Tabs */
.tab-section {
    background-color: var(--form-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--light-text-color);
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.tab-button:hover:not(.active) {
    color: var(--text-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 25px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow form fields to stack */
}
.form-group-inline .form-group {
    flex: 1;
    min-width: 200px; /* Minimum width for inline form fields */
    margin-bottom: 0; /* Remove bottom margin from internal group */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--background-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block; /* Make it block level */
    width: 100%; /* Full width */
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #dd68f2; /* Darker green */
    transform: translateY(-2px);
}

/* Confirmation Message */
.confirmation-message {
    background-color: #e8f5e9; /* Light green */
    border: 1px solid #c8e6c9; /* Green border */
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    color: #2e7d32; /* Darker green text */
    font-weight: 600;
    line-height: 1.8;
}

.confirmation-message p {
    margin-bottom: 10px;
}

.confirmation-message strong {
    color: var(--primary-color);
}

.btn-close-confirmation {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}
.btn-close-confirmation:hover {
    background-color: #1976D2; /* Darker blue */
}
/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h2 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .two-column-layout {
        flex-direction: column;
    }
    .contact-info-column,
    .tab-section {
        flex: none; /* Remove flex grow */
        width: 100%; /* Take full width */
    }
    .contact-info-column {
        border-right: 5px solid var(--primary-color); /* Adjust border on top */
        border-left: none;
    }
    .tab-section {
        border-top: none;
        border-bottom: 5px solid var(--secondary-color); /* Adjust border on bottom */
    }
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .tab-button {
        flex: 1; /* Make buttons take equal width */
        text-align: center;
        padding: 12px 15px;
        white-space: nowrap; /* Prevent text wrapping for short labels */
    }
    .form-group-inline {
        flex-direction: column;
        gap: 0; /* Remove gap if stacking */
    }
    .form-group-inline .form-group {
        width: 100%;
        margin-bottom: 20px; /* Restore bottom margin */
    }
}

@media (max-width: 768px) {
    .site-name {
        font-size: 1.5em;
    }
    .main-nav a {
        font-size: 1em;
    }
    .hero-section {
        padding: 70px 15px;
    }
    .hero-section h2 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .container {
        padding: 0 15px;
    }
    .tab-button {
        font-size: 1em;
        padding: 10px 15px;
    }
    .blog-grid {
        grid-template-columns: 1fr; /* Single column for blogs on small screens */
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .tab-button {
        font-size: 0.9em;
        padding: 10px;
    }
    .contact-info-column,
    .tab-section {
        padding: 20px;
    }
    .confirmation-message {
        padding: 15px;
    }
}

/* Newsletter Page Specifics */

/* Main Content */
.main-content {
    padding: 40px 0;
    flex-grow: 1; /* Allows main content to take available space */
}

h2 {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

/* Forms */
.newsletter-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-light);
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--light-text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    transform: scale(1.2); /* Make checkbox slightly larger */
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #dd68f2; /* Darker green */
}

.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.btn-link:hover {
    color: #1976D2; /* Darker blue */
    text-decoration: none;
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #d32f2f; /* Darker red */
}


/* Confirmation Message */
.confirmation-message {
    background-color: #e8f5e9; /* Light green */
    color: #dd68f2; /* Dark green */
    border: 1px solid #f6e2fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto 40px auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.confirmation-message h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    color: #dd68f2;
}

/* Unsubscribe Section */
.unsubscribe-option-section {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: var(--light-text-color);
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-animation: fadeIn 0.3s;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px var(--shadow-light);
    position: relative;
    max-width: 500px;
    width: 90%; /* Responsive width */
    -webkit-animation: slideIn 0.5s;
    animation: slideIn 0.5s;
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.modal-content .newsletter-form {
    box-shadow: none; /* Remove shadow from form inside modal */
    padding: 0;
    margin-bottom: 15px;
}

.close-button {
    color: var(--light-text-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--danger-color);
    text-decoration: none;
}

/* Animations for modal */
@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@-webkit-keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0}
    to {transform: translateY(0); opacity: 1}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0}
    to {transform: translateY(0); opacity: 1}
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.8em;
    }
    .newsletter-form, .confirmation-message, .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2em;
    }
    .main-content {
        padding: 20px 0;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .form-group input {
        padding: 10px;
    }
}

/* Helper Classes */
.text-center { text-align: center; }
.my-md { margin-top: var(--spacing-md); margin-bottom: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pb-lg { padding-bottom: var(--spacing-lg); }


/* Font Awesome Icons */
.fa {
    font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome is linked */
    font-weight: 900; /* Solid icons require this */
}
.fas {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.far {
    font-family: "Font Awesome 5 Free";
    font-weight: 400; /* Regular icons */
}