/* ==========================================
   CONTRACTOR TEMPLATE - WENTZVILLE STYLE
   Premium Dark Theme with Glassmorphism
   ========================================== */

:root {
    /* Core Palette */
    --primary: #d4af37;
    /* Rich Gold */
    --primary-dark: #aa8c2c;
    --primary-light: #f3cf55;
    --secondary: #0a0a0a;
    /* Rich Black */
    --accent: #ffffff;

    /* Backgrounds */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);

    /* Borders */
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.2);

    /* Text */
    --text: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;

    /* Effects */
    --glass-blur: blur(12px);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    line-height: 1.2;
}

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

.container-full {
    padding: 0;
    width: 100%;
}

/* ==========================================
   UTILITIES
   ========================================== */

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Pill shape for modern look */
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #000000;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-full {
    width: 100%;
}

.service-cta-button {
    display: inline-block;
    background: var(--primary);
    color: #000000;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s var(--ease-out);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-cta-button:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    align-self: center;
    /* Helper for flex containers */
}

/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    overflow: visible;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: #000000 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    z-index: 1001;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 8px;
    list-style: none;
    min-width: 220px;
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1002;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 1rem;
    width: 12px;
    height: 12px;
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    transform: rotate(45deg);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    text-decoration: none;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: 0.3s;
}

/* ==========================================
   HERO SECTIONS
   ========================================== */

.hero,
.service-page-hero {
    position: relative;
    min-height: 85vh;
    /* Taller hero for impact */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding: 6rem 0;
    transition: background-image 0.5s ease-in-out;
}

.hero-overlay,
.service-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.3) 0%,
            rgba(5, 5, 5, 0.7) 50%,
            rgba(5, 5, 5, 1) 100%);
    z-index: 1;
}

.hero-content,
.service-page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-label {
    display: inline-block;
    background: var(--primary);
    color: #000000;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease-out 0.3s backwards;
}

.hero-tagline {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--primary);
    animation: slideUp 0.8s ease-out 0.35s backwards;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.5s backwards;
}

.service-page-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s var(--ease-out);
}

.service-page-hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: slideUp 1s var(--ease-out) 0.2s backwards;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.about-container {
    max-width: 1000px;
}

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

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--text);
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.about-features li {
    position: relative;
    padding-left: 2.5rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.services .container {
    padding: 0 0.5rem;
}

#services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    #services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    #services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==========================================
   SERVICE CONTENT STYLES
   ========================================== */

.service-content {
    background: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
}

.service-section {
    margin-bottom: 8rem;
}

.section-title,
.service-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--text);
}

.section-title::after,
.service-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.service-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-section ul {
    list-style: none;
    /* Custom bullets */
    margin-left: 0;
    margin-bottom: 2rem;
}

.service-section li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-section li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
}


/* Overview Section */
.services-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-overview-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
    position: relative;
}

.services-overview-image {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.services-overview-image:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.services-overview-image:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.services-overview-image:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.services-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* Feature Grid */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s var(--ease-out);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 4rem 0;
    margin: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05), transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* Comparison Section (Before/After) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.comparison-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    group: hover;
}

.comparison-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.before-image {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    transition: clip-path 0.5s ease;
}

.comparison-container:hover .before-image {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    /* Reveal after image */
}

.after-image {
    z-index: 1;
}

.comparison-label {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

/* Masonry Gallery */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
    padding: 1rem;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.masonry-item:nth-child(even) {
    grid-row: span 2;
}

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

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay::after {
    content: 'View Project';
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    border-bottom: 2px solid var(--primary);
}

/* Tables (Comparison) */
.comparison-section {
    overflow-x: auto;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-header {
    text-align: left;
    padding: 1.5rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.comparison-cell {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
}

.comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.check-mark {
    color: var(--primary);
}

.x-mark {
    color: #ff6b6b;
}

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

.material-card {
    background: rgba(20, 20, 20, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.9);
}

.material-card h4 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline-section {
    position: relative;
    padding: 2rem 0;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    animation: slideUp 0.8s ease forwards;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid #b1ac93;
    color: #b1ac93;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-circle {
    background: #b1ac93;
    color: #000;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--border);
    z-index: 1;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-title {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Services Selector (Gutter page specific but maybe reused) */
.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.selector-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector-card.active,
.selector-card:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
}

.selector-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.selector-title {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.selector-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.selector-details {
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.selector-detail-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, display 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    display: block;
    max-height: 500px;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
}

/* Service Benefits */
.service-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-glass);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.benefit-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Marquees */
.marquee-container {
    overflow: hidden;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    animation: scrollGallery 80s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Reviews Section */
.reviews {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.reviews-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.reviews-subtitle a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.reviews-subtitle a:hover {
    color: var(--primary-light);
}

.reviews-marquee {
    animation: scrollReviews 60s linear infinite !important;
}

.reviews-marquee:hover {
    animation-play-state: paused;
}

.review-card {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.review-card:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.review-stars {
    font-size: 1.3rem;
    color: var(--primary);
    letter-spacing: 0.25rem;
    margin-bottom: 1rem;
}

.review-quote {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.review-name {
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Section - Timeline */
.process {
    background: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    position: relative;
}

/* Desktop layout */
@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: slideUp 0.8s ease-out backwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.2s;
}

.process-step:nth-child(3) {
    animation-delay: 0.3s;
}

.process-step:nth-child(4) {
    animation-delay: 0.4s;
}

.process-number {
    width: 120px;
    height: 120px;
    background: #b1ac93;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 40px rgba(177, 172, 147, 0.3);
    font-family: 'Playfair Display', serif;
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.process-step:hover .process-number {
    transform: scale(1.15);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.process-content {
    padding: 0 1rem;
}

.process-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.process-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.process-footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.process-footer p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.process-footer .btn {
    margin-top: 1rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .process {
        padding: 6rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }

    .process-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .process-step {
        padding-left: 0;
    }
}

/* Service Area Section */
.service-area {
    background: linear-gradient(135deg, #c9b896 0%, #d4c1a8 100%);
    padding: 8rem 0 0;
    position: relative;
}

.service-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
    font-weight: 700;
}

.service-area-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.service-area-map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.service-area-map img {
    width: 100%;
    height: auto;
    display: block;
}

.service-area-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 700;
}

.service-area-content p {
    color: #2a2a2a;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.service-area-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-area-buttons .btn {
    text-align: center;
}

.service-area-buttons .btn-primary {
    background: #1a1a1a;
    color: #c9b896 !important;
    border-color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-area-buttons .btn-primary:hover {
    background: #2a2a2a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #000000 !important;
}

.service-area-buttons .btn-secondary {
    background: transparent;
    color: #1a1a1a !important;
    border-color: #1a1a1a;
}

.service-area-buttons .btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff !important;
}

/* Service Area List - Cities in Multi-Column Layout */
.service-area-list-wrapper {
    background: var(--bg-dark);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.service-area-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
}

.service-region {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.service-region.active {
    border-color: #c9b896;
    background: rgba(201, 184, 150, 0.08);
}

.service-region h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #c9b896;
    margin: 0;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.service-region h4:hover {
    background: rgba(201, 184, 150, 0.1);
}

.service-region h4::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-region.active h4::after {
    transform: rotate(45deg);
    content: '−';
}

.cities-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-region.active .cities-list {
    max-height: 500px;
    opacity: 1;
}

.cities-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.cities-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #c9b896;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-area-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-area-content h2 {
        text-align: center;
    }

    .service-area-content p {
        text-align: center;
    }

    .service-area-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .service-area {
        padding: 6rem 0 4rem;
    }

    .service-area-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

/* Service Cards (Main Index) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card .service-content {
    /* scoped to card if used */
    padding: 2rem;
    background: transparent;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid var(--border);
    padding: 6rem 0 2rem;
    color: var(--text-muted);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .services-overview-images {
        height: 300px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ==========================================
   SERVICE PAGE SIDEBAR LAYOUT
   ========================================== */

.service-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}

.service-sidebar {
    position: sticky;
    top: 120px;
    /* Space for fixed navbar */
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Service Navigation Widget */
.service-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-nav-item a:hover,
.service-nav-item a.active {
    background: var(--primary);
    color: #000;
    font-weight: 600;
}

.service-nav-item a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-nav-item a:hover::after,
.service-nav-item a.active::after {
    opacity: 1;
    transform: translateX(0);
}

/* Brochure Widget */
.brochure-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.brochure-item:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
}

.brochure-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Help Widget */
.help-widget {
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--primary);
}

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

.help-phone {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    margin: 1.5rem 0;
}

/* Main Content Area adjustments */
.service-main-content {
    min-width: 0;
    /* Prevents grid blowout */
}

.service-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 3rem;
}

/* Responsive adjustments for layout */
@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1rem;
    }

    .service-sidebar {
        position: static;
        order: 2;
        /* Sidebar below content on mobile? Or above? Let's put below for now, except maybe nav */
    }
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding-right: 2rem;
    border-right: 2px solid var(--border);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 0.25rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-item strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item span {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    display: block;
}

.contact-form-wrapper {
    background: rgba(212, 175, 55, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-form-wrapper iframe {
    width: 100%;
    border: none;
}

/* Links styling for better visibility */
a {
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Contact page specific map styles */
.maps-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.maps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-item iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.map-label {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding-bottom: 2rem;
    }

    .maps-container {
        grid-template-columns: 1fr;
    }

    .map-item iframe {
        height: 300px;
    }
}

/* ==========================================
   NEW ROOFING LANDING PAGE STYLES
   ========================================== */

.section-dark {
    background: var(--bg-dark);
}

.light-section {
    background: linear-gradient(135deg, #c9b896 0%, #d4c1a8 100%);
    color: #000;
}

.light-section h2,
.light-section h3,
.light-section h4 {
    color: #000;
}

.light-section a {
    color: #000;
}

.light-section .btn-primary {
    background: #000;
    color: #c9b896;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.light-section .btn-primary:hover {
    background: #1a1a1a;
    color: #d4af37;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Pain Points Section */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pain-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out);
    text-align: center;
}

.pain-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-8px);
    background: rgba(212, 175, 55, 0.08);
}

/* Services Feature Grid (2x2 with background images) */
.services-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-feature-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-md);
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-feature-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.service-feature-card:hover .card-content {
    transform: translateY(0);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.4s var(--ease-out);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Marquee Wrapper */
.marquee-wrapper {
    overflow: hidden;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    animation: scrollGallery 80s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review Cards in Marquee */
.review-card {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out);
}

.review-card:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

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

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

    .service-feature-card {
        height: 250px;
    }

    .marquee-item {
        width: 280px;
        height: 220px;
    }

    .review-card {
        width: 250px;
        height: 280px;
        font-size: 0.9rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}