@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


.blog-container{
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    animation: fadeIn 1s ease-in-out;
}

.blog-main {
    position: relative; 
    padding: 20px;
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

.blog-article {
    margin-bottom: 20px;
    padding: 20px;
    border-left: 5px solid #667eea;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    animation: zoomIn 1s ease-in-out;
}

.blog-article-title {
    color: #667eea;
}

.blog-article-content .blog-para,
.blog-article-content .blog-orderedlist {
    margin-bottom: 10px;
}

.blog-article-content .blog-orderedlist {
    list-style-type: disc;
    margin: 10px 0;
    padding-left: 20px;
}

.highlight {
    background-color: #ffeb3b;
    padding: 2px 5px;
    font-weight: bold;
}

.blog-blockquote {
    border-left: 5px solid #ccc;
    margin-left: 0;
    padding-left: 10px;
    color: #555;
    font-style: italic;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.blog-footer {
    text-align: center;
    padding: 10px 0;
    background: #333;
    color: #fff;
    position: sticky;
    bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


.blog-article:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.blog-link {
    color: #667eea;
    text-decoration: none;
}

.blog-link:hover {
    text-decoration: underline;
}

.blog-header .blog-link {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.blog-header .blog-link:hover {
    text-decoration: underline;
}

.blog-header-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
}

.blogs-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    justify-content: center;
}

.blogs-card {
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.blogs-card:hover {
    transform: translateY(-10px);
}

.blogs-card-img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.blogs-card-img:hover {
    transform: scale(1.05);
}

.blogs-card-content {
    padding: 16px;
}

.blogs-card-content h2 {
    margin: 0 0 8px;
    font-size: 1.5em;
}

.blogs-card-content p {
    margin: 0 0 16px;
    color: #666;
}

.blogs-read-more {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.blogs-read-more::after {
    content: '→';
    position: absolute;
    right: -20px;
    transition: right 0.3s ease;
}

.blogs-read-more:hover::after {
    right: 0;
}

.related-title {
    text-align: center;
    font-size: 2em;
    margin: 40px 0 20px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: #f4f4f4;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .related-title:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #007BFF; /* Primary color */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  


/*****blog related Carousel start/*****************************/

.blog-carousel {
    position: relative;
    width: 100%;
    max-width: 900px; /* Adjusted to fit 3 cards */
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.blog-carousel-item {
    flex: 0 0 33.333%; /* Show 3 items at a time */
    box-sizing: border-box;
    padding: 10px;
}

.blog-carousel-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-carousel-item h3 {
    margin: 10px 0;
    color: #667eea;
}

.blog-carousel-item a {
    text-align: center;;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.blog-carousel-item a:hover {
    text-decoration: underline;
}

.blog-carousel-control {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.blog-carousel-control button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.blog-carousel-control button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/****blog related Carousel overrrrrrrrrrrrrrr/****************************


/****share button icon start**/
  
.share-container {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    display: flex;
    align-items: center;
    z-index: 2;
  }
  
  .share-icon {
    font-size: 24px;
    cursor: pointer;
    color: #667eea;
  }
  
  .social-icons {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 30px; /* Adjust as needed */
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .social-icons a {
    margin: 5px 0;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, font-size 0.3s ease;
  }
  
  .social-icons a:hover {
    font-size: 25px;
    color: #667eea;
  }
  
  

/****share button icon over**/


/****Cancel button icon start**/
.cancel-icon {
    position: absolute;
    top: 20px;
    right: 50px;
    font-size: 60px;
    cursor: pointer;
    color: #333;
    z-index: 10;
  }
  
  .cancel-icon:hover {
    color: #555;
  }

  /****Cancel button icon over**/