@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --ae0-primary: #ea580c;
    --ae0-secondary: #c2410c;
    --ae0-accent: #2563eb;
    --ae0-background: #fff7ed;
    --ae0-text: #431407;
    --ae0-muted: #fb923c;
    --ae0-white: #ffffff;
    --ae0-dark: #1a202c;
    --ae0-light-gray: #f7fafc;
    --ae0-border-color: rgba(0, 0, 0, 0.1);
    --ae0-focus-ring: rgba(37, 99, 235, 0.5);

    --tp-font-heading: 'Poppins', sans-serif;
    --tp-font-body: 'Work Sans', sans-serif;

    --tp-gap-sm: 16px;
    --tp-gap-md: 32px;
    --tp-gap-lg: 64px;
    --tp-section-padding-desktop: 120px 0;
    --tp-section-padding-tablet: 80px 0;
    --tp-section-padding-mobile: 60px 0;

    --tp-border-radius-sm: 8px;
    --tp-border-radius-md: 12px;

     --tp-transition-speed: 0.3s ease;
}

/* Base Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling on iPhone */
}

body {
    font-family: var(--tp-font-body);
    line-height: 1.6;
    color: var(--ae0-text);
    background-color: var(--ae0-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--ae0-accent);
    color: var(--ae0-white);
}

a {
    color: var(--ae0-primary);
    text-decoration: none;
    transition: color var(--tp-transition-speed);
}

a:hover {
    color: var(--ae0-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tp-font-heading);
    color: var(--ae0-dark);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

h6 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ae0-primary);
}

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

small {
    font-size: 0.85em;
}

/* Utility Classes */
.tp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--tp-gap-md);
}

.tp-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-flex-col {
    flex-direction: column;
}

.tp-text-center {
    text-align: center;
}

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

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

.tp-section {
    padding: var(--tp-section-padding-desktop);
    position: relative;
}

.tp-section:nth-of-type(even) {
    background-color: var(--ae0-light-gray);
}

.tp-section-heading {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: var(--tp-gap-lg);
}

/* Buttons */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    font-family: var(--tp-font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 2px solid transparent;
    border-radius: var(--tp-border-radius-sm);
    cursor: pointer;
    transition: all var(--tp-transition-speed);
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.tp-btn-primary {
    background-color: var(--ae0-primary);
    color: var(--ae0-white);
    border-color: var(--ae0-primary);
}

.tp-btn-primary:hover {
    background-color: var(--ae0-secondary);
    border-color: var(--ae0-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tp-btn-secondary {
    background-color: var(--ae0-accent);
    color: var(--ae0-white);
    border-color: var(--ae0-accent);
}

.tp-btn-secondary:hover {
    background-color: #1e40af; /* Darker blue */
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tp-btn-outline {
    background-color: transparent;
    color: var(--ae0-primary);
    border-color: var(--ae0-primary);
}

.tp-btn-outline:hover {
    background-color: var(--ae0-primary);
    color: var(--ae0-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tp-btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    border-radius: var(--tp-border-radius-md);
}

/* Header & Navigation */
.tp-header {
    background-color: var(--ae0-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tp-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tp-logo {
    font-family: var(--tp-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ae0-dark);
    display: flex;
    align-items: center;
}

.tp-logo img {
    height: 40px;
    margin-right: 10px;
}

.tp-nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
}

.tp-nav-menu li a {
    font-family: var(--tp-font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--ae0-dark);
    position: relative;
    padding: 0.5rem 0;
}

.tp-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--ae0-primary);
    transition: width var(--tp-transition-speed);
}

.tp-nav-menu li a:hover::after {
    width: 100%;
}

.tp-hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--ae0-dark);
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

/* Hero Section */
.tp-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--ae0-dark);
}

.tp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.tp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tp-hero-content {
    position: relative;
    z-index: 2;
    color: var(--ae0-white);
    max-width: 900px;
    padding: 2rem;
}

.tp-hero-content h1 {
    color: var(--ae0-white);
    font-size: 4.5rem;
    margin-bottom: 0.5em;
}

.tp-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Section Separator */
.tp-section-separator {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--ae0-primary), var(--ae0-muted));
    margin: 0 auto;
    margin-top: -5px; /* Visual overlay */
    position: relative;
    z-index: 1;
}

/* Card Components */
.tp-card {
    background-color: var(--ae0-white);
    border-radius: var(--tp-border-radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: var(--tp-gap-md);
    text-align: center;
    transition: transform var(--tp-transition-speed), box-shadow var(--tp-transition-speed);
}

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

.tp-card-icon {
    font-size: 3rem;
    color: var(--ae0-primary);
    margin-bottom: var(--tp-gap-sm);
}

.tp-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--tp-border-radius-sm);
    margin-bottom: var(--tp-gap-sm);
}

/* Inline CTA */
.tp-cta-inline {
    background-color: var(--ae0-primary);
    color: var(--ae0-white);
    padding: var(--tp-gap-md);
    border-radius: var(--tp-border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tp-cta-inline h3 {
    color: var(--ae0-white);
    margin-bottom: var(--tp-gap-sm);
}

.tp-cta-inline p {
    max-width: 700px;
    margin-bottom: var(--tp-gap-sm);
    font-size: 1.15rem;
}

.tp-cta-inline .tp-btn {
    background-color: var(--ae0-white);
    color: var(--ae0-primary);
    border-color: var(--ae0-white);
}

.tp-cta-inline .tp-btn:hover {
    background-color: var(--ae0-light-gray);
    color: var(--ae0-secondary);
    border-color: var(--ae0-light-gray);
}

/* Icon Features */
.tp-icon-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--tp-gap-sm);
}

.tp-icon-feature svg {
    font-size: 3.5rem;
    color: var(--ae0-primary);
    margin-bottom: var(--tp-gap-sm);
}

.tp-icon-feature h4 {
    margin-bottom: 0.5em;
}

/* Steps Minimal */
.tp-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: var(--tp-gap-md);
}

.tp-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--tp-gap-md);
    background-color: var(--ae0-primary);
    display: none; /* Hide vertical line on desktop for minimal */
}

.tp-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--ae0-primary);
    color: var(--ae0-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--tp-gap-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tp-step-item h4 {
    margin-bottom: 0.5em;
}

/* Why Choose Us */
.tp-why-choose-us .tp-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tp-why-item {
    display: flex;
    align-items: flex-start;
    gap: var(--tp-gap-sm);
    padding: var(--tp-gap-sm);
    background-color: var(--ae0-white);
    border-radius: var(--tp-border-radius-md);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all var(--tp-transition-speed);
}

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

.tp-why-icon {
    font-size: 2.5rem;
    color: var(--ae0-primary);
    flex-shrink: 0;
}

.tp-why-item h4 {
    margin-top: 0;
    margin-bottom: 0.3em;
}

/* Testimonials */
.tp-testimonial-card {
    background-color: var(--ae0-white);
    border-radius: var(--tp-border-radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: var(--tp-gap-md);
    position: relative;
    text-align: center;
    margin-bottom: var(--tp-gap-md);
}

.tp-testimonial-card::before {
    content: '"';
    font-family: var(--tp-font-heading);
    font-size: 5rem;
    color: var(--ae0-muted);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.2;
    line-height: 1;
}

.tp-testimonial-text {
    font-style: italic;
    margin-bottom: var(--tp-gap-sm);
    color: var(--ae0-dark);
    font-size: 1.1rem;
}

.tp-testimonial-author {
    font-weight: 600;
    color: var(--ae0-primary);
}

.tp-testimonial-context {
    font-size: 0.9em;
    color: var(--ae0-text);
}

/* FAQ Section */
.tp-faq-item {
    background-color: var(--ae0-white);
    border: 1px solid var(--ae0-border-color);
    border-radius: var(--tp-border-radius-sm);
    margin-bottom: var(--tp-gap-sm);
    overflow: hidden;
    transition: box-shadow var(--tp-transition-speed);
}

.tp-faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tp-faq-q {
    padding: var(--tp-gap-sm) var(--tp-gap-md);
    font-weight: 600;
    color: var(--ae0-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--tp-transition-speed);
}

.tp-faq-q:hover {
    background-color: var(--ae0-light-gray);
}

.tp-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform var(--tp-transition-speed);
}

.tp-faq-item.active .tp-faq-q::after {
    content: '-';
    transform: rotate(0deg);
}

.tp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--ae0-light-gray);
    padding: 0 var(--tp-gap-md);
}

.tp-faq-item.active .tp-faq-a {
    max-height: 500px; /* Adjust as needed for content length */
    padding: var(--tp-gap-sm) var(--tp-gap-md) var(--tp-gap-md);
}

/* Contact Form Section */
.tp-contact-form-section {
    background-color: var(--ae0-primary);
    color: var(--ae0-white);
}

.tp-contact-form-section h2, .tp-contact-form-section p {
    color: var(--ae0-white);
}

.tp-form-container {
    background-color: var(--ae0-white);
    padding: var(--tp-gap-lg);
    border-radius: var(--tp-border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.tp-form-group {
    margin-bottom: var(--tp-gap-sm);
}

.tp-form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: var(--ae0-dark);
}

.tp-form-group input[type="text"],
.tp-form-group input[type="email"],
.tp-form-group input[type="tel"],
.tp-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--ae0-border-color);
    border-radius: var(--tp-border-radius-sm);
    font-family: var(--tp-font-body);
    font-size: 1rem;
    color: var(--ae0-dark);
    transition: border-color var(--tp-transition-speed), box-shadow var(--tp-transition-speed);
}

.tp-form-group input:focus,
.tp-form-group textarea:focus {
    outline: none;
    border-color: var(--ae0-accent);
    box-shadow: 0 0 0 3px var(--ae0-focus-ring);
}

.tp-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.tp-form-message {
    padding: 0.8rem;
    margin-bottom: var(--tp-gap-sm);
    border-radius: var(--tp-border-radius-sm);
    display: none;
}

.tp-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tp-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tp-form-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: var(--tp-gap-sm);
}

/* Trust Badges/Local Info */
.tp-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: var(--tp-border-radius-md);
    font-family: var(--tp-font-heading);
    font-weight: 600;
    color: var(--ae0-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 0.5rem;
    transition: transform var(--tp-transition-speed);
}

.tp-trust-badge:hover {
    transform: translateY(-3px);
}

.tp-trust-badge svg {
    color: var(--ae0-primary);
    font-size: 1.5rem;
}

.tp-local-info-block {
    background-color: var(--ae0-dark);
    color: var(--ae0-white);
    padding: var(--tp-gap-lg);
    border-radius: var(--tp-border-radius-md);
    text-align: center;
}

.tp-local-info-block h3 {
    color: var(--ae0-white);
    margin-bottom: var(--tp-gap-sm);
}

.tp-local-info-block p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5em;
}

.tp-local-info-block a {
    color: var(--ae0-primary);
}

.tp-local-info-block .tp-btn {
    margin-top: var(--tp-gap-sm);
}

/* Footer */
.tp-footer {
    background-color: var(--ae0-dark);
    color: var(--ae0-white);
    padding: var(--tp-section-padding-desktop) 0;
    font-size: 0.9rem;
}

.tp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--tp-gap-lg);
    margin-bottom: var(--tp-gap-lg);
}

.tp-footer-col h4 {
    color: var(--ae0-primary);
    margin-bottom: var(--tp-gap-sm);
}

.tp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-footer-col ul li {
    margin-bottom: 0.5em;
}

.tp-footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.tp-footer-col ul li a:hover {
    color: var(--ae0-white);
}

.tp-social-links {
    display: flex;
    gap: var(--tp-gap-sm);
    margin-top: var(--tp-gap-sm);
}

.tp-social-links a {
    color: var(--ae0-white);
    font-size: 1.5rem;
    transition: color var(--tp-transition-speed);
}

.tp-social-links a:hover {
    color: var(--ae0-primary);
}

.tp-footer-bottom {
    text-align: center;
    padding-top: var(--tp-gap-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tp-animate {
    opacity: 0;
}

.tp-animate.tp-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.tp-animate.tp-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.tp-animate.tp-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .tp-nav-menu {
        gap: 1.5rem;
    }

    .tp-hero-content h1 {
        font-size: 3.5rem;
    }

    .tp-hero-content p {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    h3 {
        font-size: 2rem;
    }

    .tp-section {
        padding: var(--tp-section-padding-tablet);
    }

    .tp-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .tp-hamburger {
        display: block;
    }

    .tp-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--ae0-white);
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        padding: var(--tp-gap-sm) 0;
        border-top: 1px solid var(--ae0-border-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .tp-nav-menu.active {
        display: flex;
        max-height: 300px; /* Max height to allow transition */
        opacity: 1;
    }

    .tp-nav-menu li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .tp-nav-menu li a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
    }
    .tp-nav-menu li a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .tp-navbar {
        flex-wrap: nowrap;
    }

    .tp-hero-content h1 {
        font-size: 2.8rem;
    }

    .tp-hero-content p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.7rem;
    }

    .tp-section {
        padding: var(--tp-section-padding-mobile);
    }

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

@media (max-width: 480px) {
    .tp-container {
        padding: 0 1rem;
    }

    .tp-hero-content h1 {
        font-size: 2.2rem;
    }

    .tp-hero-content p {
        font-size: 1rem;
    }

    .tp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .tp-btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }

    .tp-section-heading {
        margin-bottom: var(--tp-gap-md);
    }

    .tp-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tp-footer-col ul {
        margin-bottom: var(--tp-gap-sm);
    }

    .tp-social-links {
        justify-content: center;
    }

    .tp-local-info-block {
        padding: var(--tp-gap-md);
    }
}
