*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
    
}

.navbar{
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #2d518b;
    align-items: center;
    padding: 0px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.navbar .logo{
    max-width: 100px;
    margin-left: 30px;
}

.nav-links{
    display: flex;
    list-style: none;
    margin-top: 20px;
}

.nav-links li{
    margin-top: 50px;
}

.nav-links a{
    text-decoration: none;
    color: black;
    font-weight: 600;
    margin-top: 10px;
}

.nav-links a:hover{
    background-color: #1362eb;
}

.nav-links a:active{
    color: black;
    background-color: #d6e0ea;
}


.nav-links a.active{
    color: black;
    background-color: #d6e0ea;

}

.nav-links li a{
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.nav-links li a{
    width: 100%;
    display: inline-block;
    padding: 10px 55px;
    width: 200px;
    height: 50px;
    border-top: none;
    color: white;
    font-size: 20px;
    background-color: #2d518b; 
     /* #2d518b */
    border-right: 1px solid white;
    border-left: none;
    border-bottom: none;
    transition: 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}


.right-side{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin: 10px;
}

.button{
    margin-right: 40px;
    display: flex;
    gap: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.login-button{
    background-color: white;
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    padding: 10px;
    cursor: pointer;
}

.login-button:hover{
    background-color: wheat;
    text-decoration: underline;
}

.donate-button{
    background-color: yellow;
    border: none;
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    color: black;
    padding: 10px;
    cursor: pointer;
    
}

.donate-button:hover{
    background-color:  rgb(255, 183, 48) ;
    text-decoration: none;
}


.search-item{
    position: relative;
}

.search-box{
    padding: 8px 30px 8px 12px;
    border-radius: 20px;
    border: none;
}

.search-icon{
    position: absolute;
    right: 10px;
    top: 8px;
    color: gray;
}

body {
  background-color: #d6e0ea;
  color: #1e293b;
  font-family: 'Roboto', Arial, sans-serif;
}



/* Sign In Pop Up */

.modal{
    display: none;
    position: fixed;
    left: 0;
    z-index: 2000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content{
    background-color: #fff;
    width: 360px;
    max-width: 100%;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: pop 0.25s ease;
    text-align: center; 
    position: relative;
}

@keyframes pop{
    from {transform: scale(0.85); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn{
    float: right;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
    color: black;
}

.modal-content lable{
    display: block;
    text-align: left;
    margin: 12px 0 6px;
    font-weight: 600;
}

.modal-content input{
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.modal-content input:focus{
    border-color: #2d518b;
}

.login-btn{
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #2d518b;
    color: white;
    cursor: pointer;
    font-weight: 700;
}

.login-btn:hover{
    background: #1e3b66;
}




/* hero section  */
.hero{
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    margin: 30px;
    
}

.hero-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgb(0, 0, 0);
}

.hero-left h1{
    font-size: 40px;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-left p{
    font-size: 20px;
    color:rgb(0, 0, 0);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-style: italic;


}

.hero .hero-left a{
    width: 150px;
    height: 40px;
    text-align: center;
    padding-top: 10px;
    border: none;
    text-decoration: none;
    background: #4b6cff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(75, 108, 255, 0.3);
}

.hero-left button a{
    text-decoration: none;

}

.hero-right{
    background-size: cover;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
    background-position: center;
    border-radius: 12px;
}

.hero-right.fade-out{
  opacity: 0;
  transform: scale(1.03);
}

#quote-text, #quote-author{
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.quote-fade-out{
  opacity: 0;
  transform: translateY(10px);
}

#line{
    color: red;
    font-size: 20px;
}



/* Author of the day section */

/* AUTHOR */
.author-section {
    padding: 60px;
    text-align: center;
}

.author-card {
    background:#2d518b;
    max-width: 700px;
    color: white;
    margin: 30px auto;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), 0 14px 32px rgba(0, 0, 0, 0.12);
    animation: fadeUp 1s ease;
}

.author-card img {
    width: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.author-section h2{
   font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;

} 
.author-card h3{
   font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
}

.author-card p{
  font-family: 'Merriweather', serif;
  font-size: 17px;
  line-height: 1.7;
}

/* footer */

.site-footer{
  background-color: #31353d;
  color: #fff;
  padding: 60px 40px;
  font-family: 'Roboto', sans-serif;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo{
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.footer-brand{
  font-size: 20px;
  opacity: 0.9;
  margin-left: 5px;
}

.footer-right{
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-right #email,
.footer-right button{
  background-color: white;
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  padding: 10px;
  cursor: pointer;
}


.footer-toptext{
  font-size: 14px;
  opacity: 0.9;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a{
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.9;
}

.footer-links a:hover{
  text-decoration: underline;
  opacity: 1;
}

/* hamburger for resnponsive mobile */
.hamburger{
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* mobile responsive footer */
@media (max-width: 800px){
  .footer-links{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right{
    text-align: left;
    width: 100%;
  }

  .footer-links{
    justify-content: flex-start;
  }
}

/*  main section mobile responsive  */
@media (max-width: 900px){
  .hamburger{
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 30px;
    opacity: 0.9;
  }

  .navbar{
    flex-direction: column;
    align-items: stretch;
    background-color: #2d518b;
    position: relative;
  }

  .navbar .nav-links,
  .navbar .right-side{
    display: none;
    width: 100%;
  }

  .navbar .nav-links.active,
  .navbar .right-side.active{
    display: flex;
  }

  .nav-links{
    flex-direction: column;
    background-color: #2d518b;
    margin-top: 0;
  }

  .navbar .nav-links li{
    width: 100%;
    margin-top: 0;
  }

  .nav-links li a{
    width: 100%;
    height: 52px;
    font-size: 20px;
    font-weight: 500;
    background-color: transparent;
    color: white;
    border-bottom: 1px solid white;
    text-align: center;
    margin-top: 0;
    padding: 12px 0;
  } 

  .nav-links a.active{
    background-color: white;
    color: #2d518b;
    font-weight: 600;
  }

  .right-side{
    flex-direction: column;
    align-items: center;
    padding: 15px 0 10px;
    gap: 12px;
  }

  .button{
    margin: 0;
    justify-content: center;
  }

  .search-item{
    width: 90%;
    max-width: 420px;
  }

  .search-box{
    width: 100%;
    padding: 10px 40px 10px 16px;
    font-size: 15px;
  }

  .search-icon{
    top: 12px;
    right: 14px;
  }

  /* hero section responsive for mobile */

  .hero{
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 16px;
    gap:16px;
  }

  .hero-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left h1{
    font-size: 28px;
    margin-top: 10px;
  }

  .hero-left p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-right{
    min-height: 220px;
    border-radius: 12px;
  }

  .hero-left a {
    width: 160px;
    height: 42px;
    padding-top: 11px;
  }

  /* author responsive for mobile */

  .author-card{
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px;
    margin: 16px auto;
  }

  .author-card img{
    width: 110px;
  }



}



