@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - New Green Theme */
    --color-primary-950: #10451d;
    /* Darkest */
    --color-primary-900: #155d27;
    --color-primary-800: #1a7431;
    --color-primary-700: #208b3a;
    --color-primary-600: #25a244;
    --color-primary-500: #2dc653;
    /* Mid */
    --color-primary-400: #4ad66d;
    --color-primary-300: #6ede8a;
    --color-primary-200: #92e6a7;
    --color-primary-100: #b7efc5;
    /* Lightest */


    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-text-main: var(--color-white);
    --color-text-light: #e9ecef;
    /* Muted light text */

    /* Typography */
    --font-main: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Montserrat', system-ui, -apple-system, sans-serif;


    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-primary-100);
    /* Light text for dark mode */
    /* Cosmic Green Gradient */
    background-color: var(--color-primary-950);
    background-image: linear-gradient(180deg,
            var(--color-primary-950) 0%,
            var(--color-primary-900) 40%,
            var(--color-primary-800) 100%);
    background-attachment: fixed;
    /* Ensures gradient stays while scrolling */
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    /* Tighter headings = cleaner look */
}

/* Modernize Forms */
.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
}

ul {
    list-style: none;
}

/* Fix for fixed header overlapping content */
main {
    padding-top: 7rem !important;
    /* Force override inline styles (usually 2rem) */
    min-height: 80vh;
}

/* Adjustments for pages with Hero or specific containers */
.hero+main,
main:has(.hero) {
    padding-top: 0 !important;
    /* Let hero handle spacing */
}

/* Ensure admin overrides this if needed */
.admin-container {
    padding-top: 7rem !important;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Header */
.header {
    background: rgba(16, 69, 29, 0.95);
    /* primary-950 with opacity */
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    color: var(--color-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(0);
}

.header .logo {
    color: var(--color-white);
}

.close-btn,
.mobile-links,
.mobile-only {
    display: none;
}

/* Ensure desktop nav is flex row */
.header nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--color-primary-200);
    font-weight: 500;
    margin-left: var(--spacing-md);
    transition: all 0.2s ease;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    /* Modern font */
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    /* Modern font */
    font-weight: 600;
    letter-spacing: 0.02em;
    /* Slight spacing for modern look */
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary-700);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-800);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary-700);
    color: var(--color-primary-700);
}

.btn-outline:hover {
    background-color: var(--color-primary-100);
}

/* Button Icon Hover */
.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero {
    /* Transparent background to blend with body */
    background: transparent;
    padding: 8rem 0 4rem 0 !important;
    /* Adjusted padding for better spacing */
    text-align: left;
    position: relative;
    overflow: hidden;
    /* For mobile background SVG */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    z-index: 2;
    /* Bring text above background logo on mobile */
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.enquiry-svg {
    width: 450px;
    height: 450px;
    filter: drop-shadow(0 0 20px rgba(45, 198, 83, 0.4));
}

.doc-group {
    animation: floatDoc 6s ease-in-out infinite;
}

.glass-group {
    animation: searchScan 4s ease-in-out infinite;
    transform-origin: 90px 90px;
}

@keyframes floatDoc {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes searchScan {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }

    50% {
        transform: translate(0, 5px) rotate(0deg);
    }

    75% {
        transform: translate(-5px, -5px) rotate(-5deg);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary-950);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-primary-300);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: 0;
    /* Align left */
}


/* New Service Card Design */
.services-section {
    padding: var(--spacing-xl) 0;
    /* Background removed to maintain clean gradient */
}

.service-card {
    background: rgba(26, 75, 41, 0.85);
    /* primary-900/800 dark green transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(0);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 350px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary-400);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    /* White icon */
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--color-white);
    font-weight: 700;
}

.service-description {
    color: rgb(177, 177, 177);
    /* White text */
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    min-width: fit-content;
    width: 100%;
}

/* Unified Button Style (All Green) */
.pill-green,
.pill-light-green,
.pill-red,
.pill-yellow {
    background-color: var(--color-primary-500);
    color: #081c15;
    /* Dark text for contrast on bright green */
}

.pill-green:hover,
.pill-light-green:hover,
.pill-red:hover,
.pill-yellow:hover {
    background-color: var(--color-primary-400);
    transform: translateY(-1px);
}


/* Auth Forms - Modern Glassmorphism */
.auth-container {
    max-width: 600px;
    width: 90%;
    /* Ensure responsiveness on smaller screens */
    margin: 4rem auto;
    background: rgba(16, 69, 29, 0.75);
    /* Dark Green Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary-100);
    /* Lighter text for contrast */
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    color: white;
    transition: all 0.2s ease;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary-400);
    box-shadow: 0 0 0 4px rgba(45, 198, 83, 0.1);
}

@media (max-width: 480px) {
    .auth-container {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
        width: 95%;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* Responsive Styles */
@media (max-width: 900px) {
    /* No change needed for tablet if we want 2 cols, which grid-cols-2 provides */
}

/* Ensure 2-column layout for Services by default on large screens */
.grid-cols-2-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}


@media (max-width: 768px) {

    /* Header & Nav */
    .header .container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-links,
    .mobile-only {
        display: flex;
        /* Matches mobile-links behavior or block for link */
        flex-direction: column;
        margin-left: 1rem;
        margin-bottom: 1rem;
        border-left: 2px solid var(--color-gray-200);
        padding-left: 1rem;
    }

    .sub-link {
        font-size: 0.95rem;
        color: var(--color-primary-600);
        padding: 0.5rem 0;
        border-bottom: none !important;
    }

    /* Modern Mobile Menu - Redesigned */
    .header nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 40, 15, 0.98);
        /* Deep green/almost black */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 2rem;
    }

    .header nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header nav .close-btn {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--color-white);
        transition: transform 0.3s;
    }

    .header nav .close-btn:hover {
        transform: rotate(90deg);
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-link {
        margin: 0;
        padding: 1rem 0;
        display: block;
        font-size: 1.75rem;
        /* Large text */
        font-family: var(--font-heading);
        font-weight: 700;
        color: rgba(255, 255, 255, 0.8);
        border: none;
        text-align: center;
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
    }

    .header nav.active .nav-link,
    .header nav.active .btn,
    .header nav.active .mobile-links {
        transform: translateY(0);
        opacity: 1;
    }

    /* Stagger Animations */
    .header nav.active .nav-link:nth-child(2) {
        transition-delay: 0.1s;
    }

    .header nav.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .header nav.active .mobile-links {
        transition-delay: 0.25s;
    }

    .header nav.active .nav-link:nth-child(5) {
        transition-delay: 0.3s;
    }

    /* Login */
    .header nav.active .btn {
        transition-delay: 0.35s;
    }

    /* Get Started */

    .nav-link:hover,
    .nav-link:active {
        color: var(--color-primary-400);
        transform: scale(1.05);
        background: transparent !important;
        /* Override default hover */
    }

    /* Sub Links (Services) */
    .mobile-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin: 1rem 0;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 1rem;
        width: 100%;
        max-width: 300px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .sub-link {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.6);
        padding: 0.25rem 0;
        font-weight: 500;
    }

    .sub-link:hover,
    .sub-link.active {
        color: var(--color-primary-300);
        transform: translateX(0);
    }

    .header nav .btn {
        margin-top: 2rem !important;
        width: auto;
        min-width: 200px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }




    .sub-link:last-child {
        border-bottom: none !important;
    }

    .sub-link:active,
    .sub-link.active {
        color: var(--color-primary-400);
        transform: translateX(5px);
    }

    .header nav .btn {
        margin: 2rem 0 0 0 !important;
        display: block;
        text-align: center;
        width: 100%;
    }

    /* Scroll Lock Utility */
    body.no-scroll {
        overflow: hidden !important;
        height: 100vh;
        touch-action: none;
    }

    /* Admin Sidebar */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        width: 80%;
        /* Wider on mobile */
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Hero Mobile Layout */
    .hero-container {
        grid-template-columns: 1fr;
        position: relative;
    }

    .hero-logo {
        display: none;
    }

    .enquiry-svg {
        display: none;
    }

    /* Fix Services Grid on Mobile */
    .grid-cols-2-wide {
        grid-template-columns: 1fr;
    }

    /* Reset specific grid placement for the 5th card on mobile so it just stacks normally */
    .service-card[style*="grid-column"] {
        grid-column: auto !important;
        margin: 0 !important;
    }


    .service-description {
        text-align: center;
    }
}

/* Service Page Styles (Ported from Unhinged) */

/* Checklist Styles (Deem Grant) */
.requirement-section {
    background: var(--color-primary-800);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid var(--color-primary-100);
}

.section-header {
    border-bottom: 2px solid var(--color-primary-200);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    color: black;
    font-size: 1.25rem;
    font-weight: 700;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-primary-100);
    transition: background 0.2s;
    border-radius: var(--radius-md);
}

.checklist-item:hover {
    background: var(--color-primary-100);
}

.checklist-icon {
    color: var(--color-primary-500);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.sub-list {
    list-style-type: none;
    padding-left: 2.5rem;
    margin-top: 0.5rem;
}

.sub-list li {
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--color-primary-600);
    font-size: 0.9rem;
}

.sub-list li::before {
    content: "•";
    color: var(--color-primary-400);
    position: absolute;
    left: -1rem;
}

/* Form Sections (Regularization) */
.form-section {
    background: var(--color-primary-800);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary-500);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-header-bar {
    background: var(--color-primary-700);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -2rem -2rem 2rem -2rem;
    font-weight: 600;
}

.required-field::after {
    content: " *";
    color: #e76f51;
}

.alert-info {
    background-color: #e0f2f1;
    border: 1px solid #b2dfdb;
    color: #00695c;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.alert-warning {
    background-color: #fff3e0;
    border: 1px solid #ffe0b2;
    color: #e65100;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

/* Download Cards (Consent) */
.download-card {
    background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-primary-200) 100%);
    border: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.15);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.card-text {
    color: var(--color-white) !important;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}


/* Global Spinner Styles */
.spinner-border {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: text-bottom;
    border: .2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    margin-right: 0.5rem;
    /* Add spacing when used in buttons */
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Inline Notification System */
.auth-alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    text-align: left;
}

.auth-alert-success {
    background: rgba(45, 198, 83, 0.2);
    /* Green tint */
    border-color: rgba(45, 198, 83, 0.4);
    color: #d1fae5;
    /* Light green text */
}

.auth-alert-error {
    background: rgba(229, 62, 62, 0.2);
    /* Red tint */
    border-color: rgba(229, 62, 62, 0.4);
    color: #fed7d7;
    /* Light red text inside dark card */
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.alert-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price Tag Style */
.price-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--color-primary-200);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* ===========================
   Premium Profile Page Styles 
   =========================== */
.profile-header {
    background: rgba(16, 69, 29, 0.65);
    /* Deep Glass Green */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideUpFade 0.6s ease-out;
}

/* Subtle gradient overlay */
.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-primary-300));
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(45, 198, 83, 0.2);
    position: relative;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-500);
    opacity: 0.5;
    animation: pulse 3s infinite;
}

.profile-info h1 {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-info p {
    color: var(--color-primary-200);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section {
    background: white;
    color: black;
    /* Slightly darker for the table */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideUpFade 0.6s ease-out 0.2s backwards;
    /* Delay */
}

/* Premium Table Styles */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.enquiry-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.enquiry-table th {
    text-align: left;
    padding: 1.25rem 1.5rem;
    color: var(--color-primary-200);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enquiry-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.enquiry-table tr:last-child td {
    border-bottom: none;
}

.enquiry-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

/* Badge Styles - Glowy */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Responsive Minimal Enquiry List */
.enquiry-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0;
}

.enquiry-item {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 150px 140px;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    color: var(--color-primary-900);
}

.enquiry-item>div:nth-child(2) {
    text-align: center;
}

.enquiry-item .status-badge {
    justify-self: end;
}

.enquiry-item:hover {
    background: #fff;
    transform: translateX(5px);
    border-color: var(--color-primary-400);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.item-title {
    font-weight: 600;
    color: black;
    font-size: 1.05rem;
}

/* Badge Styles - Optimized for White Background */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-active,
.status-approved {
    background: #dcfce7;
    color: #166534;
    /* Dark Green */
    border: 1px solid #bbf7d0;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
    /* Dark Yellow/Brown */
    border: 1px solid #fde047;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
    /* Dark Blue */
    border: 1px solid #bfdbfe;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    /* Dark Red */
    border: 1px solid #fecaca;
}

@media (max-width: 480px) {
    .enquiry-item {
        padding: 1rem;
    }

    .item-title {
        font-size: 0.95rem;
    }
}

/* ===========================
   Mobile Optimization
   =========================== */
@media (max-width: 768px) {

    /* Profile Page Mobile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
        border-radius: var(--radius-md);
    }

    .profile-header::before {
        display: none;
        /* Simplify on mobile if needed, or keep */
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin: 0 auto;
        border-width: 2px;
    }

    .profile-info h1 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .profile-info p {
        justify-content: center;
        font-size: 0.95rem;
    }

    .profile-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .profile-section h2 {
        font-size: 1.25rem;
    }

    /* Stack buttons/actions in profile section */
    .profile-section .flex {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .profile-section .btn {
        width: 100%;
        text-align: center;
    }

    /* Enquiry List Mobile */
    .enquiry-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .enquiry-item>div:first-child {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* General Form Sections Mobile */
    .form-section {
        padding: 1.25rem;
    }

    .form-header-bar,
    .form-header {
        margin: -1.25rem -1.25rem 1.25rem -1.25rem;
        padding: 1rem 1.25rem;
    }

    /* Modals Mobile */
    .modal-content {
        width: 95%;
        margin: 0 auto;
    }

    /* Ensure container has breathing room */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Utility Classes */
.me-2 {
    margin-right: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Hero Adjustments - Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* Blocking Submission Modal */
.submission-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.submission-modal-content {
    background: rgba(16, 69, 29, 0.9);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 90%;
    animation: zoomIn 0.3s ease-out;
}

.submission-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.submission-message {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.submission-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Result Modal Extensions */
.result-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-success {
    color: var(--color-primary-500);
}

.text-error {
    color: #ff6b6b;
}

.modal-close-btn {
    margin-top: 1.5rem;
    padding: 0.5rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Logo Fixes */
.logo {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white) !important;
}

.logo svg {
    flex-shrink: 0;
}

/* Screen Reader Utility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}