/*
Theme Name: Medical Sales Mentors
Theme URI: 
Author: Michael Simonson
Author URI: 
Description: Custom theme for Medical Sales Mentors website.
Version: 1.0
*/

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

body {
    margin: 0;
    background: #fff;
    font-family: 'Inter', sans-serif;
    color: #111827;
}

.page-wrapper {
    padding: 20px;
}

/* HERO */
.hero {
    position: relative;
    height: clamp(280px, 50vw, 490px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 896px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Gelasio', serif;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    font-size: clamp(2rem, 7vw, 72px);
}

.hero-content p {
	font-family: 'Gelasio', serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.025em;
    font-size: clamp(1rem, 3vw, 1.875rem);
    margin: 0;
}

/* OUR PROCESS */
.process-section {
    padding: 20px 24px 60px 24px;
    background: #fff;
}

.section-title {
    font-family: 'Gelasio', serif;
    text-align: center;
    letter-spacing: -0.025em;
    color: #111827;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 64px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    gap: 32px;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
}

.step {
    text-align: center;
    flex-shrink: 0;
}

.step-1, .step-3 {
    width: 180px;
}

.step-2 {
    width: 220px;
}

.step-circle {
    width: 132px;
    height: 132px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
}

.step-circle svg {
    width: 66px;
    height: 66px;
    stroke: #fff;
    stroke-width: 1.5;
    fill: none;
}

.step h3 {
    font-family: 'Gelasio', serif;
    margin: 0;
    font-size: clamp(1.25rem, 4vw, 36px);
}

.step p {
	font-family: 'Gelasio', serif;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.375;
    margin: 8px auto 0;
    /*max-width: 160px;*/
}

.arrow {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 132px;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .arrow {
        display: flex;
    }
}

.arrow svg {
    width: 50px;
    height: 50px;
    stroke: #2563eb;
    stroke-width: 1.5;
    fill: none;
}

.process-text {
    margin-top: 64px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.process-text p {
	font-family: 'Gelasio', serif;
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.625;
}

/* VIDEO */
.video-section {
    padding: 20px 24px 80px 24px;
    background: #f3f4f6;
    border-radius: 15px;
}

.video-wrapper {
    max-width: 896px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    background: #111827;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FORM */
.form-section {
    padding: 20px 24px 80px 24px;
    background: #fff;
}

.form-wrapper {
    max-width: 672px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-top: 32px;
}

label {
    display: block;
    margin-bottom: 12px;
    color: #374151;
    font-size: 18px;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 18px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #3b82f6;
}

input.error, textarea.error {
    border-color: #ef4444;
}

.error-msg {
    color: #ef4444;
    font-size: 14px;
    margin-top: 10px;
    min-height: 20px;
    display: none;
}
.error-msg.visible {
    display: block;
}

textarea {
    resize: none;
}

.form-submit {
    text-align: center;
    padding-top: 16px;
}

.submit-btn {
	font-family: 'Gelasio', serif!important;
    padding: 16px 48px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s!important;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.success-msg {
    color: #16a34a;
    text-align: center;
    font-size: 18px;
    margin-bottom: 24px;
    display: none;
}
.success-msg.visible {
    display: block;
}

/* FOOTER */
footer {
    padding: 48px 24px;
    background: #111827;
    color: #fff;
    text-align: center;
    border-radius: 15px;
}

footer p {
	font-family: 'Gelasio', serif;
    color: #9ca3af;
    margin: 0;
}
/* Contact Form 7 Styling */
		.wpcf7-form {
			max-width: 100%;
		}

		.wpcf7-form p {
			margin: 0;
		}

		.wpcf7-form input,
		.wpcf7-form textarea {
			width: 100%;
			padding: 12px 16px;
			border: 1px solid #d1d5db;
			border-radius: 8px;
			font-size: 18px;
			font-family: inherit;
		}

		.wpcf7-form input:focus,
		.wpcf7-form textarea:focus {
			border-color: transparent;
			box-shadow: 0 0 0 2px #3b82f6;
			outline: none;
		}

		.wpcf7-form .wpcf7-not-valid {
			border-color: #ef4444;
		}

		.wpcf7-response-output {
			margin: 20px 0;
			padding: 12px 16px;
			border-radius: 8px;
		}

		.wpcf7-mail-sent-ok {
			color: #16a34a;
			background: #f0fdf4;
			border: 1px solid #86efac;
		}

		.wpcf7-validation-errors,
		.wpcf7-mail-sent-ng {
			color: #ef4444;
			background: #fef2f2;
			border: 1px solid #fda4af;
		}
		.wpcf7-not-valid-tip {
			margin-top: 10px!important;
		}
