/* =========================================
   General Theme
========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* fallback for no animation */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   Background Animation
========================================= */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(
        ellipse at 20% 30%,
        rgba(138, 43, 226, 0.8) 0%,
        rgba(138, 43, 226, 0) 60%
      ),
      radial-gradient(
        ellipse at 80% 50%,
        rgba(0, 191, 255, 0.7) 0%,
        rgba(0, 191, 255, 0) 70%
      ),
      radial-gradient(
        ellipse at 50% 80%,
        rgba(50, 205, 50, 0.6) 0%,
        rgba(50, 205, 50, 0) 65%
      ),
      linear-gradient(135deg, #000000 0%, #0a0520 100%);
    background-blend-mode: overlay, screen, hard-light;
    animation: aurora-drift 25s infinite alternate ease-in-out;
}

.background::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 40px
      ),
      repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 60px
      );
    animation: grid-shift 20s linear infinite;
}

.background::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at center,
      transparent 70%,
      rgba(10, 5, 32, 0.9) 100%
    );
    animation: aurora-pulse 8s infinite alternate;
}

/* Animations */
@keyframes aurora-drift {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%; filter: hue-rotate(0deg) brightness(1); }
    50% { background-position: -10% -5%, 5% 10%, 0% 15%; filter: hue-rotate(30deg) brightness(1.2); }
    100% { background-position: 5% 10%, -10% -5%, 15% 0%; filter: hue-rotate(60deg) brightness(1); }
}

@keyframes grid-shift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes aurora-pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* =========================================
   Header & Footer
========================================= */
header, footer {
    background: rgba(34, 34, 34, 0.5); /* glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    padding: 1rem;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

footer .social-media a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

footer .social-media a:hover {
    color: #ddd;
}

/* =========================================
   Navigation (Old + New)
========================================= */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ddd;
}

/* Legacy nav border style */
.nav {
    display: inline-block;
    padding: 10px 20px;
    border: 5px double black;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* =========================================
   Sections / Cards
========================================= */
main {
    flex: 1;
    padding: 1rem;
}

section {
    margin-bottom: 2rem;
    /* text-align: center; */
}

section h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #0056d2;
}

/* Card container style */
.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    margin: 1.5rem auto;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Buttons (Modern)
========================================= */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    width: 100%;
}

button {
    background: linear-gradient(135deg, #007bff, #0056d2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: linear-gradient(135deg, #0056d2, #0041a8);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    button {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
}

/* =========================================
   Pricing Layout (3x1 desktop, stacked mobile)
========================================= */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.price-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 1.5rem);
    max-width: 280px;
    text-align: center;
    border: 1px solid #ddd;
    transition: 0.3s ease;
}

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

.price-card .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0056d2;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    .price-card {
        flex: 1 1 100%;
        max-width: 90%;
    }
}

/* =========================================
   Testimonials
========================================= */
.testimonial {
    background: #eef4ff;
    border-left: 5px solid #0056d2;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-style: italic;
}

.testimonial strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #222;
}

/* =========================================
   Utility Classes
========================================= */
.center {
    text-align: center;
}

.container {
    width: 80%;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#skillsUSA-content,
#collegeCorps-content {
    display: none;
}

/* Redirect Banner */
.redirect-banner {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem;
    margin: 1rem auto;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
}

.redirect-banner button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: #f44336;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.redirect-banner button:hover {
    background: #d32f2f;
}