/* ==================== MODERN PROFESSIONAL DESIGN ==================== */
/* Elite Expertise - NZ Pharmacist OSCE Landing Page */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --gold: #D4AF37;
    --gold-dark: #B8941F;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-700: #374151;
    --gray-900: #111827;
    --green: #10B981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

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

/* ==================== HEADER ==================== */
.header {
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 11px;
    color: var(--gray-700);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-btn {
    background: var(--green);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: var(--gray-50);
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
    align-items: start;
}

/* LEFT: TRAINERS */
.trainers-side {
}

.section-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.trainers-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.2;
}

.trainers-subtitle {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 30px;
}

.trainer-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.trainer-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

/* ===== PHOTO FIX - SHOWS FULL FACES ===== */
.trainer-photo {
    position: relative;
    width: 100%;
    height: 400px; /* INCREASED from 250px to 400px to show full face */
    overflow: hidden;
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Position image to show face from 10% from top */
}
/* ===== END PHOTO FIX ===== */

.trainer-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--black);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.trainer-info {
    padding: 20px;
}

.trainer-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 5px;
}

.trainer-info .role {
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 3px;
}

.trainer-info .org {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 15px;
}

.credentials {
    list-style: none;
    padding: 0;
}

.credentials li {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 8px;
    line-height: 1.5;
}

.credentials strong {
    color: var(--black);
    font-weight: 700;
}

/* RIGHT: FORM */
.form-side {
}

.hero-content {
    margin-bottom: 30px;
}

.trust-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--gray-200);
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-700);
    font-weight: 600;
}

/* FORM CARD */
.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--gray-200);
}

.form-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
}

.form-intro {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-900);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.privacy-text {
    text-align: center;
    font-size: 12px;
    color: var(--gray-700);
    margin-top: 12px;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.feature-box {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.feature-box .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 13px;
    color: var(--gray-700);
}

.resources-section {
    margin-top: 60px;
}

.resources-section h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
    text-align: center;
    margin-bottom: 40px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.resource-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.resource-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.resource-item p {
    font-size: 13px;
    color: var(--gray-700);
}

/* ==================== REVIEWS SECTION ==================== */
.reviews {
    padding: 80px 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
}

.stars {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.quote {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.author strong {
    display: block;
    font-size: 15px;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 3px;
}

.author span {
    font-size: 13px;
    color: var(--gray-700);
}

.reviews-widget {
    margin-top: 50px;
}

/* ==================== FAQ ==================== */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.faq-q {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-q h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--gold);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 25px;
}

.faq-item.active .faq-a {
    max-height: 1000px;
    transition: max-height 0.6s ease-in;
    padding: 0 25px 22px;
}

.faq-a div {
}

.faq-a p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-a ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-a li {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-a strong {
    color: var(--black);
    font-weight: 700;
}

/* ==================== CONTACT CTA ==================== */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-box.whatsapp {
    border: 2px solid var(--green);
}

.contact-box.phone {
    border: 2px solid var(--gold);
}

.contact-box.email {
    border: 2px solid var(--gray-700);
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 36px;
}

.contact-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 3px;
}

.contact-text span {
    font-size: 13px;
    color: var(--gray-700);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 50px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.footer-col .tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trainers-side {
        order: 2;
    }

    .form-side {
        order: 1;
    }

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

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

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        height: 40px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .trainer-photo {
        height: 350px; /* Slightly smaller on mobile but still shows full face */
    }

    .features-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

/* Loading State */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(0,0,0,0.3);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
}
