/* ========================================
   AUSTRALIAN DIZZINESS CLINICS - CSS
   ======================================== */

/* ========== VARIABLES & RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #9155A7;
    --primary-green: #0DB26B;
    --dark-green: #097747;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --light-gray: #F0F0F0;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --border-color: #E0E0E0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* ========== TOP BAR ========== */
.top-bar {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.top-bar-phone:hover {
    opacity: 0.9;
}

/* ========== NAVIGATION ========== */
.navbar {
    background-color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(145, 85, 167, 0.5);
    z-index: 1000;
}

.navbar.sticky-nav {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

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

/* ========== HERO SECTION (subpages — gradient banner) ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.95;
}

/* ========== HOMEPAGE HERO (image-based, mirrors Sydney site) ========== */
.hero-image-section {
    background-color: var(--white);
    text-align: center;
    padding: 0;
    overflow: hidden;
}
.hero-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.hero-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Info Cards (green cards below hero, matching Sydney pattern) */
.info-cards-section {
    padding: 0 0 12px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}
.info-card {
    background-color: rgba(9, 119, 71, 0.9);
    color: var(--white);
    padding: 28px 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}
.info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
}
.info-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
    flex: 1;
}
.info-card__btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
}
.info-card__btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* CTA Call Banner (purple bar, matching Sydney pattern) */
.cta-call-banner {
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
}
.cta-call-banner h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}
.cta-call-banner a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transition: border-color 0.3s;
}
.cta-call-banner a:hover {
    border-color: var(--white);
}

/* Legacy hero elements (kept for subpages) */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 178, 107, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

/* ========== SECTION CONTAINER & TITLES ========== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 400;
}

/* ========== PATHWAYS SECTION ========== */
.pathways-section {
    padding: 12px 20px;
    background-color: var(--off-white);
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 12px;
}

.pathway-card {
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green);
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.pathway-card h3 {
    font-size: 24px;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.pathway-card p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

.card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--dark-green);
}

/* ========== CLINIC FINDER SECTION ========== */
.clinic-finder-section {
    padding: 12px 20px;
    background-color: var(--white);
}

.clinic-finder-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.clinic-finder-input {
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    width: 200px;
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s ease;
}

.clinic-finder-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.clinic-result {
    margin-top: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clinic-result:empty {
    display: none;
}

.clinic-result.success {
    background-color: #E8F5E9;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--primary-green);
    color: var(--dark-green);
}

.clinic-result.error {
    background-color: #FFEBEE;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #F44336;
    color: #C62828;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 4px;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    opacity: 0.95;
}

/* ========== DIFFERENCE SECTION ========== */
.difference-section {
    padding: 12px 20px;
    background-color: var(--off-white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 12px;
}

.comparison-single {
    margin-top: 12px;
}

.comparison-column {
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-column--full {
    width: 100%;
}

.comparison-title {
    font-size: 26px;
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 600;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 15px;
    text-align: center;
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-item strong {
    color: var(--primary-green);
}

.feature-icon {
    color: var(--primary-green);
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1.5;
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
}

.difference-note {
    background-color: #FFF3E0;
    padding: 12px 20px;
    border-left: 4px solid #FF9800;
    margin-top: 12px;
    border-radius: 4px;
}

.difference-note p {
    color: #E65100;
    line-height: 1.8;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 12px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========== ABOUT PAGE HERO ========== */
.about-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.about-hero-content p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
}

/* ========== STORY SECTION ========== */
.story-section {
    padding: 12px 20px;
    background-color: var(--white);
}

.story-content {
    width: 100%;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--medium-gray);
    text-align: left;
}

/* ========== FOUNDER SECTION ========== */
.founder-section {
    padding: 12px 20px;
    background-color: var(--off-white);
}

.founder-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.founder-text h3 {
    font-size: 24px;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 600;
}

.founder-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

/* ========== VESTIBULAR PHYSICIAN SECTION ========== */
.vestibular-physician-section {
    padding: 12px 20px;
    background-color: var(--white);
}

.definition-box {
    background-color: #E8F5E9;
    border-left: 4px solid var(--primary-green);
    padding: 12px 20px;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 12px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.definition-box p {
    font-size: 18px;
    color: var(--dark-green);
    line-height: 1.7;
}

.physician-content {
    width: 100%;
}

.physician-role,
.comparison-section,
.bridge-section {
    margin-bottom: 12px;
}

.physician-role h3,
.comparison-section h3,
.bridge-section h3 {
    font-size: 28px;
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 600;
}

.physician-role p,
.comparison-section p,
.bridge-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 12px;
}

.physician-list,
.bridge-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.physician-list li,
.bridge-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--medium-gray);
}

.physician-list li::before,
.bridge-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.specialist-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.specialist-box {
    background-color: var(--off-white);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green);
}

.specialist-box h4 {
    font-size: 20px;
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 600;
}

.specialist-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 12px;
}
.specialist-box p strong {
    color: var(--primary-green);
}

/* ========== CLINICS SECTION ========== */
.clinics-section {
    padding: 12px 20px;
    background-color: var(--off-white);
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 12px;
}

.clinic-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-green);
}

.clinic-card h3 {
    font-size: 26px;
    color: var(--primary-purple);
    margin-bottom: 25px;
    font-weight: 600;
}

.clinic-details p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.clinic-details p strong {
    color: var(--primary-purple);
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
}

.clinic-details a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.clinic-details a:hover {
    color: var(--dark-green);
}

.clinic-services {
    list-style: none;
    padding-left: 0;
}

.clinic-services li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--medium-gray);
}

.clinic-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ========== MISSION & VALUES SECTION ========== */
.mission-section {
    padding: 12px 20px;
    background-color: var(--white);
}

.mission-content {
    width: 100%;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
}

.mission-box h3 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}

.mission-box p {
    font-size: 18px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 12px;
}

.value-card {
    background-color: var(--off-white);
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.value-card h4 {
    font-size: 22px;
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--medium-gray);
}

/* ========== GROUP B: SHARED CLASSES (patients, gps, education, courses, vestibular-physician, contact) ========== */

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar layout */
.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar__logo img {
    height: 50px;
    width: auto;
}
.navbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-gray);
    margin: 5px 0;
    transition: 0.3s ease;
}
.navbar__links {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: space-evenly;
}
.navbar__links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 5px;
    border-radius: 4px;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease;
}
.navbar__links a:hover,
.navbar__links a.active {
    color: var(--primary-green);
    background: rgba(13, 178, 107, 0.06);
}

/* Top bar (Group B) */
.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.top-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar__item a {
    color: var(--white);
    text-decoration: none;
}
.top-bar__item a:hover {
    opacity: 0.85;
}
.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Sections */
.section {
    padding: 24px 0;
}
.section--alt {
    background-color: var(--off-white);
}
.section--green {
    background-color: var(--dark-green);
    color: var(--white);
}
.section--green h2, .section--green h3, .section--green p { color: var(--white); }
.section--purple {
    background-color: var(--primary-purple);
    color: var(--white);
}
.section--purple h2, .section--purple h3, .section--purple p { color: var(--white); }
.text-center { text-align: center; }

/* Buttons (Group B variants) */
.btn--green {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}
.btn--green:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--white);
}
.btn--purple {
    background-color: var(--primary-purple);
    color: var(--white);
    border: 2px solid var(--primary-purple);
}
.btn--purple:hover {
    background-color: #7A4490;
    border-color: #7A4490;
    color: var(--white);
}
.btn--outline-green {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn--outline-green:hover {
    background: var(--primary-green);
    color: var(--white);
}
.btn--outline-purple {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}
.btn--outline-purple:hover {
    background: var(--primary-purple);
    color: var(--white);
}
.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn--outline-white:hover {
    background: var(--white);
    color: var(--dark-green);
}
.btn--lg {
    padding: 16px 40px;
    font-size: 17px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card--green {
    background: var(--primary-green);
    color: var(--white);
    border: none;
}
.card--green h3, .card--green p { color: var(--white); }
.card--green:hover { background: var(--dark-green); }

/* Condition Lists */
.condition-category { margin-bottom: 12px; }
.condition-category h3 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #6DCCA3;
    color: var(--primary-purple);
    font-size: 22px;
}
.condition-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
    list-style: none;
}
.condition-list li {
    padding: 8px 14px;
    background: var(--off-white);
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: background 0.3s ease;
    line-height: 1.5;
}
.condition-list li:hover { background: var(--light-gray); }
.condition-list li::before {
    content: '\25CF';
    color: var(--primary-green);
    font-size: 8px;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Clinic Finder */
.clinic-finder {
    background: var(--off-white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}
.clinic-finder__input-group {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
}
.clinic-finder__input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    outline: none;
}
.clinic-finder__input:focus { border-color: var(--primary-purple); }
.clinic-finder__btn {
    padding: 14px 24px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.clinic-finder__btn:hover { background: var(--dark-green); }
.clinic-finder__result {
    margin-top: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 4px;
    display: none;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* CTA Banner (Group B) */
.cta-banner h2 { color: var(--white); font-size: 36px; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }

/* Accordion */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion__item {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion__header {
    width: 100%;
    background: var(--white);
    padding: 16px 20px;
    border: none;
    text-align: left;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}
.accordion__header:hover { background: var(--off-white); }
.accordion__header::after {
    content: '+';
    font-size: 20px;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}
.accordion__item.active .accordion__header::after { content: '\2212'; }
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion__body-inner { padding: 0 20px 16px; }

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.resource-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}
.resource-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-color: #6DCCA3;
}
.resource-card__type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 6px;
}
.resource-card__type--video { color: var(--primary-purple); }
.resource-card__type--audio { color: var(--primary-green); }
.resource-card__type--pdf { color: #e74c3c; }
.resource-card__links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.resource-card__links a { font-size: 13px; font-weight: 600; }

/* Course Cards */
.course-card {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}
.course-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.course-card--featured { border-color: var(--primary-purple); }
.course-card__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-purple);
    margin: 16px 0;
}
.course-card__features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}
.course-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
    color: var(--medium-gray);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.course-card__features li::before {
    content: '\2713';
    color: var(--primary-green);
    font-weight: 700;
}

/* Pathway Steps */
.pathway { display: flex; flex-direction: column; max-width: 700px; margin: 0 auto; }
.pathway__step { display: flex; gap: 20px; padding: 20px 0; }
.pathway__marker { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.pathway__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.pathway__line { width: 2px; flex: 1; background: #6DCCA3; margin-top: 8px; }
.pathway__content h3 { font-size: 18px; color: var(--primary-purple); }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.badge--green { background: rgba(13,178,107,0.08); color: var(--dark-green); }
.badge--purple { background: rgba(145,85,167,0.1); color: var(--primary-purple); }
.badge--free { background: var(--primary-green); color: var(--white); }
.badge--paid { background: var(--primary-purple); color: var(--white); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--dark-gray);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-purple);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Filter buttons */
.filter-btn {
    padding: 8px 18px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

/* Footer (Group B) */
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer__about { max-width: 300px; }
.footer__about p { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: 14px; }
.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* Utility */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Group B Responsive */
@media (max-width: 992px) {
    .two-col { grid-template-columns: 1fr; gap: 30px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    .navbar__toggle { display: block; }
    .navbar__links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 12px 0;
        gap: 4px;
    }
    .navbar__links.active {
        display: flex;
    }
    .navbar__links a {
        padding: 10px 14px;
        width: 100%;
    }
    .section { padding: 24px 0; }
    .card-grid { grid-template-columns: 1fr; }
    .clinic-finder__input-group { flex-direction: column; }
    .clinic-finder__input { border-right: 2px solid var(--border-color); border-radius: 4px; }
    .clinic-finder__btn { border-radius: 4px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 8px; }
    .condition-list { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 24px 0 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 12px;
}

.footer-column h4 {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-column p {
    font-size: 11px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 6px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 4px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom__links a {
    color: var(--primary-green);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .nav-links {
        gap: 15px;
        font-size: 13px;
    }

    .section-title {
        font-size: 32px;
    }

    .pathways-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-cards-section {
        margin-top: 0;
        padding: 30px 0;
    }

    .cta-call-banner h2 {
        font-size: 20px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .specialist-comparison {
        grid-template-columns: 1fr;
    }

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

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

    .clinic-finder-form {
        flex-direction: column;
    }

    .clinic-finder-input {
        width: 100%;
    }

    .about-hero-content h1 {
        font-size: 36px;
    }

    .hero {
        min-height: 200px;
        padding: 24px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pathways-section,
    .clinic-finder-section,
    .difference-section,
    .vestibular-physician-section,
    .clinics-section,
    .mission-section {
        padding: 12px 20px;
    }

    .stats-section {
        padding: 12px 20px;
    }

    .cta-banner {
        padding: 12px 20px;
    }

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

    .cta-content p {
        font-size: 15px;
    }

    .story-section {
        padding: 12px 20px;
    }

    .founder-section {
        padding: 12px 20px;
    }

    .founder-content {
        padding: 12px 20px;
    }

    .about-hero {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .about-hero-content h1 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 16px;
    }

    .clinic-card h3,
    .comparison-title {
        font-size: 22px;
    }

    .specialist-box h4,
    .value-card h4 {
        font-size: 18px;
    }

    .mission-box h3 {
        font-size: 24px;
    }

    .founder-content {
        padding: 20px;
    }

    .footer-column h4 {
        font-size: 16px;
    }
}

/* ========== EXTRACTED INLINE STYLES (Refactored as Reusable Classes) ========== */
/* These classes consolidate inline styles from patients.html, gps.html, courses.html, */
/* vestibular-physician.html, and contact.html into semantic, reusable CSS classes. */

/* ========== TEXT STYLING ========== */
.body-lg {
    font-size: 1.1rem;
    color: var(--dark-text, var(--dark-gray));
    line-height: 1.9;
}

.text-bold-sm {
    font-size: 0.9rem;
}

.text-xs {
    font-size: 0.78rem;
    color: #9A9A9A;
    margin-top: 1rem;
}

.text-muted-sm {
    font-size: 0.85rem;
    color: var(--grey-text, var(--medium-gray));
}

.text-muted-xs {
    font-size: 0.82rem;
    color: #605E5E;
    line-height: 1.3;
}

/* ========== CONTAINER & LAYOUT ========== */
.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text-alt {
    max-width: 900px;
    margin: 0 auto;
}

.text-centered-max {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.max-width-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.max-width-900-3rem {
    max-width: 900px;
    margin: 0 auto 12px;
}

/* ========== HIGHLIGHT BOXES ========== */
.highlight-box--green {
    background: rgba(13, 178, 107, 0.06);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 12px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box--purple {
    background: rgba(145, 85, 167, 0.06);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 12px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box--green-alt {
    background: var(--green-bg, rgba(13, 178, 107, 0.08));
    border-radius: var(--radius-md, 12px);
    padding: 12px 20px;
    text-align: center;
}

.highlight-box--off-white {
    background: var(--off-white);
    border-radius: var(--radius-md, 12px);
    padding: 12px 20px;
    margin-top: 12px;
    text-align: center;
}

/* ========== CARD STYLING ========== */
.card-icon--light-green {
    background: rgba(13, 178, 107, 0.12);
    color: #0DB26B;
}

.card-icon--light-purple {
    background: rgba(145, 85, 167, 0.12);
    color: #9155A7;
}

.card--green-border {
    border-left: 4px solid #0DB26B;
}

.card--purple-border {
    border-left: 4px solid #9155A7;
}

.card--light-green-border {
    border-left: 4px solid #6DCCA3;
}

.card-heading--green {
    color: #097747;
    font-size: 1.05rem;
}

.card-heading--purple {
    color: #9155A7;
    font-size: 1.05rem;
}

.card-text--sm {
    font-size: 0.9rem;
}

/* ========== AUDIT CHART STYLING ========== */
.chart-container {
    background: var(--white);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.chart-flex-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-label {
    min-width: 280px;
    max-width: 280px;
    text-align: right;
    font-size: 0.82rem;
    color: #605E5E;
    line-height: 1.3;
}

.chart-bar-bg {
    flex: 1;
    background: #F2F2F2;
    border-radius: 4px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.chart-value {
    min-width: 28px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2F2E2E;
}

.chart-value-wide {
    min-width: 70px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2F2E2E;
}

/* ========== LIST STYLING ========== */
.list-unstyled-compact {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.list-check-item {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.list-check-icon {
    color: var(--green);
    font-weight: 700;
}

.list-bullet-item {
    padding: 0.4rem 0;
    display: flex;
    gap: 0.6rem;
}

.list-bullet-icon {
    color: var(--green);
    font-weight: 700;
}

/* ========== HEADING STYLING ========== */
.heading-color-green {
    color: #097747;
}

.heading-color-purple {
    color: var(--purple);
}

.heading-color-green-dark {
    color: var(--green-dark);
}

.heading-margin-bottom {
    margin-bottom: 0.8rem;
}

/* ========== GRID & FLEX UTILITIES ========== */
.grid-auto-fit-280 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.grid-auto-fit-320 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.flex-footer {
    display: flex;
    gap: 1.5rem;
}

/* ========== LINK STYLING ========== */
.link-green-bold {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
}

.link-dark {
    color: var(--dark-text, var(--dark-gray));
    font-weight: 600;
}

/* ========== SPACING UTILITIES ========== */
.mb-1-5rem {
    margin-bottom: 1.5rem;
}

.mb-1rem {
    margin-bottom: 1rem;
}

.mt-1-5rem {
    margin-top: 1.5rem;
}

.mt-2rem {
    margin-top: 2rem;
}

.mb-2rem {
    margin-bottom: 2rem;
}

.mb-3rem {
    margin-bottom: 3rem;
}

/* ========== FORM & SECTION SPECIFIC ========== */
.text-centered-max {
    max-width: 800px;
    margin: 0 auto;
}

.card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* ========== SOCIAL ICONS ========== */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    border: 2px solid;
    transition: all var(--transition);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon--youtube {
    border-color: var(--purple);
    color: var(--purple);
}

.social-icon--youtube:hover {
    background-color: var(--purple);
    color: var(--white);
}

.social-icon--facebook {
    border-color: var(--green);
    color: var(--green);
}

.social-icon--facebook:hover {
    background-color: var(--green);
    color: var(--white);
}

.social-icon--instagram {
    border-color: var(--purple);
    color: var(--purple);
}

.social-icon--instagram:hover {
    background-color: var(--purple);
    color: var(--white);
}

.social-icon--linkedin {
    border-color: var(--green);
    color: var(--green);
}

.social-icon--linkedin:hover {
    background-color: var(--green);
    color: var(--white);
}
}

/* ===== Nav call-to-action button ===== */
.navbar__cta {
    background: #9155A7;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 24px;
    font-weight: 700;
    transition: background 0.2s ease;
}
.navbar__cta:hover { background: #7a4291; color: #ffffff !important; }
