/*
 Theme Name:   Astra Child - PMAIM
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme for Philippine Medical Academy of Integrative Medicine Inc.
 Author:       PMAIM
 Author URI:   https://pmaim.org.ph
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

:root {
    --pmaim-primary: #1B3A5C;
    --pmaim-secondary: #2E7D32;
    --pmaim-accent: #C8A951;
    --pmaim-light: #F5F7FA;
    --pmaim-dark: #0D1F2D;
    --pmaim-text: #333333;
    --pmaim-white: #FFFFFF;
    --pmaim-gray: #6B7280;
    --pmaim-border: #E5E7EB;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--pmaim-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pmaim-primary);
    font-weight: 700;
    line-height: 1.3;
}

.ast-primary-header-bar {
    background-color: var(--pmaim-white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.main-header-menu .menu-item a {
    color: var(--pmaim-primary) !important;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-header-menu .menu-item a:hover,
.main-header-menu .current-menu-item > a {
    color: var(--pmaim-accent) !important;
}

button, input[type=submit] {
    background-color: var(--pmaim-primary) !important;
    color: var(--pmaim-white) !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

button:hover, input[type=submit]:hover {
    background-color: var(--pmaim-accent) !important;
    color: var(--pmaim-white) !important;
}

/* Primary Button Style */
.wp-block-button.pmaim-btn .wp-block-button__link,
.pmaim-btn .wp-block-button__link,
.wp-block-button.pmaim-btn a,
.pmaim-btn a {
    background-color: #C8A951 !important;
    color: #FFFFFF !important;
    border: none;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(200, 169, 81, 0.3);
    display: inline-block;
}

.wp-block-button.pmaim-btn .wp-block-button__link:hover,
.pmaim-btn .wp-block-button__link:hover,
.wp-block-button.pmaim-btn a:hover,
.pmaim-btn a:hover {
    background-color: #1B3A5C !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 58, 92, 0.4);
}

/* Outline Button Style */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline a {
    background-color: transparent !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
    padding: 14px 38px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.4s ease;
    display: inline-block;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline a:hover {
    background-color: #FFFFFF !important;
    color: #1B3A5C !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Dark Section Button */
.pmaim-section-dark .wp-block-button.pmaim-btn .wp-block-button__link,
.pmaim-section-dark .wp-block-button.pmaim-btn a,
.pmaim-section-dark .pmaim-btn a {
    background-color: #C8A951 !important;
    color: #1B3A5C !important;
}

.pmaim-section-dark .wp-block-button.pmaim-btn .wp-block-button__link:hover,
.pmaim-section-dark .wp-block-button.pmaim-btn a:hover,
.pmaim-section-dark .pmaim-btn a:hover {
    background-color: #FFFFFF !important;
    color: #1B3A5C !important;
}

/* Button in Hero Section */
.pmaim-hero .wp-block-button.pmaim-btn .wp-block-button__link,
.pmaim-hero .wp-block-button.pmaim-btn a,
.pmaim-hero .pmaim-btn a {
    background-color: #C8A951 !important;
    color: #0D1F2D !important;
    font-weight: 800;
    padding: 18px 45px;
    font-size: 17px;
}

.pmaim-hero .wp-block-button.pmaim-btn .wp-block-button__link:hover,
.pmaim-hero .wp-block-button.pmaim-btn a:hover,
.pmaim-hero .pmaim-btn a:hover {
    background-color: #FFFFFF !important;
    color: #1B3A5C !important;
}

.pmaim-hero .wp-block-button.is-style-outline .wp-block-button__link,
.pmaim-hero .wp-block-button.is-style-outline a {
    border-color: #C8A951 !important;
    color: #C8A951 !important;
}

.pmaim-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.pmaim-hero .wp-block-button.is-style-outline a:hover {
    background-color: #C8A951 !important;
    color: #FFFFFF !important;
}

/* All buttons in regular sections */
.pmaim-section .wp-block-button.pmaim-btn a,
.pmaim-section .pmaim-btn a,
.pmaim-section-alt .wp-block-button.pmaim-btn a,
.pmaim-section-alt .pmaim-btn a,
.entry-content .pmaim-section .wp-block-button.pmaim-btn a,
.entry-content .pmaim-section-alt .wp-block-button.pmaim-btn a {
    background-color: #FFFFFF !important;
    color: #1B3A5C !important;
    border: 2px solid #1B3A5C !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.pmaim-section .wp-block-button.pmaim-btn a:hover,
.pmaim-section .pmaim-btn a:hover,
.pmaim-section-alt .wp-block-button.pmaim-btn a:hover,
.pmaim-section-alt .pmaim-btn a:hover,
.entry-content .pmaim-section .wp-block-button.pmaim-btn a:hover,
.entry-content .pmaim-section-alt .wp-block-button.pmaim-btn a:hover {
    background-color: #C8A951 !important;
    color: #FFFFFF !important;
    border-color: #C8A951 !important;
}

/* Column buttons - Dark blue style */
.pmaim-column .wp-block-button.pmaim-btn a,
.pmaim-column .pmaim-btn a {
    background-color: #1B3A5C !important;
    color: #FFFFFF !important;
    border: 2px solid #1B3A5C !important;
}

.pmaim-column .wp-block-button.pmaim-btn a:hover,
.pmaim-column .pmaim-btn a:hover {
    background-color: #C8A951 !important;
    color: #FFFFFF !important;
    border-color: #C8A951 !important;
}

/* Hero Section */
.pmaim-hero {
    background: linear-gradient(135deg, #0D1F2D 0%, #1B3A5C 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.pmaim-hero h1 { color: #fff; font-size: 48px; margin-bottom: 20px; }
.pmaim-hero .pmaim-tagline { font-size: 20px; color: rgba(255,255,255,0.9); font-weight: 300; }
.pmaim-hero .pmaim-cta-text { font-size: 16px; color: #C8A951; font-weight: 600; }

/* Sections */
.pmaim-section { padding: 80px 0; }
.pmaim-section-alt { background-color: #F5F7FA; }
.pmaim-section-dark { background-color: #1B3A5C; color: #fff; }
.pmaim-section-dark h2, .pmaim-section-dark h3 { color: #fff; }

/* Cards */
.pmaim-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pmaim-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.pmaim-card h3 { color: #1B3A5C; margin-bottom: 15px; font-size: 20px; }
.pmaim-card p { color: #6B7280; font-size: 15px; }

/* Value Items */
.pmaim-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    text-align: center;
}

.pmaim-value-item {
    padding: 25px 15px;
    background: #fff;
    color: #333333 !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

/* Fix: Make value item card text dark (visible on white cards) */
.pmaim-value-item *,
.pmaim-value-item p,
.pmaim-value-item span,
.pmaim-value-item h1,
.pmaim-value-item h2,
.pmaim-value-item h3,
.pmaim-value-item h4,
.pmaim-value-item h5,
.pmaim-value-item h6,
.pmaim-value-item strong,
.pmaim-value-item em,
.pmaim-value-item a,
.pmaim-value-item li {
    color: #333333 !important;
}

/* Fix: Force dark text inside white-background cards in any dark section */
.pmaim-section-dark .wp-block-column *,
.pmaim-section-dark .wp-block-column p,
.pmaim-section-dark .wp-block-column span,
.pmaim-section-dark .wp-block-column li,
.pmaim-section-dark .wp-block-column strong {
    color: #333333 !important;
}

/* Fix: Keep section headings and intro text WHITE on dark background */
.pmaim-section-dark > h2,
.pmaim-section-dark > h3,
.pmaim-section-dark > h4,
.pmaim-section-dark > p,
.pmaim-section-dark > .wp-block-group > h2,
.pmaim-section-dark > .wp-block-group > h3,
.pmaim-section-dark > .wp-block-group > h4,
.pmaim-section-dark > .wp-block-group > p,
.pmaim-section-dark > .wp-block-group > .wp-block-heading,
.pmaim-section-dark .wp-block-heading:first-child,
.pmaim-section-dark > *:first-child,
.pmaim-section-dark > .wp-block-group > *:first-child {
    color: #FFFFFF !important;
}

.pmaim-value-item h4 {
    color: #1B3A5C !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pmaim-value-item:hover {
    transform: translateY(-5px);
}

.pmaim-value-item h4 {
    color: #1B3A5C;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Area Items */
.pmaim-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pmaim-area-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #C8A951;
    transition: transform 0.3s ease;
}

.pmaim-area-item:hover {
    transform: translateX(5px);
}

.pmaim-area-item strong { color: #1B3A5C; font-size: 15px; }

/* Benefits Grid */
.pmaim-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pmaim-benefit-item { display: flex; align-items: flex-start; gap: 15px; padding: 20px; }
.pmaim-benefit-icon { font-size: 30px; flex-shrink: 0; }
.pmaim-benefit-text h4 { color: #1B3A5C; margin-bottom: 8px; }
.pmaim-benefit-text p { color: #6B7280; font-size: 14px; margin: 0; }

/* Two Column Grid */
.pmaim-two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pmaim-column {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pmaim-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.pmaim-column h2 {
    color: #1B3A5C;
    margin-bottom: 20px;
    font-size: 24px;
}

.pmaim-column p {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* News List */
.pmaim-news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.pmaim-news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
}

.pmaim-news-list li:last-child {
    border-bottom: none;
}

.pmaim-news-list li:hover {
    padding-left: 10px;
}

.pmaim-news-list a {
    color: #1B3A5C;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.pmaim-news-list a:hover {
    color: #C8A951;
}

.pmaim-news-date {
    color: #C8A951;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Benefits List */
.pmaim-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.pmaim-benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
    color: #1B3A5C;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.pmaim-benefits-list li:last-child {
    border-bottom: none;
}

.pmaim-benefits-list li:hover {
    padding-left: 10px;
    color: #C8A951;
}

/* News Grid */
.pmaim-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pmaim-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.pmaim-news-card:hover { transform: translateY(-3px); }
.pmaim-news-card-content { padding: 25px; }
.pmaim-news-card-content .pmaim-date { color: #C8A951; font-size: 13px; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.pmaim-news-card-content h3 { font-size: 18px; margin-bottom: 10px; }
.pmaim-news-card-content p { color: #6B7280; font-size: 14px; }

/* Contact Grid */
.pmaim-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pmaim-contact-item { display: flex; align-items: flex-start; gap: 15px; padding: 20px; }
.pmaim-contact-icon { font-size: 24px; color: #C8A951; flex-shrink: 0; }

/* Footer */
.pmaim-footer-wrap {
    background-color: #0D1F2D;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

.pmaim-f-main {
    padding: 60px 0 40px;
}

.pmaim-f-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pmaim-f-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.pmaim-f-col h4,
.pmaim-footer-widget-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.pmaim-f-col h4::after,
.pmaim-footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #C8A951;
}

/* Footer Widget Styles */
.pmaim-footer-widget {
    margin-bottom: 15px;
}

.pmaim-footer-widget p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pmaim-footer-widget a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pmaim-footer-widget a:hover {
    color: #C8A951;
}

.pmaim-footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pmaim-footer-widget ul li {
    margin-bottom: 10px;
}

.pmaim-footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.pmaim-footer-widget ul li a:hover {
    color: #C8A951;
    padding-left: 5px;
}

/* Footer Widget Social Links */
.pmaim-f-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.pmaim-f-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pmaim-f-social a:hover {
    background-color: #C8A951;
    color: #fff;
}

.pmaim-f-social a .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Footer Widget Contact Items */
.pmaim-f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.pmaim-f-contact-icon {
    color: #C8A951;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.pmaim-f-contact-text {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.pmaim-f-contact-text a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pmaim-f-contact-text a:hover {
    color: #C8A951;
}

/* Footer Logo */
.pmaim-f-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    filter: none;
}

.pmaim-f-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    line-height: 1.8;
}

.pmaim-f-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    filter: none;
}

.pmaim-f-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    line-height: 1.8;
}

.pmaim-f-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.pmaim-f-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pmaim-f-social a:hover {
    background-color: #C8A951;
    color: #fff;
}

.pmaim-f-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pmaim-f-links li {
    margin-bottom: 10px;
}

.pmaim-f-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.pmaim-f-links a:hover {
    color: #C8A951;
    padding-left: 5px;
}

.pmaim-f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.pmaim-f-contact-icon {
    color: #C8A951;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.pmaim-f-contact-text {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.pmaim-f-contact-text a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pmaim-f-contact-text a:hover {
    color: #C8A951;
}

.pmaim-f-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pmaim-f-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pmaim-f-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.pmaim-f-legal {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pmaim-f-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.pmaim-f-legal a:hover {
    color: #C8A951;
}

.pmaim-f-divider {
    color: rgba(255,255,255,0.3);
}

/* Ultimate Member */
.um-form .um-button { background-color: #1B3A5C !important; }
.um-member-directory .um-member { border-radius: 8px; overflow: hidden; }

/* Responsive */
@media (max-width: 992px) {
    .pmaim-f-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pmaim-hero h1 { font-size: 32px; }
    .pmaim-hero { padding: 60px 0 50px; }
    .pmaim-section { padding: 50px 0; }
    .pmaim-values-grid { grid-template-columns: repeat(2, 1fr); }
    .pmaim-f-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pmaim-f-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .pmaim-two-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pmaim-column {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .pmaim-hero h1 { font-size: 26px; }
    .pmaim-values-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS FOR ALL PAGES
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero Animations */
.pmaim-hero h1 {
    animation: fadeInDown 1s ease-out;
}

.pmaim-hero .pmaim-tagline {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.pmaim-hero .pmaim-cta-text {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.pmaim-hero .wp-block-buttons {
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Section Animations */
.pmaim-section,
.pmaim-section-alt,
.pmaim-section-dark {
    animation: fadeIn 0.8s ease-out;
}

/* Card Animations */
.pmaim-value-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: scaleIn 0.6s ease-out both;
}

.pmaim-value-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Area Items Animation */
.pmaim-area-item {
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out both;
}

.pmaim-area-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left-color: #1B3A5C;
}

/* Benefit Items Animation */
.pmaim-benefit-item {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.pmaim-benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.pmaim-benefit-icon {
    transition: transform 0.3s ease;
}

.pmaim-benefit-item:hover .pmaim-benefit-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Button Animations */
.wp-block-button a,
.pmaim-btn a {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wp-block-button a::before,
.pmaim-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.wp-block-button a:hover::before,
.pmaim-btn a:hover::before {
    left: 100%;
}

/* Column Animations */
.pmaim-column {
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.pmaim-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* News List Animation */
.pmaim-news-list li {
    transition: all 0.3s ease;
}

.pmaim-news-list li:hover {
    padding-left: 15px;
    background: rgba(200, 169, 81, 0.05);
    border-radius: 4px;
}

/* Benefits List Animation */
.pmaim-benefits-list li {
    transition: all 0.3s ease;
}

.pmaim-benefits-list li:hover {
    padding-left: 15px;
    color: #C8A951;
}

/* News Card Animation */
.pmaim-news-card {
    transition: all 0.4s ease;
}

.pmaim-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Contact Item Animation */
.pmaim-contact-item {
    transition: all 0.3s ease;
}

.pmaim-contact-item:hover {
    transform: translateX(5px);
}

.pmaim-contact-icon {
    transition: all 0.3s ease;
}

.pmaim-contact-item:hover .pmaim-contact-icon {
    transform: scale(1.2);
    color: #1B3A5C;
}

/* Footer Link Animations */
.pmaim-f-links a {
    position: relative;
}

.pmaim-f-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C8A951;
    transition: width 0.3s ease;
}

.pmaim-f-links a:hover::before {
    width: 100%;
}

/* Social Icon Animation */
.pmaim-f-social a {
    transition: all 0.3s ease;
}

.pmaim-f-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Gold Shimmer for CTA Text */
.pmaim-cta-text strong {
    background: linear-gradient(90deg, #C8A951, #E8D5A3, #C8A951);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Staggered Animation Delays */
.pmaim-values-grid .pmaim-value-item:nth-child(1) { animation-delay: 0.1s; }
.pmaim-values-grid .pmaim-value-item:nth-child(2) { animation-delay: 0.2s; }
.pmaim-values-grid .pmaim-value-item:nth-child(3) { animation-delay: 0.3s; }
.pmaim-values-grid .pmaim-value-item:nth-child(4) { animation-delay: 0.4s; }
.pmaim-values-grid .pmaim-value-item:nth-child(5) { animation-delay: 0.5s; }
.pmaim-values-grid .pmaim-value-item:nth-child(6) { animation-delay: 0.6s; }

.pmaim-areas-grid .pmaim-area-item:nth-child(1) { animation-delay: 0.1s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(2) { animation-delay: 0.15s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(3) { animation-delay: 0.2s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(4) { animation-delay: 0.25s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(5) { animation-delay: 0.3s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(6) { animation-delay: 0.35s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(7) { animation-delay: 0.4s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(8) { animation-delay: 0.45s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(9) { animation-delay: 0.5s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(10) { animation-delay: 0.55s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(11) { animation-delay: 0.6s; }
.pmaim-areas-grid .pmaim-area-item:nth-child(12) { animation-delay: 0.65s; }

.pmaim-benefits-grid .pmaim-benefit-item:nth-child(1) { animation-delay: 0.1s; }
.pmaim-benefits-grid .pmaim-benefit-item:nth-child(2) { animation-delay: 0.2s; }
.pmaim-benefits-grid .pmaim-benefit-item:nth-child(3) { animation-delay: 0.3s; }
.pmaim-benefits-grid .pmaim-benefit-item:nth-child(4) { animation-delay: 0.4s; }
.pmaim-benefits-grid .pmaim-benefit-item:nth-child(5) { animation-delay: 0.5s; }
.pmaim-benefits-grid .pmaim-benefit-item:nth-child(6) { animation-delay: 0.6s; }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Page Load Animation */
.ast-container {
    animation: fadeIn 0.8s ease-out;
}

/* ============================================
   FULL WIDTH FOOTER
   ============================================ */

.pmaim-footer-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.pmaim-f-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pmaim-f-grid {
    gap: 50px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #C8A951, #1B3A5C);
    z-index: 9999;
    transition: width 100ms ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1B3A5C;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #C8A951;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ============================================
   SCROLL-TRIGGERED CONTENT ANIMATIONS
   ============================================ */

/* Base animation state - hidden until triggered */
.animate-on-scroll,
.animate-heading,
.animate-text,
.animate-item,
.animate-card,
.animate-list-item,
.animate-buttons,
.animate-image,
.animate-footer-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state - animated in */
.animate-on-scroll.animate-visible,
.animate-heading.animate-visible,
.animate-text.animate-visible,
.animate-item.animate-visible,
.animate-card.animate-visible,
.animate-list-item.animate-visible,
.animate-buttons.animate-visible,
.animate-image.animate-visible,
.animate-footer-col.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Heading animations - slide from left */
.animate-heading {
    transform: translateX(-30px);
}

.animate-heading.animate-visible {
    transform: translateX(0);
}

/* Text animations - fade in */
.animate-text {
    transform: translateY(20px);
    transition-delay: 0.1s;
}

/* Item animations - scale in */
.animate-item {
    transform: scale(0.9) translateY(20px);
}

.animate-item.animate-visible {
    transform: scale(1) translateY(0);
}

/* Card animations - slide up with scale */
.animate-card {
    transform: translateY(40px) scale(0.95);
}

.animate-card.animate-visible {
    transform: translateY(0) scale(1);
}

/* List item animations - slide from right */
.animate-list-item {
    transform: translateX(30px);
}

.animate-list-item.animate-visible {
    transform: translateX(0);
}

/* Button animations - fade in up */
.animate-buttons {
    transform: translateY(20px);
    transition-delay: 0.3s;
}

/* Image animations - scale in */
.animate-image {
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-image.animate-visible {
    transform: scale(1);
}

/* Footer column animations */
.animate-footer-col {
    transform: translateY(30px);
}

.animate-footer-col.animate-visible {
    transform: translateY(0);
}

/* Hover effects for animated elements */
.animate-item:hover,
.animate-card:hover {
    transform: translateY(-5px) scale(1.02);
    transition: transform 0.3s ease;
}

/* Special animation for hero section */
.pmaim-hero h1,
.pmaim-hero .pmaim-tagline,
.pmaim-hero .pmaim-cta-text,
.pmaim-hero .wp-block-buttons {
    opacity: 0;
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Blink cursor */
@keyframes blink {
    50% { border-color: transparent; }
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Rotate animation */
@keyframes rotateIn {
    from { transform: rotate(-180deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

/* Flip animation */
@keyframes flipIn {
    from { transform: perspective(400px) rotateX(90deg); opacity: 0; }
    to { transform: perspective(400px) rotateX(0deg); opacity: 1; }
}

/* Zoom in animation */
@keyframes zoomIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Light speed animation */
@keyframes lightSpeedIn {
    from { transform: translateX(100%) skewX(-30deg); opacity: 0; }
    60% { transform: skewX(20deg); opacity: 1; }
    80% { transform: skewX(-5deg); }
    to { transform: translateX(0) skewX(0deg); }
}

/* Roll in animation */
@keyframes rollIn {
    from { transform: translateX(-100%) rotate(-120deg); opacity: 0; }
    to { transform: translateX(0) rotate(0deg); opacity: 1; }
}

/* Special hover animations */
.animate-item:hover {
    animation: bounce 0.6s ease;
}

/* Staggered delays for grid items */
.pmaim-values-grid .animate-item:nth-child(1) { transition-delay: 0.1s; }
.pmaim-values-grid .animate-item:nth-child(2) { transition-delay: 0.2s; }
.pmaim-values-grid .animate-item:nth-child(3) { transition-delay: 0.3s; }
.pmaim-values-grid .animate-item:nth-child(4) { transition-delay: 0.4s; }
.pmaim-values-grid .animate-item:nth-child(5) { transition-delay: 0.5s; }
.pmaim-values-grid .animate-item:nth-child(6) { transition-delay: 0.6s; }

.pmaim-areas-grid .animate-item:nth-child(1) { transition-delay: 0.05s; }
.pmaim-areas-grid .animate-item:nth-child(2) { transition-delay: 0.1s; }
.pmaim-areas-grid .animate-item:nth-child(3) { transition-delay: 0.15s; }
.pmaim-areas-grid .animate-item:nth-child(4) { transition-delay: 0.2s; }
.pmaim-areas-grid .animate-item:nth-child(5) { transition-delay: 0.25s; }
.pmaim-areas-grid .animate-item:nth-child(6) { transition-delay: 0.3s; }
.pmaim-areas-grid .animate-item:nth-child(7) { transition-delay: 0.35s; }
.pmaim-areas-grid .animate-item:nth-child(8) { transition-delay: 0.4s; }
.pmaim-areas-grid .animate-item:nth-child(9) { transition-delay: 0.45s; }
.pmaim-areas-grid .animate-item:nth-child(10) { transition-delay: 0.5s; }
.pmaim-areas-grid .animate-item:nth-child(11) { transition-delay: 0.55s; }
.pmaim-areas-grid .animate-item:nth-child(12) { transition-delay: 0.6s; }

.pmaim-benefits-grid .animate-item:nth-child(1) { transition-delay: 0.1s; }
.pmaim-benefits-grid .animate-item:nth-child(2) { transition-delay: 0.2s; }
.pmaim-benefits-grid .animate-item:nth-child(3) { transition-delay: 0.3s; }
.pmaim-benefits-grid .animate-item:nth-child(4) { transition-delay: 0.4s; }
.pmaim-benefits-grid .animate-item:nth-child(5) { transition-delay: 0.5s; }
.pmaim-benefits-grid .animate-item:nth-child(6) { transition-delay: 0.6s; }

/* News list staggered delays */
.pmaim-news-list .animate-list-item:nth-child(1) { transition-delay: 0.1s; }
.pmaim-news-list .animate-list-item:nth-child(2) { transition-delay: 0.2s; }
.pmaim-news-list .animate-list-item:nth-child(3) { transition-delay: 0.3s; }
.pmaim-news-list .animate-list-item:nth-child(4) { transition-delay: 0.4s; }
.pmaim-news-list .animate-list-item:nth-child(5) { transition-delay: 0.5s; }

/* Benefits list staggered delays */
.pmaim-benefits-list .animate-list-item:nth-child(1) { transition-delay: 0.1s; }
.pmaim-benefits-list .animate-list-item:nth-child(2) { transition-delay: 0.15s; }
.pmaim-benefits-list .animate-list-item:nth-child(3) { transition-delay: 0.2s; }
.pmaim-benefits-list .animate-list-item:nth-child(4) { transition-delay: 0.25s; }
.pmaim-benefits-list .animate-list-item:nth-child(5) { transition-delay: 0.3s; }
.pmaim-benefits-list .animate-list-item:nth-child(6) { transition-delay: 0.35s; }
.pmaim-benefits-list .animate-list-item:nth-child(7) { transition-delay: 0.4s; }
.pmaim-benefits-list .animate-list-item:nth-child(8) { transition-delay: 0.45s; }
.pmaim-benefits-list .animate-list-item:nth-child(9) { transition-delay: 0.5s; }
.pmaim-benefits-list .animate-list-item:nth-child(10) { transition-delay: 0.55s; }
.pmaim-benefits-list .animate-list-item:nth-child(11) { transition-delay: 0.6s; }
.pmaim-benefits-list .animate-list-item:nth-child(12) { transition-delay: 0.65s; }

/* ============================================
   REGISTRATION FORM STYLES
   ============================================ */

.pmaim-registration-form {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #E5E7EB;
}

.pmaim-registration-form .um-form {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.pmaim-registration-form .um-form .um-header {
    text-align: center;
    margin-bottom: 30px;
}

.pmaim-registration-form .um-form .um-header h2 {
    color: #1B3A5C;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pmaim-registration-form .um-form .um-header p {
    color: #6B7280;
    font-size: 15px;
}

.pmaim-registration-form .um-form .um-field {
    margin-bottom: 20px;
}

.pmaim-registration-form .um-form .um-field label {
    color: #1B3A5C;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.pmaim-registration-form .um-form .um-field input[type="text"],
.pmaim-registration-form .um-form .um-field input[type="email"],
.pmaim-registration-form .um-form .um-field input[type="password"],
.pmaim-registration-form .um-form .um-field select,
.pmaim-registration-form .um-form .um-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.pmaim-registration-form .um-form .um-field input[type="text"]:focus,
.pmaim-registration-form .um-form .um-field input[type="email"]:focus,
.pmaim-registration-form .um-form .um-field input[type="password"]:focus,
.pmaim-registration-form .um-form .um-field select:focus,
.pmaim-registration-form .um-form .um-field textarea:focus {
    border-color: #C8A951;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.pmaim-registration-form .um-form .um-field input[type="text"]::placeholder,
.pmaim-registration-form .um-form .um-field input[type="email"]::placeholder,
.pmaim-registration-form .um-form .um-field input[type="password"]::placeholder {
    color: #9CA3AF;
}

.pmaim-registration-form .um-form .um-field .um-field-error {
    color: #EF4444;
    font-size: 13px;
    margin-top: 5px;
}

.pmaim-registration-form .um-form .um-submit-button,
.pmaim-registration-form .um-form button[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1B3A5C 0%, #2E4A6E 100%) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pmaim-registration-form .um-form .um-submit-button:hover,
.pmaim-registration-form .um-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #C8A951 0%, #D4B96A 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 81, 0.4);
}

.pmaim-registration-form .um-form .um-field-checkbox label,
.pmaim-registration-form .um-form .um-field-radio label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.pmaim-registration-form .um-form .um-field-checkbox input[type="checkbox"],
.pmaim-registration-form .um-form .um-field-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #C8A951;
}

.pmaim-registration-form .um-form .um-left-label {
    display: block;
    margin-bottom: 8px;
}

/* Registration success message */
.um-form .um-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.um-form .um-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.um-form .um-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* Login link below form */
.pmaim-registration-form .um-form .um-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.pmaim-registration-form .um-form .um-footer a {
    color: #1B3A5C;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pmaim-registration-form .um-form .um-footer a:hover {
    color: #C8A951;
}

@media (max-width: 768px) {
    .pmaim-registration-form {
        padding: 25px 20px;
        margin: 20px 15px;
    }
}

/* ============================================
   HTML REGISTRATION FORM STYLES
   ============================================ */

.pmaim-form {
    max-width: 600px;
    margin: 0 auto;
}

.pmaim-form-group {
    margin-bottom: 24px;
}

.pmaim-form-group label {
    display: block;
    color: #1B3A5C;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.pmaim-form-group label .required {
    color: #EF4444;
    margin-left: 2px;
}

.pmaim-form-group input[type="text"],
.pmaim-form-group input[type="email"],
.pmaim-form-group input[type="password"],
.pmaim-form-group input[type="tel"],
.pmaim-form-group select,
.pmaim-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background: #FFFFFF;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pmaim-form-group input[type="text"]:focus,
.pmaim-form-group input[type="email"]:focus,
.pmaim-form-group input[type="password"]:focus,
.pmaim-form-group input[type="tel"]:focus,
.pmaim-form-group select:focus,
.pmaim-form-group textarea:focus {
    border-color: #C8A951;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.pmaim-form-group input[type="text"]::placeholder,
.pmaim-form-group input[type="email"]::placeholder,
.pmaim-form-group input[type="password"]::placeholder,
.pmaim-form-group input[type="tel"]::placeholder {
    color: #9CA3AF;
}

.pmaim-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' 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");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    height: 50px;
    line-height: 1.5;
    box-sizing: border-box;
}

.pmaim-form-group select option,
.pmaim-form-group select optgroup {
    color: #333333;
    background-color: #FFFFFF;
    padding: 10px;
    font-weight: 500;
    font-size: 15px;
}

.pmaim-form-group select option[value=""] {
    color: #9CA3AF;
}

.pmaim-form-group select:focus {
    border-color: #C8A951;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.pmaim-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.pmaim-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pmaim-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #C8A951;
    cursor: pointer;
    flex-shrink: 0;
}

.pmaim-form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.pmaim-form-checkbox label a {
    color: #1B3A5C;
    text-decoration: underline;
    font-weight: 600;
}

.pmaim-form-checkbox label a:hover {
    color: #C8A951;
}

.pmaim-form-submit {
    margin-top: 30px;
    text-align: center;
}

.pmaim-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1B3A5C 0%, #2E4A6E 100%) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pmaim-submit-btn:hover {
    background: linear-gradient(135deg, #C8A951 0%, #D4B96A 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 81, 0.4);
}

.pmaim-submit-btn:active {
    transform: translateY(0);
}

/* Form validation styles */
.pmaim-form-group input:invalid:not(:placeholder-shown),
.pmaim-form-group select:invalid:not([value=""]) {
    border-color: #EF4444;
}

.pmaim-form-group input:valid:not(:placeholder-shown),
.pmaim-form-group select:valid:not([value=""]) {
    border-color: #10B981;
}

/* Success/Error messages */
.pmaim-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pmaim-form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.pmaim-form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: #6B7280;
}

.password-strength.weak { color: #EF4444; }
.password-strength.medium { color: #F59E0B; }
.password-strength.strong { color: #10B981; }

/* Loading state */
.pmaim-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.pmaim-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #FFFFFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 0.6s linear infinite;
}

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