/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    line-height: 1.5;
    background-color: #f6f4fc;
    color: #1d1d1d;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    border-bottom: 1px solid #ddd;
}

.header__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #ff0000;
}

.header .logo img {
    height: 50px;
}

/* Main Content */
.main {
    margin-top: 140px;
    padding: 20px 0;
}



.title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.main__cards {
    display: grid;
     grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.main__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.main__card .top {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff0080;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
}

.grid__img a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px; /* Adjust height as needed */
    border-radius: 20px; /* Rounded corners */
    overflow: hidden;
    background: #ffffff; /* Add a white background */
    border: 2px solid #e0e0e0; /* Optional border for a clean look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    padding: 10px; /* Adds spacing inside the container */
}

.grid__img a img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the entire logo fits */
    border-radius: 10px; /* Apply slight rounding to the logo */
}



.grid__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 15px 0 10px;
    text-align: center;
}

.grid__content {
    font-size: 16px;
    color: #555;
    text-align: center;
}

.grid__button {
    text-align: center;
    margin-top: 15px;
}

.grid__button .btn {
    display: inline-block;
    background-color: #62da20;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}

.grid__button .btn:hover {
    background-color: #82ec49;
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.footer__text {
    margin-bottom: 10px !important;
    font-size: 14px;
    color: #666;
}

.footer__text p {margin: 0 auto}

.footer__icons img {
    height: 30px;
    margin: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header__body {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .title {
        font-size: 24px;
    }

    .grid__img a {
        height: 150px;
    }

    .grid__title {
        font-size: 18px;
    }

    .grid__content {
        font-size: 14px;
    }

    .grid__button .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.seo-content {
    background-color: #ffffff;
    padding: 40px 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
}

.seo-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 20px;
    text-align: center;
}

.seo-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #555;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.seo-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.seo-content ul li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

/* Center Alignment for Blog Posts */
.blog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.blog-post {
    width: 100%;
    max-width: 800px; /* Adjust this to your preferred width */
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post img {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.blog-post h2 {
    font-size: 24px;
    color: #ff0000;
    margin: 20px 0 10px;
}

.blog-post p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post a {
    color: #62da20;
    font-weight: bold;
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: underline;
}

/* Adjust the spacing between posts */
.blog-container .blog-post + .blog-post {
    margin-top: 30px;
}

.blog-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.blog-meta span {
    display: inline-block;
}

.blog-meta a {
    color: #62da20;
    text-decoration: none;
}

.blog-meta a:hover {
    text-decoration: underline;
}

.read-more {
    color: #62da20;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

.author-section {
    margin-top: 50px;
    text-align: center;
}

.author-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.author-socials a {
    margin: 0 10px;
    color: #0073e6;
    text-decoration: none;
}

.author-socials a:hover {
    text-decoration: underline;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.article-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-card img {
    border-radius: 10px;
    max-width: 100%;
    margin-bottom: 15px;
}

.article-card h3 a {
    color: #333;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: #0073e6;
}

.article-meta {
    font-size: 14px;
    color: #666;
}

.tag-section {
    margin-top: 50px;
    text-align: center;
}

.tag-description {
    margin-bottom: 30px;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.article-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-card img {
    border-radius: 10px;
    max-width: 100%;
    margin-bottom: 15px;
}

.article-card h3 a {
    color: #333;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: #0073e6;
}

.article-meta {
    font-size: 14px;
    color: #666;
}

.related-tags {
    margin-top: 30px;
    text-align: center;
}

.related-tags ul {
    list-style: none;
    padding: 0;
}

.related-tags ul li {
    display: inline-block;
    margin: 0 10px;
}

.related-tags ul li a {
    text-decoration: none;
    color: #0073e6;
    font-weight: 600;
}

.related-tags ul li a:hover {
    text-decoration: underline;
}

/* Recent Blog Posts Section */
.recent-posts {
    background-color: #ffffff;
    padding: 40px 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recent-posts h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.recent-posts__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.post__date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.post__title a {
    font-size: 20px;
    font-weight: 700;
    color: #ff0000;
    text-decoration: none;
}

.post__title a:hover {
    text-decoration: underline;
}

.post__excerpt {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.recent-posts__more {
    text-align: center;
    margin-top: 20px;
}

.recent-posts__more .btn {
    background-color: #62da20;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}

.recent-posts__more .btn:hover {
    background-color: #82ec49;
}

.grid__desc {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.footer__terms
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.footer__terms a{text-decoration: none;color: #666;}

.footer__terms a:hover{text-decoration: underline; cursor: pointer;}

.policy_main
{
    margin-top: 80px;
    padding: 20px 0;
}

.policy_main a{color: blue !important;}

.hide_disc
{
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

/*************Spin Button**********/
#shuffleBtn {
  background: linear-gradient(180deg,#62DA20, #3CAB00);
  color: white;
  font-weight: bold;
  font-family: "Nunito", sans-serif;
  padding: 10px 40px;
  font-size:18px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 20px #ff4500, 0 0 20px #ff8c00, 0 0 30px #ffd700;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin:40px auto;
   animation: zoom-in-zoom-out 1s ease infinite;
    display:flex;align-items:center;justify-content:center;
}

#shuffleBtn:hover {
  background: linear-gradient(45deg, #3CAB00, #62DA20, #3CAB00);
  box-shadow: 0 0 25px #ff4500, 0 0 25px #ff8c00, 0 0 40px #ffd700;
}

#shuffleBtn img{width:45px;position:relative;top:-6px;}

.floating_icon{ animation: floating_icon 20s ease-in-out infinite;position:fixed;top:35%;right:20px;z-index:999;}

@keyframes floating_icon {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(+120px);
  }
}

.floating_icon img{width:100px;height:100px;}

/********************/

@media (max-width: 768px) 
{
    .policy_main
    {
    margin-top: 120px;}
}

@media (max-width: 440px)
{
    .main__card{
         padding: 10px !important;
    }
    
    .main__cards
    {
        grid-template-columns: repeat(2,minmax(30%, 1fr)) !important;
        gap: 10px;
    }
    
    .grid__img a{height: 115px;}
    
    .grid__title{font-size:14px;}
    
    .grid__button .btn {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 8px;
    }
}

.hot
{
    position: absolute;
    top: -20px;
    right: 0px;
}

.hot img{max-width: 60px;}

@media (max-width: 440px)
{
    
    .hot
    {
        position: absolute;
        
    }
    
    .floating_icon img{width:80px;height:80px;}
    
}
@media (max-width: 340px)
{

#shuffleBtn{font-size:15px;}

}