/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Root Variables - The "Midnight Slate" System */
:root {
    /* Colors - Brand & UI */
    --brand-primary: #76c900;
    --brand-primary-hover: #9be21a;
    --brand-secondary: #d88a16;
    --brand-accent: #f5b23a;
    --brand-grass: #4f9f00;
    --brand-wood-dark: #8a4f0f;
    
    /* Backgrounds */
    --bg-main: #0b0d0a;
    --bg-surface: #171a14;
    --bg-elevated: #22271d;
    --bg-glass: rgba(255, 255, 255, 0.12);
    --bg-glass-heavy: rgba(15, 17, 21, 0.82);
    
    /* Text */
    --text-primary: #f0f6fc;
    --text-secondary: #b6bfcc;
    --text-muted: #758195;
    
    /* Borders & Accents */
    --border-main: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.24);
    --white: #ffffff;
    --primary-color: var(--brand-primary);
    --secondary-color: var(--bg-surface);
    --background-color: var(--bg-main);
    --text-color: var(--text-primary);
    --gray-light: rgba(255, 255, 255, 0.06);
    --gray-medium: rgba(255, 255, 255, 0.18);
    --gray-dark: var(--text-secondary);
    --font-primary: var(--font-body);
    --font-secondary: var(--font-heading);
    --border-radius: var(--radius-md);
    --box-shadow: var(--shadow-lg);
    --transition-speed: var(--transition-snappy);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Layout */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-snappy: 0.2s var(--ease-out-quart);
    --transition-smooth: 0.4s var(--ease-out-quint);
    --container-width: 1300px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Common Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-dot {
    color: var(--brand-primary);
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-main);
    transition: all var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--bg-glass-heavy);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 2rem;
}

/* Logo */
.logo-container {
    flex-shrink: 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--brand-primary);
    background: var(--bg-surface);
}

.main-logo {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
    transition: transform var(--transition-snappy);
}

.main-logo:hover {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-snappy);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--brand-primary);
    transition: width var(--transition-snappy);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.nav-links a[aria-current="page"] {
    color: var(--brand-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--border-main);
    border: 1px solid var(--border-hover);
    transition: all var(--transition-snappy);
}

.phone-link:hover {
    background: var(--border-hover);
    transform: translateY(-1px);
}

.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1877f2;
    color: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-snappy);
}

.facebook-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: radial-gradient(circle at top right, rgba(163, 230, 53, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(132, 204, 22, 0.05), transparent),
                var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pfc-banner.png') center/cover no-repeat;
    opacity: 0.25;
    filter: saturate(0.8) contrast(1.2) brightness(0.8);
    z-index: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed header */
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-hero {
    margin-bottom: 2.5rem;
}

.hero-logo {
    width: 220px;
    height: auto;
    animation: fadeIn 1s ease-out;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* About Pricing Section */
.about-pricing {
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.about-pricing h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pricing-note {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.price-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    flex: 1;
    max-width: 250px;
}

.price-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.price-item .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    filter: saturate(1);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-snappy);
}

.btn-text:hover {
    gap: 0.75rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-snappy);
    position: relative;
    overflow: hidden;
    gap: 0.75rem;
    min-width: 180px;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(118, 201, 0, 0.32);
}

.btn-primary:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 201, 0, 0.24);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-main);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Brown contact button for CTA section */
.cta-buttons .btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 3px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
    background-color: #f59e4d;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
    background-color: rgba(255,255,255,0.25);
    border-color: var(--white);
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%) rotate(35deg);
    transition: transform 0.5s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    transform: translate(-50%, -50%) rotate(35deg) translateY(-100%);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: left;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Trust Badges */
.trust-badges-section {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-main);
    border-bottom: 1px solid var(--border-main);
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.trust-badge i {
    font-size: 2rem;
    color: var(--brand-secondary);
}

.trust-badge span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: all var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-secondary);
}

.stars {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.quote-mark {
    display: none; /* Cleaner, more modern look without massive quotes */
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-main);
    padding-top: 1.5rem;
}

.testimonial-author cite {
    font-style: normal;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.testimonial-author .location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonial-cta {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

.testimonial-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.testimonial-cta a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(11, 13, 10, 0.78), rgba(11, 13, 10, 0.78)), url('images/489821940_122172836210284101_3186937989902862235_n.jpg') center/cover no-repeat;
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--border-main);
    border-bottom: 1px solid var(--border-main);
}

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

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all var(--transition-speed);
}

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

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-author {
    text-align: center;
    margin-top: 1rem;
}

.testimonial-author cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.review-form-section {
    padding: 4rem 0;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
}

.review-form textarea {
    min-height: 150px;
}

/* Privacy and Maintenance Pages */
.privacy-content,
.maintenance-content {
    padding: 4rem 0;
}

.privacy-section,
.maintenance-section {
    margin-bottom: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.privacy-section h2,
.maintenance-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-section ul,
.maintenance-section ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.privacy-section li,
.maintenance-section li {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 90, 68, 0.2);
}

/* Gallery Styles */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

/* Facebook Gallery Section */
.facebook-gallery-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.facebook-gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.facebook-gallery-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.facebook-gallery-header h2 i {
    color: #1877f2;
}

.facebook-gallery-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.facebook-feed-container {
    max-width: 540px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.facebook-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #1877f2, #0c63d4);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.facebook-cta-box p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.facebook-cta-box .btn-primary {
    background: var(--white);
    color: #1877f2;
}

.facebook-cta-box .btn-primary:hover {
    background: var(--background-color);
    color: #0c63d4;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: calc(25% - 0.5rem); /* 4 items per row with small gap */
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    z-index: 1;
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    z-index: 2010;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2010;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    width: 100%;
}

/* Loading indicator for gallery */
.loading-indicator {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Calculator Page Styles */
.calculator-section {
    padding: 4rem 0;
}

.calculator-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto;
}

.estimate-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-speed);
}

.estimate-result.hidden {
    display: none;
}

.estimate-result-inner {
    max-width: 400px;
    margin: 0 auto;
}

.estimate-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.estimate-details {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.calculator-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

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

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-range {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pop-in {
    animation: popIn 0.5s ease-out;
}

/* Spinner for form submission */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* Success state for buttons */
.btn-primary.success {
    background-color: #4CAF50;
}

/* Responsive adjustments for contact and calculator pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-info {
        grid-template-columns: 1fr;
    }
    
    .estimate-amount {
        font-size: 2rem;
    }
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all var(--transition-speed);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .phone-number {
        display: none;
    }

    .phone-link {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(90, 62, 43, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-container.active .nav-links {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 1rem;
    }

    .main-logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }

    .nav-links {
        top: 70px;
        padding: 1.5rem;
    }

    .main-logo {
        height: 45px;
    }

    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 70px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .hero {
        padding-top: 70px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 2rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero-logo {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

/* Facebook CTA in Footer */
.facebook-cta {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.facebook-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.1), transparent);
    filter: blur(20px);
}

.facebook-cta .follow-heading {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.facebook-cta .follow-heading i {
    color: #1877f2;
}

.facebook-cta .follow-subtext {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    max-width: 400px;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #1877f2;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-snappy);
}

.btn-facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
    background: #166fe5;
}

.main-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-main);
    padding: 6rem 0 2rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.accent-dot {
    color: var(--brand-primary);
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition-snappy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: var(--radius-md);
}

.social-links a:hover {
    color: var(--text-primary);
    border-color: var(--brand-primary);
    background: var(--border-main);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-snappy);
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.footer-contact p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-main);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        align-items: center;
        text-align: center;
    }

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

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

    .footer-links ul {
        align-items: center;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    margin-bottom: 4rem;
}

.about-values h2 {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

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

.about-team h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

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

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
}

.team-member h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* Enhanced Privacy Page */
.privacy-content {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.intro-text {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.privacy-section:hover {
    transform: translateY(-5px);
}

.privacy-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-medium);
}

.privacy-section p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

.privacy-section li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.contact-info-box {
    background-color: rgba(67, 97, 238, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
}

.contact-info-box a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-info-box a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 4rem;
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.cta-box .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.contact-section .intro-text {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-form-container p {
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.text-small {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-top: 0.5rem;
}

.service-areas {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
}

.service-areas h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.areas-list li {
    position: relative;
    padding-left: 1.5rem;
}

.areas-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.testimonial-highlight {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    margin-bottom: 4rem;
    text-align: center;
}

.testimonial-highlight .quote-mark {
    font-size: 6rem;
    position: absolute;
    top: 1rem;
    left: 2rem;
    color: rgba(67, 97, 238, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-highlight blockquote {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

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

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

.testimonial-author cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--gray-dark);
    line-height: 1.6;
}

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

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Page Styles */
.faq-page-content {
    padding: 4rem 0;
    background-color: var(--gray-light);
}

.faq-search-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-search-container h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--gray-medium);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.search-box button:hover {
    background-color: var(--secondary-color);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-btn {
    background-color: transparent;
    border: 1px solid var(--gray-medium);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.faq-list {
    margin-bottom: 4rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--gray-medium);
    padding-bottom: 0.5rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed);
}

.faq-question:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.faq-question.active {
    background-color: rgba(67, 97, 238, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    flex: 1;
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform var(--transition-speed);
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p, .faq-answer ul, .faq-answer ol {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

.faq-answer ul, .faq-answer ol {
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.faq-answer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Media Queries for Gallery */
@media (max-width: 1200px) {
    .gallery-item {
        width: calc(33.333% - 0.5rem); /* 3 items per row */
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: calc(25% - 0.5rem); /* 4 items per row */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: calc(33.333% - 0.5rem); /* 3 items per row */
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: calc(50% - 0.5rem); /* 2 items per row */
    }
    
    .gallery-grid {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: calc(50% - 0.25rem); /* 2 items per row with smaller gap */
    }
    
    .gallery-grid {
        gap: 0.25rem;
    }
}

.still-have-questions {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.still-have-questions h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.still-have-questions p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.question-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Premium workspace refresh */
html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(118, 201, 0, 0.18), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(216, 138, 22, 0.16), transparent 28rem),
        var(--bg-main);
}

img {
    max-width: 100%;
}

.main-header {
    width: auto;
    left: 50%;
    right: auto;
    top: 18px;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px));
    border: 1px solid var(--border-main);
    border-radius: 18px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.main-header.scrolled {
    padding: 0;
    background: var(--bg-glass-heavy);
}

.nav-container {
    height: 68px;
    padding: 0 1rem 0 1.25rem;
}

.logo-container a,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    letter-spacing: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-links {
    padding: 0.35rem;
    gap: 0.15rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
}

.nav-links a {
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-full);
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.phone-link,
.facebook-link,
.social-links a {
    min-width: 44px;
    min-height: 44px;
}

.btn-primary,
.btn-secondary,
.btn-facebook {
    border-radius: 10px;
    min-height: 46px;
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    box-shadow: 0 16px 38px rgba(118, 201, 0, 0.26);
}

.btn-primary:hover,
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--brand-primary-hover), var(--brand-secondary));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 18px 45px rgba(216, 138, 22, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-main);
}

.hero {
    min-height: 760px;
    height: auto;
    padding: 9rem 0 6rem;
    text-align: left;
}

.hero::before {
    opacity: 0.18;
    filter: saturate(0.9) contrast(1.05) brightness(0.65);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 17, 21, 0.96), rgba(15, 17, 21, 0.7), rgba(15, 17, 21, 0.36));
    z-index: 1;
}

.hero-workspace {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.hero-content {
    align-items: flex-start;
    max-width: 720px;
    padding: 0;
}

.badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #d9ff8a;
    background: rgba(118, 201, 0, 0.14);
    border: 1px solid rgba(155, 226, 26, 0.34);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.7rem);
    letter-spacing: 0;
    line-height: 0.95;
    text-shadow: none;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    text-shadow: none;
    max-width: 620px;
}

.hero-buttons {
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 0;
}

.hero-preview,
.calculator-container,
.feature-card,
.service-card,
.testimonial-card,
.facebook-feed-container,
.facebook-cta-box,
.contact-form-container,
.contact-card,
.info-card,
.price-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-main);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: var(--glass-blur);
}

.project-feed-panel {
    max-width: 760px;
    padding: 0;
    overflow: hidden;
}

.feed-preview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 180px);
    gap: 1px;
    background: var(--border-main);
}

.feed-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-preview-grid img:first-child {
    grid-row: span 2;
}

.feed-status {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-secondary);
}

.feed-status strong {
    color: var(--text-primary);
}

.hero-preview {
    border-radius: 22px;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

.workspace-bar {
    min-height: 52px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-main);
    background: rgba(15, 17, 21, 0.6);
}

.workspace-bar span {
    width: 42px;
    height: 12px;
    border-radius: 99px;
    background: linear-gradient(90deg, #ef4444 0 28%, #f59e0b 28% 58%, #22c55e 58%);
}

.workspace-bar i {
    justify-self: end;
}

.preview-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.preview-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 700ms var(--ease-out-quint);
}

.hero-preview:hover .preview-stage img {
    transform: scale(1.1);
}

.measurement-chip {
    position: absolute;
    left: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    background: rgba(15, 17, 21, 0.78);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
}

.chip-top {
    top: 1rem;
}

.chip-bottom {
    bottom: 1rem;
}

.preview-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-main);
}

.preview-meta div {
    padding: 1rem;
    background: rgba(15, 17, 21, 0.72);
}

.preview-meta span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

.preview-meta strong {
    color: var(--text-primary);
}

.page-header {
    margin-top: 0;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(135deg, rgba(118, 201, 0, 0.2), rgba(216, 138, 22, 0.12)),
        var(--bg-main);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5.25rem);
    letter-spacing: 0;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: 0;
}

.features-section,
.testimonials-section,
.gallery-section,
.calculator-section,
.contact-section,
.about-section,
.privacy-content,
.reviews-section {
    background: transparent;
}

.service-card,
.feature-card,
.testimonial-card {
    border-radius: 10px;
}

.service-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.gallery-item:hover {
    border-color: rgba(118, 201, 0, 0.62);
    box-shadow: 0 24px 60px rgba(118, 201, 0, 0.14);
}

.trust-badges-section {
    background: rgba(255, 255, 255, 0.05);
}

.cta-section {
    background:
        linear-gradient(90deg, rgba(11, 13, 10, 0.94), rgba(11, 13, 10, 0.64)),
        url('images/489821940_122172836210284101_3186937989902862235_n.jpg') center/cover no-repeat;
}

.gallery-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 92px;
    grid-auto-flow: dense;
    gap: 1rem;
    padding: 1rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        rgba(255, 255, 255, 0.04);
    background-size: 28px 28px;
    border: 1px solid var(--border-main);
    border-radius: 18px;
}

.gallery-item {
    width: auto;
    grid-column: span 3;
    grid-row: span 3;
    border: 1px solid var(--border-main);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.gallery-item:nth-child(5n + 1) {
    grid-column: span 4;
    grid-row: span 4;
}

.gallery-item:nth-child(7n + 3) {
    grid-column: span 5;
    grid-row: span 3;
}

.lightbox {
    background: rgba(8, 10, 14, 0.86);
    backdrop-filter: blur(16px);
}

.lightbox-content {
    width: min(1180px, 92vw);
    max-width: none;
    padding: 3.25rem 1rem 1rem;
    border: 1px solid var(--border-main);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.lightbox-image {
    border-radius: 10px;
}

.lightbox-close,
.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-main);
}

.calculator-container.configurator-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 18px;
}

.configurator-sidebar,
.configurator-panel,
.estimate-result {
    background: rgba(15, 17, 21, 0.55);
    border: 1px solid var(--border-main);
    border-radius: 12px;
    padding: 1.25rem;
}

.configurator-sidebar h2 {
    margin: 0.8rem 0 1.25rem;
}

.material-tabs {
    display: grid;
    gap: 0.6rem;
}

.material-tab {
    min-height: 44px;
    border: 1px solid var(--border-main);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font: inherit;
    font-weight: 700;
    text-align: left;
    padding: 0 0.85rem;
    cursor: pointer;
    transition: all var(--transition-snappy);
}

.material-tab:hover,
.material-tab.active {
    color: var(--text-primary);
    border-color: rgba(118, 201, 0, 0.7);
    background: rgba(118, 201, 0, 0.16);
}

.calculator-form {
    max-width: none;
}

.control-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.control-heading output {
    color: var(--brand-secondary);
    font-weight: 800;
}

.form-group label {
    color: var(--text-primary);
}

.form-control {
    min-height: 46px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-main);
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(118, 201, 0, 0.18);
}

.config-range {
    width: 100%;
    accent-color: var(--brand-secondary);
    margin: 0.7rem 0 0.6rem;
}

.estimate-result {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.estimate-result.hidden {
    display: flex;
}

.estimate-amount {
    color: var(--text-primary);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    letter-spacing: 0;
}

.estimate-details {
    color: var(--text-secondary);
}

.about-pricing {
    width: 100%;
}

.price-item {
    color: var(--text-primary);
}

.price-item h3,
.price-item .price,
.info-card h3,
.contact-details h3 {
    color: var(--text-primary);
}

@media (max-width: 1100px) {
    .hero-workspace,
    .calculator-container.configurator-shell {
        grid-template-columns: 1fr;
    }

    .hero-preview {
        transform: none;
        max-width: 680px;
    }

    .gallery-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-main);
        border-radius: 10px;
        color: var(--text-primary);
    }

    .nav-links {
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(15, 17, 21, 0.94);
        border-radius: 16px;
        border: 1px solid var(--border-main);
        backdrop-filter: var(--glass-blur);
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 14px;
    }

    .nav-container {
        height: 62px;
        padding: 0 0.75rem;
    }

    .logo-text {
        max-width: 162px;
        line-height: 1.05;
    }

    .facebook-link {
        display: none;
    }

    .hero {
        min-height: 0;
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .hero-buttons,
    .cta-buttons {
        width: 100%;
        padding: 0;
    }

    .hero-preview {
        animation: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 74px;
        gap: 0.7rem;
        padding: 0.7rem;
    }

    .gallery-item,
    .gallery-item:nth-child(5n + 1),
    .gallery-item:nth-child(7n + 3) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .calculator-container.configurator-shell {
        padding: 0.75rem;
    }

    .pricing-options {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
