:root {
    /* Dark Theme (Default) */
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-text: #888888;
    --cursor-size: 8px;
    --cursor-ring-size: 40px;
    --font-main: 'Inter', sans-serif;
    --easing: cubic-bezier(0.19, 1, 0.22, 1);

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --input-border: rgba(255, 255, 255, 0.2);
    --logo-filter: none;
    --overlay-bg: rgba(0, 0, 0, 0.85);
    /* Dark overlay for dark mode */
}

[data-theme="light"] {
    /* Light Theme */
    --bg-color: #ffffff;
    --text-color: #202124;
    --accent-color: #000000;
    /* Google Blue for accent */
    --secondary-text: #5f6368;

    /* Glassmorphism Variables for Light Mode */
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --input-border: rgba(0, 0, 0, 0.5);
    --logo-filter: invert(1);
    --overlay-bg: rgba(255, 255, 255, 0.85);
    /* Light overlay for light mode */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    overflow-y: auto;
    /* Allow vertical scrolling */
    min-height: 100vh;
    /* Use min-height to allow content to grow */
    width: 100vw;
    display: flex;
    flex-direction: column;
}

/* Canvas Background */
#kinetic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* Custom Cursor */
#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

#cursor-dot {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--accent-color);
}

#cursor-ring {
    width: var(--cursor-ring-size);
    height: var(--cursor-ring-size);
    border: 1px solid var(--accent-color);
    transition: width 0.3s var(--easing), height 0.3s var(--easing), transform 0.1s;
}

body.hovering #cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

body.hovering #cursor-dot {
    width: 4px;
    height: 4px;
}

/* Tooltip */
.cursor-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-color);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.hovering .cursor-tooltip {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    width: 100%;
}

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

.logo img {
    height: 40px;
    /* Adjust based on preference, keeping it sleek */
    width: auto;
    display: block;
    filter: var(--logo-filter);
    transition: filter 0.3s;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centered layout */
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 900px;
}

.headline {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.word {
    display: inline-block;
    transition: transform 0.5s var(--easing);
}

.word:hover {
    transform: translateY(-5px) scale(1.02);
}

.subheadline {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text-color);
    border-radius: 100px;
    color: var(--bg-color);
    background: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.3s var(--easing), box-shadow 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.link-secondary {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 2px;
}

.link-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s var(--easing);
}

.link-secondary:hover::after {
    width: 100%;
}

/* Accessibility */
.accessibility-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.3s ease;
}

#toggle-motion,
#toggle-theme {
    background: transparent;
    border: 1px solid var(--input-border);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    /* We use custom cursor */
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

#toggle-motion:hover,
#toggle-theme:hover {
    background: var(--glass-bg);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* Restore default cursor on mobile */
    * {
        cursor: auto !important;
    }

    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }

    .headline {
        font-size: 2.2rem;
        /* Reduced size for better alignment */
    }

    .subheadline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .navbar {
        padding: 1.5rem;
    }

    .logo img {
        height: 32px;
        /* Reduce logo size */
    }

    /* Adjust accessibility controls for mobile */
    .accessibility-controls {
        bottom: 1rem;
        right: 1rem;
    }

    #toggle-motion,
    #toggle-theme {
        width: 32px;
        height: 32px;
    }

    #toggle-motion svg,
    #toggle-theme svg {
        width: 18px;
        height: 18px;
    }
}

/* Contact Page Styles */
.contact-section {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    width: 100%;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 4rem;
    max-width: 400px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

/* ... */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

/* ... */

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--input-border);
    /* ... */
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text);
}

.detail-item .value {
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item .value:hover {
    color: #4285F4;
    /* Google Blue */
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

/* Contact Form */
/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--input-border);
    padding: 1rem 0;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-main);
    /* font-family: Georgia, serif; */
    font-weight: bold;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--secondary-text);
    pointer-events: none;
    transition: 0.3s var(--easing);
    font-size: 1rem;
}

/* Floating Label Logic */
.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: #4285F4;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #4285F4;
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #4285F4;
    transition: width 0.4s var(--easing);
}

.form-group input:focus~.line,
.form-group textarea:focus~.line {
    width: 100%;
}

.btn-submit {
    margin-top: 1rem;
    width: fit-content;
}

/* Responsive Contact */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-headline {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#loader img {
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    filter: var(--logo-filter);
    /* Adapt to theme */
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Intro Video Overlay Styles --- */
#intro-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#intro-video-container.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

#intro-video-container.hidden {
    display: none;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Skip Intro Button */
.skip-intro-btn {
    position: absolute;
    bottom: 60px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-intro-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skip-intro-btn:active {
    transform: translateY(0);
}

.skip-intro-btn .skip-text {
    letter-spacing: 0.5px;
}

.skip-intro-btn .skip-icon {
    transition: transform 0.3s;
}

.skip-intro-btn:hover .skip-icon {
    transform: translateX(3px);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.intro-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.intro-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            #4285F4 0%,
            #34A853 25%,
            #FBBC05 50%,
            #EA4335 75%,
            #4285F4 100%);
    background-size: 200% 100%;
    animation: gradientShift 2s linear infinite;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

@keyframes gradientShift {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

/* Video overlay gradient for better button visibility */
#intro-video-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Responsive Intro Video */
@media (max-width: 768px) {
    .skip-intro-btn {
        bottom: 40px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .intro-progress {
        height: 3px;
    }

    #intro-video {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .skip-intro-btn {
        bottom: 30px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .skip-intro-btn .skip-text {
        display: inline;
    }
}

/* Landscape mobile adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .skip-intro-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
    }

    .intro-progress {
        height: 2px;
    }
}


/* --- Auth Styles --- */

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    /* Theme-aware backdrop */
    backdrop-filter: blur(15px);
    z-index: 9999;
    /* Below loader (10000) but above everything else */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-card {
    position: relative;
    /* For close button positioning */
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px var(--glass-shadow);
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: var(--text-color);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-text);
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-color);
}

.login-card h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--input-border);
    padding: 0.8rem 0;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--secondary-text);
    pointer-events: none;
    transition: 0.3s var(--easing);
    font-size: 1rem;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -1rem;
    font-size: 0.8rem;
    color: #4285F4;
}

.input-group input:focus {
    border-bottom-color: #4285F4;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.forgot-password-link {
    color: var(--secondary-text);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #4285F4;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

.divider {
    margin: 1.5rem 0;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider::before {
    content: '';
    height: 1px;
    background: var(--input-border);
    flex: 1;
}

.divider::after {
    content: '';
    height: 1px;
    background: var(--input-border);
    flex: 1;
}

.divider span {
    background: transparent;
    padding: 0 5px;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 100px;
    font-weight: 500;
    transition: transform 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.auth-switch span {
    color: #4285F4;
    cursor: pointer;
    font-weight: 600;
}

/* User Profile */
.user-profile {
    position: relative;
    margin-left: 0;
    /* Removed margin as it's now part of the flex flow */
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Match nav-links gap */
}

.user-profile.hidden {
    display: none;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-icon:hover {
    transform: scale(1.1);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    min-width: 120px;
    box-shadow: 0 10px 20px var(--glass-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--easing);
    z-index: 100;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    /* Above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-danger {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-danger:hover {
    background: #e60000;
}

.modal-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}


/* --- Toast Notification Styles --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20001;
    /* Above everything including cursor if needed, or just below cursor */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicks through container */
}

.toast {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s var(--easing), opacity 0.4s;
    pointer-events: auto;
    /* Re-enable clicks for toast */
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.4;
}

/* Toast Types */
.toast.success {
    border-left: 4px solid #28a745;
}

.toast.error {
    border-left: 4px solid #ff4d4d;
}

.toast.info {
    border-left: 4px solid #4285F4;
}

.toast.success .toast-icon {
    color: #28a745;
}

.toast.error .toast-icon {
    color: #ff4d4d;
}

.toast.info .toast-icon {
    color: #4285F4;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10002;
    /* Above nav-links */
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--overlay-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 8rem;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--easing);
        z-index: 10001;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-item {
        font-size: 1.5rem;
        color: var(--text-color);
    }

    /* Adjust profile in mobile menu */
    .user-profile {
        margin-left: 0;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
    }

    /* Mobile Logout Button Red */
    #logout-btn {
        color: #ff4d4d !important;
    }

    /* Animate hamburger to X */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Hide content when menu is open */
body.menu-open .hero-section,
body.menu-open .contact-section {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Generic Hidden Class */
.hidden {
    display: none !important;
}