.home-container {
  margin-top: 120px;
}

/* Navbar */

.navbar-brand {
  font-weight: bold;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end;
}

.navigation-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 10px;
  border: none;
  background-color: #880919;
  color: white;
  font-size: 22px;
}

.nav-container {
  border-top: 1px solid silver;
  border-bottom: 1px solid silver;
  width: 90% !important;
  margin: auto;
  color: white !important;
}

.nav-link,
.navbar-brand {
  color: white !important;
}

.nav-link.active {
  color: #c68c48 !important;
  font-weight: bold;
}

.navbar-toggler-icon {
  color: white;
}

/* Hero Section */

.hero-container-home {
  background-image: url("/images/hero-logo.png");
}

.hero-container-resume {
  background-image: url("/images/resume-logo.png");
}

.hero-container-expertise {
  background-image: url("/images/expertise-logo.png");
}

.hero-container-articles {
  background-image: url("/images/hero-articles.png");
}

.hero-container-contacts {
  background-image: url("/images/contacts-logo.png");
}

.hero-container {
  background-size: auto 100%;
  background-position: 0 0;
  background-repeat: repeat-x;
  animation: scrollBackground 20s linear infinite;

  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/*.hero-container-articles {*/
/*  background-image: url("/images/articles-logo.png");*/
/*  height: 50vh;*/
/*  width: 100%;*/
/*  background-size: cover;*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
/*}*/

/* Mobile responsiveness */
@media (max-width: 800px) {
  .hero-container {
    animation-duration: 30s;
  }

  .icon-image {
    padding-top: 30px !important;
  }

  /*.hero-container-articles {*/
  /*  width: 100%;*/
  /*  background-size: cover;*/
  /*  background-position: center;*/
  /*  background-repeat: repeat-x;*/
  /*  animation: scrollBackground 20s linear infinite;*/
  /*  height: 40vh;*/
  /*}*/
}

@media (max-width: 576px) {
   .hero-container {
    animation-duration: 15s;
  }


  .hero-container-articles {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x;
    animation: scrollBackground 20s linear infinite;
    height: 40vh;
  }
}

/* Scroll animation */
@keyframes scrollBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2000px 0;
  }
}

/* Intro */

.heading-home {
  margin-bottom: 20px;
  font-size: 60px;
}

.subheading-home {
  margin-bottom: 15px;
}

.par-home {
  margin-right: 250px;
  text-align: justify;
}

.resume-btn {
  background: #880919;
}

.articles-btn {
  background-color: #935b1a;
}

.contact-btn {
  background-color: #030834;
}

.home-button {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 10px;
  border: none;
  font-weight: bold;
  color: white;
  font-size: 22px;
  text-decoration: none;
  transition: all 200ms ease;
}

.home-button:hover {
  cursor: pointer;
  background-color: #f8f9fa;
}

.resume-btn:hover {
  color: #880919;
  border: 1px solid #880919;
}

.contact-btn:hover {
  color: #030834;
  border: 1px solid #030834;
}

.articles-btn:hover {
  color: #935b1a;
  border: 1px solid #935b1a;
}

/* Quote */

.quote {
  background: #111320;
  color: white;
  margin-top: 10vh;
  height: 30vh;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  border: 2px solid #935b1a;
}

/* Expertise Section */

.expertise {
  margin-top: 12vh;
}

.expertise .card {
  background: #935b1a;
  color: white;
}

/* Recent Articles Section */

.recent-articles h1 {
  color: black;
}

.recent-articles {
  margin-top: 8% !important;
}

.recent-articles .card {
  border-radius: 5px !important;
  overflow: hidden;
  border: 1px solid silver;
  transition: transform 0.3s ease;
}

.recent-articles .card:hover {
  transform: scale(1.05);
}

.recent-articles .card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.recent-articles h5 {
  color: #111320;
}

.recent-articles h6 {
  color: #935b1a;
}
.recent-articles h5:hover,
.recent-articles a:hover {
  color: #935b1a;
  font-weight: bold;
  text-decoration: underline;
}

.recent-articles a,
.recent-articles a:visited {
  text-decoration: none;
  color: #935b1a;
}

.recent-articles .card-footer {
  border-top: 1px solid silver;
}

/* Resume Page */

.work-experience h1 {
  margin-top: 10% !important;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heading .btn {
  background: #030834;
  color: white;
  font-size: 18px;
}

.heading .btn:hover {
  background: white;
  border: 1px solid #111320;
  color: #111320;
}

.resume h2,
.resume h3 {
  color: #880919;
}

.experience h6 {
  color: #935b1a;
  font-size: 18px;
}

.resume .row {
  max-width: 90%;
  margin: 0 auto;
}

.resume .summary,
.experience,
.education,
.skills,
.membership,
.news-mentions {
  background: white;
  box-shadow: 2px 2px 2px 2px silver;
  padding: 50px;
}

.news-logo {
  background-image: url("/images/news-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
}

@media (max-width: 1000px) {
  .resume .row {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .news-mentions, .resume .resume .container {
    padding: 0px;
  }
}

/* Footer */
.footer-boarder {
  color: black;
  border-width: 100px;
  margin: 40px;
}

.footer-links {
  font-size: 20px;
  color: #030834;
}

.fa-brands:hover {
  color: #935b1a;
}

/* Articles Page */

.card-body-fixed-height {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.card-body-fixed-height .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-articles {
  margin-top: 60px !important;
}

.row-articles {
  margin-bottom: 10px;
}

.search-article {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.articles-input {
  border: 1px solid #935b1a;
  border-radius: 6px;
  padding: 10px;
  width: 700px;
  flex-grow: 1;
}

.search-article .btn {
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.search-article .btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #aaa;
  color: #935b1a;
}

.pages-section {
  margin-top: 20px;
  margin-left: 10px;
}

.pages-section button {
  padding: 10px;
  border-radius: 8px;
  border: #030834;
  background-color: #030834;
  color: white;
  margin-right: 10px;
}

.pages-section button:hover {
  background-color: #935b1a;
  border: #935b1a;
}

.page-number {
  margin-top: 10px;
}

/* Blog Page */
.blog-post-container {
  margin-top: 50px;
  max-width: 900px !important;
  background-color: white;
}

.blog-subsection {
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-image {
  height: 300px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
}

.fa-square-share-nodes {
  font-size: 35px;
  color: #030834;
}

.fa-square-share-nodes:hover {
  color: #935b1a;
}

.share-btn {
  border: none;
}

/* Contact Page */
.contact-section {
  margin-top: 100px;
}

.contact-par {
  margin-bottom: 50px;
}

.contact-input {
  border: 1px solid #935b1a;
  padding: 10px;
}

textarea {
  border: 1px solid #935b1a;
}

.main-col {
  margin-bottom: 50px;
}

.col-contact {
  margin-top: 30px !important;
}

.contact-submit {
  margin-top: 30px;
  padding: 10px;
  border: #935b1a;
  background-color: #935b1a;
  color: white;
}

.contact-submit:hover {
  border: #030834;
  background-color: #030834;
}


/* Style for Scroll to Top button */
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #935b1a;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #f3a44b;
}


/*Justify Text*/
@media (min-width: 992px) 
  .justify-lg {
    text-align: justify !important;
    hyphens: auto !important;
  }
}
