:root {
    --bg-color: #0A0A0A; /* Dark background */
    --text-color: #FFFFFF; /* White text */
    --accent-cyan: #31cee7;
    --accent-pink: #FF007F;
    --secondary-text: #B3B3B3;
}

/* Hero Section Styling */
.hero {
    text-decoration: none;
    text-align: left; /* Align text to the left */
    padding: 5px 20px; /* Adjust padding for spacing */
    padding-top: 50px;
    background-color: transparent; /* Remove gradient background */
    color: var(--text-color); /* Keep text color consistent */
    max-width: 350px; /* Limit the width for better alignment */
}

.hero h2 {
    font-size: 36px; /* Adjust size to fit the left-aligned design */
    margin-bottom: 10px; /* Add spacing between title and paragraph */
}

.hero p {
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6; /* Improve readability */
}

.hero button {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-pink));
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.4s ease-in-out; /* Add smooth transition for box-shadow */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 10px rgba(255, 0, 127, 0.5); /* Initial glow */
}

.hero button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 20px rgba(255, 0, 127, 0.8); /* Enhanced glow on hover */
}

/* Bottom Section Styling */
.bottom-section {
    background-color: rgba(0, 0, 0, 0.05); /* Subtle background color */
    padding: 50px 20px;
    text-align: center;
}

.section-container {
    display: flex;
    justify-content: space-between; /* Ensures equal spacing between items */
    align-items: stretch; /* Ensures all items are the same height */
    flex-wrap: wrap; /* Allows wrapping if the screen is too small */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-item {
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    width: calc(25% - 20px); /* Ensures 4 items fit on the same line */
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Prevents padding from overflowing */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Keeps content aligned at the top */
    height: 350px; /* Fixed height to ensure all items are the same size */
    position: relative;
}

/* Content for each section item */
.section-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-item p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-text);
    flex-grow: 1; /* This makes sure the paragraph grows to fill space */
}

/* Ensure button stays at the bottom of each section-item */
.section-item a.learn-more {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-pink));
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 10px rgba(255, 0, 127, 0.5); /* Initial glow */
    margin-top: 20px; /* Space between text and button */
    text-align: center; /* Center the button */
    width: auto; /* Let the button size depend on its content */
}

/* Button hover effect */
.section-item a.learn-more:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 20px rgba(255, 0, 127, 0.8); /* Enhanced glow on hover */
}

.section-item:hover {
    transform: scale(1.05);
}

/* Ensure proper wrapping on smaller screens */
@media (max-width: 968px) {
    .section-item {
        width: calc(50% - 20px); /* 2 items per row on small screens */
        height: 350px; /* Fixed height for consistency */
    }

    .section-item a.learn-more {
        font-size: 14px; /* Slightly smaller font for small screens */
        padding: 8px 16px; /* Smaller padding for small screens */
    }
}

@media (max-width: 580px) {
    .section-item {
        width: 100%; /* 1 item per row on very small screens */
        height: 350px; /* Fixed height for consistency */
    }

    .section-item a.learn-more {
        font-size: 14px; /* Font size remains small */
        padding: 8px 16px; /* Smaller padding */
    }
}

