:root {
    --primary-color: #1DB954; /* Spotify-like green */
    --primary-hover-color: #1ed760;
    --secondary-color: #000000;
    --text-color: #333;
    --light-bg: #f0f2f5;
    --white-bg: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --border-color: #e0e0e0;
    --font-family-base: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
}

/* General Body Styles */
body {
    font-family: var(--font-family-base);
    background-color: var(--light-bg);
    color: var(--text-color);
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    color: var(--secondary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

/* Adjust existing styles to use variables */
.navbar-brand img {
    height: 40px; /* Increased height for better visibility */
    width: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.container {
    max-width: 800px;
    background-color: var(--white-bg);
    border-radius: 15px;
    box-shadow: 0 4px 12px var(--shadow-light);
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    color: var(--white-bg);
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    margin: -30px -30px 30px -30px;
    text-align: center;
}

.header h1 {
    font-weight: 700;
    color: var(--white-bg);
    margin: 0;
    font-size: 2.5rem;
}

/* Card and Button Styles */
.card {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px; /* Rounded buttons */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-light);
}

/* Audit Output Styles */
#audit-output h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 30px;
    font-weight: 600;
}

#audit-output strong {
    color: var(--text-color);
}

/* Call to Action Button Styles */
.cta-button {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--white-bg);
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px var(--shadow-light);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-light);
}

/* Ad Section Styles */
.ad-section {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin: 25px 0;
    background-color: var(--light-bg);
}

/* Score Indicator Styles */
.score-red {
    color: #e74c3c; /* Softer red */
    font-weight: bold;
}
.score-yellow {
    color: #f1c40f; /* Softer yellow */
    font-weight: bold;
}
.score-green {
    color: #2ecc71; /* Softer green */
    font-weight: bold;
}

/* Footer Styles */
.footer {
    border-top: 1px solid #444; /* Adds a subtle separator line */
}

.footer .nav-link {
    color: #a9a9a9; /* Softer text color for footer links */
    transition: color 0.3s ease;
}

.footer .nav-link:hover {
    color: #ffffff; /* Brightens link color on hover */
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-color) !important; /* Highlight active link with primary color */
    font-weight: 700;
}

/* General Button Enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-light);
}

/* Card Hover Effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-medium);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button at the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--primary-color); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 8px var(--shadow-dark);
    transition: background-color 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-hover-color); /* Darker green on hover */
    transform: translateY(-3px);
}


.navbar-brand img {
    height: 40px; /* Increased height for better visibility */
    width: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.container {
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Header Styles */
.header {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    margin: -30px -30px 30px -30px;
    text-align: center;
}

.header h1 {
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-size: 2.5rem;
}

/* Card and Button Styles */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #1DB954; /* Spotify-like green */
    border-color: #1DB954;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px; /* Rounded buttons */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1ed760;
    border-color: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Audit Output Styles */
#audit-output h3 {
    color: #1DB954;
    border-bottom: 2px solid #1DB954;
    padding-bottom: 10px;
    margin-top: 30px;
    font-weight: 600;
}

#audit-output strong {
    color: #333;
}

/* Call to Action Button Styles */
.cta-button {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
    background-color: #1DB954;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Ad Section Styles */
.ad-section {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    margin: 25px 0;
    background-color: #fafafa;
}

/* Score Indicator Styles */
.score-red {
    color: #e74c3c; /* Softer red */
    font-weight: bold;
}
.score-yellow {
    color: #f1c40f; /* Softer yellow */
    font-weight: bold;
}
.score-green {
    color: #2ecc71; /* Softer green */
    font-weight: bold;
}

/* Footer Styles */
.footer {
    border-top: 1px solid #444; /* Adds a subtle separator line */
}

.footer .nav-link {
    color: #a9a9a9; /* Softer text color for footer links */
    transition: color 0.3s ease;
}

.footer .nav-link:hover {
    color: #ffffff; /* Brightens link color on hover */
}

/* Navigation Active State */
.nav-link.active {
    color: #1DB954 !important; /* Highlight active link with primary color */
    font-weight: 700;
}

/* General Button Enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button at the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #1DB954; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #1ed760; /* Darker green on hover */
    transform: translateY(-3px);
}

