/* =========================
   Variables for Colors
========================= */
:root {
    --primary-color: #27ae60;
    --secondary-color: #7251d1;
    --gradient-start: #51d172;
    --gradient-end: #32bd56;
    --text-color: #444444;
    --secondary-text-color: #f5f5f5;
    --bg-color: #333333;
}
html {
    scroll-behavior: smooth;
}

/* =========================
   General Styles
========================= */
body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    margin: 0; /* Remove default margin around the body */
    padding: 0; /* Remove default padding around the body */
}
header {
    margin: 0; /* Ensure no margin below the header */
    padding: 0; /* Ensure no padding below the header */
}

main {
    margin: 0; /* Remove any default margin around main */
    padding: 0; /* Remove padding if not needed */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 10px 0;
}
.h2 {
    font-size: calc(2.325rem + 0.9vw);
}

/* =========================
   Buttons
========================= */
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* =========================
   Gradients
========================= */
.gradient-bg {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
}

.theme-d.has-gradient {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    color: var(--text-color);
}

/* =========================
   Pagination
========================= */
.pagination-a li a {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-a li a:hover,
.pagination-a li.active a {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* =========================
   Media Queries
========================= */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    button,
    input[type='button'],
    input[type='reset'],
    input[type='submit'] {
        width: 100%;
    }
}

/* =========================
   Custom Styles for Sections
========================= */

/* Main Container */
main.container-fluid.my-5 {
    background-color: #00000000 !important; /* Black background */
}

/* About Section */
main.container-fluid.my-5 section#about {
    background-color: var(--primary-color) !important; /* Green background */
    color: #ffffff; /* Ensure text contrast */
}

/* Features Section */
main.container-fluid.my-5 section#features {
    background-color: var(
        --gradient-start
    ) !important; /* Gradient start color */
    color: #ffffff; /* Ensure text contrast */
}

/* Contact Section */
main.container-fluid.my-5 section#contact {
    background-color: var(--secondary-color) !important; /* Purple background */
    color: #ffffff; /* Ensure text contrast */
}

/* Test Section Styles */
.test-section {
    padding: 2rem;
    text-align: center;
    color: #ffffff;
}

.test-section:nth-child(odd) {
    background-color: #444444; /* Dark gray */
}

.test-section:nth-child(even) {
    background-color: #666666; /* Medium gray */
}
