/*
 Theme Name:   Pharma-Board Child
 Description:  Child theme for Astra
 Author:       Pharma-Board
 Template:     astra
 Version:      1.0.6
*/

/* ==========================================================================
   CSS Variables (Global Design Tokens)
   ========================================================================== */

:root {
    --pb-blue-900: #0c1929;
    --pb-blue-800: #122a45;
    --pb-blue-700: #1a3a5c;
    --pb-blue-600: #1e4d7b;
    --pb-blue-500: #2563eb;
    --pb-blue-400: #3b82f6;
    --pb-blue-300: #60a5fa;
    --pb-blue-200: #93c5fd;
    --pb-blue-100: #dbeafe;
    --pb-blue-50: #eff6ff;
    --pb-cyan: #06b6d4;
    --pb-white: #ffffff;
    --pb-gray-900: #111827;
    --pb-gray-800: #1f2937;
    --pb-gray-700: #374151;
    --pb-gray-600: #4b5563;
    --pb-gray-500: #6b7280;
    --pb-gray-400: #9ca3af;
    --pb-gray-200: #e5e7eb;
    --pb-gray-100: #f3f4f6;
    --pb-gray-50: #f9fafb;
}

/* ==========================================================================
   Astra Theme Overrides (All Custom Pages)
   Add your template class here: .page-template-page-yourpage
   ========================================================================== */

.page-template-page-about-us #primary,
.page-template-page-about-us .ast-container,
.page-template-page-about-us .site-content > .ast-container,
.page-template-page-contact-us #primary,
.page-template-page-contact-us .ast-container,
.page-template-page-contact-us .site-content > .ast-container,
.page-template-page-html-report #primary,
.page-template-page-html-report .ast-container,
.page-template-page-html-report .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.page-template-page-about-us .entry-content,
.page-template-page-contact-us .entry-content,
.page-template-page-html-report .entry-content {
    margin: 0;
}

.page-template-page-about-us #primary,
.page-template-page-contact-us #primary,
.page-template-page-html-report #primary {
    margin: 0;
    padding: 0;
}

.page-template-page-about-us .ast-separate-container .ast-article-single,
.page-template-page-contact-us .ast-separate-container .ast-article-single,
.page-template-page-html-report .ast-separate-container .ast-article-single {
    padding: 0;
    background: transparent;
}

.page-template-page-about-us .ast-separate-container #primary,
.page-template-page-contact-us .ast-separate-container #primary,
.page-template-page-html-report .ast-separate-container #primary {
    padding: 0;
    margin: 0;
}

.page-template-page-about-us .entry-header,
.page-template-page-contact-us .entry-header,
.page-template-page-html-report .entry-header {
    display: none;
}

/* ==========================================================================
   BASE STYLES - Shared Across All Custom Pages
   ========================================================================== */

/* Page Wrapper - Use .pb-page for any custom page */
.pb-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--pb-gray-700);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.pb-page *,
.pb-page *::before,
.pb-page *::after {
    box-sizing: border-box;
}

/* Legacy support */
.pb-about-main,
.pb-contact-main {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--pb-gray-700);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.pb-about-main *,
.pb-about-main *::before,
.pb-about-main *::after,
.pb-contact-main *,
.pb-contact-main *::before,
.pb-contact-main *::after {
    box-sizing: border-box;
}

/* Container */
.pb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Hero Section (Reusable)
   ========================================================================== */

.pb-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

.pb-hero-sm {
    min-height: 350px;
    padding: 80px 24px 60px;
}

.pb-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0c1929 0%, #1a3a5c 40%, #2563eb 100%);
    z-index: 1;
}

.pb-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

.pb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.pb-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pb-cyan);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.pb-hero h1 {
    color: var(--pb-white) !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 20px !important;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pb-hero-sm h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 16px !important;
    line-height: 1.2;
}

.pb-hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin: 0 0 32px;
    line-height: 1.6;
}

.pb-hero-sm .pb-hero-text {
    font-size: 1.125rem;
    margin: 0;
}

.pb-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons (Reusable)
   ========================================================================== */

.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.pb-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: var(--pb-white) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.pb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: var(--pb-white) !important;
}

.pb-btn-outline {
    background: transparent;
    color: var(--pb-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--pb-white) !important;
}

.pb-btn-white {
    background: var(--pb-white);
    color: var(--pb-blue-600) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pb-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--pb-blue-700) !important;
}

/* ==========================================================================
   Sections (Reusable)
   ========================================================================== */

.pb-section {
    padding: 80px 24px;
    background: var(--pb-white);
}

.pb-section-light {
    background: var(--pb-gray-50);
}

.pb-section-dark {
    background: linear-gradient(135deg, #1e4d7b 0%, #2563eb 50%, #3b82f6 100%);
}

.pb-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.pb-section-header-light h2 {
    color: var(--pb-white) !important;
}

.pb-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pb-blue-500);
    margin-bottom: 12px;
}

.pb-label-light {
    color: var(--pb-cyan);
}

.pb-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--pb-gray-900);
    margin: 0 0 16px !important;
    letter-spacing: -0.02em;
}

.pb-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

.pb-intro {
    font-size: 1.1rem;
    color: var(--pb-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Typography (Reusable)
   ========================================================================== */

.pb-lead {
    font-size: 1.25rem;
    color: var(--pb-gray-800);
    font-weight: 500;
    line-height: 1.7;
    margin: 0 0 16px;
}

.pb-text-center {
    text-align: center;
}

.pb-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.pb-text-content p {
    font-size: 1.0625rem;
    color: var(--pb-gray-600);
    line-height: 1.8;
    margin: 0 0 16px;
}

.pb-text-content p:last-child {
    margin: 0;
}

/* ==========================================================================
   Grids (Reusable)
   ========================================================================== */

.pb-grid {
    display: grid;
    gap: 24px;
}

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

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

.pb-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Cards (Reusable)
   ========================================================================== */

.pb-card {
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pb-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px !important;
    color: var(--pb-gray-900);
}

.pb-card p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Glass Card (for dark backgrounds) */
.pb-card-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pb-card-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.pb-card-glass h3 {
    color: var(--pb-white) !important;
}

.pb-card-glass p {
    color: rgba(255, 255, 255, 0.7);
}

.pb-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Service Card (for light backgrounds) */
.pb-card-service {
    background: var(--pb-white);
    border: 1px solid var(--pb-gray-200);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pb-card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--pb-blue-200);
}

.pb-service-icon {
    width: 60px;
    height: 60px;
    background: var(--pb-blue-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Info Cards (Horizontal layout)
   ========================================================================== */

.pb-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--pb-white);
    border-radius: 12px;
    border: 1px solid var(--pb-gray-200);
    transition: all 0.3s ease;
}

.pb-info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--pb-blue-200);
}

.pb-info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.pb-info-card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pb-gray-900);
    margin: 0 0 4px !important;
}

.pb-info-card-content p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    margin: 0;
}

/* ==========================================================================
   Benefits (Icon top, centered)
   ========================================================================== */

.pb-benefit {
    background: var(--pb-white);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--pb-gray-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.pb-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.pb-benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.pb-benefit h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pb-gray-900);
    margin: 0 0 8px !important;
}

.pb-benefit p {
    font-size: 0.875rem;
    color: var(--pb-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Note Box
   ========================================================================== */

.pb-note {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--pb-blue-50);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--pb-blue-100);
}

.pb-note p {
    font-size: 1rem;
    color: var(--pb-gray-700);
    margin: 0 auto;
    max-width: 800px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.pb-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #2563eb 50%, #06b6d4 100%);
    padding: 80px 24px;
    text-align: center;
}

.pb-cta h2 {
    color: var(--pb-white) !important;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 12px !important;
}

.pb-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin: 0 0 28px;
}

/* ==========================================================================
   Disclaimer Section
   ========================================================================== */

.pb-disclaimer {
    background: var(--pb-gray-50);
    padding: 50px 24px;
}

.pb-disclaimer-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--pb-white);
    padding: 32px 40px;
    border-radius: 16px;
    border: 1px solid var(--pb-gray-200);
    text-align: center;
}

.pb-disclaimer-box p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    line-height: 1.7;
    margin: 0 0 12px;
}

.pb-disclaimer-box p:last-child {
    margin: 0;
}

.pb-disclaimer-box strong {
    color: var(--pb-gray-800);
}

.pb-disclaimer-box a {
    color: var(--pb-blue-500);
    text-decoration: none;
    font-weight: 500;
}

.pb-disclaimer-box a:hover {
    text-decoration: underline;
}

.pb-tagline {
    font-style: italic;
    color: var(--pb-gray-700) !important;
    font-weight: 500;
}

/* ==========================================================================
   Form Box (for WPForms or any form)
   ========================================================================== */

.pb-form-box {
    background: var(--pb-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--pb-gray-200);
}

.pb-form-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pb-gray-900);
    margin: 0 0 8px !important;
}

.pb-form-box > p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    margin: 0 0 24px;
}

/* WPForms Styling */
.pb-form-box .wpforms-container {
    margin: 0 !important;
}

.pb-form-box .wpforms-field {
    margin-bottom: 20px !important;
}

.pb-form-box .wpforms-field-label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--pb-gray-700) !important;
    margin-bottom: 8px !important;
}

.pb-form-box .wpforms-field input[type="text"],
.pb-form-box .wpforms-field input[type="email"],
.pb-form-box .wpforms-field textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    border: 1px solid var(--pb-gray-200) !important;
    border-radius: 10px !important;
    background: var(--pb-gray-50) !important;
    transition: all 0.3s ease !important;
}

.pb-form-box .wpforms-field input[type="text"]:focus,
.pb-form-box .wpforms-field input[type="email"]:focus,
.pb-form-box .wpforms-field textarea:focus {
    outline: none !important;
    border-color: var(--pb-blue-400) !important;
    background: var(--pb-white) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.pb-form-box .wpforms-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.pb-form-box .wpforms-submit-container {
    margin-top: 24px !important;
    padding: 0 !important;
}

.pb-form-box .wpforms-submit {
    width: 100% !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
    color: var(--pb-white) !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

.pb-form-box .wpforms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}

/* ==========================================================================
   Two Column Layout
   ========================================================================== */

.pb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.pb-two-col h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pb-gray-900);
    margin: 0 0 16px !important;
}

.pb-two-col-intro {
    font-size: 1.0625rem;
    color: var(--pb-gray-600);
    line-height: 1.7;
    margin: 0 0 32px;
}

/* ==========================================================================
   BASE RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .pb-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 968px) {
    .pb-two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pb-form-box {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .pb-hero {
        min-height: 450px;
        padding: 80px 20px 60px;
    }

    .pb-hero-sm {
        min-height: 280px;
        padding: 60px 20px 50px;
    }

    .pb-section {
        padding: 60px 20px;
    }

    .pb-grid-2,
    .pb-grid-3,
    .pb-grid-4 {
        grid-template-columns: 1fr;
    }

    .pb-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pb-btn {
        width: 100%;
        max-width: 280px;
    }

    .pb-disclaimer-box {
        padding: 24px;
    }

    .pb-form-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pb-hero {
        padding: 60px 16px 50px;
        min-height: auto;
    }

    .pb-hero-sm {
        padding: 50px 16px 40px;
    }

    .pb-section {
        padding: 50px 16px;
    }

    .pb-card {
        padding: 24px;
    }

    .pb-cta {
        padding: 60px 16px;
    }

    .pb-container {
        padding: 0 16px;
    }

    .pb-form-box {
        padding: 20px;
        border-radius: 16px;
    }

    .pb-info-card {
        padding: 16px;
    }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC (Legacy support)
   ========================================================================== */

.pb-contact-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.pb-contact-hero .pb-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0c1929 0%, #1a3a5c 40%, #2563eb 100%);
    z-index: 1;
}

.pb-contact-hero .pb-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

.pb-contact-hero .pb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.pb-contact-hero h1 {
    color: var(--pb-white) !important;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 16px !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pb-contact-hero .pb-hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.6;
}

.pb-contact-section {
    padding: 80px 24px;
    background: var(--pb-gray-50);
}

.pb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.pb-contact-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pb-gray-900);
    margin: 0 0 16px !important;
}

.pb-contact-intro {
    font-size: 1.0625rem;
    color: var(--pb-gray-600);
    line-height: 1.7;
    margin: 0 0 32px;
}

.pb-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--pb-white);
    border-radius: 12px;
    border: 1px solid var(--pb-gray-200);
    transition: all 0.3s ease;
}

.pb-contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--pb-blue-200);
}

.pb-contact-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.pb-contact-card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pb-gray-900);
    margin: 0 0 4px !important;
}

.pb-contact-card-content p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    margin: 0;
}

.pb-contact-form-wrapper {
    position: relative;
}

.pb-contact-form-box {
    background: var(--pb-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--pb-gray-200);
}

.pb-contact-form-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pb-gray-900);
    margin: 0 0 8px !important;
}

.pb-contact-form-box > p {
    font-size: 0.9375rem;
    color: var(--pb-gray-600);
    margin: 0 0 24px;
}

/* WPForms in Contact Form Box */
.pb-contact-form-box .wpforms-container {
    margin: 0 !important;
}

.pb-contact-form-box .wpforms-field {
    margin-bottom: 20px !important;
}

.pb-contact-form-box .wpforms-field-label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--pb-gray-700) !important;
    margin-bottom: 8px !important;
}

.pb-contact-form-box .wpforms-field input[type="text"],
.pb-contact-form-box .wpforms-field input[type="email"],
.pb-contact-form-box .wpforms-field textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    border: 1px solid var(--pb-gray-200) !important;
    border-radius: 10px !important;
    background: var(--pb-gray-50) !important;
    transition: all 0.3s ease !important;
}

.pb-contact-form-box .wpforms-field input[type="text"]:focus,
.pb-contact-form-box .wpforms-field input[type="email"]:focus,
.pb-contact-form-box .wpforms-field textarea:focus {
    outline: none !important;
    border-color: var(--pb-blue-400) !important;
    background: var(--pb-white) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.pb-contact-form-box .wpforms-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.pb-contact-form-box .wpforms-submit-container {
    margin-top: 24px !important;
    padding: 0 !important;
}

.pb-contact-form-box .wpforms-submit {
    width: 100% !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
    color: var(--pb-white) !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

.pb-contact-form-box .wpforms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .pb-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pb-contact-form-box {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .pb-contact-hero {
        min-height: 280px;
        padding: 60px 20px 50px;
    }

    .pb-contact-section {
        padding: 60px 20px;
    }

    .pb-contact-form-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pb-contact-hero {
        padding: 50px 16px 40px;
    }

    .pb-contact-section {
        padding: 40px 16px;
    }

    .pb-contact-form-box {
        padding: 20px;
        border-radius: 16px;
    }

    .pb-contact-card {
        padding: 16px;
    }
}
