        :root {
            --primary-color: #00ffae;
            --secondary-color: #597cff;
            --dark-color: #333;
            --light-color: #fff;
            --font-heading: 'Vintage Goods', serif;
            --font-hero: 'Lora', serif;
            --font-body: 'Montserrat', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            line-height: 1.6;
            color: var(--dark-color);
            background-color: #f9f9f9;
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.3s ease;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
        }

        header.scrolled {
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: inline-block;
            height: 50px; /* Adjust based on your logo's aspect ratio */
            z-index: 1001;
        }

        .logo img {
            height: 100%;
            width: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            margin-left: 30px;
            background-color: rgba(255, 255, 255, 0.7);
        }

        .nav-link {
            color: var(--dark-color);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-link:hover {
            color: var(--secondary-color);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--secondary-color);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1001;
        }

        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            transition: all 0.3s ease;
            background-color: var(--dark-color);
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url('images/bg.jpg');
            background-size: auto;
            background-position: center;
            overflow: hidden;
            padding: 100px 0 0 0;
        }

        .hero-content {
            position: relative;
            width: 100%;
            max-width: 1200px;
            text-align: center;
            z-index: 2;
            animation: fadeIn 1.5s ease;
        }

        .hero-main-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
        }

        @media (min-width: 992px) {
            .hero-main-content {
                flex-direction: row;
                align-items: stretch;
                gap: 4rem;
            }
        }

        .hero-svg {
            width: 100%;
            max-width: 500px;
            height: auto;
            aspect-ratio: 1;
            margin: -50px auto;
            /* padding: 50px 30px; */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #222;
        }

        .hero-info {
            max-width: 400px;
            text-align: left;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media (max-width: 991px) {
            .hero-info {
                text-align: center;
                padding: 0;
            }
        }

        .hero-title {
            font-family: var(--font-hero);
            color: var(--secondary-color);
            font-size: clamp(2rem, 5vw, 3.5rem);
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-bottom: 30px;
            color: #222;
        }

        .hero-date, .hero-venue, .hero-address {
            margin-bottom: 15px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        @media (max-width: 991px) {
            .hero-date, .hero-venue, .hero-address {
                justify-content: center;
            }
        }

        .event-image {
            width: 200px;
            height: 150px;
            object-fit: cover;
            border: 5px solid #fff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin: 20px 0;
        }

        /* Countdown Section */
        .countdown-section {
            padding: 80px 0;
            background-color: var(--light-color);
            text-align: center;
        }

        .countdown-section .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .countdown {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .countdown-item {
            background: var(--secondary-color);
            padding: 20px;
            min-width: 100px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            color: var(--light-color);
        }

        .countdown-value {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .countdown-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 768px) {
            .countdown-item {
                min-width: 80px;
                padding: 15px;
            }
            
            .countdown-value {
                font-size: 1.5rem;
            }
            
            .countdown-label {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .countdown-item {
                min-width: 70px;
                padding: 10px;
            }
            
            .countdown-value {
                font-size: 1.25rem;
            }
            
            .countdown-label {
                font-size: 0.7rem;
            }
        }

        /* Sections */
        section {
            padding: 100px 0;
            position: relative;
        }

        section:nth-child(even) {
            background-color: #f5f5f5;
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            margin-bottom: 50px;
            text-align: center;
            color: var(--secondary-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

        /* About Section */
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        

        .about-text {
            text-align: center;
            padding: 0 20px;
            width: 80%;
            margin: auto;
        }
        
        .about-image {
            order: -1;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .about-image img {
            width: 100%;
            max-width: 500px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        

        .about-image::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 3px solid var(--primary-color);
            border-radius: 10px;
            top: 20px;
            left: 20px;
            z-index: -1;
        }

        /* Editorial Section */
        .editorial-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .editorial-card {
            background-color: var(--light-color);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .editorial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .editorial-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .editorial-content {
            padding: 20px;
        }

        .editorial-title {
            font-family: var(--font-heading);
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }

        /* Schedule Section */
        .schedule-content {
            display: none;
        }

        .schedule-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .schedule-item {
            display: flex;
            margin-bottom: 30px;
            background-color: var(--light-color);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .schedule-time {
            width: 150px;
            padding: 20px;
            background-color: var(--secondary-color);
            color: var(--light-color);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-weight: 600;
        }

        .schedule-info {
            flex: 1;
            padding: 20px;
        }

        .schedule-title {
            font-family: var(--font-heading);
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .schedule-speaker {
            font-weight: 500;
            color: var(--primary-color);
        }

        /* Tickets Section */
        .tickets-container {
            display: flex;
            justify-content: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .ticket-card {
            width: 100%;
            margin: 0;
        }

        /* Sponsors Section */
        .sponsors-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        .sponsor-logo {
            max-width: 150px;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .sponsor-logo:hover {
            filter: grayscale(0);
            opacity: 1;
        }

        /* Volunteers Section */
        .volunteers-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .volunteer-card {
            text-align: center;
            perspective: 1000px;
        }

        .volunteer-card-inner {
            position: relative;
            width: 100%;
            height: 350px;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .volunteer-card:hover .volunteer-card-inner {
            transform: rotateY(180deg);
        }

        .volunteer-front, .volunteer-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 10px;
            overflow: hidden;
        }

        .volunteer-front {
            background-color: var(--light-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .volunteer-back {
            background-color: var(--secondary-color);
            color: var(--light-color);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .volunteer-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .volunteer-info {
            padding: 20px;
        }

        .volunteer-name {
            font-family: var(--font-heading);
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .volunteer-role {
            color: var(--primary-color);
            font-weight: 500;
        }

        .volunteer-social {
            margin-top: 20px;
        }

        .volunteer-social a {
            color: var(--light-color);
            margin: 0 10px;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }

        .volunteer-social a:hover {
            color: var(--primary-color);
        }

        /* Mailing List Section */
        .mailing-list {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .mailing-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .mailing-input {
            flex: 1;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: var(--font-body);
            min-width: 250px;
        }

        .mailing-input:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        /* Virtual Community */
        .virtual-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .virtual-icons {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 30px;
        }

        .virtual-icon {
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--light-color);
            color: var(--secondary-color);
            border-radius: 50%;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .virtual-icon:hover {
            background-color: var(--secondary-color);
            color: var(--light-color);
            transform: translateY(-5px);
        }

        /* Footer */
        footer {
            background-color: #222;
            color: var(--light-color);
            padding: 50px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col {
            padding: 0 20px;
        }

        .footer-col h3 {
            font-family: var(--font-heading);
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #aaa;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--primary-color);
        }

        .footer-contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .footer-contact-icon {
            margin-right: 15px;
            color: var(--primary-color);
            min-width: 20px;
            text-align: center;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.show {
            opacity: 1;
            transform: translateY(0);
        }

        .btn {
            display: inline-block;
            background-color: var(--secondary-color);
            color: var(--light-color);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid var(--secondary-color);
            margin-top: 20px;
        }

        .btn:hover {
            background-color: transparent;
            color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
        }

        /* Media Queries */
        @media screen and (max-width: 992px) {
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100%;
                flex-direction: column;
                background-color: var(--light-color);
                padding-top: 120px;
                transition: 0.4s;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-item {
                margin: 0;
                padding: 15px 30px;
            }

            .hamburger {
                display: block;
            }

            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }

            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 1;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .about-text {
                flex: 100%;
                padding-right: 0;
                margin-bottom: 50px;
            }

            .about-image {
                flex: 100%;
            }

            .schedule-item {
                flex-direction: column;
            }

            .schedule-time {
                width: 100%;
                padding: 10px;
            }

            .ticket-card {
                margin-bottom: 30px;
            }
        }

        @media screen and (max-width: 768px) {
            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 1;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 2rem;
            }

            .event-image {
                width: 150px;
                height: 120px;
            }

            .section-title {
                font-size: 2rem;
            }

            .countdown {
                flex-wrap: wrap;
            }

            .countdown-item {
                flex: 1;
                min-width: 70px;
                margin-bottom: 15px;
            }

            .mailing-form {
                flex-direction: column;
            }

            .virtual-icons {
                flex-wrap: wrap;
            }
        }

        @media screen and (max-width: 480px) {
            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 1;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 1.8rem;
            }

            .btn {
                padding: 10px 20px;
            }
        }

        .registration-form {
            max-width: 600px;
            margin: 0 auto;
            padding: 30px;
            background: var(--light-color);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .form-description {
            text-align: center;
            margin-bottom: 30px;
            color: var(--dark-color);
        }

        .registration-form-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            width: 100%;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: var(--font-body);
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(0, 255, 174, 0.2);
        }

        .form-group select {
            appearance: none;
            background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' 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") no-repeat right 12px center;
            background-size: 16px;
        }

        .cta-container {
            text-align: center;
            margin: 50px auto 0;
            max-width: 600px;
            padding: 0 20px;
            width: 100%;
        }

        .cta-text {
            margin-bottom: 20px;
            color: var(--dark-color);
            font-size: 1.1rem;
        }

        .cta-btn {
            display: inline-block;
            margin-top: 20px;
            min-width: 200px;
        }

        .gift-incentive {
            background: rgba(255, 255, 255, 0.9);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 1.5rem auto;
            max-width: 500px;
            border: 2px dashed #27ae60;
        }

        .gift-incentive p {
            text-align: center;
            margin: 0;
            line-height: 1.6;
        }

        .gift-incentive strong {
            color: #27ae60;
        }

        .limited-offer {
            display: block;
            margin-top: 0.5rem;
            color: #e74c3c;
            font-weight: bold;
        }


  
/* Screening Selection Styles */
.screening-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.screening-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: #fafafa;
    position: relative;
}

.screening-option:hover {
    border-color: var(--secondary-color);
    background-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(89, 124, 255, 0.08);
}

.screening-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
}

.screening-option input[type="radio"]:checked + .screening-details strong {
    color: var(--secondary-color);
}

.screening-option:has(input[type="radio"]:checked) {
    border-color: var(--secondary-color);
    background-color: rgba(89, 124, 255, 0.02);
    box-shadow: 0 0 0 1px rgba(89, 124, 255, 0.2);
}

.screening-details {
    flex: 1;
}

.screening-details strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: var(--dark-color);
}

.screening-details p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Mobile responsiveness for screening options */
@media screen and (max-width: 768px) {
    .screening-option {
        padding: 12px;
    }
    
    .screening-details strong {
        font-size: 1em;
    }
    
    .screening-details p {
        font-size: 0.85em;
    }
}

/* Form message styles (enhance existing) */
.form-message.processing {
    color: var(--secondary-color);
    background-color: rgba(89, 124, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.form-message.success {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.form-message.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

/* ═══════════════════════════════════════════════════
   WITNESS Multi-Step Submission Form
   ═══════════════════════════════════════════════════ */

/* Form element resets — browsers don't inherit font on form controls */
.witness-form-section input,
.witness-form-section textarea,
.witness-form-section button,
.witness-form-section select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.witness-form-section button {
    cursor: pointer;
}

/* Override base .btn margin-top inside the form */
.witness-form-section .btn {
    margin-top: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
}

/* Hero */
.witness-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(89, 124, 255, 0.06) 0%, rgba(0, 255, 174, 0.06) 100%);
}

.witness-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.witness-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.witness-edition {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.witness-theme {
    font-family: var(--font-hero);
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.witness-theme strong {
    color: var(--secondary-color);
    letter-spacing: 3px;
}

.witness-byline {
    font-size: 0.95rem;
    color: #888;
}

/* Form Section */
.witness-form-section {
    padding: 40px 0 100px;
    background-color: #f9f9f9;
}

.witness-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.witness-form-intro {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    line-height: 1.7;
    color: #555;
}

.witness-form-intro strong {
    color: var(--secondary-color);
}

.witness-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 10px;
}

/* Progress bar */
.msf-progress {
    margin-bottom: 40px;
}

.msf-progress-bar {
    height: 4px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.msf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 0.4s ease;
}

.msf-steps {
    display: flex;
    justify-content: space-between;
}

.msf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.msf-step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #bbb;
    background: var(--light-color);
    transition: all 0.3s ease;
}

.msf-step-label {
    font-size: 0.75rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.msf-step.active .msf-step-number {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--light-color);
}

.msf-step.active .msf-step-label {
    color: var(--secondary-color);
    font-weight: 600;
}

.msf-step.completed .msf-step-number {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--dark-color);
}

.msf-step.completed .msf-step-label {
    color: var(--dark-color);
}

/* Panels */
.msf-panel {
    display: none;
}

.msf-panel.active {
    display: block;
    animation: msfFadeIn 0.35s ease;
}

@keyframes msfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.msf-panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Fields */
.msf-field {
    margin-bottom: 22px;
}

.msf-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.msf-field input[type="text"],
.msf-field input[type="email"],
.msf-field input[type="tel"],
.msf-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.msf-field input:focus,
.msf-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 255, 174, 0.2);
}

.msf-field textarea {
    resize: vertical;
    min-height: 100px;
}

.msf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .msf-field-row {
        grid-template-columns: 1fr;
    }
}

.required {
    color: #e74c3c;
}

.msf-hint {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
}

.msf-error {
    display: block;
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 0;
}

.msf-field-invalid input,
.msf-field-invalid textarea,
.msf-field-invalid .msf-checkbox-group {
    border-color: #e74c3c !important;
}

input.msf-field-invalid {
    border-color: #e74c3c !important;
}

/* Word count */
.msf-word-count {
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.msf-word-count.msf-over-limit {
    color: #e74c3c;
    font-weight: 600;
}

/* Checkbox group */
.msf-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.msf-checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 400;
    margin-bottom: 0;
}

.msf-checkbox-option:hover {
    background-color: #f7f7f7;
}

.msf-checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

.msf-checkbox-option span {
    font-size: 0.95rem;
    color: var(--dark-color);
}

.msf-other-input {
    margin-top: 8px;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* Radio group */
.msf-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.msf-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    margin-bottom: 0;
}

.msf-radio-option:hover {
    border-color: var(--secondary-color);
    background-color: rgba(89, 124, 255, 0.02);
}

.msf-radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

.msf-radio-option:has(input:checked) {
    border-color: var(--secondary-color);
    background-color: rgba(89, 124, 255, 0.04);
}

/* Terms checkbox */
.msf-checkbox-single {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
}

.msf-checkbox-single input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

/* Subsections */
.msf-subsection {
    margin-bottom: 30px;
}

.msf-subsection-title {
    font-family: var(--font-hero);
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}

/* Final note */
.msf-final-note {
    background: rgba(89, 124, 255, 0.06);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    margin: 25px 0;
    font-size: 0.95rem;
    color: #555;
}

/* Upload area */
.msf-upload-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff9e6;
    border: 1px solid #f0e0a0;
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #666;
}

.msf-upload-notice i {
    color: #d4a017;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.msf-upload-dropzone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.msf-upload-dropzone:hover,
.msf-upload-dropzone.msf-drag-over {
    border-color: var(--secondary-color);
    background: rgba(89, 124, 255, 0.03);
}

.msf-upload-dropzone i {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}

.msf-upload-dropzone p {
    margin: 0;
    color: #888;
}

.msf-browse-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.msf-upload-previews {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.msf-upload-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.msf-upload-thumb {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.msf-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msf-upload-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(231, 76, 60, 0.85);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.msf-upload-remove:hover {
    background: #e74c3c;
}

.msf-upload-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msf-upload-title {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.msf-upload-title:focus {
    outline: none;
    border-color: var(--primary-color);
}

.msf-upload-filename {
    font-size: 0.8rem;
    color: #999;
}

/* Action buttons */
.msf-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.msf-btn-prev {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-body);
}

.msf-btn-prev:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.msf-btn-next,
.msf-btn-submit {
    cursor: pointer;
    font-family: var(--font-body);
}

.msf-btn-next i,
.msf-btn-prev i,
.msf-btn-submit i {
    margin: 0 4px;
}

.msf-btn-submit {
    background: linear-gradient(135deg, var(--secondary-color), #4a6cf7);
    border-color: transparent;
}

.msf-btn-submit:hover {
    background: linear-gradient(135deg, #4a6cf7, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(89, 124, 255, 0.3);
    color: var(--light-color);
}

/* Success panel */
.msf-success-panel {
    text-align: center;
    padding: 60px 20px;
}

.msf-success-content i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.msf-success-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.msf-success-content p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.msf-success-email {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

.msf-success-email span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .witness-hero {
        padding: 120px 0 40px;
    }

    .witness-form-wrapper {
        padding: 25px 18px;
        margin: 0 10px;
    }

    .msf-step-label {
        font-size: 0.65rem;
    }

    .msf-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .msf-panel-title {
        font-size: 1.4rem;
    }

    .msf-upload-item {
        flex-direction: column;
        align-items: stretch;
    }

    .msf-upload-thumb {
        width: 100%;
        height: 150px;
    }

    .msf-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .msf-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .witness-title {
        font-size: 1.8rem;
    }

    .witness-theme {
        font-size: 1.3rem;
    }

    .msf-step-label {
        display: none;
    }
}