/* ========================================
   EXPERTS123 - MODERN DESIGN OVERHAUL
   ======================================== */

/* ========================================
   GLOBAL TYPOGRAPHY & SPACING
   ======================================== */

/* Modern font stack with fallbacks */
body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: #4a5568;
}

/* ========================================
   HEADER DESIGN
   ======================================== */

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.custom-header .logo {
    flex-shrink: 0;
}

.custom-header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.custom-header nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.custom-header nav a:hover {
    color: #8b5cf6;
}

.custom-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #fbbf24);
    transition: width 0.3s ease;
}

.custom-header nav a:hover::after {
    width: 100%;
}

.community-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
    color: white;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a202c;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    border: none;
    cursor: pointer;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.5);
    color: #1a202c;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   ASK EXPERT SECTION
   ======================================== */

.ask-expert-section {
    padding: 4rem 0;
    background: white;
}

.ask-expert-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ask-expert-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.ask-expert-header p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.chat-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.initial-question h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.hidden-fields {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.hidden-fields.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.edit-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

#submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

#submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* ========================================
   QUESTIONS LIST SECTION
   ======================================== */

.questions-list {
    padding: 4rem 0;
    background: #f8fafc;
}

.questions-list h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a202c;
}

.question-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.3s ease;
}

.question-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.question-item h3 {
    margin-bottom: 0.75rem;
}

.question-item h3 a {
    color: #1a202c;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.question-item h3 a:hover {
    color: #8b5cf6;
}

.question-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
}

.question-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   FOOTER DESIGN
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 3rem 0 2rem;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.site-footer h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========================================
   ANSPRESS STYLING OVERRIDES
   ======================================== */

/* Hide AnsPress credit */
.ap-cradit {
    display: none !important;
}

/* Questions listing improvements */
.ap-questions-item {
    background: white !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(139, 92, 246, 0.08) !important;
    transition: all 0.3s ease !important;
}

.ap-questions-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

.ap-questions-title a {
    color: #1a202c !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.ap-questions-title a:hover {
    color: #8b5cf6 !important;
}

.ap-display-question-meta {
    margin-top: 0.75rem !important;
}

.ap-display-question-meta span {
    font-size: 0.875rem !important;
    color: #718096 !important;
    font-weight: 500 !important;
}

/* Question page improvements */
.ap-q {
    background: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.08) !important;
}

.ap-question-meta {
    margin-bottom: 1.5rem !important;
}

.ap-question-meta span {
    font-size: 0.875rem !important;
    color: #718096 !important;
    font-weight: 500 !important;
}

.ap-q-content {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: #2d3748 !important;
    margin-bottom: 1.5rem !important;
}

/* Buttons */
.ap-btn-ask {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25) !important;
    border: none !important;
    text-decoration: none !important;
}

.ap-btn-ask:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35) !important;
    color: white !important;
}

.ap-search-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #1a202c !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.ap-search-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
}

/* Search input */
.ap-search-input {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.ap-search-input:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

/* Related questions widget */
.ap-widget-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 1.5rem !important;
}

.ap-question-item {
    padding: 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.ap-question-item:hover {
    background: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px) !important;
}

.ap-question-title a {
    color: #1a202c !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.ap-question-title a:hover {
    color: #8b5cf6 !important;
}

/* ========================================
   ANSPRESS ASK FORM STYLING
   ======================================== */

/* Ask page container */
.ap-ask-page {
    background: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.08) !important;
    margin: 2rem auto !important;
    max-width: 600px !important;
}

/* Ask page header */
.ap-ask-page h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    letter-spacing: -0.02em !important;
}

/* Form styling */
.ap-ask-form {
    max-width: 100% !important;
    margin: 0 auto !important;
}

.ap-form-group {
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

.ap-form-group label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.ap-form-group input[type="text"],
.ap-form-group input[type="email"],
.ap-form-group textarea,
.ap-form-group select {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    transition: all 0.3s ease !important;
    background: #f8fafc !important;
    color: #2d3748 !important;
}

.ap-form-group input[type="text"]:focus,
.ap-form-group input[type="email"]:focus,
.ap-form-group textarea:focus,
.ap-form-group select:focus {
    outline: none !important;
    border-color: #8b5cf6 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

.ap-form-group input[type="text"]::placeholder,
.ap-form-group input[type="email"]::placeholder,
.ap-form-group textarea::placeholder {
    color: #a0aec0 !important;
}

/* Category dropdown improvements */
.ap-form-group select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

/* TinyMCE editor styling */
.mce-content-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #2d3748 !important;
}

#form_question-post_content_ifr {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.mce-toolbar {
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.mce-btn {
    background: transparent !important;
    border: none !important;
    color: #4a5568 !important;
    transition: all 0.2s ease !important;
}

.mce-btn:hover {
    background: #e2e8f0 !important;
    color: #1a202c !important;
}

.mce-btn.mce-active {
    background: #8b5cf6 !important;
    color: white !important;
}

/* Checkbox styling */
.ap-form-group input[type="checkbox"] {
    width: auto !important;
    margin-right: 0.5rem !important;
    transform: scale(1.2) !important;
}

.ap-form-group input[type="checkbox"] + label {
    display: inline !important;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
}

/* Submit button */
.ap-form-group .ap-btn-submit {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

.ap-form-group .ap-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4) !important;
    color: white !important;
}

/* Login/Register section */
.ap-login {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-top: 1.5rem !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
}

.ap-login h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin-bottom: 1rem !important;
}

.ap-login-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.ap-login-buttons a {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25) !important;
}

.ap-login-buttons a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35) !important;
    color: white !important;
}

.ap-login-sep {
    color: #718096 !important;
    font-weight: 500 !important;
    align-self: center !important;
}

/* Form validation styling */
.ap-form-group.ap-field-error input,
.ap-form-group.ap-field-error textarea,
.ap-form-group.ap-field-error select {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.ap-form-group .ap-field-error-message {
    color: #e53e3e !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
    font-weight: 500 !important;
}

/* Success message */
.ap-form-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    margin: 1rem 0 !important;
    text-align: center !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

/* Loading state */
.ap-form-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.ap-form-loading .ap-btn-submit {
    position: relative !important;
}

.ap-form-loading .ap-btn-submit::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    border-top-color: white !important;
    animation: spin 1s ease-in-out infinite !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .ask-expert-header h2 {
        font-size: 2rem;
    }
    
    .chat-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .custom-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-header nav ul {
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Ask form responsive */
    .ap-ask-page {
        padding: 2rem !important;
        margin: 1rem !important;
    }
    
    .ap-ask-page h1 {
        font-size: 2rem !important;
    }
    
    .ap-login-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .chat-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
    
    /* Ask form mobile */
    .ap-ask-page {
        padding: 1.5rem !important;
    }
    
    .ap-form-group input[type="text"],
    .ap-form-group input[type="email"],
    .ap-form-group textarea,
    .ap-form-group select {
        padding: 0.875rem 1rem !important;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   DEBUG STYLES (HIDDEN)
   ======================================== */

.debug-info {
    display: none !important;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .custom-header,
    .hero-section,
    .ask-expert-section,
    .site-footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
  