/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
  }
  
  ::-webkit-scrollbar-track {
    background: #333; /* Color of the scrollbar track */
  }
  
  ::-webkit-scrollbar-thumb {
    background: #D8BFD8; /* Color of the scrollbar thumb */
    border-radius: 6px; /* Rounded corners on the scrollbar thumb */
    border: 3px solid #333; /* Creates a border between thumb and track */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #DA70D6; /* Color of the scrollbar thumb on hover */
  }
  
  /* Optional: add a box-shadow or glow to the scrollbar thumb */
  ::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); /* Subtle inset shadow to add depth */
  }
  


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Navigation styles */
.navbar {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align the flex items */
    padding: 1rem 2rem;
    background-color: #333; /* Lighter shade of black */
    color: #fff;
    border-bottom: 5px solid #D8BFD8; /* Subtle neon accent */
}

.nav-links {
    z-index: 10; /* Higher z-index to ensure it's on top */
    list-style: none; /* Remove bullet points from list */
    padding: 0; /* Remove default padding */
    margin-top: -40px; /* Move nav-links closer to the logo */

}

.nav-links li {
    display: inline; /* Keep links inline but below the logo */
    margin: 0 20px; /* Spacing between links */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover, .nav-links a:focus {
    color: #D8BFD8; /* Light purple color for the text */
    outline: none; /* Remove focus outline */
}

/* Glowing effect on hover and focus */
.nav-links a:hover::after, .nav-links a:focus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px; /* Optional: adds rounded corners to the glow */
    box-shadow: 0 0 15px #D8BFD8, /* Outer glow */
                 0 0 5px #DA70D6; /* Inner glow */
    opacity: 0.7; /* Glow effect opacity */
    z-index: -1; /* Place the glow effect behind the text */
}


@keyframes rockLogo {
    0%, 100% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(-10deg);
    }
    50% {
      transform: rotate(10deg);
    }
    75% {
      transform: rotate(-10deg);
    }
}
  
.logo img {
    z-index: 1; /* Lower z-index to ensure it doesn't overlap the nav links */
    max-width: 100%;
    height: auto;
    max-height: 150px;
    margin-top: -30px;
    animation: rockLogo 3s ease-in-out forwards;
}

.social-icons {
    background-color: rgba(249, 249, 249, 0.8); /* Off-white background with slight transparency for a frosted glass look */
    border-radius: 50px; /* Pill-shaped rounded corners */
    padding: 10px 30px; /* Slim vertical padding with more horizontal padding */
    display: flex; /* Keeps icons in a row */
    justify-content: center; /* Centers icons horizontally */
    align-items: center; /* Centers icons vertically */
    gap: 15px; /* Space between icons */
    margin: 2rem auto; /* Top and bottom margin with automatic horizontal centering */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: fit-content; /* Ensure the background only takes as much space as needed */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.social-icons:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Slightly deeper shadow on hover for a lifting effect */
    background-color: rgba(249, 249, 249, 0.95); /* Less transparency on hover */
}

.social-icons a {
    display: inline-flex; /* Flex container for centering the icons */
    justify-content: center;
    align-items: center;
}

.social-icons a.coming-soon {
    position: relative;
    z-index: 1; /* Ensure the link is above the pseudo-element */
}

.social-icons a.coming-soon::before {
    content: 'Coming Soon';
    position: absolute;
    bottom: 100%; /* Position it above the icon */
    left: 50%; /* Start from the middle */
    transform: translateX(-50%) translateY(-10px) scale(0); /* Center it and hide it initially */
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.75em;
    white-space: nowrap; /* Prevent the text from wrapping */
    opacity: 0;
    pointer-events: none; /* Prevent the tooltip from being clickable */
    z-index: 2; /* Make sure it's above the link */
    transition: all 0.3s ease;
}

.social-icons a.coming-soon:hover::before,
.social-icons a.coming-soon:focus::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px) scale(1);
}

.social-icons a.coming-soon.active::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.social-icons a.click-here {
    position: relative;
    z-index: 1; /* Ensure the link is above the pseudo-element */
}

.social-icons a.click-here::before {
    content: 'Click Here';
    position: absolute;
    bottom: 100%; /* Position it above the icon */
    left: 50%; /* Start from the middle */
    transform: translateX(-50%) translateY(-10px) scale(0); /* Center it and hide it initially */
    background-color: #333;
    color: #f13d6a;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.75em;
    white-space: nowrap; /* Prevent the text from wrapping */
    opacity: 0;
    pointer-events: none; /* Prevent the tooltip from being clickable */
    z-index: 2; /* Make sure it's above the link */
    transition: all 0.3s ease;
}

.social-icons a.click-here:hover::before,
.social-icons a.click-here:focus::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px) scale(1);
}

.social-icons a.click-here.active::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}


.social-icons img {
    height: auto;
    width: auto; /* Adjust width automatically to maintain aspect ratio */
    max-width: 40px; /* Maximum icon width */
    transition: transform 0.3s ease; /* Smooth icon scale transition */
}

.social-icons a:hover img {
    transform: scale(1.1);
}


/* General FAQ Styles */
.faq-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.faq-section h1 {
    text-align: center;
    color: #DA70D6;
}

.faq-container {
    margin-top: 2rem;
}

.faq {
    margin-bottom: 1rem;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    display: block;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    color: #333;
    background: #ffffff;
    border: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 1000px; /* High value to accommodate content */
}

.faq-answer p {
    padding: 1rem;
}

/* Styles for the "Submit Question" Section */
.submit-question-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 1rem;
    text-align: center;
}

.submit-question-section h2 {
    color: #DA70D6;
    margin-bottom: 1rem;
}

.submit-question-section p {
    margin-bottom: 2rem;
    color: #333;
}

.question-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.question-form input[type="text"],
.question-form input[type="email"] {
    width: 80%;
    padding: 10px;
    border: 2px solid #DA70D6;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.question-form button {
    background-color: #DA70D6;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.question-form button:hover {
    background-color: #BA55D3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    font-size: 0.9em;
    border-top: 5px solid #D8BFD8; /* Subtle neon accent */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h4 {
    color: #D8BFD8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #D8BFD8;
}

.footer-section p {
    margin: 0.5rem 0;
}

.social-icons img {
    width: 30px; /* Adjust the size to match the footer aesthetics */
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #484848; /* Subtle border for separation */
    padding-top: 1rem;
}

.developer-info {
    margin-top: 1rem;
}

.developer-info a {
    display: inline-block; /* Ensures the link area matches the image size */
    transition: transform 0.3s ease; /* Smooth transformation on hover */
}

.developer-info a:hover {
    transform: scale(1.05); /* Slightly enlarges the logo on hover */
}

.dev-logo {
    width: 50px; /* Adjust according to the actual logo size */
    margin-top: 0.5rem;
}


@media (max-width: 400px) {
    .nav-links {
        padding-left: 15px; /* Slightly more padding to move links right on smaller screens */
    }
    
    .nav-links li a {
        padding: 7px 10px; /* Slightly smaller padding for smaller screens */
        font-size: 0.75rem; /* Slightly smaller font size for smaller screens */
    }

}


@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem; /* Adjusted padding */
        flex-direction: column; /* Stack logo and nav-links vertically */
    }
  
    .logo img {
        max-height: 50px; /* Adjust the logo size as needed */
        width: auto; /* Maintain aspect ratio */
        order: -1; /* Position the logo above the nav-links */
        margin-bottom: 10px; /* Space between logo and nav-links */
    }
  
    .nav-links {
        width: 100%; /* Full width to utilize available space */
        justify-content: flex-start; /* Align nav-links to the left */
        padding-left: 20px; /* Move nav-links slightly to the right */
    }
  
    .nav-links li {
        display: block; /* Stack nav-links vertically */
        text-align: left; /* Align text to the left */
    }
  
    .nav-links li a {
        padding: 8px 12px; /* Adjust padding to fit small screens */
        font-size: 0.8rem; /* Adjust font size to fit small screens */
    }

    .faq-section {
        margin: 1rem;
        padding: 0.5rem;
    }

    .faq-question {
        padding: 0.75rem;
    }

    .question-form input[type="text"],
    .question-form input[type="email"],
    .question-form button {
        width: 100%;
    }
}



@media (max-width: 768px) {
    .navbar {
        flex-direction: row; /* Change to row direction for navbar */
        justify-content: space-between; /* Align items on the space-between */
        padding: 0.5rem 1rem;
    }

    .logo {
        flex: 1; /* Assign space for the logo */
        display: flex;
        justify-content: flex-start; /* Align logo to the start */
    }

    .logo img {
        max-height: 60px; /* Adjust logo size */
        margin-top: 0; /* Reset margin top */
    }

    .nav-links {
        flex: 2; /* Assign space for nav links */
        display: flex;
        justify-content: flex-end; /* Align links to the end */
        margin-top: 0; /* Reset margin top */
    }

    .nav-links li {
        display: inline-block; /* Inline block for horizontal list */
    }

    .nav-links li a {
        padding: 5px 10px; /* Add padding for tap targets */
        font-size: 0.8rem; /* Adjust font size */
    }

    /* Possibly hide the text of the links and show a hamburger icon instead */
    .nav-toggle {
        display: none; /* Show toggle button only when needed */
    }

    .question-form input[type="text"],
    .question-form input[type="email"] {
        width: 90%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .social-icons img {
        width: 35px;
    }

    .dev-logo {
        width: 40px;
    }

    .faq-question {
        font-size: 1rem;
    }
}



@media (min-width: 769px) and (max-width: 1024px) {
    .footer-container {
        justify-content: space-between;
    }

    .developer-info, .footer-bottom {
        flex-basis: 100%;
        text-align: center;
    }

    .dev-logo {
        width: 45px;
    }
}


@media (min-width: 1024px) {
    .footer-container {
        justify-content: space-evenly;
    }

    .footer-section {
        text-align: left;
    }
}