/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Five Star Painting Color Scheme */
:root {
    --primary-blue: #003366;
    --secondary-blue: #004488;
    --orange-accent: #ffd700;
    --light-gray: #F8F9FA;
    --medium-gray: #111111; /* #6C757D */
    --dark-gray: #212529;
    --black: #000000;
    --white: #FFFFFF;
    --border-color: #DEE2E6;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

/* Buttons */
.cta-button {
    background: var(--orange-accent);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c0a200;
    transform: translateY(-2px);
}

.primary-cta {
    background: var(--orange-accent);
    color: var(--black);
    border: none;
    padding: 20px 40px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-cta:hover {
    background: #c0a200;
    transform: translateY(-2px);
}

.primary-cta small {
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

.learn-more-btn {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 2px;
}

.learn-more-btn:hover {
    opacity: 0.8;
}

.phone-number {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-right: 20px;
}

.phone-number:hover {
    opacity: 0.8;
}

/* Header */
.header {
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Sticky Navbar for portfolio and other pages */
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
}

.location-pin {
    font-size: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.top-link a {
    color: var(--white);
    text-decoration: none;
}

.top-link:hover {
    color: var(--orange-accent);
}

.separator {
    color: var(--white);
    font-size: 12px;
}

/* Main Navigation */
.navbar {
    background: var(--primary-blue);
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand img {
    height: 100px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
    padding: 8px 5px;

}

.nav-menu a:not(:last-child)::after{
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background: var(--orange-accent);
    transition: width 0.3s ease;
    position: absolute;
    right: -3px;
    top: 52%;
    transform: translateY(-50%);
   -webkit-transform: translateY(-50%);
}

.nav-menu a:hover {
    color: var(--orange-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-button {
    background: var(--orange-accent);
    color: var(--black);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.phone-number {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.5px;
}

.phone-number:hover {
    color: var(--orange-accent);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    padding: 4px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--orange-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.dot.active{
    top: -20px;
}

.mobile-menu-toggle.active span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Offcanvas Overlay */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    overflow: hidden;
    /* margin-top: 90px; */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/professional-painter-b.jpg') top/cover;
    background-attachment: fixed;
    opacity: 0.4;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    padding: 60px 0;
    transform: translateZ(0);
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--white);
    opacity: 0.95;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    margin: 50px 0;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--white);
    opacity: 0.9;
}

.rating-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.stars {
    color: #FFD700;
    font-size: 24px;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 16px;
    color: var(--white);
    opacity: 0.9;
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.cta-box{
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Schedule Modal */
.schedule-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 20px;
}

.schedule-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-modal .modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    color: var(--dark-gray);
    font-size: 24px;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--dark-gray);
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    background: var(--orange-accent);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #ffd700;
}

/* Customer Reviews Section */
.customer-reviews {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-blue);
    font-size: 35px;
    margin: 0;
}

.view-all-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.review-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.quote-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.review-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--dark-gray);
    font-style: italic;
    min-height: 80px;
}

.review-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.review-footer strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-size: 16px;
}

.review-footer .stars {
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 1px;
}

.service-note {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.customer-reviews .cta-button {
    display: block;
    margin: 0 auto;
}

/* Warranty Section */
.warranty-section {
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

.warranty-section h2 {
    margin-bottom: 20px;
}

.warranty-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
}

/* Thinking About Painting Section */
.thinking-about-painting {
    padding: 80px 0;
    background: var(--light-gray);
}

.thinking-about-painting .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.thinking-about-painting .section-header h2 {
    color: var(--primary-blue);
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.thinking-about-painting .section-header p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.6;
}

.warranty-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
}

.warranty-link:hover {
    color: var(--orange-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px 20px;
    position: relative;
}

.service-content h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-link {
    color: var(--orange-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #ffd700;
}

.service-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

/* Find A Painting Expert Section */
.find-expert-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.expert-content h2 {
    color: var(--dark-gray);
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.expert-content > p {
    color: var(--medium-gray);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item::before {
    content: '✓';
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 20px;
    background: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.5;
}

.expert-image {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(18,50,90,0.10);
    object-fit: cover;
}

.expert-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.expert-features {
  flex: 1 1 0;
  max-width: 600px;
}

.expert-features h2 {
  font-size: 35px;
  color: #12325a;
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-features hr {
  border: none;
  border-top: 2px solid #e0e6ed;
  margin: 16px 0 24px 0;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(18,50,90,0.07);
  padding: 10px 15px;
  margin-bottom: 22px;
  border-left: 6px solid #12325a;
  transition: box-shadow 0.2s;
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-icon {
  font-size: 1rem;
  color: #12325a;
  margin-right: 18px;
  margin-top: 2px;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #12325a;
}

.feature-card p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

/* Color Visualizer Section */
.color-visualizer {
    padding: 80px 0;
    background: var(--white);
}

.visualizer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: flex-start;
}

.visualizer-content h2 {
    color: var(--dark-gray);
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.visualizer-content p {
    color: var(--medium-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.room-preview {
    position: relative;
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.room-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.color-controls {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.color-controls h3 {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.color-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover,
.color-option.active {
    border-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.visualize-btn {
    width: 100%;
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.visualize-btn:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Paint Brands Section */
.paint-brands {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.brand-item img {
    height: 60px;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: 2rem;
    text-align: center;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
}

/* Helpful Resources Section */
.helpful-resources {
    padding: 60px 0;
    background: var(--white);
}

.helpful-resources .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.resource-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-content {
    padding: 25px;
}

.resource-content h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--dark-gray);
}

.resource-content p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.resource-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.resource-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.faq-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.faq-text .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--medium-gray);
}

.faq-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Service Area Map Section */
.service-area-map {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-header h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.map-header p {
    font-size: 18px;
    color: var(--dark-gray);
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

#google-map {
    width: 100%;
    height: 500px;
    border: none;
}

.service-locations {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-locations h3 {
    text-align: center;
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.location-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-column ul li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.location-column ul li:before {
    content: "📍";
    position: absolute;
    left: 0;
    font-size: 14px;
}

.location-column ul li:last-child {
    border-bottom: none;
}

@media (max-width: 968px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    #google-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    #google-map {
        height: 350px;
    }
    
    .map-header h2 {
        font-size: 28px;
    }

    .hero-background {
        background-position: center;
        background-image: url('./images/professional-painter-mobile.jpg');
    }
}

/* Join Our Team Section */
.join-team {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.join-team h2 {
    margin-bottom: 20px;
}

.join-team p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
}

.company-info {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.logo-section {
    text-align: left;
}

.logo-section img {
    height: 50px;
    margin-bottom: 30px;
}

.partner-info img {
    height: 40px;
    margin-bottom: 15px;
}

.partner-info p {
    font-size: 14px;
    text-align: left;
    margin-bottom: 15px;
}

.neighborly-section {
    text-align: center;
}

.neighborly-section p {
    font-weight: 600;
    margin-bottom: 10px;
}

.neighborly-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.app-downloads {
    margin-top: 20px;
}

.app-downloads p {
    margin-bottom: 10px;
    font-weight: 600;
}

.app-store, .google-play {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    background: var(--dark-gray);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.method-content a,
.method-content p {
    color: var(--text-light);
    text-decoration: none;
    margin: 0;
}

.method-content a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3,
.estimate-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-top {
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-phone {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.08);
    background: rgba(255,255,255,0.08);
}

/* Padroniza SVG dos ícones sociais do footer */
.social-links a svg {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-certifications {
    text-align: center;
    margin-bottom: 30px;
}

.footer-certifications img {
    height: 50px;
}

.footer-disclaimer {
    margin-bottom: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-final {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.quote-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -70px;
    background-color: var(--white);
}


.quote-icon img{
    width: 40px;
}

.mb-2{
    display: inline-block;
    margin-bottom: 20px !important;
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-section {
        margin-top: 0px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0,0,0,0.3);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .nav-menu a {
        color: var(--white);
        font-size: 16px;
        font-weight: 600;
        padding: 10px 0px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 3px;
        color: var(--orange-accent);
    }

    .nav-menu a:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a::after {
        display: none !important;
    }

    .nav-actions {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons {
        display: none;
    }

    .phone-number {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .content-grid,
    .faq-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .company-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .location-input {
        flex-direction: column;
    }

    .brand-logos {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .cta-box{
        flex-direction: column;
    }

    .cta-container {
        margin-top: 5px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .container {
        padding: 0 10px;
    }

    .customer-reviews,
    .warranty-section,
    .thinking-about-painting,
    .find-expert-section,
    .helpful-resources,
    .faq-section,
    .join-team {
        padding: 40px 0;
    }

    .testimonial-carousel,
    .cta-section,
    .location-finder {
        padding: 20px;
    }

    .reviews-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .expert-flex {
        flex-direction: column;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    /* Initial hidden state for animated elements */
    .service-card,
    .review-card,
    .feature-card,
    .resource-item,
    .faq-item,
    .expert-features,
    .expert-image {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    /* Visible state when element enters viewport */
    .service-card.animate-in,
    .review-card.animate-in,
    .feature-card.animate-in,
    .resource-item.animate-in,
    .faq-item.animate-in,
    .expert-features.animate-in,
    .expert-image.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation delay for sequential appearance */
    .service-card:nth-child(1) { transition-delay: 0.1s; }
    .service-card:nth-child(2) { transition-delay: 0.2s; }
    .service-card:nth-child(3) { transition-delay: 0.3s; }
    .service-card:nth-child(4) { transition-delay: 0.4s; }
    
    .review-card:nth-child(1) { transition-delay: 0.1s; }
    .review-card:nth-child(2) { transition-delay: 0.2s; }
    .review-card:nth-child(3) { transition-delay: 0.3s; }
    
    .feature-card:nth-child(1) { transition-delay: 0.1s; }
    .feature-card:nth-child(2) { transition-delay: 0.2s; }
    .feature-card:nth-child(3) { transition-delay: 0.3s; }
    .feature-card:nth-child(4) { transition-delay: 0.4s; }
    
    .resource-item:nth-child(1) { transition-delay: 0.1s; }
    .resource-item:nth-child(2) { transition-delay: 0.2s; }
    .resource-item:nth-child(3) { transition-delay: 0.3s; }
    
    .expert-image { transition-delay: 0.2s; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}