/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif; /* Futuristic gaming font */
}

/* Body - Dark Theme */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #111;
    color: #ff8c00;
    padding: 20px;
    font-family: 'Orbitron', sans-serif;
}

.main-content {
    min-height: 120vh;  /* Adjust as desired (100vh, 120vh, 200vh, etc.) */
    padding-top: 6rem;  /* so content sits below the 5rem fixed header */
    padding-bottom: 5rem; /* extra space above the footer */
    width: 100%;
    
  }

/* Smooth background gradient */

.intro {
    text-align: center;
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 100px auto 30px; /* Adjust spacing */
    position: relative;
}

/* Input Styling */
input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ff8c00;
    border-radius: 5px;
    background: #222;
    color: #ff8c00;
    outline: none;
    transition: 0.3s;
    text-align: left; /* Ensures text inside is centered */
}

input:focus {
    box-shadow: 0 0 10px #ff8c00;
}


/* Clear Button */
.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
    color: #ff8c00;
    display: none;
}

.clear-button:hover {
    color: #ffae42;
}

/* Suggestions Box */
.suggestions {
    position: absolute;
    top: calc(100% + 5px); /* 5px gap below the input */
    left: 0;
    width: 100%;
    background: #222;
    border: 2px solid #ff8c00;
    max-height: 250px;
    overflow-y: auto;
    display: none; /* toggled by JS */
    border-radius: 5px;
    box-shadow: 0px 0px 8px #ff8c00;
    z-index: 9999; /* ensure it stays on top */
}


/* Scrollbar Styling */
.suggestions::-webkit-scrollbar {
    width: 6px;
}

.suggestions::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 5px;
}

/* Question Item */
.question-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #ff8c00;
    transition: background 0.3s ease;
}

.question-item:hover {
    background: #333;
}

/* Question Header */
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Question Text */
.question-text {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
}

/* Chevron Icon */
.chevron {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.question-item.open .chevron {
    transform: rotate(180deg);
}

/* Answer Box */
.answer {
    display: none;
    padding: 10px;
    background: #333;
    border-top: 2px solid #ff8c00;
    margin-top: 5px;
}

/* Highlight Effect */
.highlight {
    background-color: #ff8c00;
    color: #000000;
    border-radius: 3px;
}


/* Mobile Friendly Adjustments */
@media (max-width: 600px) {
    .search-container {
        max-width: 100%;
    }

    input {
        font-size: 14px;
        padding: 10px;
    }

    .clear-button {
        font-size: 18px;
    }

    .question-text {
        font-size: 14px;
    }
}

.footer1 {
    background-color: #111;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;

    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    box-shadow: 0px -2px 10px rgba(255, 255, 255, 0.1);

}

  /* Vertical Footer links */
  .footer1 a {
    color: #ccc;
    display: block;
    margin: 15px 0;
    text-decoration: none;
  }

  .footer1 a:hover {
    color: #fff;
  }

  /* Footer container */
  .footer-container1 {
    max-width: 1500px;
    margin: 0 auto;
  }


footer {
    background-color: #111;
    color: #fff;
    padding: 10px;
    text-align: center;
    clear: both;
    margin-bottom: 0;
    width: 100vw;
}

footer p {
    margin-bottom: 10px;
}

.site-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0A0A0A;
    padding: 1rem 2%;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 5rem;
}
  
  /* Logo pushed to left */
  .site-header h2 {
    margin-right: auto;
  }
  .site-header h2 a {
    text-decoration: none;
  }
  .site-header h2 a img {
    height: 5rem; /* Approx. 40px */
  }
  
  /* Navigation */
  .site-header nav {
    display: flex;
    align-items: center;
  }
  .site-header nav a {
    margin-left: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  .site-header nav a:hover {
    color: #FF6A00;
  }
