.bg-white {
  background: #fff; }

.black {
  color: #000; }

.bg-black {
  background: #000 !important; }

.bg-gray {
  background: #999 !important; }

.bg-orange {
  background: #000; }

.blue {
  color: #4787e7; }

.light-blue {
  color: #77bbff; }

.clear {
  clear: both; }

.clear-10 {
  clear: both;
  padding-top: 10px; }

.bold {
  font-weight: bold; }

.right-desktop, .float-right {
  float: right !important; }

.left-desktop {
  float: right !important; }

.float-left {
  float: left; }

.underline {
  text-decoration: underline; }

input, button {
  outline: none; }

body {
  font-family: Lato, Arial, sans-serif;
  color: #666;
  letter-spacing: .1px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  xbackground: url(../images/bg.jpg) top repeat-x;
  background: linear-gradient(to bottom, #ddd 0%, #999 100%);
  background-attachment: fixed;
  min-height: 100vh; }

.container {
  width: 1280px;
  margin: 0 auto; }

.container > .row-centered {
  xpadding-top: 20px;
  xpadding-bottom: 20px; }

.other-projects {
  background-image: url(../images/bg_diagonal_opacity10.png) !important;
}

.other-projects h4 {
  padding-top: 40px;
  padding: 40px 20px 20px 20px;
}

nav {
  position: fixed;
  top: 0;
  left: 50%;
  margin-left: -50%;
  width: 100%;
  z-index: 10; }
  nav .container.content {
    z-index: 2;
    position: relative;
    padding-top: 30px; }
  nav .container.background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #ddd;
    opacity: .8;
    z-index: 1; }
  nav ul {
    padding: 0;
    margin: 0; }
  nav li {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block; }
    nav li a {
      padding: 0;
      margin: 0;
      font-size: .9em;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: #666;
      line-height: 30px;
      font-weight: normal; }
    nav li .fa {
      padding-right: 5px; }
  nav .float-left img {
    width: 100%;
    position: relative;
    top: -10px;
    outline: none; }
  nav .main-logo img:hover {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg); }

nav.responsive {
  height: 60px;
  padding-top: 0px; }
  nav.responsive .container.background {
    height: 60px; }
  nav.responsive .container.content {
    padding-top: 10px;
    font-size: 85%; }
  nav.responsive .main-logo img {
    width: 70%;
    height: auto;
    top: 0; }

header {
  text-align: center;
  padding: 160px 0 40px 0; }
  header img {
    margin-bottom: 30px; }
  header #mo {
    font-size: 16pt;
    letter-spacing: .5em;
    color: #000;
    display: block;
    text-transform: uppercase;
    margin-bottom: 10px; }
  header #site-title {
    font-size: 1.4em;
    color: #4787e7;
    display: block;
    letter-spacing: .1em;
    font-weight: 300; }
  header .linkedin {
    font-size: 1.2em;
    letter-spacing: .2px;
    padding: 10px 0; }
    header .linkedin a {
      color: #000; }
  header .fa {
    padding-right: 3px;
    padding-left: 2px; }
  header h1 {
    margin-top: 40px
  }

.action {
  text-align: center;
  font-size: 2em;
  font-weight: 300;
  color: #fff;
  margin: 0 -15px;
  padding: 40px 20px;
  padding-bottom: 60px; }
  .action .cta .fa {
    padding-right: 5px; }
  .action a {
    color: #77bbff; }
  .action h4 {
    width: 80%;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.4em;
    letter-spacing: 2px;
    padding-bottom: 20px; }

.project .description {
  padding: 20px;
  padding-top: 30px;
  background-color: #eee;
  height: 420px;
  min-width: 400px; }
  .project .description .icon img {
    xwidth: 60px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px; }
  .project .description h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000; }
  .project .description h3 {
    font-weight: normal;
    font-size: 1em;
    margin: 0;
    margin-bottom: 20px;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase; }
  .project .description .project-copy {
    padding-bottom: 30px;
    font-size: 1.1em;
    width: 67%;
    margin: 0 auto;
    line-height: 1.6em;
    font-family: serif;
    font-style: italic; }
  .project .description .btn {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .7em; }
.project .image {
  background: #ccc;
  height: 420px;
  position: relative;
  overflow: hidden;
  background-image: url(../images/bg_diagonal.png); }
  .project .image img {
    vertical-align: bottom;
    max-width: 95%;
    position: relative;
    bottom: -5px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-attachment: fixed;
}
.project .image:hover img {
  bottom: 0px; }
.project .col-md-6 {
  text-align: center; }

footer {
  padding-top: 40px;
  padding-bottom: 80px; }
  footer h5 {
    text-transform: uppercase;
    letter-spacing: .2px;
    font-size: 1.1em;
    font-weight: 300; }
  footer .footer-description {
    padding: 0 0 20px 0;
    font-style: italic;
    letter-spacing: .1px;
    font-face: serif; }
  footer a {
    color: #fff; }
  footer .col-md-3 {
    xborder-left: 1px solid #fff; }
  footer ul {
    margin: 0;
    padding: 0; }
    footer ul li {
      margin: 0;
      padding: 0;
      list-style: none; }
      footer ul li a {
        padding: 10px 20px 0 0; }
      footer ul li .fa {
        padding-right: 5px; }

.btn-primary {
  background-color: #999;
  border: 0px solid #fff; }

.btn-primary:hover {
  background-color: #ccc; }

@media (max-width: 1200px) {
  .container {
    xwidth: calc( 100% - 40px );
    width: 100%;
    padding: 0 20px; }

  .project .image {
    height: 450px; }
    .project .image img {
      max-width: none; }
  .project .description {
    height: 450px; } }
@media (max-width: 992px) {
  .right-desktop,
  .left-desktop,
  .project-description,
  .project-image {
    float: none !important;
    width: 100%; }

  .project .image img {
    vertical-align: bottom;
    max-width: 100%;
    position: relative;
    bottom: 0px; } }
@media (max-width: 640px) {
  nav {
    height: 60px;
    padding-top: 0px; }
    nav .container.background {
      height: 60px; }
    nav .container.content {
      padding-top: 10px;
      font-size: 85%; }
    nav .main-logo img {
      width: 70%;
      height: auto;
      top: 0; }

  header #site-title {
    font-size: 1em; }

  .right-desktop, .left-desktop {
    float: none !important;
    width: 100%; }

  .project .image {
    height: 200px; }

  .project .description {
    min-width: 100%;
    height: auto;
    padding-bottom: 40px; }
    .project .description .project-copy {
      width: 100%; }

  .blog-link {
    display: none; } }
nav,
.main-logo img,
.container.background,
.container.content,
.nav-links {
  -moz-transition: all .5s linear;
  -webkit-transition: all .5s linear;
  transition: all .5s linear; }

.project .image img {
  -moz-transition: all .2s linear;
  -webkit-transition: all .2s linear;
  transition: all .2s linear; }


.modal-content {
  padding: 40px !important;
  border-radius: 0px !important;
}

.modal-content h2 {
  color: #4787e7;
  margin-top: 0px;
  margin-bottom: 40px !important;
  letter-spacing: .1em;
}

.modal-content label {
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 1em;
  color: #888;
}

.newsletter-card {
  margin-bottom: 60px !important;
  max-width: 50% !important;
  min-width: 300px !important;
  text-align: center;
  opacity: 0;
  transform: translateY(-20px);
  transition: none;
  visibility: hidden;
}

.newsletter-card.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.newsletter-card h2 {
  margin-bottom: 20px;
}

.newsletter-card h3 {
  letter-spacing: .1em;
  color: #888 !important;
}

#newsletter-button {
  margin-bottom: 80px !important;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

#newsletter-button.hidden {
  opacity: 0;
  visibility: hidden;
}

#newsletter-button button {
  background-color: #ff8400 !important;
}

.site-footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 40px;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer h5 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tv-icon {
  background-image: url(../images/ico_tradingview_999.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  padding: 10px;
  margin-right: 10px;
}

a:hover .tv-icon {
  background-image: url(../images/ico_tradingview_white.png);
}

.site-footer ul li a:hover, .site-footer a:hover {
    color: #fff;
}

.site-footer .footer-description {
    color: #999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.site-footer .copyright {
    color: #666;
    margin-top: 40px;
    font-size: 12px;
    letter-spacing: 1px;
}

.site-footer .fa {
    margin-right: 5px;
    width: 16px;
}

@media (max-width: 768px) {
    .site-footer .col-md-3 {
        margin-bottom: 30px;
    }
}

@media (max-width: 1200px) {
    .site-footer .container {
        width: 100%;
        max-width: 1200px;
    }
}

/* YouTube Video Section Styles */
.youtube-section {
    background-color: #f5f5f5;
    /*padding: 0;*/
    margin: 0 -15px;
    margin-bottom: 0;
    padding: 40px 20px;
    background-image: url(../images/bg_diagonal_opacity10.png) !important;
}

.youtube-section-header {
    text-align: center;
    padding: 40px 20px 60px 20px;
    /*background-color: #333;*/
    color: white;
}

.youtube-section-header h2 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.youtube-section-header h4 {
    width: 80%;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.4em;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

.youtube-section-header p {
    margin: 10px 0 0 0;
    font-size: 1.1em;
    color: #ccc;
}

.youtube-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

.youtube-card {
    background-color: #eee;
    border: 20px solid #eee;
    color: #333;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.youtube-card.alternate {
    /* background-color: #333;
    border-color: #333;
    color: #fff; */
}

.youtube-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail-container:hover .video-overlay {
    opacity: 1;
}

.video-thumbnail-container:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.play-btn .fa {
    font-size: 24px;
    color: #333;
    margin-left: 3px;
}

.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.youtube-card.alternate .video-date {
    /* color: #ccc; */
}

.video-actions {
    margin-top: auto;
}

.watch-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

.watch-btn:hover {
    background: #cc0000;
}

.youtube-card.alternate .watch-btn {
    /* background: #4787e7; */
}

.youtube-card.alternate .watch-btn:hover {
    /* background: #3366cc; */
}

.watch-btn .fa {
    margin-right: 8px;
}

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

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
}

.video-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.loading, .error {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #666;
    grid-column: 1 / -1;
}

.error {
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .youtube-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .youtube-section-header h2 {
        font-size: 1.8em;
    }
    
    .video-modal-content {
        width: 90%;
        margin: 10% auto;
    }
    
    .video-iframe {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .youtube-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .youtube-card {
        border: 15px solid #fff;
    }

    .youtube-card.alternate {
        background-color: #333;
        border-color: #333;
        color: #fff;
    }
    
    .youtube-card.alternate {
        border-color: #333;
    }
    
    .youtube-card.alternate .watch-btn {
      background: #4787e7;
    }
    
    .youtube-card.alternate .watch-btn:hover {
        background: #3366cc;
    }

    .youtube-section-header {
        padding: 30px 15px 20px 15px;
    }
    
    .youtube-section-header h2 {
        font-size: 1.5em;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .play-btn .fa {
        font-size: 18px;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 15% auto;
    }
    
    .video-iframe {
        height: 250px;
    }
}

/* Simple Testimonials Styles */
.testimonials-simple {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 120px; /* Minimum height, can expand for longer testimonials */
    display: flex;
    align-items: center;
}

.testimonial-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
    font-size: 1em;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.testimonial-item.active {
    opacity: 1;
}

.testimonial-author {
    margin: 0 0 8px 0;
    padding: 0;
}

.testimonial-author strong {
    color: #77bbff;
    font-weight: 600;
}

.testimonial-text {
    margin: 0;
    padding: 0;
}

/* Testimonial cycling animation */
.testimonials-simple.animate .testimonial-item:nth-child(1) { animation: testimonialCycle 66s infinite 0s; }
.testimonials-simple.animate .testimonial-item:nth-child(2) { animation: testimonialCycle 66s infinite 6s; }
.testimonials-simple.animate .testimonial-item:nth-child(3) { animation: testimonialCycle 66s infinite 12s; }
.testimonials-simple.animate .testimonial-item:nth-child(4) { animation: testimonialCycle 66s infinite 18s; }
.testimonials-simple.animate .testimonial-item:nth-child(5) { animation: testimonialCycle 66s infinite 24s; }
.testimonials-simple.animate .testimonial-item:nth-child(6) { animation: testimonialCycle 66s infinite 30s; }
.testimonials-simple.animate .testimonial-item:nth-child(7) { animation: testimonialCycle 66s infinite 36s; }
.testimonials-simple.animate .testimonial-item:nth-child(8) { animation: testimonialCycle 66s infinite 42s; }
.testimonials-simple.animate .testimonial-item:nth-child(9) { animation: testimonialCycle 66s infinite 48s; }
.testimonials-simple.animate .testimonial-item:nth-child(10) { animation: testimonialCycle 66s infinite 54s; }
.testimonials-simple.animate .testimonial-item:nth-child(11) { animation: testimonialCycle 66s infinite 60s; }

@keyframes testimonialCycle {
    0%, 8.33% { opacity: 1; }
    9.09%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .testimonials-simple {
        padding: 0 15px;
        min-height: 350px; /* Increased minimum height for mobile, can expand further */
        padding: 20px 15px; /* Add vertical padding for better spacing */
    }
    
    .testimonial-item {
        font-size: 0.95em;
        padding: 20px 15px;
        line-height: 1.6; /* Better line spacing for readability */
    }
}

/*# sourceMappingURL=main.css.map */

/* Beehiiv Newsletter Section Styles */
.beehiiv-section {
    background-color: #f5f5f5;
    margin: 0 -15px;
    margin-bottom: 0;
    padding: 40px 20px;
    background-image: url(../images/bg_diagonal_opacity10.png) !important;
}

.beehiiv-section-header {
    text-align: center;
    padding: 40px 20px 60px 20px;
    color: white;
}

.beehiiv-section-header h2 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beehiiv-section-header h4 {
    width: 80%;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.4em;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

.beehiiv-section-header p {
    margin: 10px 0 0 0;
    font-size: 1.1em;
    color: #ccc;
}

.beehiiv-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

.beehiiv-card {
    background-color: #eee;
    border: 20px solid #eee;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.beehiiv-card.alternate {
    /* background-color: #333;
    border-color: #333;
    color: #fff; */
}

.beehiiv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.beehiiv-card.alternate:hover {
    /* box-shadow: 0 8px 25px rgba(71, 135, 231, 0.3); */
}

.article-thumbnail-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.article-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-thumbnail-container:hover .article-overlay {
    opacity: 1;
}

.article-thumbnail-container:hover .article-thumbnail {
    transform: scale(1.05);
}

.article-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.article-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.article-btn .fa {
    font-size: 20px;
    color: #333;
}

.subscribe-btn .fa {
    color: #4787e7;
}

.read-btn .fa {
    color: #ff8400;
}

.subscribe-btn:hover .fa {
    color: #3366cc;
}

.read-btn:hover .fa {
    color: #e67300;
}

.article-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.beehiiv-card.alternate .article-date {
    /* color: #ccc; */
}

.article-title {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.95em;
    line-height: 1.5;
    color: #666;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.beehiiv-card.alternate .article-excerpt {
    /* color: #ccc; */
}

.article-actions {
    margin-top: auto;
}

.read-article-btn {
    background: #4787e7;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.read-article-btn:hover {
    background: #3366cc;
    color: white;
    text-decoration: none;
}

.beehiiv-card.alternate .read-article-btn {
    /* background: #ff8400; */
}

.beehiiv-card.alternate .read-article-btn:hover {
    /* background: #e67300; */
}

.read-article-btn .fa {
    margin-right: 8px;
}

/* Indicators Carousel Styles */
.indicators-carousel {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
}

.indicators-carousel h4 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.indicator-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 15px;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
    color: #77bbff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    pointer-events: none; /* Disable clicks on hidden indicators */
}

.indicator-item:hover {
    color: #77bbff;
    text-decoration: none;
}

.indicator-item:visited {
    /*color: #4787e7;*/
}

.indicator-item.active {
    opacity: 1;
    pointer-events: auto; /* Enable clicks on visible indicator */
}

/* Indicator cycling animation - 9 indicators, 4 seconds each = 36 seconds total */
.indicators-carousel.animate .indicator-item:nth-child(2) { animation: indicatorCycle 36s infinite 0s; }
.indicators-carousel.animate .indicator-item:nth-child(3) { animation: indicatorCycle 36s infinite 4s; }
.indicators-carousel.animate .indicator-item:nth-child(4) { animation: indicatorCycle 36s infinite 8s; }
.indicators-carousel.animate .indicator-item:nth-child(5) { animation: indicatorCycle 36s infinite 12s; }
.indicators-carousel.animate .indicator-item:nth-child(6) { animation: indicatorCycle 36s infinite 16s; }
.indicators-carousel.animate .indicator-item:nth-child(7) { animation: indicatorCycle 36s infinite 20s; }
.indicators-carousel.animate .indicator-item:nth-child(8) { animation: indicatorCycle 36s infinite 24s; }
.indicators-carousel.animate .indicator-item:nth-child(9) { animation: indicatorCycle 36s infinite 28s; }
.indicators-carousel.animate .indicator-item:nth-child(10) { animation: indicatorCycle 36s infinite 32s; }

@keyframes indicatorCycle {
    0%, 10% { 
        opacity: 1; 
        pointer-events: auto; /* Enable clicks when visible */
    }
    11.11%, 100% { 
        opacity: 0; 
        pointer-events: none; /* Disable clicks when hidden */
    }
}

/* Responsive Design for Beehiiv and Indicators */
@media (max-width: 992px) {
    .beehiiv-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beehiiv-section-header h2 {
        font-size: 1.8em;
    }
    
    .indicators-carousel h4 {
        font-size: 1.5em;
    }
    
    .indicator-item {
        font-size: 1.1em;
    }
}

@media (max-width: 640px) {
    .beehiiv-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .beehiiv-card {
        border: 15px solid #fff;
    }

    .beehiiv-card.alternate {
      background-color: #333;
      border-color: #333;
      color: #fff;
    }

    .beehiiv-card.alternate {
        border-color: #333;
    }

    .beehiiv-card.alternate .article-excerpt {
      color: #ccc;
    }

    .beehiiv-card.alternate:hover {
        box-shadow: 0 8px 25px rgba(71, 135, 231, 0.3);
    }
    
    .beehiiv-section-header {
        padding: 30px 15px 20px 15px;
    }
    
    .beehiiv-section-header h2 {
        font-size: 1.5em;
    }
    
    .indicators-carousel {
        padding: 0 15px;
        height: 100px;
    }
    
    .indicators-carousel h4 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .indicator-item {
        font-size: 1em;
        padding: 10px;
    }
    
    .article-btn {
        width: 55px;
        height: 55px;
    }
    
    .article-btn .fa {
        font-size: 16px;
    }
    
    .article-buttons {
        gap: 10px;
    }
}

/* Navigation Improvements */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0 10px 10px 10px;
    float: right;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Desktop Navigation Styling */
.nav-links ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: #4787e7;
}

.nav-scroll-link {
    border: 1px solid transparent;
}

.nav-scroll-link:hover {
    border-color: #4787e7 !important;
    background-color: rgba(71, 135, 231, 0.1) !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        position: relative;
        z-index: 1003;
        padding-top: 10px
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
        height: 100%;
    }
    
    .nav-links li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        color: #333;
        font-size: 16px;
        border-radius: 0;
    }
    
    .nav-links a:hover {
        background-color: #f8f9fa;
        color: #4787e7;
    }
    
    /* Hide other navigation elements on mobile if needed */
    .float-right {
        float: none !important;
    }
}

/* Mobile overlay when menu is open */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9;
}

.nav-overlay.active {
    display: block;
}
