        /* Contact page specific styles */
        main {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            min-height: calc(100vh - 200px); /* Account for header and footer */
        }

        .form-container {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            max-width: 500px;
            width: 100%;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .form-title {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-title h1 {
            font-size: 2rem;
            font-weight: bold;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        .form-title p {
            color: #718096;
            font-size: 0.9rem;
        }

        form h2 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.8rem;
            text-align: center;
        }

        .form-group {
            margin-bottom: 25px;
        }

        /* Honeypot: positioned off-screen rather than display:none so bots
           that skip hidden fields still fill it. Not for human eyes. */
        .hp-field {
            position: absolute;
            left: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .name-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .name-field {
            display: flex;
            flex-direction: column;
        }

        label {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        label em {
            color: #e53e3e;
            font-style: normal;
            margin-left: 3px;
        }

        .helper-text {
            font-size: 0.85rem;
            color: #718096;
            margin-top: 3px;
        }

        input[type="text"],
        input[type="email"],
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        textarea:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
        }

        .form-container button {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .form-container button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .form-container button:active {
            transform: translateY(0);
        }

        .back-link {
            text-align: center;
            margin-top: 20px;
        }

        .back-link a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .back-link a:hover {
            color: #764ba2;
        }

        @media (max-width: 768px) {
            .form-container {
                padding: 30px 20px;
                margin: 10px;
            }

            .name-group {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .logo h1 {
                font-size: 1.6rem;
            }

            form h2 {
                font-size: 1.5rem;
            }
        }

        .success-message {
            text-align: center;
            padding: 20px 0;
        }

        .success-message h2 {
            color: #38a169;
            margin-bottom: 10px;
        }

        .success-message p {
            color: #718096;
        }

        .error-messages {
            margin-bottom: 20px;
        }

        .error-messages .error {
            color: #e53e3e;
            font-size: 0.9rem;
            margin: 4px 0;
        }

        /* Loading state for form submission */
        .form-loading {
            opacity: 0.7;
            pointer-events: none;
        }

        .form-loading .form-container button {
            background: #a0aec0;
            cursor: not-allowed;
        }
