/* ========================================
   GLOBAL STANDARDS & SECTION TEMPLATES
   Heritage Life Solutions
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors */
    --color-turquoise: #3CADD4;
    --color-green: #00A651;
    --color-navy: #1E3A5F;
    --color-gold: #ffd108;
    --color-white: #FFFFFF;
    --color-light-grey: #DFE2E6;

    /* Typography */
    --font-family: 'Montserrat', sans-serif;
    --h1-size: 48px;
    --h2-size: 36px;
    --h3-size: 24px;
    --p-size: 16px;
    --small-size: 14px;

    /* Spacing */
    --section-padding-desktop: 50px;
    --section-padding-mobile: 25px;

    /* Button */
    --button-radius: 8px;
}

/* ========================================
   TYPOGRAPHY STANDARDS
   ======================================== */
.std-h1 {
    font-family: var(--font-family);
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.2;
}

.std-h2 {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: 1.3;
}

.std-h3 {
    font-family: var(--font-family);
    font-size: var(--h3-size);
    font-weight: 700;
    line-height: 1.4;
}

.std-p {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 1.6;
}

.std-small {
    font-family: var(--font-family);
    font-size: var(--small-size);
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   BUTTON CLASSES
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 600;
    border-radius: var(--button-radius);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navy button - use on light/white/turquoise backgrounds */
.btn-navy {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-navy:hover {
    background: #152d4a;
}

/* Turquoise button - use on navy/dark backgrounds */
.btn-turquoise {
    background: var(--color-turquoise);
    color: var(--color-white);
}

.btn-turquoise:hover {
    background: #2E9BBF;
}

/* Gold button - alternate option */
.btn-gold {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-gold:hover {
    background: #e6bc07;
}

/* Large button variant */
.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

/* ========================================
   SECTION PADDING
   ======================================== */
.section-padding {
    padding: var(--section-padding-desktop) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ========================================
   PAGE HERO (Simple Page Hero for service pages)
   ======================================== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 95, 0.7);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

.page-hero-title {
    font-family: var(--font-family);
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-family: var(--font-family);
    font-size: var(--h3-size);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.5;
}

.page-hero-btn {
    background: var(--color-turquoise);
    color: var(--color-white);
}

.page-hero-btn:hover {
    background: #2E9BBF;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }

    .page-hero-title {
        font-size: 32px;
    }

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

/* ========================================
   TWO-COLUMN SECTION (Base)
   ======================================== */
.two-col-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: var(--section-padding-desktop) 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 1024px) {
    .two-col-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: var(--section-padding-mobile) 2rem;
    }
}

/* Two-Column Text Left (White background) */
.two-col-text-left {
    background: var(--color-white);
}

.two-col-text-left .two-col-content {
    order: 1;
}

.two-col-text-left .two-col-image {
    order: 2;
}

@media (max-width: 1024px) {
    .two-col-text-left .two-col-content {
        order: 2;
    }

    .two-col-text-left .two-col-image {
        order: 1;
    }
}

/* Two-Column Text Right (Grey background) */
.two-col-text-right {
    background: var(--color-light-grey);
}

.two-col-text-right .two-col-content {
    order: 2;
}

.two-col-text-right .two-col-image {
    order: 1;
}

@media (max-width: 1024px) {
    .two-col-text-right .two-col-content {
        order: 2;
    }

    .two-col-text-right .two-col-image {
        order: 1;
    }
}

/* Two-Column Content Elements */
.two-col-content {
    display: flex;
    flex-direction: column;
}

.two-col-image {
    width: 100%;
}

.two-col-image img {
    width: 100%;
    height: auto;
    border-radius: var(--button-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.two-col-title {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.two-col-subtitle {
    font-family: var(--font-family);
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.two-col-text {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Checklist with turquoise checkmarks */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.check-list li {
    position: relative;
    padding: 0.5rem 0;
    padding-left: 2rem;
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.6;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-turquoise);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .two-col-title {
        font-size: 28px;
    }

    .two-col-subtitle {
        font-size: 20px;
    }
}

/* ========================================
   CTA SECTION (Full-Width Centered)
   ======================================== */
.cta-section {
    background: var(--color-turquoise);
    padding: var(--section-padding-desktop) 0;
    text-align: center;
}

.cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-section-title {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-section-text {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .btn-navy {
    background: var(--color-navy);
    color: var(--color-white);
}

.cta-section .btn-navy:hover {
    background: #152d4a;
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--section-padding-mobile) 0;
    }

    .cta-section-title {
        font-size: 28px;
    }
}

/* ========================================
   TESTIMONIAL SECTION (3-Column)
   ======================================== */
.testimonial-section {
    background: var(--color-white);
    padding: var(--section-padding-desktop) 0;
}

.testimonial-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-section-title {
    font-family: var(--font-family);
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.testimonial-section-subtitle {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--color-navy);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Testimonial Card */
.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--button-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-google {
    height: 24px;
    width: auto;
    margin-bottom: 0.75rem;
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--color-navy);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-family: var(--font-family);
    font-size: var(--p-size);
    font-weight: 700;
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: var(--section-padding-mobile) 0;
    }

    .testimonial-section-title {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: var(--color-white);
}

.text-navy {
    color: var(--color-navy);
}

.text-turquoise {
    color: var(--color-turquoise);
}

.text-gold {
    color: var(--color-gold);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-navy {
    background-color: var(--color-navy);
}

.bg-turquoise {
    background-color: var(--color-turquoise);
}

.bg-light-grey {
    background-color: var(--color-light-grey);
}

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