
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: var(--nav-color);
  overscroll-behavior: none;
}


/* nav-bar */



:root{
    --primary-color:hsla(210, 40%, 96%, 0.644);
    --nav-color: rgba(255, 255, 255, 0.904);
    --text-color: #212121;
    --shodow-color:rgba(0, 0, 0, 0.863);
    --sign-color:#1d1d1d;
}

.dark-theme{
    --primary-color:hsla(223, 84%, 5%, 0.945);
    --text-color: rgba(255, 255, 255, 0.952);
    --nav-color:hsla(223, 84%, 5%, 0.973);
    --shodow-color: rgba(250, 56, 250, 0.726);
    --sign-color:#2563eb;
}


/* content */



.hero-banner {
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 70px;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding-top: 60px;
  
}

.hero-banner .publish-info {
  font-size: 0.9rem;
  color: #d3d3d3;
}

.hero-banner h1 {
  font-size: 2.8rem;
  /* margin: 0.5rem 0; */
  font-weight: 700;
}

.hero-banner .author-name {
  font-size: 1.3rem;
  font-style: italic;
}

.content-wrapper {
  display: flex;
  
  
 
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 100vh;
  width: 100%;
 
}
.content-wrapper .left{
  
  width: 70%;
}
.content-wrapper .left .img{
  display: flex;
  justify-content: center;
  padding: 1.5%;
  width: 100%;
  margin: 1%;
  

}
.content-wrapper .left .img img{
  width: 68%;
  height: 50vh;
}
.content-wrapper .left .text{
  margin: 2%;
}
.Name{
  justify-content: center;
  margin: 2%;
  margin-left: 43%;
  font-size: large;
  font-weight: 500;
  font-style: oblique;
}
.content-wrapper .right{
  width: 100%;
  margin: 2%;
  background-color: #1d4ed8;
}

.social-share {
  margin-top: 2rem;
  text-align: center;
}

.social-share a {
  margin: 0 0.8rem;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.social-share a:hover {
  transform: scale(1.2);
}

.social-share .facebook { background: #3b5998; }
.social-share .instagram { background: #e1306c; }
.social-share .twitter { background: #1da1f2; }
.social-share .linkedin { background: #0077b5; }

.author-sidebar {
  flex: 1;
  background: var(--nav-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-sidebar h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.author-sidebar p {
  font-size: 1rem;
  color: #666;
}

.author-sidebar strong {
  color: #2c3e50;
}

@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 2rem;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .main-article, .author-sidebar {
    flex: none;
    width: 100%;
  }

  .social-share a {
    margin: 0 0.5rem;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
  }
}






  /* footer section */




  .footer {
    width: 100%;
    background-color:var(--primary-color);
    padding: 30px 10px 17px;
    /* border-top: 1px solid var(--text-color); */
    
    
  }
  
  .footer-container {
    width: 100%;
    padding: 0 3px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    color: #444;
  }
  
  .footer-section{
    padding:20px 0;
  }
  .footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-color);
    font-family:sans-serif;
  }
  
  .footer-section p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    color:rgb(63, 99, 113);
    font-family: sans-serif;
  }
  
  .footer-section ul {
    list-style: none;
    color: gray;
    /* gap: 23px; */
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: gray;
    /* gap: 3px; */
  }
  .head a{
    font-size:14px;
    /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
   
  }
  .head {
    margin-top: 30px;
  }
  .head li {
    padding-bottom:9px;

  }
  
  .footer-section ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    /* gap: 38px; */
  }
  .social-icons i{
    font-style:inherit;
    /* font-size:100px; */
    color: var(--text-color);
  }
  
  .footer-section ul li a:hover {
    color: #1d4ed8;
  }
  .contact {
   padding-top:30px;
  }
  .contact a{
    font-size:18px;
  }
  .contact-info i{
    color: #2563eb;
    font-size: 18px;
    font-style:normal;
  }
  .contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    
  }
  .contact-info li a:hover{
    color: #2563eb;
    cursor: pointer;
  }
  .social-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    font-size: 20px;
  }
  
  .social-icons i {
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
  }
  
  .social-icons i:hover {
    color: #3b82f6;
    transform: scale(1.2);
  }
/* .footer-section .rating-stars i{ */
  /* border:1px  black; */
  /* background-color: #2563eb; */
 
  .rating-stars {
    display: flex;
    gap: 0.3px;
    cursor: pointer;
    
  }
   .star-icon svg{
    border:1px solid black;
  }
  .star-icon {
    width: 30px;
    height: 40px;
   color: #ddd;
    transition: fill 0.3s;
    margin-bottom: -20px;
        
  }
  .star-icon.filled {
    fill:yellow;
  }
  .star-icon.hovered {
    fill: yellow;
  }
  .rating-btn {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #214CD7;
    color: white;
    width: 23vw;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-align: center;
    align-items: center;
  }

  
  .rating-btn:hover {
    background: linear-gradient(to right, #4338ca, #2563eb);
  }
  
  .feedback-link {
    display: inline-block;
    margin-top: 10px;
    color: #2563eb;
    font-size: 14px;
    margin-left: 120px;
    text-decoration: none;
    text-align: center;
  }
  
  .feedback-link:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    margin-top: 2px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
  }

  .footer-bottom p{
    color: var(--text-color);
  }
  
  .footer-bottom a {
    color: #2563eb;
    margin: 0 0px;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }
    @media (min-width:650px) {
  .footer-section  .rating-btn {
     
  .feedback-link{
    text-align: center;
    align-items: center;
  } 
    }
}