/* ==========================================================================
   NEW HOMEPAGE DESIGN SYSTEM (OUTFIT FONT & PREMIUM STYLING)
   ========================================================================== */

/* Main Wrapper and Typography Reset */
.new-homepage-wrapper {
    font-family: 'Outfit', sans-serif;
    color: #111111;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.new-homepage-wrapper * {
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

/* Color Variables & Styling Tokens */
:root {
    --primary-red: #F00D0D;
    --primary-red-hover: #D00A0A;
    --dark-charcoal: #222222;
    --light-cream: #F6F1EB;
    --border-gray: #E5E5E5;
    --text-muted: #666666;
    --white: #FFFFFF;
}

/* Helpers and Layout Utilities */
.hp-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.hp-section-padding {
    padding: 100px 0;
}

.hp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

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

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

.hp-title-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background-color: rgba(240, 13, 13, 0.1);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hp-title-pill.hp-white-pill {
    background-color: var(--white);
    color: var(--primary-red);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Red Separator Utilities */
.hp-red-line {
    width: 120px;
    height: 2px;
    background-color: var(--primary-red);
    margin: 20px 0;
}

.hp-red-line.center {
    margin: 20px auto;
}

.hp-red-line.long {
    width: 100%;
    max-width: 600px;
}

.hp-heading-large {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-charcoal);
    margin-bottom: 24px;
}

.hp-heading-medium {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-charcoal);
    margin-bottom: 20px;
}

.hp-heading-small {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 12px;
}

.hp-paragraph {
    font-size: 18px;
    color: #444444;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Button UI Components */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.hp-btn-red {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 14px rgba(240, 13, 13, 0.3);
}

.hp-btn-red:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 13, 13, 0.4);
}

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

.hp-btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-charcoal);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hp-btn-white {
    background-color: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--white);
}

.hp-btn-white:hover {
    background-color: var(--white);
    color: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

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

.hp-btn-dark-outline:hover {
    background-color: var(--dark-charcoal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 34, 34, 0.15);
}

/* ==========================================================================
   SECTION 1: HERO WITH BACKGROUND VIDEO
   ========================================================================== */
.hp-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hp-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hp-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hp-hero-content {
    position: relative;
    text-align: left;
    color: var(--white);
    max-width: 800px;
    padding: 0;
}

.hp-hero-content .hp-title-pill {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: none;
    font-size: 18px;
    letter-spacing: normal;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.hp-hero-content .hp-title-pill.hp-white-pill {
    background-color: var(--light-cream);
    color: var(--dark-charcoal);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hp-hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 15px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--white);
}

.hp-hero-subtext {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 750px;
}

.hp-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 50px;
}

.hp-hero-contact-row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    border-top: none;
    padding-top: 10px;
}

.hp-hero-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
}

.hp-hero-contact-item i {
    color: var(--primary-red);
    font-size: 20px;
}

/* ==========================================================================
   SECTION 2: SERVICES SECTION WITH ACTIVE TABS
   ========================================================================== */
.hp-services-section {
    background-color: var(--white);
}

.hp-services-right-col {
    padding-left: 40px;
}

.hp-services-tabs-container {
    display: flex;
    flex-direction: column;
}

.hp-services-tab-link {
    display: flex;
    align-items: center;
    padding: 18px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #CCCCCC;
    border-radius: 0;
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hp-services-tab-link i {
    margin-left: auto;
    font-size: 14px;
    color: var(--dark-charcoal);
    transition: all 0.3s ease;
}

.hp-services-tab-link:hover {
    border-bottom-color: var(--primary-red);
    background-color: transparent;
    transform: translateX(5px);
}

.hp-services-tab-link:hover i {
    color: var(--primary-red);
    transform: translateX(3px);
}

.hp-services-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-charcoal);
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    margin-top: 20px;
    transition: gap 0.2s ease;
}

.hp-services-view-all:hover {
    gap: 12px;
    color: var(--primary-red);
}

/* ==========================================================================
   SECTION 3: BEIGE QUOTE BANNER
   ========================================================================== */
.hp-quote-section {
    background-color: var(--light-cream);
    background-image: url('https://physicocityphysio.com.au/wp-content/uploads/2026/05/Big-person-jumping-1.png');
    background-repeat: no-repeat;
    background-position: 12% center;
    background-size: 280px auto;
    overflow: hidden;
    position: relative;
}

.hp-quote-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.hp-quote-spacer {
    height: 380px;
    width: 100%;
}

.hp-quote-content {
    position: relative;
}

.hp-quote-text {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-charcoal);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    border: 0;
    margin-left: 0;
    padding-left: 0;
}

.hp-quote-author {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-charcoal);
    opacity: 0.9;
}

/* ==========================================================================
   SECTION 4: SETTING THE STANDARD (RESPECTED BY INDUSTRY)
   ========================================================================== */
.hp-industry-section {
    background-color: var(--white);
}

.hp-industry-bullets {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px 0;
}

.hp-industry-bullets li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: 16px;
}

.hp-industry-bullets li i {
    color: var(--primary-red);
    font-size: 22px;
}

.hp-industry-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    align-items: center;
    border-top: 1px solid var(--border-gray);
    padding-top: 30px;
}

.hp-industry-badge {
    height: 70px;
    max-width: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hp-industry-badge:hover {
    transform: scale(1.05);
}

.hp-industry-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hp-industry-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hp-industry-image-container:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   SECTION 5: CORE VALUES GRID (REWRITTEN STYLISHLY)
   ========================================================================== */
.hp-values-section {
    background-color: var(--light-cream);
}

.hp-values-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.hp-value-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.hp-value-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(240, 13, 13, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: all 0.3s ease;
}

.hp-value-icon-wrapper svg {
    height: 36px;
    width: 36px;
    fill: var(--primary-red);
}

.hp-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(240, 13, 13, 0.2);
}

.hp-value-card:hover .hp-value-icon-wrapper {
    background-color: var(--primary-red);
    transform: rotateY(180deg);
}

.hp-value-card:hover .hp-value-icon-wrapper svg {
    fill: var(--white);
}

/* ==========================================================================
   SECTION 6: OUR TEAM SECTION (CARDS MATCHING Mockup)
   ========================================================================== */
.hp-team-section {
    background-color: var(--white);
}

.hp-team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.hp-team-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.hp-team-img-box {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.hp-team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-team-info {
    padding: 24px 20px;
    text-align: center;
}

.hp-team-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-charcoal);
    margin-bottom: 6px;
}

.hp-team-title {
    font-size: 16px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(240, 13, 13, 0.15);
}

.hp-team-card:hover .hp-team-img-box img {
    transform: scale(1.05);
}

.hp-team-footer {
    text-align: center;
    margin-top: 50px;
}

.hp-team-meet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    transition: gap 0.2s ease;
}

.hp-team-meet-btn:hover {
    gap: 12px;
}

/* ==========================================================================
   SECTION 7: NEWS & ARTICLES
   ========================================================================== */
.hp-news-section {
    background-color: var(--light-cream);
}

.hp-news-header {
    text-align: center;
    margin-bottom: 60px;
}

.hp-news-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.hp-news-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.hp-news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hp-news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hp-news-category {
    color: var(--primary-red);
}

.hp-news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-charcoal);
    line-height: 1.4;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-news-title:hover {
    color: var(--primary-red);
}

.hp-news-excerpt {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.hp-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.hp-news-link i {
    transition: transform 0.2s ease;
}

.hp-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(240, 13, 13, 0.15);
}

.hp-news-card:hover .hp-news-img-box img {
    transform: scale(1.05);
}

.hp-news-card:hover .hp-news-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   SECTION 8: HEALTH INSURANCE BAR
   ========================================================================== */
.hp-insurance-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.hp-insurance-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.hp-insurance-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hp-insurance-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   SECTION 9: BOTTOM CTA (TAKE THE FIRST STEP)
   ========================================================================== */
.hp-bottom-cta-section {
    background-color: var(--light-cream);
}

.hp-bottom-cta-bullets {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px 0;
}

.hp-bottom-cta-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 18px;
    color: #444444;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hp-bottom-cta-bullets li i {
    color: var(--primary-red);
    font-size: 20px;
    margin-top: 2px;
}

.hp-bottom-cta-actions {
    display: flex;
    gap: 20px;
}

.hp-bottom-cta-image-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    height: 480px;
}

.hp-bottom-cta-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE AND TABLET OPTIMISATIONS)
   ========================================================================== */

/* Tablet & Smaller Screens (1024px and below) */
@media only screen and (max-width: 1024px) {
    .hp-section-padding {
        padding: 80px 0;
    }

    .hp-heading-large {
        font-size: 40px;
    }

    .hp-hero-title {
        font-size: 52px;
    }

    .hp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

    .hp-quote-section {
        background-image: none;
    }

    .hp-quote-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hp-quote-spacer {
        display: none;
    }

    .hp-quote-text {
        font-size: 24px;
    }

    .hp-insurance-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* MOBILE RESPONSIVE BLOCK (767px and below) */
@media only screen and (max-width: 767px) {
    .hp-section-padding {
        padding: 60px 0;
    }

    .hp-services-right-col {
        padding-left: 0;
    }

    .hp-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    /* Hero section scale down */
    .hp-hero {
        height: auto;
        padding: 120px 0 80px 0;
    }

    .hp-hero-title {
        font-size: 38px;
    }

    .hp-hero-subtext {
        font-size: 18px;
    }

    .hp-hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hp-hero-contact-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    /* Industry checkmarks scale */
    .hp-industry-bullets li {
        font-size: 18px;
    }

    .hp-industry-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    /* Quote mobile text size */
    .hp-quote-text {
        font-size: 24px;
    }

    /* Team section images padding */
    .hp-team-img-box {
        height: 280px;
    }

    /* Bottom CTA image and layout */
    .hp-bottom-cta-image-box {
        height: 300px;
    }

    .hp-bottom-cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* Insurances logowall */
    .hp-insurance-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}