 /*Blog Container */
/*.blog-container {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*    height: 100%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center; /* Center content vertically */
/*    align-items: center;*/
/*}*/
/*.blog-container h1 {*/
/*    text-align: center;*/
/*    margin-bottom: 20px;*/
/*    color: green;*/
/*    font-size:39px;*/
/*    font-weight:700;*/
/*}*/
/*.blogs {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
/*    gap: 20px;*/
/*    height: 100%; /* Ensure grid fits inside the container */
/*    overflow-y: auto; */
/*    width:100%;*/
/*}*/

/*.blog-card {*/
/*    background-color: white;*/
/*    border-radius: 8px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    position: relative;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    justify-content: flex-end; /* Ensures content spreads within the box */
/*    height: 250px; /* Fixed height for consistent layout */
/*    position: relative; /* Enables layering for content on top of image */
/*}*/

/*.blog-card-large {*/
/*    background-color: white;*/
/*    border-radius: 8px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    position: relative;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    justify-content: flex-end; /* Ensures content spreads within the box */
/*    height: 250px; /* Fixed height for consistent layout */
/*    position: relative; /* Enables layering for content on top of image */
    
/*}*/
/*.blogs-f{*/
/*    display: flex;*/
/*    gap: 9px;*/
/*    margin-top: 11px;*/
/*}*/
/*.blog-card-large {*/
/*    grid-column: span 2;*/
/*    height: 100%;*/
/*}*/
/*.blog-card:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
/*}*/
/*.blog-card img {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 120%;*/
 /*   object-fit: cover; /* Ensures the image fills the entire card */
  /*  z-index: 1; /* Background layer */
/*}*/
/*.blog-card img::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
   /* background-color: rgba(130, 130, 130, 0.4); /* Transparent black overlay */
   /* z-index: 3; /* Overlay above the image */
/*}*/
/*.blog-card h2,*/
/*.blog-card p {*/
/*    position: relative;*/
/*    z-index: 3; */
/*    margin: 0;*/
/*    padding: 10px 15px;*/
/*    color: rgb(231, 229, 229) !important;*/
 /*   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds readability over the image */
/*    font-size: 15px;*/
/*    font-weight: 600;*/
/*}*/
/*.blog-card-large:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
/*}*/
/*.blog-card-large img {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 109%;*/
    object-fit: cover; /* Ensures the image fills the entire card */
    z-index: 1; /* Background layer */
/*}*/
/*.blog-card-large img::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
   /* background-color: rgba(130, 130, 130, 0.4); /* Transparent black overlay 
    z-index: 3; /* Overlay above the image */
/*}*/
/*.blog-card-large h2,*/
/*.blog-card-large p {*/
/*    position: relative;*/
   /* z-index: 3; /* Content above the image */
/*    margin: 0;*/
/*    padding: 10px 15px;*/
/*    color: rgb(231, 229, 229) !important;*/
/*    font-size:1.8rem;*/
/*    font-weight:600;*/
    
   /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds readability over the image */
/*}*/




/* Responsive Design for Large Screens */
/*@media (min-width: 992px) {  .blog-card-large h2, .blog-card-large p{*/
/*      font-size:1rem;*/
/*      font-weight:600;*/
/*  }}*/
/*  @media (max-width: 768px) {.blog-card-large {*/
/*    grid-column: span 1;*/
/*    }*/
/*           .blog-card-large h2, .blog-card-large p{*/
/*      font-size:1rem;*/
/*      font-weight:600;*/
/*  }*/
/*      .blog-card-large {*/
/*        grid-column: span 2;*/
/*        height:207px;*/
/*    }*/
/*         .blog-card-large h2, .blog-card-large p{*/
/*      font-size:1rem;*/
/*      font-weight:600;*/
/*  }*/
/*  }*/

/* old Header Styling */
/*h1 {*/
/*    text-align: center;*/
/*    font-weight: 700;*/
/*    color: #28a745;*/
/*    font-size:39px;*/
/*    margin-bottom: 40px;*/
/*}*/

/* Blogs Section */
/*.blogs {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 30px;*/
/*    justify-content: space-between;*/
/*}*/

/* Blog Card */
/*.blog-card-large, .blog-card {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    max-width: 380px;*/
/*    background-color: white;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    overflow: hidden;*/
/*    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;*/
/*}*/

/* Hover effect for cards */
/*.blog-card-large:hover, .blog-card:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);*/
/*}*/

/* Image Styling */
/*.blog-card img {*/
/*    width: 100%;*/
/*    height: 220px;*/
/*    object-fit: cover;*/
/*    transition: opacity 0.3s ease, transform 0.3s ease;*/
/*}*/

/* Apply a zoom-in effect on hover */
/*.blog-card-large:hover img, .blog-card:hover img {*/
/*    transform: scale(1.05);*/
/*}*/

/* Tag Styling */
/*.tag {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    left: 20px;*/
/*    background-color: #e74c3c;*/
/*    color: white;*/
/*    padding: 5px 15px;*/
/*    font-size: 0.9rem;*/
/*    font-weight: bold;*/
/*    text-transform: uppercase;*/
/*    border-radius: 20px;*/
/*    z-index: 2;*/
/*}*/

/*.tag.green {*/
/*    background-color: #2ecc71;*/
/*}*/

/*.tag.purple {*/
/*    background-color: #9b59b6;*/
/*}*/

/* Overlay on hover */
/*.blog-card-large .overlay, .blog-card .overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: rgba(0, 0, 0, 0.3);*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

/*.blog-card-large:hover .overlay, .blog-card:hover .overlay {*/
/*    opacity: 1;*/
/*}*/

/* Title Styling */
/*h2 {*/
/*    font-size: 1.5rem;*/
/*    font-weight: 600;*/
/*    color: #333;*/
/*    padding: 15px;*/
/*    margin-top: 10px;*/
/*    text-align: center;*/
/*    transition: color 0.3s ease;*/
/*}*/

/* Hover effect on title */
/*h2:hover {*/
/*    color: #28a745;*/
/*}*/

/* Meta Information (Author, Date) */
/*.blog-card p {*/
/*    font-size: 1rem;*/
/*    color: #777;*/
/*    text-align: center;*/
/*    margin-bottom: 20px;*/
/*}*/

/* Blog Layout Responsiveness */
/*@media (max-width: 768px) {*/
/*    .blogs {*/
/*        justify-content: center;*/
/*    }*/
/*    .blog-card-large, .blog-card {*/
/*        max-width: 100%;*/
/*    }*/
/*}*/

/*@media (max-width: 480px) {*/
/*    h1 {*/
/*        font-size: 2rem;*/
/*    }*/
/*    .tag {*/
/*        font-size: 0.8rem;*/
/*    }*/
/*    h2 {*/
/*        font-size: 1.2rem;*/
/*    }*/
/*    .blog-card p {*/
/*        font-size: 0.9rem;*/
/*    }*/
/*}*/







/*header*/

/*end header*/


/*body{*/
/*    font-family: Arial, sans-serif !important;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*     background-color: #f4f4f4 !important;*/
/*}*/

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; 
    
}

.blog-container.h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.blogs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    height: 100%; /* Ensure grid fits inside the container */
    overflow-y: auto; 
    width:100%;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: flex-end; /* Ensures content spreads within the box */
    height: 250px; /* Fixed height for consistent layout */
    position: relative; /* Enables layering for content on top of image */
    
}
.blog-card-large {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: flex-end; /* Ensures content spreads within the box */
    height: 250px; /* Fixed height for consistent layout */
    position: relative; /* Enables layering for content on top of image */
    
}

.blogs-f{
    display: flex;
    gap: 9px;
    margin-top: 11px;
}

.blog-card-large {
    grid-column: span 2;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover; /* Ensures the image fills the entire card */
    z-index: 1; /* Background layer */
}
.blog-card img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(130, 130, 130, 0.4); /* Transparent black overlay */
    z-index: 3; /* Overlay above the image */
}
.blog-card h2,
.blog-card p {
    position: relative;
    z-index: 3; /* Content above the image */
    margin: 0;
    padding: 10px 15px;
    color: rgb(231, 229, 229) !important;\
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds readability over the image */
    font-size: 15px;
    font-weight: 600;
}
.blog-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-card-large img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 109%;
    object-fit: cover; /* Ensures the image fills the entire card */
    z-index: 1; /* Background layer */
}
.blog-card-large img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(130, 130, 130, 0.4); /* Transparent black overlay */
    z-index: 3; /* Overlay above the image */
}
.blog-card-large h2,
.blog-card-large p {
    position: relative;
    z-index: 3; /* Content above the image */
    margin: 0;
    padding: 10px 15px;
    color: rgb(231, 229, 229) !important;
    font-size:1.8rem;
    font-weight:600;
    
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds readability over the image */
}


.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 2; /* Ensures tag stays above the image */
}

.tag.red {
    background-color: #e74c3c;
    margin-top: 339px;
}

.tag.green {
    background-color: green;
    margin-top: 100px;
}

.tag.purple {
    background-color: #9b59b6;
    margin-top: 50px;
}

.tag.orange {
    background-color: #f39c12;
    margin-top: 40px;
}

/* Responsive Design for Large Screens */
@media (min-width: 992px) {
    
  .blog-card-large h2, .blog-card-large p{
      font-size:1rem;
      font-weight:600;
  }  


}

/* Responsive Design for Medium Screens */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    .blog-card-large {
        grid-column: span 1;
    }
    .blog-container {
        padding: 10px;
        margin-top:150px;
    }

    .blog-card {
        height: 145px; /* Keep cards adaptable on small screens */
    }
     .blog-card-large h2, .blog-card-large p{
      font-size:1rem;
      font-weight:600;
  } 
    .blog-card-large {
        grid-column: span 2;
        height:207px;
    }


}

/* Responsive Design for Small Screens */
@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    .blog-card img {
        height: 150px;
    }

    .blog-card h2 {
        font-size: 16px;
        margin-bottom: -18px;
    }

    .blog-card p {
        font-size: 12px;
    }
    .tag.red {
        background-color: #e74c3c;
        margin-top: 40px;
    }
    
    .tag.green {
        background-color: green;
        margin-top: 10px;
    }
    
    .tag.purple {
        background-color: #9b59b6;
        /*margin-top: 50px;*/
        margin-top:-2px;
    }
    
    .tag.orange {
        background-color: #f39c12;
        margin-top: 40px;
    }
     .blog-card-large h2, .blog-card-large p{
      font-size:1rem;
      font-weight:600;
  } 
}


/* latest */
.latest-posts {
    font-family: Arial, sans-serif;
    /* margin: 20px auto; */
    /* margin-right: 20px  ; */
    max-width: 800px; /* Retained for laptop view */
}

.latest-posts h2 {
    font-size: 24px;
    margin-bottom: 3px;
    position:relative;
    /*right:200px;*/
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    display: flex;
    gap: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    align-items: flex-start; /* Ensures consistent alignment */
}

.post img {
    width: 150px;
    height: 150px;
    border-radius: 3px;
    object-fit: cover;
}

.post-content {
    flex: 1;
}

.post-content h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.post-content p {
    font-size: 14px;
    color: #666;
}

.view-all {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    position: absolute;
    left: 54%;
    transform: translateX(-50%);
}

.load-more {
    display: inline-block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.load-more:hover {
    background-color: #0056b3;
}

.ff {
    display: flex;
    gap: 500px; /* Retained for laptop view */
    align-items: flex-end;
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .post {
        flex-direction: column; /* Stack image and content vertically */
        gap: 15px; /* Reduced gap for compact view */
    }

    .post img {
        width: 100%; /* Full width for mobile screens */
        height: auto;
    }

    .post-content h3 {
        font-size: 16px; /* Slightly smaller heading */
    }

    .post-content p {
        font-size: 13px; /* Slightly smaller text */
    }

    .ff {
        flex-direction: row; /* Stack items for smaller screens */
        gap: 170px;
    }

    .load-more {
        width: 30%; /* Button spans full width */
        text-align: center;
        font-size: 14px;
    }
    
    
}

@media screen and (max-width: 480px) {
    .latest-posts h2 {
        font-size: 20px;
    }

    .post img {
        width: 100%; /* Full width for small screens */
        height: auto;
    }

    .post-content h3 {
        font-size: 14px; /* Adjusted heading size */
    }

    .post-content p {
        font-size: 12px; /* Adjusted paragraph size */
    }

    .load-more {
        padding: 10px 15px; /* Adjusted padding for smaller screens */
        font-size: 12px;
    }
    
}




/*    recent post */


.single1 {
    margin-left: 5px;
  }
  
  .single1 h4 {
    line-height: 1.5em !important;
    font-size: 14px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
  .recent2 .img-fluid{
    max-width: 113px;
    max-height: 90px;
  }
  .single1 {
    margin-top: 133px;
    height: 100%;
    border: 0.5px solid #fff;
    background-color: #fff;
    padding: 10px;
  }
  
  .recent-posts-widget .helloch:hover h4 {
    color: #49e4fa;
  }
  
  
  @media (max-width: 960px) {
    .recent-posts-widget .helloch {
      margin-bottom: 20px;
    }
  }
  
.helloch{
    display:flex;
    justify-content: center;
    gap: 30px;
}
@media (max-width: 768px) {
    .recent-posts-widget .helloch {
      margin-bottom: 20px;
    }
    .single1{
        margin-top: auto;
    }
  }
 
.helloch{
    display:flex;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 480px) {
    .recent-posts-widget .helloch {
      margin-bottom: 20px;
    }
  }
  
.helloch{
    display:flex;
    justify-content: center;
    gap: 30px;
}
.gg {
    display: flex;
    flex-direction: column; /* Default for small screens */
    flex-wrap: nowrap;
    gap: 50px;
    margin: 2px 10px;
    margin-right: 1px;
}

/* For screens larger than 768px */
@media screen and (min-width: 768px) {
    .gg {
        flex-direction: row; /* Horizontal layout for medium screens */
        gap: 30px;
        margin: 20px 200px;
        margin-right: 118px;
    }
}

/* For screens larger than 960px */
@media screen and (min-width: 960px) {
    .gg {
        flex-direction: row;
        gap: 50px;
        margin: 20px 200px;
        margin-right: 118px;
    }
}

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

.blog-card .large .blog-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black color with 50% transparency */
    z-index: 1; /* Ensures the overlay is above the image */
    pointer-events: none; /* Allows clicks to pass through */
}
a {
    color: #ffffff;
    text-decoration: unset;
}






