:root {
    --secondary-color:#6C79E9;
}

.secondary-color {
    color: var(--secondary-color);
}

a {
    color: var(--secondary-color);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.theme-dark {
    /*background: linear-gradient(135deg, #1e0030, #000000);*/
    background:black;
    color: var(--bs-light);
}
body.theme-light {
    /*background: linear-gradient(135deg, #f0f0f0, #ffffff);*/
    background:white;
    color: var(--bs-dark);
}
.challenge-output {
    font-size: 3.5rem;
    min-height: 150px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    max-width: 70%;
    line-height:4.5rem;
    display:block;
    word-wrap: break-word;
}
.share-btn {
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 200px;
    margin: 2rem auto;
    background:none !important;
    border:0;
    color: #3A3A3A;
    font-weight:600;
    opacity:0.5;
}
.loading {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
.loading-spinner {
    width: 3rem;
    height: 3rem;
}

.input-group-text, .form-control, .form-select, .btn {
    height: 3rem;
    border: none;
    background-color:#262626;
    border-radius:2px;
}

form-select {
      background: url("data:image/svg+xml;utf8,<svg fill='red' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0.5em center;

}


#generateBtn {
    background-color:var(--secondary-color);
    color:black;/* Your custom styles here */
}

.navbar {
    /*background-color: rgba(0, 0, 0, 0.1);*/
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}
.challenge-section {
    /*background: radial-gradient(circle, rgb(164 164 164 / 60%) 0%, rgb(0 0 0 / 10%) 100%);*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.benefits-section {
    padding: 3rem 0;
    margin-top:5rem;
}
.benefit-box {
    height: 100%;
    padding: 1.5rem;
    /*background-color: rgba(255, 255, 255, 0.05);*/
    border-radius: 0.5rem;
}
.benefit-box p{
    color:#8A8A8A;
    font-size:1.2rem;
    font-weight:300;
}

.infinite-dots{
    margin-top:4rem;
}

.text-infinite, .text-section{
    color:#373737;
    font-size:2.5rem;
    font-weight:thin;
    display:block;
    margin-bottom:50px;
    text-align:center;
}

.mb-6 {
    margin-bottom:12rem;
}
.mb-7 {
    margin-bottom:14rem;
}
.mt-6 {
    margin-top:12rem;
}
.mt-7 {
    margin-top:14rem;
}

.text-infinite span, .text-section span{
    
      display: inline-block; /* Makes the span respect height and width */
      width: 100px; /* Adjust width as needed */
      height: 7px;
      background-color: var(--secondary-color); /* Change color as needed */
      vertical-align: middle; /* Aligns with text if needed */
      margin-left: 5px; /* Adjust margin as needed */
      border-radius: 3.5px;  
    
}

h3 {
  position: relative;  /* Add this to make the absolute positioning relative to h3 */
  display: inline-block;  /* Add this if you want the line only as wide as the text */
}

.text-underline-wrapper {
    display: inline;
    position: relative;
}

.text-underline {
    display: inline;
    position: relative;
    background: linear-gradient(180deg, transparent 92%, var(--secondary-color) 0);
    /* Or use this alternative background approach
    background: 
        linear-gradient(
            var(--secondary-color), 
            var(--secondary-color)
        ) 0 100% / 100% 3px no-repeat; */
    padding-bottom: 2px;
}


.text-underline::after {
    content: '';
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: -3px;
    height: 3px;
    /*background-color: var(--secondary-color);*/
    border-radius: 1.5px;
}


.rotate1::after {
  transform: rotate(1deg);
}
.rotate2::after {
  transform: rotate(2deg);
}

.rotate-1::after {
  transform: rotate(-1deg);
}

.rotate-2::after {
  transform: rotate(-2deg);
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    height: 92vh;
    display: flex;
    flex-direction: column;
}
.challenge-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.control-panel {
    margin-top: auto;
    padding: 2rem 0;
}
footer {
    /*background-color: rgba(0, 0, 0, 0.2);*/
    padding: 1rem 0;
    margin-top: auto;
}
.width-50{
    width:50%;
    margin:0 auto;
}

.width-35 {
    width: 100%;
    max-width: 35rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}


.footer {
    width: 100%;
    padding: 20px 0;
    margin-bottom:50px;
}

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

.logo-row {
    margin-bottom: 10px;
}

.logo-footer {
    height: 40px;
    filter: invert(1);
}

.footer-2-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: white;
    opacity:0.6;
}

.nav-footer {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-footer a {
    color: white;
    text-decoration: none;
}

#themeToggle {
    background:none !important;
}

  .testimonial-container {
    max-width: 800px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    margin-top:7rem;
  }

  /* Background stroke */
  .background-stroke {
    position: absolute;
    width: 90%;
    height: 100px;
    background-color: #5661BA;
    transform: rotate(-3deg);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    z-index: -100;
    border-radius: 50px;
  }

  .testimonial-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    z-index: 1;
    max-width: 80%;
  }

  .avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background-color: #e5e5e5;
    border-radius: 50%;
    margin-right: 20px;
    display:none;
  }

  .quote-author-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .quote {
    color: white;
    line-height: 1.5;
    font-weight: 300;
    font-size: 1.5rem;
    white-space: normal;
  }

  .author {
    margin-top: 15px;
    color: white;
    font-size: 1.3rem;
    opacity: .5;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .testimonial-bar {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
    }

    .avatar {
      margin: 0 0 20px 0;
    }

    .quote-author-container {
      align-items: center;
    }

    .background-stroke {
      width: 80%;
      height: 100px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-5deg);
    }
  }


@media (max-width: 768px) {
    .challenge-output {
        font-size: 3rem;
        line-height:3.5rem;
    }
    .content-wrapper {
        padding: 1rem;
    }
    .control-panel {
        flex-direction: column;
    }
    .control-panel > div {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.dot-container {
    width: 100%;
    overflow: hidden;  /* This will crop the sides */
    position: relative;
}

#dots-svg {
    width: 100%;
    min-width: 1200px;  /* Or whatever minimum width you want to maintain */
    height: auto;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);  /* Centers the SVG */
}

/* Add responsive text size */
h2.text-center {
    font-size: 2.5rem;  /* Default size for mobile */
    line-height: 1.2;
    margin-bottom: 2rem !important;  /* Override Bootstrap if needed */
    text-align:left !important;
}

/* Larger screens */
@media (min-width: 768px) {
    h2.text-center {
        font-size: 3rem;
        text-align:center !important;
    }
}

