/* CSS Variables - TPHC Brand Colors */
:root {
    --primary: #4885FF;
    --brand-2: #4885FF;
    --black: #1E1E1E;
    --white: #FFFFFF;
    --primary-light: #F9F9F9;
    --light-gray: #ECECEC;
    --gray: #E5E5E5;
    --paragraph-gray: #6F6F6F;
    --white-50: #FFFFFF80;
    --dark-gray-50: #AFAFAF80;
    --red-cta: #DE1820;
    --navy: #003366;
}

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

body {
    font-family: 'Urbanist', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Buttons */
.btn-red {
    background-color: var(--red-cta);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 55px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-red:hover {
    background-color: #c01418;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(222, 24, 32, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    padding: 10px 24px;
    border-radius: 55px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--black);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 55px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-white:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.btn-white-outline {
    background-color: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 55px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-white-outline:hover {
    background-color: var(--white);
    color: var(--red-cta);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a:not(.btn-red):not(.btn-outline):hover {
    color: var(--primary);
}

.nav .btn-red {
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #004080 100%);
    color: var(--white);
    padding: 80px 0 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 35px;
}

.hero-checklist li {
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.hero-checklist li .checklist-icon {
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    color: #4FC3F7;
    fill: #4FC3F7;
    flex-shrink: 0;
}

.hero .btn-red {
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
}

.hero-image {
    width: 100%;
    height: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Request Service Section */
.request-service {
    background: linear-gradient(to bottom, #004080 0%, var(--primary) 100%);
    padding: 40px 0 60px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.form-card {
    background-color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.form-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.request-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
    color: var(--paragraph-gray);
}

.service-form {
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-input,
.form-select {
    padding: 16px 24px;
    border-radius: 8px;
    border: 2px solid var(--gray);
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    min-width: 220px;
    flex: 1;
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-select {
    color: var(--paragraph-gray);
    cursor: pointer;
}

.form-submit {
    flex: 0 0 auto;
    min-width: 140px;
}

/* Why Choose TPHC Section */
.why-choose {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.why-choose-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-choose-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-card {
    background-color: var(--white);
    color: var(--black);
    padding: 50px 35px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.why-choose-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.why-choose-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.why-choose-card p {
    font-size: 16px;
    color: var(--paragraph-gray);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--primary-light);
    text-align: center;
}

.services h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.services-subtitle {
    font-size: 18px;
    color: var(--paragraph-gray);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: left;
}

.service-item {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

.service-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.service-item ul {
    list-style: none;
    color: var(--paragraph-gray);
}

.service-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.service-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Problem Solving Section */
.problem-solving {
    padding: 80px 0;
    background-color: var(--white);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.problem-image {
    width: 100%;
    height: 100%;
}

.problem-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.problem-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--black);
    grid-column: 1 / -1;
}

.problem-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
}

.problem-item {
    margin-bottom: 0;
}

.problem-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.problem-item p {
    color: var(--paragraph-gray);
    font-size: 16px;
    line-height: 1.7;
}

/* Preferred Customer Program Section */
.preferred-program {
    background-color: var(--white);
    padding: 80px 0;
}

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

.program-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.program-intro {
    font-size: 20px;
    color: var(--paragraph-gray);
}

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

.program-column h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary);
}

.program-list {
    list-style: none;
}

.program-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: var(--paragraph-gray);
}

.program-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
}

.program-list li strong {
    color: var(--black);
}

.program-cta {
    text-align: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

/* Financing Section */
.financing {
    background-color: var(--primary-light);
    padding: 80px 0;
}

.financing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.financing-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black);
}

.financing-text p {
    font-size: 18px;
    color: var(--paragraph-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.financing-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* Guarantee Section */
.guarantee {
    background: linear-gradient(135deg, var(--navy) 0%, #004080 100%);
    color: var(--white);
    padding: 80px 0;
}

.guarantee-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.guarantee-badge {
    display: flex;
    justify-content: center;
}

.badge-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.badge-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.badge-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.guarantee-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.guarantee-text > p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.guarantee-list {
    list-style: none;
}

.guarantee-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
}

.guarantee-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: 700;
    font-size: 20px;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.reviews h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--black);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 16px;
    color: var(--paragraph-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--black);
    font-size: 16px;
}

/* Service Areas Section */
.service-areas {
    padding: 80px 0;
    background-color: var(--primary-light);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.areas-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--black);
}

.areas-list {
    list-style: none;
}

.areas-list li {
    padding: 15px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    border-bottom: 1px solid var(--gray);
}

.areas-map {
    position: relative;
    height: 400px;
    width: 100%;
}

.areas-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Footer CTA */
.footer-cta {
    background-color: var(--red-cta);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

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

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-legal {
    font-size: 14px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .problem-content,
    .financing-content,
    .guarantee-content,
    .areas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav {
        gap: 15px;
        flex-wrap: wrap;
    }

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

    .why-choose-title,
    .services h2 {
        font-size: 32px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

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

    .program-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .problem-text {
        grid-template-columns: 1fr;
    }

    .problem-text h2 {
        grid-column: 1;
    }

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

@media (max-width: 640px) {
    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 34px;
    }

    .form-card {
        padding: 25px 20px;
    }

    .form-row {
        flex-direction: column;
        width: 100%;
    }

    .form-input,
    .form-select,
    .form-submit {
        width: 100%;
        min-width: 100%;
    }

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

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