/* Modern Reset and Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Full-screen Background with Gradient */
body {
    min-height: 100vh; /* Changed to min-height so content doesn't overflow */
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

/* Container */
.container {
    width: 100%;
    padding: 0 30px; 
    text-align: center;
}

.container a {
    color: #00a3ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Main Glass Panel */
.main-text {
    width: 100%;
    max-width: 900px; /* Controls the maximum width of the glass panel */
    margin: 0 auto;
    display: inline-block;
    padding: 40px 40px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.main-text h1 {
    margin-bottom: 20px;
}

.main-text p {
    margin-bottom: 15px;
    font-weight: 400; /* Makes body text easier to read */
}

.main-text h2 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #00a3ff;
}

/* Tech Stack Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: left; /* Resets text alignment for the lists */
}

/* Glassmorphism Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00a3ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 163, 255, 0.15);
}

.card h3 {
    color: #00a3ff;
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card ul {
    list-style: none;
    font-weight: 400;
    font-size: 0.95rem; /* Slightly smaller for a cleaner look */
}

.card li {
    margin-bottom: 10px;
    padding-left: 20px; /* Makes room for the bullet */
    position: relative;
    line-height: 1.5;
}

.card li::before {
    content: "▹";
    color: #00a3ff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0; /* Keeps the arrow aligned with the top line of text */
}

.card li strong {
    color: #ffffff;
    margin-right: 4px;
}

/* Sleek Button Styling */
.glass-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00a3ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.3);
}

.glass-button:active {
    transform: translateY(1px);
}

.glass-button + .glass-button {
    margin-left: 16px;
}

/* Optional Subtle Text */
.subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spacer {
    height: 40px;
}

/* Glassmorphism Footer Bar */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px; /* A bit more horizontal padding looks cleaner */
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 1000;

    /* The Flexbox Magic */
    display: flex;
    justify-content: space-between; /* Pushes children to opposite ends */
    align-items: center; /* Centers them vertically */
}

/* You no longer need .footer-bar-right! Delete it from your CSS. */

/* Styling for links inside the footer */
.footer-bar a {
    color: #00a3ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bar a:hover {
    color: #ffffff;
}

