@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */
html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Varela Round", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #7f7f7f;
  background: #fff;
  height: 100%;
  position: relative;
}

a {
  color: #52d3aa;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover, a:active, a:focus {
  color: #52d3aa;
  outline: none;
  text-decoration: none;
}

p {
  margin-bottom: 30px;
}

h1, h2, h3, h4, h5, h6, figure {
  color: #000;
  font-family: "Varela Round", Arial, sans-serif;
  font-weight: 400;
  margin: 0 0 30px 0;
}

::-webkit-selection {
  color: #fff;
  background: #52d3aa;
}

::-moz-selection {
  color: #fff;
  background: #52d3aa;
}

::selection {
  color: #fff;
  background: #52d3aa;
}

#fh5co-logo {
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}
#fh5co-logo a {
  color: #fff;
  padding: 10px 40px;
  font-size: 58px;
}
#fh5co-logo a:hover, #fh5co-logo a:active, #fh5co-logo a:focus {
  text-decoration: none;
}

#fh5co-header {
  background: #93b306d0;
  height: 800px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  margin-bottom: 26em;
}
@media screen and (max-width: 480px) {
  #fh5co-header {
    margin-bottom: 14em;
  }
}
#fh5co-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}
#fh5co-header > .container {
  z-index: 10;
  position: relative;
}
@media screen and (max-width: 768px) {
  #fh5co-header {
    height: 1000px;
  }
}
#fh5co-header .intro {
  margin-top: 18em;
}
@media screen and (max-width: 768px) {
  #fh5co-header .intro {
    margin-top: 7em;
  }
}
@media screen and (max-width: 992px) {
  #fh5co-header .intro .fh5co-block {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  #fh5co-header .intro .btn-hardbound,
  #fh5co-header .intro .btn-ebook,
  #fh5co-header .intro .fh5co-block {
    display: block;
    text-align: center;
    margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
  #fh5co-header .intro .btn-ebook {
    display: block;
    border-bottom: none !important;
  }
}
#fh5co-header .intro h2 {
  font-size: 24px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3em;
}
@media screen and (max-width: 480px) {
  #fh5co-header .intro h2 {
    text-align: center;
  }
}
#fh5co-header .intro a {
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}
#fh5co-header .intro a:hover {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
}
@media screen and (max-width: 768px) {
  #fh5co-header .intro a {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    text-align: center;
  }
}
#fh5co-header .intro .btn {
  border-bottom: none !important;
  background: #000 !important;
  border: none;
  position: relative;
}
#fh5co-header .intro .btn:hover {
  background: #fff !important;
  color: #000;
}
#fh5co-header .intro .btn .price {
  position: absolute;
  right: -20px;
  top: -20px;
  padding: 4px 15px;
  background: #52d3aa;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}
@media screen and (max-width: 480px) {
  #fh5co-header .intro .btn .price {
    right: 0;
  }
}
#fh5co-header .fh5co-intro-img {
  position: relative;
  bottom: -10em;
}
@media screen and (max-width: 768px) {
  #fh5co-header .fh5co-intro-img {
    bottom: -2em;
  }
}
#fh5co-header .fh5co-intro-img img {
  max-width: 480px;
}
@media screen and (max-width: 768px) {
  #fh5co-header .fh5co-intro-img .img-1 {
    max-width: 380px;
  }
}
@media screen and (max-width: 480px) {
  #fh5co-header .fh5co-intro-img .img-1 {
    max-width: 100%;
  }
}
#fh5co-header .fh5co-intro-img .img-2 {
  position: absolute;
  top: 5em;
  right: -3em;
}
@media screen and (max-width: 992px) {
  #fh5co-header .fh5co-intro-img .img-2 {
    right: -10em;
  }
}
@media screen and (max-width: 768px) {
  #fh5co-header .fh5co-intro-img img {
    max-width: 100%;
  }
}

#main {
  margin-top: 0em;
  clear: both;
}
@media screen and (max-width: 480px) {
  #main {
    margin-top: 0em;
  }
}

.fh5co-heading {
  margin-bottom: 3em;
}

.fh5co-testimonial {
  padding: 7em 0;
  background: #f2f2f2;
}
.fh5co-testimonial .review i {
  color: #d9d9d9;
}
.fh5co-testimonial .review i.colored {
  color: #FFC12D;
}
.fh5co-testimonial .testimony-slide {
  text-align: center;
}
.fh5co-testimonial .testimony-slide  {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
}
.fh5co-testimonial .testimony-slide figure {
  margin-bottom: 10px;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.fh5co-testimonial .testimony-slide figure img {
  width: 90px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.fh5co-testimonial .testimony-slide blockquote {
  border: none;
  margin: 30px auto;
  width: 70%;
  position: relative;
  padding: 0;
}
@media screen and (max-width: 992px) {
  .fh5co-testimonial .testimony-slide blockquote {
    width: 100%;
  }
}

.review {
  text-align: center;
}
.review .star i {
  color: #d9d9d9;
}
.review .star i.colored {
  color: #FFC12D;
}
.review span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
}
.review figure {
  margin-bottom: 10px;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.review figure img {
  width: 90px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.review blockquote {
  border: none;
  margin: 30px auto;
  position: relative;
  padding: 0;
}
@media screen and (max-width: 992px) {
  .review blockquote {
    width: 100%;
  }
}

.get-subscribe .form-control {
  background: rgba(255, 255, 255, 0.4);
  background: none !important;
  color: #000;
  font-size: 16px !important;
  border: none;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.get-subscribe .form-control:active, .get-subscribe .form-control:focus {
  border-bottom: 1px solid black;
}
.get-subscribe .form-control::-webkit-input-placeholder {
  color: #000;
}
.get-subscribe .form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #000;
}
.get-subscribe .form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #000;
}
.get-subscribe .form-control:-ms-input-placeholder {
  color: #000;
}
.get-subscribe .form-control:focus {
  background: rgba(255, 255, 255, 0.7);
}
.get-subscribe .btn {
  height: 54px;
  border: none !important;
  background: #52d3aa;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 50px;
  padding-right: 50px;
}
.get-subscribe .form-inline .form-group {
  width: 100% !important;
  margin-bottom: 10px;
}
.get-subscribe .form-inline .form-group .form-control {
  width: 100%;
}

.fh5co-feature {
  height: 600px;
  margin-bottom: 10em;
  padding-top: 4em;
}
.fh5co-feature.last-feature {
  border-bottom: none;
}
@media screen and (max-width: 992px) {
  .fh5co-feature {
    height: inherit !important;
  }
}
.fh5co-feature .fh5co-copy {
  height: 600px;
  display: table;
}
@media screen and (max-width: 992px) {
  .fh5co-feature .fh5co-copy {
    display: block;
    height: inherit !important;
    text-align: center;
    margin-bottom: 30px;
  }
}
.fh5co-feature .fh5co-copy > .fh5co-copy-inner {
  display: table-cell;
  vertical-align: middle;
}
.fh5co-feature .fh5co-copy > .fh5co-copy-inner h2 {
  position: relative;
  padding-bottom: 20px;
  margin: 0 0 20px 0;
}
.fh5co-feature .fh5co-copy > .fh5co-copy-inner h2:before {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #52d3aa;
  content: "";
}
@media screen and (max-width: 992px) {
  .fh5co-feature .fh5co-copy > .fh5co-copy-inner h2:before {
    left: 50%;
    margin-left: -15px;
  }
}
@media screen and (max-width: 992px) {
  .fh5co-feature .fh5co-figure {
    text-align: center;
    margin-bottom: -10em;
  }
}
.fh5co-feature .fh5co-figure img {
  vertical-align: based;
  max-width: 380px;
}
@media screen and (max-width: 992px) {
  .fh5co-feature .fh5co-figure img {
    max-width: 380px;
  }
}
@media screen and (max-width: 768px) {
  .fh5co-feature .fh5co-figure img {
    max-width: 100%;
  }
}
.fh5co-feature.fh5co-reverse .fh5co-figure {
  text-align: left;
}
@media screen and (max-width: 992px) {
  .fh5co-feature.fh5co-reverse .fh5co-figure {
    text-align: center;
  }
}

#get-subscribe {
  padding: 7em 0;
  background: #93b306b4;
}
#get-subscribe .fh5co-heading h2 {
  margin-bottom: 20px;
}
#get-subscribe .fh5co-heading p {
  color: #000;
  font-size: 18px;
  line-height: 1.8;
}
#get-subscribe .btn {
  background: #000;
}
#get-subscribe .btn:hover, #get-subscribe .btn:active, #get-subscribe .btn:focus {
  background: #fff;
  color: #000;
}

#footer {
  padding: 7em 0;
  background: #262626;
  color: #666666;
}
#footer a {
  color: #ffcc26;
}
#footer .fh5co-social {
  margin: 0;
  padding: 0;
}
#footer .fh5co-social li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
#footer .fh5co-social li a {
  padding: 20px;
  color: #ffae00;
}
#footer .fh5co-social li a i {
  font-size: 30px;
}
#footer .fh5co-social li a:hover, #footer .fh5co-social li a:focus, #footer .fh5co-social li a:active {
  text-decoration: none;
  color: #fff;
}
#footer .copyright em {
  display: block;
  font-style: normal;
}

#features {
  padding: 7em 0;
}
#features .feature-center {
  text-align: center;
  float: left;
  width: 100%;
}
@media screen and (max-width: 992px) {
  #features .feature-center {
    margin-bottom: 30px;
  }
}
#features .feature-center .icon {
  width: 90px;
  height: 90px;
  background: #93b306b4;
  border: 4px solid rgba(0, 0, 0, 0.07);
  display: table;
  text-align: center;
  margin: 0 auto 20px auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;
}
#features .feature-center .icon i {
  display: table-cell;
  vertical-align: middle;
  height: 90px;
  font-size: 40px;
  line-height: 40px;
  color: #fff;
}
#features .feature-center p, #features .feature-center h3 {
  margin-bottom: 10px;
}
#features .feature-center h3 {
  text-transform: uppercase;
  font-size: 16px;
  color: #000;
}
#features .feature-center p {
  color: #a6a6a6;
}

.owl-carousel .owl-controls .owl-dot span {
  background: #e6e6e6;
}
.owl-carousel .owl-controls .owl-dot span:hover, .owl-carousel .owl-controls .owl-dot span:focus {
  background: #cccccc;
}
.owl-carousel .owl-controls .owl-dot:hover span, .owl-carousel .owl-controls .owl-dot:focus span {
  background: #cccccc;
}
.owl-carousel .owl-controls .owl-dot.active span {
  background: none !important;
  border: 2px solid #52d3aa;
}

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: "Varela Round", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 12px 20px;
}
.btn.btn-md {
  padding: 4px 20px !important;
}
.btn.btn-lg {
  padding: 18px 36px !important;
}
.btn:hover, .btn:active, .btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.btn-primary {
  background: #52d3aa;
  color: #fff;
  border: 2px solid #52d3aa;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #66d8b4 !important;
  border-color: #66d8b4 !important;
}
.btn-primary.btn-outline {
  background: transparent;
  color: #52d3aa;
  border: 2px solid #52d3aa;
}
.btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
  background: #52d3aa;
  color: #fff;
}

.btn-success {
  background: #5cb85c;
  color: #fff;
  border: 2px solid #5cb85c;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background: #4cae4c !important;
  border-color: #4cae4c !important;
}
.btn-success.btn-outline {
  background: transparent;
  color: #5cb85c;
  border: 2px solid #5cb85c;
}
.btn-success.btn-outline:hover, .btn-success.btn-outline:focus, .btn-success.btn-outline:active {
  background: #5cb85c;
  color: #fff;
}

.btn-info {
  background: #5bc0de;
  color: #fff;
  border: 2px solid #5bc0de;
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background: #46b8da !important;
  border-color: #46b8da !important;
}
.btn-info.btn-outline {
  background: transparent;
  color: #5bc0de;
  border: 2px solid #5bc0de;
}
.btn-info.btn-outline:hover, .btn-info.btn-outline:focus, .btn-info.btn-outline:active {
  background: #5bc0de;
  color: #fff;
}

.btn-warning {
  background: #f0ad4e;
  color: #fff;
  border: 2px solid #f0ad4e;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background: #eea236 !important;
  border-color: #eea236 !important;
}
.btn-warning.btn-outline {
  background: transparent;
  color: #f0ad4e;
  border: 2px solid #f0ad4e;
}
.btn-warning.btn-outline:hover, .btn-warning.btn-outline:focus, .btn-warning.btn-outline:active {
  background: #f0ad4e;
  color: #fff;
}

.btn-danger {
  background: #d9534f;
  color: #fff;
  border: 2px solid #d9534f;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background: #d43f3a !important;
  border-color: #d43f3a !important;
}
.btn-danger.btn-outline {
  background: transparent;
  color: #d9534f;
  border: 2px solid #d9534f;
}
.btn-danger.btn-outline:hover, .btn-danger.btn-outline:focus, .btn-danger.btn-outline:active {
  background: #d9534f;
  color: #fff;
}

.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn-outline:hover, .btn-outline:focus, .btn-outline:active {
  box-shadow: none;
}

.btn.with-arrow {
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn.with-arrow i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -8px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.btn.with-arrow:hover {
  padding-right: 50px;
}
.btn.with-arrow:hover i {
  color: #fff;
  right: 18px;
  visibility: visible;
  opacity: 1;
}

.form-control {
  box-shadow: none;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  height: 54px;
  font-size: 18px;
  font-weight: 300;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
}
.form-control:active, .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #52d3aa;
}

.cursive-font {
  font-family: "Bungee Shade", cursive;
}

.row-pb-md {
  padding-bottom: 3em;
}

.js .animate-box {
  opacity: 0;
}


/*  
	custom CSS added by Bisrat   
*/

.div-no-wrap
{
	white-space: nowrap;
}

pre
{
	font-family: "Varela Round", Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	background-attachment: fixed;
	background-repeat: none;
	background-color: #FFFEFF;
}

.btn-biography {
	background: #52d3aa;
	color: #fff;
	border: 1px solid #52d3aa;
	background-color: #FFFFFF;
	focus: 50;
}

.bookSectionDiv
{
	font-family: "Varela Round", Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	display: block;
	border: 1px solid #D5D8DC; 
	text-align: left;
	border-radius: 10px;
	background-attachment: none;
	background-repeat: no-repeat;
	background-color: white; 
	background-size:contain;
	border-bottom-color: green;
	border-bottom-width: thick;
	width: 100%;
	box-shadow: 1px 1px 30px 0px black;
	overflow:hidden;
}

a
{
	text-decoration: none;
}
.divMenu
{
	display: inline-block;
	white-space: nowrap;
	position: fixed;
	margin-left: 320px;
	margin-top: 25px;
	z-index: 100;
	transition: 0.5s;
	box-shadow: 8px 8px 10px 0px black;	
}

.book-tile
{
	display: table;
	margin-top: 60px; 
	width: 966px; 
	height: 1256px; 
	border: 0;
}

.book-tile-row
{
	display: table-row;
}

.book-tile-cell
{
	display: table-cell;
	padding: 6px;
	border: 0px;
}

/* All book cover images: uniform 210×300px regardless of natural image size */
.book-tile-cell img {
  width: 210px !important;
  height: 300px !important;
  object-fit: cover !important;
  display: block !important;
}


th, td
{
	padding: 10px;
	border: 0px;
}

.book-description
{
	font-family: "Varela Round", Arial, sans-serif; 
	font-size: 15px; 
	margin-top: 1em;
	margin-left: 3em;	
	width: 100%; 
	text-align: justify;
	padding: 10px;
}

/*scroll button display property */
#goToTop
{
  height: 50px;
  position:fixed; 
  right: 5%; 
  bottom: 10%; 
  padding: 5px; 
  margin: 5px; 
  z-index: 1000; 
  float: right; 
  display: none;
}

/*
#content-desktop {display: block;}
#content-mobile {display: none;}

@media screen and (max-width: 768px) {

#content-desktop {display: none;}
#content-mobile {display: block;}

}
*/

/* Image overlay CSS */
/*
.bookContainer {
  position: relative;
  width: 50%;
}

.bookImage {
  display: block;
  width: 100%;
  height: auto;
}

.bookOverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.bookContainer:hover .bookOverlay {
  opacity: 1;
}

.bookText 
{
  color: white;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(100%, 200%);
  text-align: center;
}
*/

/* ============================================================
   SEARCH — floating button + modal
   ============================================================ */

/* Search button — JS positions it after the nav on desktop, CSS handles mobile */
#search-btn {
  position: fixed;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #52d3aa;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(82, 211, 170, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  padding: 0;
}
#search-btn:hover {
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(82, 211, 170, 0.35), 4px 4px 14px rgba(0, 0, 0, 0.3);
}
#search-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ff7300;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Modal overlay */
#search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.62);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal card */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 28px 28px 20px;
  width: 100%;
  max-width: 540px;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
/* Header row: title + input inline, × at far right */
.search-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.search-title-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.25s;
}
.search-title-input.search-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.search-title {
  font-size: 1em;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}
#search-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
#search-close:hover { color: #333; }
.search-input-wrapper {
  position: relative;
  flex: 1;
}
#search-input {
  width: 100%;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9em;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
#search-input:focus { border-color: #52d3aa; }
.search-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
  padding: 0;
  line-height: 1;
}
.search-clear-btn:hover { color: #555; }
#search-results { margin-top: 4px; max-height: 50vh; overflow-y: auto; }
#adv-result { max-height: 40vh; overflow-y: auto; }
.search-no-results {
  text-align: center;
  color: #999;
  margin: 20px 0;
}
.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item img {
  width: 46px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
}
.search-result-title {
  font-weight: 700;
  color: #222;
  font-size: 0.92em;
  margin-bottom: 4px;
  line-height: 1.3;
}
.search-result-desc {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.4;
}
.search-result-link {
  font-size: 0.82em;
  color: #52d3aa;
  font-weight: 600;
  text-decoration: none;
}
.search-result-link:hover {
  text-decoration: underline;
  color: #3ab898;
}

/* --- Ask the Books button row --- */
.adv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
#adv-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #52d3aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88em;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
#adv-toggle-btn:hover { background: #3ab898; }
.adv-tagline {
  font-size: 0.74em;
  color: #999;
  font-style: italic;
  margin: 0;
  line-height: 1.3;
}

/* AI section */
#adv-search-section {
  display: none;
  margin-top: 10px;
  padding: 12px;
  background: #f8fffe;
  border: 1px solid #d0f0e8;
  border-radius: 8px;
}
.adv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85em;
  font-weight: 700;
  color: #3ab898;
}
#adv-close-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
#adv-close-btn:hover { color: #555; }
.adv-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
#adv-input {
  width: 100%;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9em;
  outline: none;
  box-sizing: border-box;
}
#adv-input:focus { border-color: #52d3aa; }
.adv-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
  padding: 0;
  line-height: 1;
}
.adv-clear-btn:hover { color: #555; }
#adv-submit-btn {
  padding: 8px 14px;
  background: #52d3aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.88em;
  cursor: pointer;
  white-space: nowrap;
}
#adv-submit-btn:disabled { opacity: 0.6; cursor: default; }
.adv-answer {
  background: #f0fdf8;
  border-left: 3px solid #52d3aa;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.88em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 6px;
  white-space: pre-wrap;
}
.adv-sources {
  font-size: 0.76em;
  color: #888;
  margin: 0;
}
.adv-loading { color: #aaa; font-style: italic; text-align: center; font-size: 0.85em; }
.adv-error   { color: #c00; font-size: 0.85em; }

/* ============================================================
   PUBLISHED JOURNAL SECTION
   ============================================================ */
#published-journal {
  background: #f7f7f7;
}
/* Book cover as main icon, Academia logo as corner badge */
.journal-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.journal-main-icon {
  width: 112px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.25);
  display: block;
}
.academia-badge {
  position: absolute;
  bottom: -32px;
  right: -56px;
  width: 160px;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  border: 2px solid #fff;
}

/* ============================================================
   ERROR PAGE
   ============================================================ */
#error-page {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 130px 30px 60px;
}
#error-page img {
  width: 200px;
  max-width: 55%;
  margin-bottom: 25px;
}
#error-page h2 {
  color: #6600cc;
  font-style: italic;
  font-size: 1.5em;
  margin-bottom: 20px;
}
#error-page p {
  color: #555;
  font-size: 1em;
  margin-bottom: 12px;
}
#error-page .error-email {
  color: #cc0000;
  font-weight: bold;
}

/* ============================================================
   CONTACT FORM
   padding-left indents on desktop; mobile overrides to full width.
   Using padding (not margin) keeps everything inside the container.
   ============================================================ */
#contact-form {
  padding-left: 60px;
}
#contact-form .form-control {
  width: 65%;
}
#contact-form textarea.form-control {
  height: 108px;
}

/* ============================================================
   HEADER — always fixed, never squishes at any window width.
   Mirrors the original site behaviour: desktop layout holds at
   all sizes; below 960px a horizontal scrollbar appears instead
   of breaking the layout. No media query — applies unconditionally.
   ============================================================ */

/* Enforce 960px minimum on desktop only — lets mobile use natural viewport width */
@media (min-width: 769px) {
  body {
    min-width: 960px;
  }
}

/* Convert the table/table-row divs to flex so each cell is fixed.
   :first-child targets only the table div, NOT the button row below it. */
#fh5co-header .container > div:first-child {
  display: block !important;
}
#fh5co-header .container > div:first-child > div {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

/* Profile picture cell: always 250px, never shrinks or moves */
#fh5co-header .container > div:first-child > div > div:first-child {
  flex: 0 0 250px !important;
  width: 250px !important;
  min-width: 250px !important;
  float: none !important;
}
#fh5co-header img[alt="Tafesse Muluneh profile picture"] {
  width: 250px !important;
  max-width: 250px !important;
  min-width: 250px !important;
}

/* Intro text cell: always 330px, never overlaps image */
#fh5co-header .container > div:first-child > div > div:nth-child(2) {
  flex: 0 0 330px !important;
  width: 330px !important;
  min-width: 330px !important;
  float: none !important;
  padding: 0 20px !important;
}

/* Book covers cell: fills remaining space to the right */
#fh5co-header .container > div:first-child > div > div:nth-child(3) {
  flex: 1 1 auto !important;
  float: none !important;
}

/* ===  Buy / Download buttons: always side by side, immune to Bootstrap grid  === */
/* Cancel the inline margin-top: -140px that caused buttons to jump over text */
#fh5co-header .container > div:last-child {
  margin-top: 10px !important;
}
/* Override Bootstrap col-md-6 so it doesn't react to viewport width */
#fh5co-header .container > div:last-child .col-md-6,
#fh5co-header .container > div:last-child .col-sm-6 {
  width: auto !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Make the two-button inner wrapper a flexbox row instead of using floats */
#fh5co-header .container > div:last-child .intro > div {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  width: auto !important;
}
/* Each button div: auto width, no float */
#fh5co-header .container > div:last-child .intro > div > div {
  flex: 0 0 auto !important;
  width: auto !important;
  float: none !important;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   Non-header elements (nav, book sections, downloads, contact).
   Breakpoint: 768px (matches Bootstrap's "tablet and below").
   ============================================================ */
@media screen and (max-width: 768px) {

  /* --- Navigation: reposition to top-left on small screens --- */
  .divMenu {
    margin-left: 5px;
    margin-top: 5px;
  }

  /* --- Book section columns: stack vertically --- */
  .fh5co-feature .col-md-6 {
    width: 100% !important;
    float: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* Biography page: cancel inline margins and center images */
  .fh5co-feature .fh5co-copy {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 10px 15px !important;
  }
  .fh5co-feature .fh5co-img {
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1em !important;
    padding: 5px !important;
    text-align: center !important;
    float: none !important;
  }
  .fh5co-feature .fh5co-img figure,
  .fh5co-feature .fh5co-img .fh5co-figure {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .fh5co-feature .fh5co-img img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .bookSectionDiv h2,
  .bookSectionDiv h3,
  .bookSectionDiv a.btn,
  .bookSectionDiv .book-description {
    margin-left: 0 !important;
  }
  /* Compact top spacing on mobile — desktop keeps its original inline values */
  .bookSectionDiv .fh5co-copy-inner h2 {
    margin-top: 2em !important;
  }

  /* --- Downloads grid: 2 columns on mobile --- */
  .book-tile {
    width: 100% !important;
    height: auto !important;
    margin-top: 1em;
  }
  .book-tile-row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .book-tile-cell {
    width: 50% !important;
    display: block !important;
  }
  .book-tile-cell img {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* --- Contact page: compress vertical space on mobile --- */
  /* Cancel the negative margin-top that pulls the container above the nav */
  .container[style*="margin-top: -8em"] {
    margin-top: 4em !important;
  }
  /* Heading: small top margin is enough since container now clears the nav */
  .fh5co-heading h1 {
    margin-top: 1.5em !important;
    font-size: 1.6em !important;
  }
  .fh5co-heading h4,
  .fh5co-heading > div {
    font-size: 0.9em !important;
    margin-bottom: 5px !important;
  }
  #main > .container {
    margin-bottom: 3em !important;
  }
  /* Tighten form field spacing */
  #contact-form .form-group {
    margin-bottom: 6px !important;
  }
  #contact-form .form-control {
    width: 100% !important;
    padding: 6px 8px !important;
  }
  #contact-form textarea.form-control {
    height: 72px !important;
    min-height: unset !important;
  }

  /* --- General: prevent horizontal overflow --- */
  body {
    overflow-x: hidden;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Search button: break out of nav flow on mobile, sit below nav buttons */
  #search-btn {
    position: fixed;
    top: 62px;
    right: 12px;
    margin-left: 0;
    display: flex;
  }

  /* Search modal: tighter padding so card is wider */
  #search-modal {
    padding: 30px 12px 12px;
  }

  /* Search card: tighter padding on mobile */
  .search-card {
    padding: 18px 16px 16px !important;
  }

  /* Quick Search: stack label above input on mobile */
  .search-title-input {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }
  .search-input-wrapper {
    width: 100% !important;
  }

  /* Ask the Books button: stack label above subtext on mobile */
  #adv-toggle-btn {
    flex-direction: column !important;
    align-items: flex-start !important;
    white-space: normal !important;
    font-size: 0.78em !important;
    padding: 6px 10px !important;
  }
  .adv-btn-sub {
    font-size: 0.88em;
    font-weight: normal;
    opacity: 0.85;
  }
  .adv-tagline {
    font-size: 0.72em !important;
  }

  /* --- Error page: reduce top padding and font size on mobile --- */
  #error-page {
    padding: 80px 20px 40px;
  }
  #error-page h2 {
    font-size: 1.15em;
  }

  /* --- Main content container: fill screen width (overrides inline width:70%) --- */
  #main > .container {
    width: 99% !important;
    max-width: none !important;
  }

  /* Reduce oversized top margin on publications heading */
  #main h1[style*="margin: 100px"] {
    margin: 30px auto !important;
  }

  /* --- Reviewer row: 4 columns side by side, no overlap --- */
  .row.row-pb-md {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin-top: 20px !important;
  }
  .row.row-pb-md > .col-md-4 {
    width: 25% !important;
    flex: 0 0 25% !important;
    float: none !important;
    padding: 0 4px !important;
  }
  .row.row-pb-md .review figure img {
    width: 62px !important;
    height: 62px !important;
  }
  /* Hide long review text on mobile — icons/names/stars remain visible */
  .row.row-pb-md blockquote {
    display: none !important;
  }

  /* --- Header: large profile pic left, book covers overlaid bottom-right corner --- */
  #fh5co-header .container > div:first-child {
    margin-top: 4em !important;
  }
  #fh5co-header .container > div:first-child > div {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    position: relative !important;
  }
  /* Profile picture: dominant left column, 67% of width */
  #fh5co-header .container > div:first-child > div > div:first-child {
    order: 1 !important;
    flex: 0 0 67% !important;
    width: 67% !important;
    min-width: unset !important;
  }
  #fh5co-header img[alt="Tafesse Muluneh profile picture"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
  }
  /* Intro text: full width below, above book covers */
  #fh5co-header .container > div:first-child > div > div:nth-child(2) {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: unset !important;
    padding: 10px 15px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 3 !important;
  }
  /* Book covers: overlaid on right side, shifted slightly left and higher */
  #fh5co-header .container > div:first-child > div > div:nth-child(3) {
    position: absolute !important;
    display: block !important;
    right: 8% !important;
    top: 85px !important;
    width: 49% !important;
    z-index: 2 !important;
    flex: unset !important;
  }
  #fh5co-header .container > div:first-child > div > div:nth-child(3) .row {
    margin: 0 !important;
  }
  #fh5co-header .container > div:first-child > div > div:nth-child(3) [class*="col-"] {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }
  /* Green book (img-1): slightly smaller and nudged right so it doesn't dominate */
  #fh5co-header .fh5co-intro-img .img-1 {
    width: 86% !important;
    max-width: 86% !important;
    margin-left: 10px !important;
  }
  /* Button row: centered below header content */
  #fh5co-header .container > div:last-child {
    margin-top: 20px !important;
    text-align: center !important;
  }
  #fh5co-header .container > div:last-child .intro > div {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

}
/* END of Image overlay CSS */