body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

/* Global Styles */
.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #0056b3; /* A shade of blue for medical theme */
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.section-title-small {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: #0056b3;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #0056b3;
    line-height: 1.2;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}

.offcanvas-header {
    background-color: #007bff;
    color: white;
}

.offcanvas-title {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 500px;
    position: relative;
    color: white;
    overflow: hidden;
    padding-top: 80px; /* Adjust for fixed header */
}

.hero-bg-img {
    top: 0;
    left: 0;
    animation: heroZoom 15s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* About Us Block */
#about {
    background-color: #f8f9fa;
}

/* Featured Article Block */
.featured-article-section {
    background-color: #007bff;
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.featured-article-bg-img {
    top: 0;
    left: 0;
    animation: featuredPan 20s infinite alternate ease-in-out;
}

.featured-article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.article-content {
    background-color: white;
    padding: 3rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #333;
}

.article-content h3 {
    color: #0056b3;
    font-weight: 600;
}

.article-content h4 {
    color: #007bff;
    font-weight: 500;
}

.article-content ul {
    list-style: disc;
    padding-left: 20px;
}

@keyframes featuredPan {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(5%) translateY(5%);
    }
}

/* Fundamentals & Preventive Blocks */
.list-unstyled li i {
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Practical Daily Tips */
.list-group-item {
    border-color: #e9ecef;
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #e2f2ff;
}

/* Interesting Articles Block */
.article-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-img {
    height: 200px;
    object-fit: cover;
}

.modal-header {
    background-color: #007bff;
    color: white;
    border-bottom: none;
}

.modal-title {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
}

.modal-body img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

/* Testimonials Block */
.testimonial-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #007bff;
}

/* Footer */
.site-footer {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #ecf0f1;
    padding-bottom: 80px; /* Space for cookie banner */
}

.site-footer .footer-title {
    color: #007bff;
    font-weight: 600;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
}

.site-footer .footer-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.site-footer a {
    gap: 20px;
    align-items: center;
    text-decoration: none;
}

.site-footer .footer-list li i {
    color: #007bff;
}

.site-footer .footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.copyright-text {
    color: #95a5a6;
    font-size: 0.9rem;
}

.carousel-item img {
    height: 200px;
    object-fit: cover;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #2c3e50;
    color: white;
    z-index: 1040;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner a {
    color: #007bff;
}

.cookie-banner a:hover {
    color: #6cbfff;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .navbar-brand .site-title {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand .site-title {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
    }
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
    .offcanvas-body {
        padding-top: 0;
    }
    .offcanvas-body .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        overflow-x: hidden;
    }
    .site-footer {
        padding-bottom: 120px; /* More space for cookie banner on smaller screens */
    }
}

@media (max-width: 767.98px) {
    .navbar-brand .logo-img {
        height: 35px;
    }
    .navbar-brand .site-title {
        font-size: clamp(1rem, 5vw, 1.25rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .section-title::after {
        width: 40px;
    }
    .section-title-small {
        font-size: clamp(1.25rem, 5vw, 1.8rem);
    }
    .article-content {
        padding: 1.5rem;
    }
    .article-content h3 {
        font-size: 1.5rem;
    }
    .article-content h4 {
        font-size: 1.25rem;
    }
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex: 1;
    }
}/*
 * New stock styles for typography elements within the .complianceVaultNode container.
 * These styles provide basic formatting for headings, paragraphs, and lists,
 * with an emphasis on moderate font sizes for headings as requested.
 */

/* Styling for the main container, providing overall spacing */
.complianceVaultNode {
    margin-top: 20px; /* Top margin for the container */
    margin-left: 15px; /* Left margin for the container */
    margin-right: 15px; /* Right margin for the container */
    /* Optional: Add max-width and auto margins for centering on larger screens if needed */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles: Moderate size, strong emphasis */
.complianceVaultNode h1 {
    font-size: 1.6em; /* Relatively small for an H1, as requested */
    font-weight: 700; /* Bold */
    margin-top: 24px; /* Space above the heading */
    margin-bottom: 12px; /* Space below the heading */
    line-height: 1.2; /* Tighter line height for headings */
    color: #333; /* Darker text color for emphasis */
}

/* Heading 2 styles: Slightly smaller than H1 */
.complianceVaultNode h2 {
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #333;
}

/* Heading 3 styles: Further reduced size */
.complianceVaultNode h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #444;
}

/* Heading 4 styles: Closer to body text size, still bold */
.complianceVaultNode h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 6px;
    line-height: 1.5;
    color: #555;
}

/* Heading 5 styles: Smallest heading, often used for sub-sections or minor titles */
.complianceVaultNode h5 {
    font-size: 1em; /* Same as paragraph text, but bold */
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 4px;
    line-height: 1.5;
    color: #666;
}

/* Paragraph styles: Standard body text formatting */
.complianceVaultNode p {
    font-size: 1em; /* Base font size, typically 16px */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #333; /* Standard text color */
}

/* Unordered List styles: Default bullet points and indentation */
.complianceVaultNode ul {
    list-style-type: disc; /* Standard disc bullets */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indentation for the bullets */
    color: #333;
}

/* List Item styles: Spacing between individual list items */
.complianceVaultNode li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Line height for text within list items */
}
main {
    overflow: hidden;
}