:root {
    --primary-green: #4CAF50; /* Standard Green */
    --light-green: #E8F5E9; /* Lighter Green */
    --primary-blue: #2196F3; /* Standard Blue */
    --light-blue: #E3F2FD; /* Lighter Blue */
    --dark-bg: #263238; /* Dark Slate Gray */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-muted: #6c757d;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

/* General Spacing & Containers */
.container {
    max-width: 1200px;
}

/* Header */
header {
    z-index: 1030;
}

.navbar-brand span {
    color: var(--primary-green);
}

.nav-link {
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px; /* To account for fixed header */
    padding-bottom: 50px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--text-light);
}

.hero-section .lead, .hero-section .weekly-digest {
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .weekly-digest {
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Featured Article */
.bg-light-blue {
    background-color: var(--light-blue);
}

.featured-card {
    border-radius: 15px;
    overflow: hidden;
}

.featured-card img {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.featured-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card .blockquote {
    border-left: 5px solid var(--primary-green);
    padding-left: 15px;
    margin-left: 0;
}

/* Main Content Article (the big one) */
.blog-post-full h2, .blog-post-full h3 {
    color: var(--primary-blue);
}

.blog-post-full ul li {
    margin-bottom: 8px;
}

.blog-post-full ul li i {
    font-size: 1.1em;
}

/* Article Carousel */
.bg-light-green {
    background-color: var(--light-green);
}

.nav-tabs .nav-link {
    color: var(--text-dark);
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.carousel-item .card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* News Grid */
.news-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* Popular Posts */
.popular-posts-list li {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popular-posts-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.popular-posts-list img {
    border-radius: 5px;
}

.popular-posts-list .bi-eye {
    color: var(--primary-blue);
}

/* About the Author */
.bg-gradient-custom {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
}

.about-author img {
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Team Blog */
.team-member-card {
    border: 1px solid var(--light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

/* Newsletter Form */
.newsletter-form {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.newsletter-form .form-control-lg {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
}

.newsletter-form .form-control-lg::placeholder {
    color: var(--text-muted);
}

.newsletter-form .form-control-lg:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
    border-color: var(--primary-green);
}

.newsletter-form .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.newsletter-form .btn-primary-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.newsletter-form .btn-primary-green:hover {
    background-color: #388E3C;
    border-color: #388E3C;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a.text-decoration-none:hover {
    text-decoration: underline !important;
}

footer .hover-scale {
    transition: transform 0.3s ease;
}

footer .hover-scale:hover {
    transform: scale(1.1);
}

footer .carousel-inner img {
    height: 150px;
    object-fit: cover;
}

footer .carousel-control-prev-icon, footer .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Utility classes for colors */
.text-primary-green {
    color: var(--primary-green) !important;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding-top: 200px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .featured-card img {
        border-radius: 15px 15px 0 0;
    }

    .featured-card .card-body {
        padding: 20px;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
    }

    .nav-tabs .nav-item {
        flex-shrink: 0;
    }

    .carousel-item .col-md-4 {
        width: 100%; /* Stack cards on small screens */
    }

    .popular-posts-list li {
        flex-direction: column;
        text-align: center;
    }

    .popular-posts-list img {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    .team-member-card .team-avatar {
        width: 100px;
        height: 100px;
    }
}
/* Styles for the main content grid */
.consentTunnelGrid {
    padding-top: 60px; /* Top padding for the content section */
    padding-bottom: 60px; /* Bottom padding for the content section */
    padding-left: 20px; /* Left padding for the content section */
    padding-right: 20px; /* Right padding for the content section */
    max-width: 960px; /* Maximum width for content readability */
    margin-left: auto; /* Center the grid horizontally */
    margin-right: auto; /* Center the grid horizontally */
}

/* Heading styles */
.consentTunnelGrid h1 {
    font-size: 2.5rem; /* Large heading for main titles */
    margin-top: 1.5em; /* Top margin for spacing */
    margin-bottom: 0.8em; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}

.consentTunnelGrid h2 {
    font-size: 2rem; /* Sub-heading size */
    margin-top: 1.2em; /* Top margin for spacing */
    margin-bottom: 0.7em; /* Bottom margin for spacing */
    line-height: 1.3; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}

.consentTunnelGrid h3 {
    font-size: 1.75rem; /* Section title size */
    margin-top: 1em; /* Top margin for spacing */
    margin-bottom: 0.6em; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}

.consentTunnelGrid h4 {
    font-size: 1.5rem; /* Sub-section title size */
    margin-top: 0.8em; /* Top margin for spacing */
    margin-bottom: 0.5em; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}

.consentTunnelGrid h5 {
    font-size: 1.25rem; /* Smaller heading size */
    margin-top: 0.7em; /* Top margin for spacing */
    margin-bottom: 0.4em; /* Bottom margin for spacing */
    line-height: 1.6; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}

/* Paragraph styles */
.consentTunnelGrid p {
    font-size: 1rem; /* Base font size for paragraphs */
    margin-top: 0; /* No top margin by default */
    margin-bottom: 1em; /* Bottom margin for spacing between paragraphs */
    line-height: 1.7; /* Increased line height for better readability */
    color: var(--text-dark); /* Inherit color from theme */
}

/* List styles */
.consentTunnelGrid ul,
.consentTunnelGrid ol {
    margin-top: 1em; /* Top margin for lists */
    margin-bottom: 1em; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for list items */
}

.consentTunnelGrid li {
    font-size: 1rem; /* Font size for list items */
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.6; /* Line height for readability */
    color: var(--text-dark); /* Inherit color from theme */
}
.card-img-wrap {
    height: 320px;
    overflow: hidden;
}
.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
footer h5 {
    color: var(--primary-blue);
}