/* ========================================
   Papasan Home Services - Main Stylesheet
   Mobile-First Responsive Design
   ======================================== */

/* ========================================
   CSS Variables & Base Setup
   ======================================== */
:root {
    /* Brand Colors */
    --primary-blue: #149CD2;
    --accent-orange: #F7921E;
    --dark-text: #2C3E50;
    --light-grey: #ECF0F1;
    --white: #FFFFFF;
    
    /* Extended Colors */
    --primary-blue-light: #1DADD8;
    --primary-blue-dark: #0F8BB5;
    --accent-orange-light: #FFA033;
    --accent-orange-dark: #DD7D0D;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange);
    margin: 16px auto 0;
}

.section-title-light {
    color: var(--white);
}

.section-title-light::after {
    background-color: var(--white);
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--accent-orange);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.sticky {
    height: 60px;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: block;
}

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

.header.sticky .logo-img {
    height: 40px;
}

.nav-desktop {
    display: none;
}

.header-actions {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(44, 62, 80, 0.95);
    z-index: 999;
    transition: right var(--transition-medium);
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    padding: 10px;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--accent-orange);
}

.mobile-nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--white);
    padding: 15px;
}

.mobile-cta {
    margin-top: 20px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    min-height: 44px;
    min-width: 44px;
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-light);
    border-color: var(--primary-blue-light);
    transform: translateY(-2px);
}

.btn-primary:active {
    background-color: var(--primary-blue-dark);
    transform: translateY(1px);
}

.btn-primary:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   Hero Sections
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
}

.hero-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-home {
    background-image: url('../images/hero-mobile.png');
    background-color: var(--dark-text);
}

.hero-commercial,
.hero-about,
.hero-contact {
    background-image: url('../images/team-member-focus.png');
    background-color: var(--dark-text);
}

.hero-homeowners {
    background-image: url('../images/service-remodel.png');
    background-color: var(--dark-text);
}

.hero-landlords {
    background-image: url('../images/landlord-cta.png');
    background-color: var(--dark-text);
}

/* Hero Particles Animation */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-particles::after {
    background-color: var(--accent-orange);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Client Segment Selector (Home)
   ======================================== */
.client-segments {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.segment-grid {
    display: grid;
    gap: 20px;
}

.segment-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.segment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.segment-icon {
    margin-bottom: 20px;
}

.segment-icon img {
    width: 60px;
    height: 60px;
    display: inline-block;
}

.segment-title {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.segment-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* ========================================
   Core Services (Home)
   ======================================== */
.core-services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    gap: 30px;
}

.service-card {
    background-color: var(--light-grey);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card .service-title {
    padding: 20px 20px 10px;
}

.service-card .service-text {
    padding: 0 20px 15px;
    font-size: 0.9rem;
    color: #666;
}

.service-link {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   Why Papasan (Home)
   ======================================== */
.why-papasan {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.why-papasan-grid {
    display: grid;
    gap: 40px;
}

.why-papasan-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.benefit-list {
    display: grid;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.benefit-text h4 {
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #666;
}

/* ========================================
   Our Process (Home)
   ======================================== */
.our-process {
    padding: var(--section-padding);
    background-color: var(--dark-text);
}

.process-timeline {
    display: grid;
    gap: 40px;
    text-align: center;
}

.process-step {
    color: var(--white);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.process-icon svg,
.process-icon img {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.process-title {
    color: var(--white);
    margin-bottom: 10px;
}

.process-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Featured Projects (Home)
   ======================================== */
.featured-projects {
    padding: var(--section-padding);
}

.project-grid {
    display: grid;
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.project-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.project-title {
    color: var(--white);
    margin-bottom: 5px;
}

.project-view {
    font-size: 0.85rem;
    color: var(--accent-orange);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Testimonials Carousel
   ======================================== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-track {
    flex: 1;
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-height: 200px;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote-bubble {
    width: 40px;
    height: 40px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.quote-bubble::after {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--white);
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-style: normal;
    font-weight: 600;
    color: var(--dark-text);
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--accent-orange);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--accent-orange);
}

/* ========================================
   Meet Team Snippet (Home)
   ======================================== */
.meet-team {
    padding: var(--section-padding);
    background-color: var(--white);
}

.team-snippet {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.team-text {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
}

/* ========================================
   Service Area Map (Home)
   ======================================== */
.service-area {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.service-area-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #666;
}

.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

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

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(247, 146, 30, 0.7);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 15px rgba(247, 146, 30, 0);
    }
}

/* ========================================
   Secondary CTA (Home)
   ======================================== */
.secondary-cta {
    padding: var(--section-padding);
}

.cta-grid {
    display: grid;
    gap: 30px;
}

.cta-block {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.cta-block:first-child {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.cta-block:last-child {
    background-color: var(--light-grey);
}

.cta-title {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.cta-text {
    color: #666;
    margin-bottom: 20px;
}

/* ========================================
   Final CTA Banner (Home)
   ======================================== */
.final-cta {
    padding: 80px 20px;
    background-color: var(--accent-orange);
    text-align: center;
}

.final-cta-title {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.final-cta-title::after {
    display: none;
}

.final-cta-text {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.final-cta .btn-primary {
    background-color: var(--white);
    color: var(--accent-orange);
    border-color: var(--white);
}

.final-cta .btn-primary:hover {
    background-color: var(--dark-text);
    border-color: var(--dark-text);
    color: var(--white);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-mission {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: var(--accent-orange);
}

.footer-contact-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list a:hover {
    color: var(--accent-orange);
}

.promise-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.promise-icon {
    font-size: 1.2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badges {
    display: flex;
    gap: 20px;
}

.trust-badge {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-orange);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Mobile Quick Call Button
   ======================================== */
.quick-call-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    align-items: center;
    justify-content: center;
    animation: floatCall 2s ease-in-out infinite;
}

@keyframes floatCall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.quick-call-mobile .phone-icon {
    font-size: 24px;
}

/* ========================================
   Forms
   ======================================== */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-success {
    text-align: center;
    padding: 40px;
    background-color: var(--light-grey);
    border-radius: 12px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin: 0 auto 20px;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Accordions
   ======================================== */
.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--white);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: var(--light-grey);
}

.accordion-icon {
    font-size: 1.5rem;
}

.accordion-title {
    flex: 1;
    text-align: left;
    font-size: 1rem;
}

.accordion-arrow {
    font-size: 0.8rem;
    color: #999;
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 20px 20px;
    background-color: var(--white);
}

.accordion-item.active .accordion-content {
    display: block;
}

.service-inclusions {
    margin-top: 15px;
    padding-left: 20px;
}

.service-inclusions li {
    list-style: disc;
    margin-bottom: 8px;
    color: #666;
}

/* ========================================
   Before/After Cards
   ======================================== */
.before-after-grid {
    display: grid;
    gap: 30px;
}

.before-after-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ba-image {
    position: relative;
}

.ba-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ba-title {
    padding: 20px;
    text-align: center;
    background-color: var(--light-grey);
}

/* ========================================
   Page-Specific Sections
   ======================================== */

/* Commercial Page */
.commercial-pain-points {
    padding: var(--section-padding);
}

.pain-points-grid {
    display: grid;
    gap: 30px;
}

.challenge-list {
    display: grid;
    gap: 20px;
}

.challenge-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.challenge-icon {
    font-size: 1.5rem;
}

.commercial-services {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.commercial-services-grid {
    display: grid;
    gap: 30px;
}

.commercial-service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.service-icon-large {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-features {
    text-align: left;
    margin-top: 20px;
    padding-left: 20px;
}

.service-features li {
    list-style: disc;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.commercial-case-studies {
    padding: var(--section-padding);
}

.case-studies-scroll {
    display: grid;
    gap: 30px;
}

.case-study-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-study-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-study-content {
    padding: 25px;
}

.case-study-details {
    margin-top: 20px;
}

.detail-block {
    margin-bottom: 15px;
}

.detail-block h4 {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.detail-block p {
    font-size: 0.9rem;
    color: #666;
}

.commercial-process-cta {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.process-cta-grid {
    display: grid;
    gap: 40px;
}

.process-cta-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    margin-bottom: 20px;
}

.commercial-testimonials {
    padding: var(--section-padding);
    background-color: var(--dark-text);
}

.commercial-testimonials .section-title {
    color: var(--white);
}

.commercial-faq-cta {
    padding: var(--section-padding);
}

.faq-cta-block {
    text-align: center;
    padding: 40px;
    background-color: var(--light-grey);
    border-radius: 12px;
}

/* Homeowners Page */
.homeowner-needs {
    padding: var(--section-padding);
}

.needs-grid {
    display: grid;
    gap: 30px;
}

.need-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.need-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.need-title {
    margin-bottom: 15px;
}

.need-text {
    color: #666;
    font-size: 0.95rem;
}

.residential-services {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.services-accordion {
    display: grid;
    gap: 15px;
}

.residential-projects {
    padding: var(--section-padding);
}

.homeowner-testimonials {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.homeowner-cta {
    padding: var(--section-padding);
}

.cta-with-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    color: var(--white);
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content .cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Landlords Page */
.landlord-challenges {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.challenges-grid {
    display: grid;
    gap: 25px;
}

.challenge-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.challenge-icon-large {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.challenge-title {
    margin-bottom: 10px;
}

.challenge-text {
    color: #666;
    font-size: 0.9rem;
}

.landlord-services {
    padding: var(--section-padding);
}

.landlord-services-grid {
    display: grid;
    gap: 40px;
}

.service-col-title {
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.service-list {
    padding-left: 20px;
}

.service-list li {
    list-style: disc;
    margin-bottom: 12px;
    color: #666;
}

.landlord-portfolio {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.portfolio-grid {
    display: grid;
    gap: 30px;
}

.portfolio-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.portfolio-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.portfolio-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #666;
}

.landlord-testimonials {
    padding: var(--section-padding);
}

.landlord-cta {
    padding: var(--section-padding);
}

/* About Page */
.company-mission {
    padding: var(--section-padding);
}

.mission-grid {
    display: grid;
    gap: 40px;
}

.mission-statement {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    gap: 25px;
}

.value-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-title {
    margin-bottom: 10px;
}

.value-text {
    font-size: 0.9rem;
    color: #666;
}

.our-story {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.story-grid {
    display: grid;
    gap: 40px;
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.story-text {
    color: #666;
    line-height: 1.8;
}

.meet-team-full {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    gap: 30px;
}

.team-member-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium);
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-image {
    height: 250px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition-medium);
}

.team-member-card:hover .team-member-image img {
    filter: grayscale(0%);
}

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

.member-name {
    margin-bottom: 5px;
}

.member-title {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.9rem;
    color: #666;
}

.community-commitment {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.community-content {
    max-width: 800px;
    margin: 0 auto 30px;
}

.community-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.community-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-cta-final {
    padding: var(--section-padding);
    background-color: var(--primary-blue);
    text-align: center;
}

.about-cta-final .section-title {
    color: var(--white);
    margin-bottom: 15px;
}

.about-cta-final .section-title::after {
    display: none;
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Contact Page */
.contact-form-section {
    padding: var(--section-padding);
}

.contact-form-grid {
    display: grid;
    gap: 40px;
}

.form-description {
    color: #666;
    margin-bottom: 20px;
}

.direct-contact {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.contact-details-grid {
    display: grid;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-content h3 {
    margin-bottom: 8px;
}

.detail-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.detail-content a {
    color: var(--primary-blue);
    font-weight: 600;
}

.location-map {
    padding: var(--section-padding);
}

.map-text {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-faq {
    padding: var(--section-padding);
    background-color: var(--light-grey);
}

.faq-accordion {
    display: grid;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.call-form-final {
    padding: var(--section-padding);
    text-align: center;
}

.final-text {
    color: #666;
    margin-bottom: 30px;
}

.final-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ========================================
   Animations - Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-particles {
        display: none;
    }
    
    .map-marker {
        animation: none;
    }
    
    .quick-call-mobile {
        animation: none;
    }
}

/* ========================================
   Responsive - Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header {
        height: 80px;
    }
    
    .header.sticky {
        height: 70px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .header.sticky .logo-img {
        height: 45px;
    }
    
    .nav-desktop {
        display: flex;
        gap: 25px;
    }
    
    .nav-link {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--dark-text);
        position: relative;
        padding: 5px 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--primary-blue);
        transition: all var(--transition-fast);
        transform-origin: center;
    }
    
    .nav-link:hover {
        color: var(--primary-blue);
    }
    
    .nav-link:hover::after {
        width: 100%;
        left: 0;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .phone-link {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: var(--primary-blue);
    }
    
    .phone-link:hover {
        color: var(--accent-orange);
    }
    
    .menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .hero {
        padding: 150px 40px 100px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .segment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-papasan-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .needs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .landlord-services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .final-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .contact-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .final-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   Responsive - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .header {
        height: 90px;
    }
    
    .header.sticky {
        height: 70px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .header.sticky .logo-img {
        height: 50px;
    }
    
    .section-padding {
        padding: 100px 40px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 180px 60px 120px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .segment-grid,
    .services-grid,
    .needs-grid,
    .challenges-grid {
        gap: 30px;
    }
    
    .process-timeline {
        gap: 40px;
    }
    
    .project-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-carousel {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .commercial-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .map-container {
        max-width: 1000px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}