/*
Theme Name: Peoples
Theme URI: adtechno.com
Description: medical theme, icons, specialities,custom posts
Author: B Naga Kishore
Author URI: adtechno.com
Version: 1.0
*/

/* Add any custom styles here */
/* Style for form container */
.wpcf7 {
    margin: 0 auto;
    max-width: 500px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-bottom: 2rem;
}

/* Style for form labels */
.wpcf7 p {
       margin-bottom: 0px;
}
.wpcf7 label {
    display: block;
    margin-bottom: 0px;
    font-weight: bold;
}

/* Style for form input fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: border-color 0.3s;
}

/* Style for form input focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Style for submit button */
.wpcf7 input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #0056b3;
}
.nav-dropdown ul{
    padding-left: 0;
}
.faq6_answer p{
    font-size: 1.2rem;
    color: #585857;
    line-height: 1.7rem;
}
.blog-img{
    width: 100% !important;
    height: auto !important;
}
/* Add these styles to your existing CSS */
.blog-card-grid .blog-card .img-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-card-grid .blog-card .img-wrapper img {
    transition: transform 0.3s ease-in-out;
}

.blog-card-grid .blog-card:hover .img-wrapper img {
    transform: scale(1.1);
}
.footer-brand img{
    height:100px;
}
.footer-brand{
    margin: auto;
}
.card {
    position: relative;
    display: inline-block;
    margin: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-wrapper {
    text-align: center;
    padding: 20px;
}

.image-3 {
    max-width: 100%;
    height: auto;
}

.heading-3 {
    text-align: center;
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.paragraph-2 {
    text-align: center;
    padding: 0 20px;
    font-size: 14px;
    color: #777;
}
.features a{
    text-decoration: none !important;

}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.container {
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  
  .content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
  }
  
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
    align-content: start;
  }
  
  .post-card {
    border: 1px solid #ccc;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .post-link {
    text-decoration: none;
    color: #333;
  }
  
  .post-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  
  .post-title {
    margin: 10px 0;
    font-size: 1.2rem;
    text-align: center;
    line-height:1.2rem;
  }
  
  .post-summary {
    margin-bottom: 10px;
    color: #666;
  }
  
  .pagination {
    margin-top: 20px;
  }
  
  .sidebar {
    width: 30%;
    padding: 20px;
    border-left: 1px solid #ccc;
  }
  .know-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d62b52;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.know-more-button:hover {
  background-color: #d62b52;
}
.post-content {
    text-align: center;
  }
  /* Mobile Responsive Styles */
@media (max-width: 768px) {
    .content {
      flex-direction: column;
      align-items: center;
    }
    
    .sidebar {
      width: 100%;
      padding: 20px;
      border-left: none;
      border-top: 1px solid #ccc;
    }
    
    .posts-grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  /* Style for Categories */
.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .widget_categories li {
    margin-bottom: 10px;
    list-style: none;
  }
  
  .widget_categories a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #d62b52;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
  }
  
  /* Style for Tags */
  .widget_tag_cloud a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f2f2f2;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
  }
  /* Blog Post Styles */
.single-post-content {
    margin: 2rem;
    width: 70%;
  }
  
  .single-post-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-family: Gaela, sans-serif;
  }
  
  .single-post-meta {
    color: #888;
    margin-bottom: 20px;
  }
  
  .post-date {
    margin-right: 20px;
  }
  
  .post-category {
    font-weight: bold;
    border: solid 1px #d62b52;
    padding: 12px 20px;
    text-decoration: none;

  }
  .post-category a{
    text-decoration: none;
  }
  
  .single-post-thumbnail {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .single-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
  }
  
  .single-post-thumbnail img:hover {
    transform: scale(1.05);
  }
  
  .single-post-content p, .single-post-content li {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
  }
  
  /* Comment Form Styles */
  .comment-form {
    margin-top: 40px;
  }
  
  .comment-form p {
    margin-bottom: 20px;
  }
  
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .comment-form input[type="submit"] {
    background-color: #d62b52;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .comment-form input[type="submit"]:hover {
    background-color: #a51f43;
  }
  
  /* Post Tags Styles */
  .post-tags {
    margin-top: 20px;
  }
  
  .post-tags a {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .post-tags a:hover {
    background-color: #dcdcdc;
  }
  
  /* Sidebar Styles */
  .sidebar {
    width: 30%;
    padding: 20px;
    border-left: 1px solid #ccc;
  }
  
  /* Mobile Responsive Styles */
  @media (max-width: 768px) {
    .content {
      flex-direction: column;
      align-items: center;
    }
  
    .sidebar {
      width: 100%;
      border-left: none;
      border-top: 1px solid #ccc;
      padding-top: 20px;
    }
  }
  .heading-n{
    font-size: 2rem;
    font-weight: bold;
    margin: 30px 0px;
  }
  .text-block-n{
    font-size: 1.2rem;
    line-height: 2rem;
  }
  /* Additional Responsive Styling Goes Here */
  