/*
Theme Name: Caligreens
Theme URI: https://caligreens.co.uk/
Author: Your Name
Author URI: https://caligreens.co.uk/
Description: Custom theme inspired by caligreens.co.uk for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caligreens
Tags: custom, cbd, blog, wellness
*/

/* Reset and Base Styles */
html{
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova Rg', sans-serif;
    line-height: 1.6;
    color: #333;
     overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}
.fixedwidth-page .container{
    max-width: 1240px;

}

/* Header Styles */
.site-header {
    background: #3a7430;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Proxima Nova Rg', sans-serif;
}
.card-title a{color:#333; text-decoration:none;}
.card-body .category a{color:#333; text-decoration:none;}
.featured-content h1 a{color:#333; text-decoration:none;}
.featured-content .category a{color:#333; text-decoration:none;}
.category .card-footer .btn.btn-dark.btn-sm{color:#fff;text-decoration:none; }
.post-author a{color:#333; text-decoration:none;}


/* Navigation */
.site-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.main-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.main-menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Proxima Nova Rg', sans-serif;
    transition: opacity 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}
main-menu > li:hover {
 background: #fff;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
}

.main-menu > li:hover > a {
    color: #000;
}
.main-menu a:hover {
    opacity: 0.8;
}

/* Active menu item styles */
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a,
.main-menu > li.current_page_item > a,
.main-menu > li.current_page_ancestor > a {
    color: rgb(204, 173, 102);
}

.main-menu .sub-menu li.current-menu-item > a,
.main-menu .sub-menu li.current-menu-ancestor > a,
.main-menu .sub-menu li.current_page_item > a,
.main-menu .sub-menu li.current_page_ancestor > a {
    color: rgb(204, 173, 102);
}

/* Submenu Styles */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    /*margin-top: 0.5rem;*/
}

.main-menu li:hover > .sub-menu {
    display: block;
}

.main-menu .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.main-menu .sub-menu a {
    color: #333;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    display: block;
    transition: all 0.3s ease;
}

.main-menu .sub-menu a:hover {
    background: #f5f5f5;
    opacity: 1;
}

.main-menu .sub-menu li:hover {
    background: #fff;
}

.main-menu .sub-menu li:hover > a {
    color: #000;
}

.submenu-toggle {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.main-menu li:hover > a > .submenu-toggle {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.custom_heading{font-weight: 600;}
.separator{
  /*position: absolute;
  bottom: 0;*/
  width: 80px !important;
  height: 1px;
  content: '';
  display: inline-block;
  background-color: #191814;
  /*left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);*/
}
/* Custom CSS Styles */
:root {
    --primary-green: #28a745;
    --dark-green: #1e7e34;
    --light-green: #d4edda;
}


.hero-container{
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}
/* Navigation */
.navbar-brand {
    font-size: 14px;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    position: relative;
}

.slide-1 {
    background: 
                url('CG-Drops-Desktop.jpg') top;
                background-size: contain;
                background-repeat: no-repeat;
}

.slide-2 {
    background:
                url('5ml-BANNER2-_3.webp') top;
                 background-size: contain;
                background-repeat: no-repeat;
}

.slide-3 {
    background: 
                url('CG-New-Flavour-BANNER2.webp') top;
                 background-size: contain;
                background-repeat: no-repeat;
}
.slide-4 {
    background: 
                url('Muscle-Rub-Balm-Desktop_1_\ \(1\).webp') top;
                 background-size: contain;
                background-repeat: no-repeat;
}
.slide-5 {
    background: 
                url('CG-Bomb-Desktop_2_\ \(1\).webp') top;
                 background-size: contain;
                background-repeat: no-repeat;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-products {
    text-align: center;
    z-index: 2;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Product Cards */
.product-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    height: 250px;
    object-fit: cover;
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}



.category-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Review Cards */
.review-card {
    padding: 20px;
}

.stars {
    color: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .hero-slide {
        min-height: 80vh;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .category-card img {
        height: auto;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-products {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Button hover effects */
.btn-success {
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}




/* Reviews Section */
.reviews-section {
    background: #3a7430;
    padding: 60px 20px;
    min-height: 400px;
}

.reviews-container {
    max-width: 1790px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Fixed Trustpilot Widget (Left Box) */
.trustpilot-widget {
    flex: 0 0 300px;
   padding-top: 10px !important;
    
    padding: 30px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.trustpilot-content {
    color: white;
}

.nature {
  background-color: #3a7430;
  margin-top: -80px;
  padding: 80px 0 60px;
}
.nature h2 {
  color: #fff;
  font-size: 60px;
  font-weight: 500;
}
.nature p {
  color: #fff;
  font-size: 18px;
  line-height: 25px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 0px;
  padding: 0 10px 30px;
}
.story-cms.organic {
  color: #9b9b9b;
  font-size: 18px;
  line-height: 25px;
  max-width: 800px;
  width: 100%;
  margin: 70px auto 50px;
}
.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

.star-rating {
    margin-bottom: 15px;
}

.star-rating i {
    font-size: 24px;
    color: #00b67a;
    margin: 0 2px;
}

.star-rating .far {
    color: rgba(255, 255, 255, 0.3);
}

.rating-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.trustpilot-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
}

.trustpilot-icon {
    color: #00b67a;
    font-size: 20px;
}

/* Customer Reviews Slider (Right Box) */
.reviews-slider-container {
    flex: 1;
    color: white;
}

.reviews-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.review-card {
    flex: 0 0 calc(25.333% - 14px);
    
    border-radius: 12px;
    padding: 25px;
    color: #fff;
   
    min-height: 200px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fff;
    font-size: 14px;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}

.verified-badge i {
    font-size: 14px;
}

.review-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff;
}

.review-author {
    display: flex;
    /* justify-content: space-between; */
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.author-name {
    font-weight: 500;
}

.review-date {
    color: #999;
}

/* Slider Controls */
.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Reviews Info */
.reviews-info {
    text-align: start;
    margin-top: 20px;
}

.reviews-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reviews-container {
        gap: 30px;
    }
    
    .trustpilot-widget {
        flex: 0 0 250px;
        padding: 30px 20px;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 968px) {
    .reviews-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .trustpilot-widget {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .reviews-title {
        font-size: 24px;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 0px);
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 15px;
    }
    
    .reviews-slider {
        gap: 10px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .trustpilot-widget {
        padding: 25px 20px;
    }
    
    .star-rating i {
        font-size: 20px;
    }
    
    .reviews-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 30px 10px;
    }
    
    .review-card {
        padding: 20px;
        min-height: 180px;
    }
    
    .review-title {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 13px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeIn 0.6s ease-out;
}

/* Loading state */
.reviews-track.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Hover effects */


 /* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Blog Header */
.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.blog-subtitle {
       margin-top: 0;
    color: #818181;
    font-size: 16px;
    margin-bottom: 35px;
    font-weight: 600;
    letter-spacing: 1px;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: #333;
    margin-bottom: 40px;
}

/* Blog Slider Wrapper */
.blog-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Blog Slider */
.blog-slider {
    display: flex;
    width: 300%; /* 3 slides × 100% each */
   
}

.blog-slide {
    flex: 0 0 33.333%; /* Each slide takes 1/3 of the slider width */
    width: 33.333%;
    padding: 0 15px;
}

/* Blog Cards */
.blog-card {
    height: 100%;
  
    border: none;
}


.blog-image {
    overflow: hidden;
    margin-bottom: 15px;
   
}

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


.blog-content {
    padding: 0 5px;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-title a{color:#000; text-decoration:none;}
.blog-card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
	min-height:80px;
}

/* Read More Button */
.btn-dark {
    background-color: #000;
    border: none;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    border-radius: 0px !important;
}

.btn-dark:hover {
    background-color: #333;
}

/* Blog Navigation Dots */
.blog-dots {
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #999;
    transform: scale(1.1);
}

.dot.active {
    background-color: #333;
    transform: scale(1.2);
}

/* Social Section */
.social-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.social-text {
    color: #000;
       display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 600;
    unicode-bidi: isolate;
}



/* Slide Animation Classes */
.blog-slider.sliding {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card Animation on Slide Change */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.blog-card.animate-right {
    animation: slideInFromRight 0.6s ease-out forwards;
}

.blog-card.animate-left {
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.blog-card.animate-right:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card.animate-right:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card.animate-right:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card.animate-left:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card.animate-left:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card.animate-left:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .blog-card-title {
        font-size: 1.1rem;
    }
    
    .blog-card-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-slide {
        padding: 0 10px;
    }
    
    .blog-card {
        margin-bottom: 30px;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
    
    .blog-card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .blog-container {
        padding: 30px 15px;
    }
    
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-subtitle {
        font-size: 0.85rem;
    }
    
    .blog-slide {
        padding: 0 5px;
    }
}

/* Loading state */
.blog-slider.loading {
    pointer-events: none;
}

/* Smooth transitions for better performance */
.blog-slider {
    will-change: transform;
}

.blog-card {
    will-change: transform, opacity;
}


.image-gallery-section {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
}

.gallery-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.image-gallery {
    display: flex;
    height: auto;
    width: 100%;
}

.gallery-item {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.brand-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

/* Footer Section */
.footer-section {
    background: #3a7430;
    color: white;
    padding: 60px 0 20px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Newsletter Section */
.newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.newsletter-form .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.newsletter-form .input-group-text {
    background: white;
    border: none;
    color: #666;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px;
    font-size: 0.9rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.btn-subscribe {
    background: #333;
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background: #000;
    color: white;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icon {
    height: 30px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

    .footer-socials {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-top: 25px;
    }

.footer-socials {
    width: 100%;
    margin-top: 25px;
}
/* Contact Info */
.contact-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Footer Divider */
.footer-divider {
    border-color:solid #fff 1px;
   
    margin: 30px 0;

}

/* CTA Membership */
.cta-membership {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.cta-logo {
    height: 80px;
    width: auto;
   
    padding: 5px;
    border-radius: 4px;
}

.cta-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

* Featured Article */
.featured-article {
    background-color: #E4FBEE;
    border-radius: 8px;
    padding: 20px;
}

.btn-dark{
    border-radius: 0px !important;
}
.featured-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-content{
       padding: 20px;
}
.featured-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Category Filters */
.category-filters {
    margin-bottom: 2rem;
}

.category-filters .nav {
    
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.category-filters .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.category-filters .nav-link:hover {
    background-color: #e9ecef;
}

.category-filters .nav-link.active {
    background-color: #2e7d32;
    color: white;
}

/* Blog Cards */
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
    height: 100%;
}

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

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

.category {
    font-size: 0.85rem;
}

/*.category a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.category a:hover {
    text-decoration: underline;
}*/

.date {
    font-size: 0.85rem;
    color: #6c757d;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
	min-height:70px;
}

.btn-dark {
    background-color: #2e7d32;
    border: none;
    padding: 0.375rem 1.5rem;
    font-size: 0.875rem;
}

.btn-dark:hover {
    background-color: #2e7d32;
}
.filter-btn:hover {
    background-color: #2e7d32;
	border-color:#2e7d32;
}

/* Pagination */
.pagination .page-link {
    color: #212529;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #2e7d32;
    border-color: #2e7d32;
	color:#fff;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-article .row {
        flex-direction: column;
    }
    
    .featured-image {
        margin-bottom: 1.5rem;
    }
    
    .category-filters .nav {
        justify-content: center;
    }
}

/* Back to Top Button */
.btn-back-to-top {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    /*position: fixed;
    bottom: 20px;
    right: 20px;*/
}

.btn-back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Copyright and Legal Links */
.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.legal-links {
    font-size: 0.8rem;
}

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

.legal-links a:hover {
    color: white;
}

.separator_footer {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.image-overlay-container {
  position: relative;
  display: inline-block;
}

.overlay-image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none; /* optional */
}

/* Responsive Design */
@media (max-width: 991px) {
    .gallery-title {
        font-size: 2rem;
        padding-left: 30px;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .cta-membership {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .image-gallery {
        flex-direction: column;
    }
    
    .image-gallery-section {
        height: auto;
        min-height: 400px;
    }
    
    .gallery-item {
        min-height: 80px;
    }
    
    .gallery-overlay {
        padding-left: 20px;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
    
    .footer-heading {
        margin-top: 20px;
    }
    
    .footer-heading:first-child {
        margin-top: 0;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .payment-methods {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .contact-info {
        text-align: center !important;
    }
    
    .legal-links {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .btn-back-to-top {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .gallery-title {
        font-size: 1.2rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .input-group-text,
    .newsletter-form .form-control,
    .btn-subscribe {
        border-radius: 5px !important;
        margin-bottom: 10px;
    }
    
    .btn-subscribe {
        margin-bottom: 0;
    }
    
    .cta-text p {
        font-size: 0.7rem;
    }
    
    .legal-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeIn 0.8s ease-out;
}

/* Focus states for accessibility */
.btn-subscribe:focus,
.btn-back-to-top:focus,
.social-icon:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}


.green-section {
    margin-top: 60px;
      background-color: #3a7430;
      color: #fff;
      padding: 80px 20px;
    }

    .green-section h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 25px;
    }

    .green-section p {
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .green-section .btn-outline-light {
      border-radius: 0;
      font-weight: 600;
      padding: 10px 20px;
      margin-top: 30px;
    }

    .green-section p strong {
      color: #fff;
    }

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #3a7430;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-menu.active {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .main-menu li {
        display: block;
        width: 100%;
    }

    .main-menu a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-menu .sub-menu {
        position: static;
        background: none;
        box-shadow: none;
        display: none;
        padding: 0;
        margin-left: 1rem;
        margin-top: 0;
    }

    .main-menu .has-submenu.active > .sub-menu {
        display: block;
    }

    .main-menu .sub-menu a {
        color: #fff;
        padding: 0.75rem 1rem;
    }

    .submenu-toggle {
        float: right;
        margin-top: 5px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

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

/* Categories Section */
.categories {
    padding: 4rem 0;
    background: #f9f9f9;
}

.category-list {
    display: inline-block;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
#archive_title{
    margin-top:5rem !important;
}
.single_post{
    margin-top:8rem !important;
}
.blogbody{width: auto !important;}
.blogbody h1{display: none;}
.blogbody .author{display: none;}
/* .category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
} */

/*.category-card:hover {
    transform: translateY(-5px);
}*/

/*.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}*/

.category-content {
    padding: 1.5rem;
    text-align: center;
}

/* Featured Content */
.featured-content {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog article {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.post-content {
    padding: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: #27ae60;
    color: #fff;
}

.testimonials-grid {
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    margin: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: #2c3e50;
    color: #fff;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background: #3a7430;
    color: #fff;
    padding: 3rem 0;
    font-family: 'Proxima Nova Rg', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
    font-family: 'Proxima Nova Rg', sans-serif;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #fff;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
}

/* Buttons */
/*.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #27ae60;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #219a52;
}*/

/* Back to Top */
/*.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #27ae60;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    background: #219a52;
    color: #fff;
}*/

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .main-menu {
        gap: 1rem;
    }
    
    .main-menu a {
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Contact Page Styles */
.page-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    color:#000;
    margin-top: 80px;
}

.contact-info-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-details {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--text-color);
}

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

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.map-section {
    padding: 80px 0;
}

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

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

/* Responsive Styles for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Blog Page Styles */
.blog-section {
    padding: 80px 0;
}

.blog-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.blog-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.blog-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list,
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.recent-posts li {
    margin-bottom: 10px;
}

.category-list a,
.recent-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.category-list a:hover,
.recent-posts a:hover {
    color: var(--primary-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* Pagination */
.pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #2e7d32;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    /*background: #2e7d32;*/
    /*color: white;*/
}

/* Responsive Styles for Blog Page */
@media (max-width: 1024px) {
    .blog-section .container {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Post Styles */
.single-post {
    background: white;
}

.post-header {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.post-meta {
    margin-bottom: 20px;
}

.post-meta span {
    display: inline-block;
    margin: 0 10px;
    font-size: 0.9rem;
}

.post-meta .category a {
    color: white;
    text-decoration: none;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-author img {
    border-radius: 50%;
    margin-right: 15px;
}

.author-info {
    text-align: left;
}

.author-info .by {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.author-info .author-name {
    font-weight: 500;
}

.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.main-content p {
    margin-bottom: 1.5em;
}

.main-content h2,
.main-content h3,
.main-content h4 {
    margin: 1.5em 0 0.8em;
    color: var(--text-color);
}

.main-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 8px;
}

.main-content blockquote {
    margin: 2em 0;
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
    background: #f9f9f9;
    font-style: italic;
}

.post-tags {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    background: #f5f5f5;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
}

.author-bio {
    display: flex;
    align-items: flex-start;
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.author-avatar img {
    border-radius: 50%;
    margin-right: 20px;
}

.author-details h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.post-navigation {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--primary-color);
    color: white;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 500;
}

/* Post Sidebar */
.post-sidebar {
    position: sticky;
    top: 20px;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-share a:hover {
    transform: translateY(-3px);
}

.social-share .facebook {
    background: #3b5998;
}

.social-share .twitter {
    background: #1da1f2;
}

.social-share .linkedin {
    background: #0077b5;
}

/* Comments Styles */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.comment-body {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author .fn {
    font-weight: 500;
    color: var(--text-color);
    font-style: normal;
}

.comment-author .says {
    color: var(--text-light);
    margin-left: 5px;
}

.comment-metadata {
    font-size: 0.9rem;
    color: var(--text-light);
}

.comment-metadata a {
    color: var(--text-light);
    text-decoration: none;
}

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

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-awaiting-moderation {
    color: #856404;
    background-color: #fff3cd;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
}

.reply {
    font-size: 0.9rem;
}

.reply a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.reply a:hover {
    color: var(--secondary-color);
}

/* Comment Navigation */
.comment-navigation {
    margin-bottom: 40px;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
    color: var(--primary-color);
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.comment-notes {
    color: var(--text-light);
    margin-bottom: 20px;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.comment-form .required {
    color: #dc3545;
}

.comment-form .submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--secondary-color);
}

/* Responsive Styles for Comments */
@media (max-width: 768px) {
    .comment-body {
        padding: 20px;
    }

    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-author img {
        margin-bottom: 10px;
    }

    .comment-navigation .nav-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* 404 Error Page Styles */
.error-404 {
    padding: 100px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: var(--text-color);
}

.error-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.error-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.search-form {
    max-width: 500px;
    /*margin: 0 auto 60px;*/
	margin-right:10px;
}

.search-form h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.search-form .search-field {
    width: 100%;
    padding: 4px 8px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    
}
#search-toggle{margin-top: -2px;}

.search-form .search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.search-form .search-submit:hover {
    background: var(--secondary-color);
}

.helpful-links {
    margin-top: 60px;
}

.helpful-links h3 {
    margin-bottom: 30px;
    color: var(--text-color);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.link-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.link-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.link-card h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.link-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.link-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-card a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles for 404 Page */
@media (max-width: 768px) {
    .error-404 {
        padding: 60px 0;
    }

    .error-content h1 {
        font-size: 6rem;
    }

    .error-content h2 {
        font-size: 2rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .error-content h1 {
        font-size: 4rem;
    }

    .error-content h2 {
        font-size: 1.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Results Page Styles */
.site-main .search-results {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.search-header {
    text-align: center;
    margin-bottom: 60px;
}

.search-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.search-title span {
    color: var(--primary-color);
}

.search-header .search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-header .search-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.search-header .search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.search-header .search-submit:hover {
    background: var(--secondary-color);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.search-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.search-thumbnail {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.search-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.search-content {
    padding: 25px;
}

.entry-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.entry-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.entry-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.entry-summary {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.entry-footer .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.entry-footer .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.entry-footer .read-more:hover {
    color: var(--secondary-color);
}

.entry-footer .read-more:hover i {
    transform: translateX(5px);
}

/* No Results Styles */
.no-results {
    text-align: center;
    padding: 60px 0;
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.no-results-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.no-results-content p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.suggestions {
    margin-bottom: 40px;
}

.suggestions h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    color: var(--text-light);
    margin-bottom: 10px;
}

.popular-searches h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Responsive Styles for Search Results */
@media (max-width: 768px) {
    .search-results {
        padding: 60px 0;
    }

    .search-title {
        font-size: 2rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Form Styles */
.search-form {
    position: relative;
}

.search-wrapper {
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: var(--primary-color);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Responsive Styles for Search Form */
@media (max-width: 768px) {
    .search-field {
        font-size: 16px;
    }
}

/* Sidebar Styles */
.widget-area {
    /*padding: 30px;*/
    background: white;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

.widget {
    margin-bottom: 40px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Widget Lists */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar caption {
    text-align: center;
    font-weight: 500;
    margin-bottom: 10px;
}

.widget_calendar th,
.widget_calendar td {
    text-align: center;
    padding: 5px;
}

.widget_calendar th {
    background: #f9f9f9;
}

.widget_calendar a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Recent Posts Widget */
.widget_recent_entries .post-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Recent Comments Widget */
.widget_recent_comments .recentcomments {
    display: block;
    margin-bottom: 10px;
}

.widget_recent_comments .comment-author-link {
    font-weight: 500;
}

/* Categories Widget */
.widget_categories .cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories .post-count {
    background: #f5f5f5;
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Tag Cloud Widget */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tagcloud a {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* RSS Widget */
.widget_rss .rsswidget {
    font-weight: 500;
}

.widget_rss .rss-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 5px 0;
}

.widget_rss .rssSummary {
    margin-bottom: 10px;
}

.widget_rss cite {
    color: var(--text-light);
    font-style: normal;
}

/* Archive Widget */
.widget_archive select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
    background: white;
}

/* Meta Widget */
.widget_meta ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.widget_meta a {
    display: block;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Text Widget */
.textwidget {
    color: var(--text-light);
    line-height: 1.6;
}

.textwidget p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles for Sidebar */
@media (max-width: 768px) {
    .widget-area {
        padding: 20px;
    }

    .widget_meta ul {
        grid-template-columns: 1fr;
    }
}

/*.fullwidth-page .container {
    max-width: 100%;
    width: 1320px;
    padding: 0 15px;
    margin:0 auto;
} */