:root {
    --primary: #064e3b;
    --primary-dark: #022c22;
    --primary-light: #0d6e53;
    --accent: #b4d429; /* Lime green from landing page */
    --accent-hover: #a1c223;
    --accent-glow: rgba(180, 212, 41, 0.4);
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light) !important;
    color: var(--text-dark) !important;
    margin: 0;
    padding: 0;
}

.card {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    border-radius: 12px !important;
}

.text-muted {
    color: var(--text-gray) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif !important;
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.form-control, .form-select {
    background-color: var(--white) !important;
    border-color: #e2e8f0 !important;
    color: var(--text-dark) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(6, 78, 59, 0.1) !important;
}

.badge.bg-label-primary {
    background-color: rgba(6, 78, 59, 0.1) !important;
    color: var(--primary) !important;
}

/* --- Header --- */
header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Outfit';
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 700;
    margin-left: 2rem;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a.active {
    color: var(--text-dark);
}

.desktop-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.btn-nav-solid {
    background: var(--primary-dark);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-nav-solid:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-nav-outline {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
}

.btn-nav-outline:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .desktop-nav, .desktop-actions {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block !important;
    }
}

/* --- Mobile Navigation (Side Nav) --- */
.side-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 2005;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 40px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.side-nav.active {
    right: 0;
}

.side-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 44, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2004;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.side-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.side-nav-close {
    background: #f1f5f9;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.side-nav-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.side-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-nav-link:hover {
    background: #f8fafc;
    color: var(--primary);
    padding-left: 25px;
}

.side-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.btn-side-solid {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.15);
}

.btn-side-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark) !important;
    padding: 5rem 5% 2rem;
    color: rgba(255,255,255,0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1.2rem;
    font-family: 'Outfit', sans-serif;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 350px;
    font-size: 1.25rem;
}

.footer-links h4 {
    color: #fff;
    margin: 0 0 1.8rem;
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.2rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 2rem; 
    }
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 1rem;
    }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; }
}

/* WhatsApp Floating Button */
.wa-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    overflow: hidden;
}

.wa-floating-btn i {
    font-size: 32px;
    transition: all 0.3s ease;
}

.wa-text {
    max-width: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0;
    font-weight: 700;
    margin-left: 0;
}

.wa-floating-btn:hover {
    width: 180px;
    background-color: #20ba5a;
    color: white;
}

.wa-floating-btn:hover .wa-text {
    max-width: 120px;
    opacity: 1;
    margin-left: 10px;
}

.wa-floating-btn:hover i {
    transform: rotate(10deg);
}

/* Pulse Animation */
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-floating-btn {
    animation: wa-pulse 2s infinite;
}

@media (max-width: 768px) {
    .wa-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .wa-floating-btn:hover {
        width: 55px; /* Disable expansion on mobile for better ergonomics */
    }
    .wa-floating-btn:hover .wa-text {
        display: none;
    }
}


/* Registration Container */
.registration-container {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 2rem;
    padding-bottom: 4rem;
    width: 100%;
}

@media (max-width: 1200px) {
    .registration-container {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .registration-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
