/* Base Styles */
:root {
    --primary-color: #7a0000;
    --primary-rgb: 122, 0, 0; /* RGB values of primary color */
    --secondary-color: #333;
    --accent-color: #f5a623;
    --text-color: #333;
    --text-color-light: #666;
    --background-color: #f9f9f9;
    --white: #fff;
    --light-text: #fff;
    --bg-light: #fff;
    --bg-alt: #f9f7f2; /* Light beige */
    --header-font: 'Inter', 'Lato', sans-serif;
    --body-font: 'Inter', 'Lato', sans-serif;
    --transition: all 0.2s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-color);
}

/* General Image Hover Effect - Performance Optimized */
.img-hover-effect {
    overflow: hidden;
    display: block;
    position: relative;
}

.img-hover-effect img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .img-hover-effect img {
        will-change: transform;
    }
    
    .img-hover-effect:hover img {
        transform: scale(1.02);
    }
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transform: translate3d(0, 0, 0);
    will-change: background-color, color, border-color;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: 2px solid var(--primary-color);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(122, 0, 0, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    backdrop-filter: blur(2px);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(122, 0, 0, 0.3);
}

/* Bottom Message */
.bottom-message {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 0;
    position: relative;
    will-change: opacity;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.2s ease;
    height: auto;
    overflow: hidden;
    width: 100%;
    z-index: 950;
}

.bottom-message .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-message p {
    font-weight: 700;
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: #800000;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    width: 100%;
    z-index: 900;
}

.scrolling-banner-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    padding-right: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes scroll-left {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Header */
.site-header {
    background-color: var(--bg-light);
    padding: 12px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: hidden;
    perspective: 1000;
    width: 100%;
}

.site-header.sticky {
    padding: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo img {
    max-height: 60px;
}

.tagline {
    display: none; /* Hide the tagline */
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    font-size: 0.9rem;
}

/* Contact button styling in header */
.main-nav a[href="contact.html"] {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 4px;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav a[href="contact.html"]:hover {
    background-color: #800000;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-nav a[href="contact.html"]::after {
    display: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

/* About page specific hero styling */
.hero:has(.hero-image-full) {
    padding: 0;
    background-color: transparent;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-full {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-image-full img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Value Proposition Section */
.value-proposition {
    padding: 80px 0;
    background-image: url('images/cheerful-business-people-working-call-center.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    position: relative;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.value-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.value-proposition h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.value-proposition p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.value-proposition .btn {
    margin-top: 1.5rem;
    background-color: var(--accent-color);
    color: var(--text-color) !important;
    border: 2px solid var(--accent-color);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.value-proposition .btn:hover {
    background-color: transparent;
    color: var(--accent-color) !important;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .service-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .service-card img {
        will-change: transform;
    }
    
    .service-card:hover img {
        transform: scale(1.05);
    }
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

.cta-container {
    text-align: center;
    margin-top: 30px;
}

/* Urgency Section */
.urgency-section,
.urgency {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/business-people-stairs-with-thumbs-up.jpg') fixed center/cover;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.urgency-section::before,
.urgency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.urgency-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.urgency-content h2 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.urgency-content p {
    font-size: 1.25rem;
    color: #8B0000;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.urgency-content p:last-child {
    margin-bottom: 0;
}

.urgency-content strong {
    color: #8B0000;
    font-weight: 700;
}

@media (max-width: 768px) {
    .urgency-section,
    .urgency {
        padding: 60px 0;
    }
    
    .urgency-card {
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .urgency-content h2 {
        font-size: 2rem;
    }
    
    .urgency-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .urgency-card {
        padding: 30px 20px;
    }
    
    .urgency-content h2 {
        font-size: 1.75rem;
    }
    
    .urgency-content p {
        font-size: 1rem;
    }
}

/* Results Section */
.results {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.results h2 {
    color: var(--light-text);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
    font-family: var(--header-font);
}

/* Testimonials Preview */
.testimonials-preview {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 40px;
}

.testimonial-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section - Unified Styling */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #fff;
    opacity: 0.9;
}

.cta-section .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: #ffffff;
    color: var(--primary-color) !important;
    border: 2px solid #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-section .btn:hover {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
}

/* Footer */
.site-footer {
    background-color: #fff;
    color: var(--text-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px; /* Increased spacing between footer columns */
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-address {
    margin-top: 15px;
    line-height: 1.6;
    font-style: normal;
    font-size: 0.9rem;
}

.footer-links h3, .footer-links h4,
.footer-contact h3, .footer-contact h4,
.footer-legal h3, .footer-legal h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-social h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: white;
    margin-bottom: 15px;
}

.page-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

/* Legal pages content styling */
.legal-content {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: 0;
}

.legal-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.legal-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.legal-section {
    flex: 1;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-section .last-updated {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-content h2 {
    text-align: left;
    margin-bottom: 15px;
}

.service-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.service-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.service-content ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.services-grid .service-card img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.services-grid .service-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* ROI Case Studies */
.case-studies-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.case-study-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: box-shadow 0.2s ease;
}

.case-study-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.case-study-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.case-study-header h3 {
    color: var(--light-text);
    margin-bottom: 5px;
}

.case-study-content {
    padding: 20px;
    transition: background-color 0.3s ease;
}

@media (hover: hover) {
    .case-study-card:hover {
        /* transform removed for performance */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .case-study-card:hover .case-study-header::before {
        left: 100%;
    }
    
    .case-study-card:hover .case-study-content {
        background-color: #f9f9f9;
    }
}

.case-study-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    transition: transform 0.3s ease;
}


.case-study-stat {
    flex: 1;
    min-width: 150px;
    background-color: var(--bg-alt);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.case-study-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.case-study-stat:hover span {
    color: var(--light-text);
}

.case-study-stat:hover p {
    color: var(--light-text);
}

.case-study-stat span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Key Wins Section Styles */
.win-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.save-the-sale-section .btn:hover {
    background: rgba(255,255,255,0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Interactive Chart Styles */
.interactive-chart .bar:hover {
    fill: #B8860B !important;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.interactive-chart .data-point:hover {
    r: 8;
    fill: #660000 !important;
    filter: drop-shadow(0 0 8px rgba(139, 0, 0, 0.6));
}

.chart-card {
    position: relative;
}

/* Chart hover animations */
.interactive-chart svg {
    overflow: visible;
}

.interactive-chart .bar {
    transition: all 0.3s ease;
}

.interactive-chart .data-point {
    transition: all 0.3s ease;
}

/* Tooltip styles */
#tooltip {
    transition: opacity 0.2s ease;
}

/* Chart Enhancement Image Hover Effect */
.chart-enhancement-img:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

/* Save-the-sale section equal height cards */
.save-the-sale-section .col-md-6 {
    display: flex;
    flex-direction: column;
}

.save-the-sale-section .content-card,
.save-the-sale-section .unlock-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.save-the-sale-section .unlock-card > div:last-child {
    margin-top: auto;
}

/* Testimonials Page Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonials-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

@media (hover: hover) {
    .testimonial-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
}

.testimonial-content {
    flex: 1;
    position: relative;
    margin-bottom: 20px;
}

.rating-stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffc107;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.testimonial-item:hover {
    /* transform removed for performance */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: #5B0000;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    transition: box-shadow 0.2s ease;
}

.testimonial-author img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.author-info h4 {
    margin: 0;
    color: #5B0000;
    font-size: 18px;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

.video-testimonials {
    margin: 60px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-testimonial {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.video-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #f5f5f5;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-testimonial:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: #5B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    background-color: #7a0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 5px;
}

.video-info {
    padding: 15px;
    background-color: #fff;
}

.video-info h4 {
    margin: 0 0 5px;
    color: #5B0000;
}

.video-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* FAQ Styles */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #5B0000;
}

.faq-categories {
    margin-bottom: 30px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    color: #5B0000;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.2rem;
    color: #5B0000;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form-container h2 {
    color: #5B0000;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 0, 0, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h3 {
    color: #5B0000;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-content p {
    margin-bottom: 5px;
}

.business-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.business-hours h3 {
    color: #5B0000;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.business-hours p {
    margin-bottom: 5px;
}

/* Contact Form Styles */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5B0000;
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-container label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.4;
}

.contact-form button {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #fff;
}

.map-container {
    width: 100%;
    height: 450px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.map-info {
    text-align: center;
    margin-top: 30px;
}

.map-info p {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 1rem;
}

/* Contact Info Icons */
.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--white);
    width: 24px;
    height: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: var(--transition);
}

.info-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-content p {
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

/* FAQ Preview Section */
.faq-preview {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.faq-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #5B0000;
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faq-preview-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-preview-item h3 {
    color: #5B0000;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-preview-item p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Styles for Contact Page */
@media (max-width: 992px) {
    .contact-grid,
    .faq-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .faq-preview-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .map-container {
        height: 300px;
    }
}

/* About Page */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p {
    font-style: italic;
    margin-bottom: 10px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* FAQ Page Styles */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    color: #5B0000;
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

.faq-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #D4AF37;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    color: #5B0000;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #5B0000;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 0;
    color: #444;
}

.faq-answer ul, .faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
    color: #444;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.text-center {
    text-align: center;
}

/* Story Cards Styles */
.story-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Single Story Card */
.single-story-card {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.story-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image-container:hover .story-image {
    transform: scale(1.05);
}

.story-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.story-image-container:hover .story-image-overlay {
    opacity: 1;
}

.story-image-overlay h3 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.story-timeline {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.timeline-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.timeline-item:hover {
    /* transform removed for performance */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-year {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-item h4 {
    margin: 10px 0;
    color: var(--primary-color);
}

.story-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    perspective: 1000px;
}

.story-card {
    width: 250px;
    height: 200px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-card::before {
    content: attr(data-year);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 1;
    transition: all 0.3s ease;
}

.story-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

@media (hover: hover) {
    .story-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .story-card:hover::before {
        top: -30px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .story-card:hover .story-card-inner {
        transform: rotateY(180deg);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
}

.story-card-front, .story-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}

.story-card-front {
    color: white;
    position: relative;
}

.story-card-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 1;
}

.story-card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.story-card-back {
    background-color: white;
    color: #333;
    transform: rotateY(180deg);
    border: 2px solid #000000;
}

.story-card-back p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .story-cards {
        gap: 20px;
    }
    
    .story-card {
        width: calc(50% - 20px);
        height: 180px;
    }
}

@media (max-width: 480px) {
    .story-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .story-card {
        width: 100%;
        max-width: 280px;
        margin-bottom: 30px;
    }
}

.mission-values {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.mission-statement h3 {
    color: #5B0000;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.mission-statement p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.value-item:hover {
    /* transform removed for performance */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    max-width: 100%;
    max-height: 100%;
}

.value-item h3 {
    color: #5B0000;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.value-item p {
    color: #444;
    line-height: 1.6;
}

.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.team-member:hover {
    /* transform removed for performance */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    color: #5B0000;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 0 0 5px;
}

.member-title {
    color: #D4AF37;
    font-weight: 600;
    margin: 0 0 15px;
}

.member-bio {
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.stats-section {
    padding: 60px 0;
    background-color: #5B0000;
    color: #fff;
}

.stats-section .section-title {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lead Capture Popup Styles have been removed */

/* Remove duplicate CTA section - handled above */

/* ROI Calculator Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roi-calculator-section .section-title {
    animation: fadeInUp 0.8s ease-out forwards;
}

.roi-calculator-section .section-description {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.roi-calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.roi-calculator .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.roi-calculator-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calculator-form {
    display: flex;
    flex-direction: column;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-wrapper .currency-symbol,
.input-wrapper .percentage-symbol {
    position: absolute;
    right: 15px;
    color: #6c757d;
    font-weight: 600;
    pointer-events: none;
}

.calculate-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.calculate-btn:hover {
    background-color: #800000;
    color: #ffffff !important;
}

.results-display {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--text-color-light);
    width: 100%;
}

#results-content {
    width: 100%;
    display: none;
}

.savings-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.result-label {
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .roi-calculator-card {
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
    }
}

.roi-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.roi-result-item {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.roi-result-item:hover {
    /* transform removed for performance */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.roi-result-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.roi-result-item span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.roi-result-item.highlight {
    background-color: var(--primary-color);
}

.roi-result-item.highlight h4,
.roi-result-item.highlight span {
    color: var(--light-text);
}

.roi-note {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-style: italic;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .service-item,
    .service-item.reverse,
    .about-content,
    .contact-container {
        flex-direction: column;
    }
    
    .service-image,
    .service-content,
    .about-text,
    .about-image,
    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
    }
    
    .about-grid.enhanced {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .services-grid,
    .stats-container,
    .testimonials-grid,
    .testimonials-cards-grid,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .map-container {
        height: 300px;
        margin: 0 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid.enhanced {
        padding: 25px;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .story-timeline {
        padding-left: 25px;
    }
    
    .timeline-item:before {
        left: -33px;
        width: 16px;
        height: 16px;
    }
    
    .case-study-stats {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .bottom-message p {
        font-size: 0.8rem;
        padding: 0 30px;
    }
    
    .hero,
    .services-overview,
    .results,
    .testimonials-preview,
    .cta-section,
    .page-banner,
    .services-section,
    .additional-services,
    .case-studies-section,
    .testimonials-section,
    .faq-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .about-grid.enhanced {
        padding: 20px 15px;
    }
    
    .story-timeline {
        padding-left: 20px;
    }
    
    .timeline-item:before {
        left: -28px;
        width: 14px;
        height: 14px;
        top: 8px;
    }
    
    .timeline-item h3 {
        font-size: 1.2rem;
    }
}

/* Lead Capture Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-content {
    display: flex;
    min-height: 500px;
    max-height: 85vh;
    overflow: hidden;
}

/* Left Side - Content Section */
.modal-left {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/group-smm-specialists-working-social-media-marketing-strategy-achieve-business-goals-hologram-icons-bangkok-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.788);
}

.modal-text-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: var(--white);
    text-align: left;
    max-width: 90%;
}

.modal-text-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.modal-text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.modal-text-content p:last-child {
    margin-bottom: 0;
}

.modal-text-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Right Side - Form Section */
.modal-right {
    flex: 1;
    background: var(--white);
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow-y: auto;
}

.modal-form-container {
    width: 100%;
    padding: 40px;
}

.modal-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.lead-form .form-group {
    margin-bottom: 1.5rem;
}

.lead-form label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--text-color);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 0, 0, 0.1);
}

.lead-form input.error,
.lead-form select.error,
.lead-form textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.lead-form textarea {
    resize: vertical;
    min-height: 80px;
}

.lead-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 10px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--accent-color);
}

/* Error Messages */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* Submit Button */
.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
}

/* Duplicate btn-primary:hover removed - using main definition above */

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(122, 0, 0, 0.2);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.success-message h4 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.success-message p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-content {
        flex-direction: column;
        min-height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-left {
        min-height: 250px;
        flex: none;
    }
    
    .modal-text-content {
        padding: 30px 20px;
    }
    
    .modal-text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-text-content p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .modal-right {
        min-height: auto;
        flex: none;
    }
    
    .modal-form-container {
        padding: 30px 20px;
    }
    
    .modal-form-container h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .lead-form .form-group {
        margin-bottom: 1.2rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-text-content {
        padding: 20px 15px;
    }
    
    .modal-text-content h2 {
        font-size: 1.3rem;
    }
    
    .modal-text-content p {
        font-size: 0.95rem;
    }
    
    .modal-form-container {
        padding: 20px 15px;
    }
    
    .modal-form-container h3 {
        font-size: 1.2rem;
    }
    
    .lead-form input,
    .lead-form select,
    .lead-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .btn-full {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Revenue Leak Hero Section */
.revenue-leak-hero {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.revenue-leak-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.warning-headline {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.warning-subheadline {
    margin-bottom: 40px;
}

.warning-subheadline p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: inline-block;
    text-align: left;
}

.warning-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.warning-icon {
    font-size: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.warning-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 30px;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 40px;
}

.btn-large {
    font-size: 1.3rem;
    padding: 18px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.cta-subtext {
    margin-top: 15px;
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* CX Services Overview */
.cx-services-overview {
    padding: 100px 0;
    background: #f8f9fa;
}

.cx-services-overview .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cx-services-overview .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cx-services-overview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Wide card styling for Retention Training & Performance Monitoring */
.cx-services-overview .service-card-wide {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 30px 40px;
}

.cx-services-overview .service-card-wide .service-icon {
    margin-right: 30px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.cx-services-overview .service-card-wide h3 {
    margin-bottom: 10px;
}

.cx-services-overview .service-card-wide p {
    margin-bottom: 0;
}

.cx-services-overview .service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

@media (hover: hover) {
    .cx-services-overview .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
}

.service-icon {
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.cx-services-overview .service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.cx-services-overview .service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Fractional CX Leadership */
.fractional-cx-leadership {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.fractional-cx-leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.leadership-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.leadership-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
}

.leadership-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.leadership-description strong {
    color: #ffd700;
    font-weight: 700;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
    margin-top: 30px;
}

.leadership-cta {
    margin-top: 40px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
    margin-bottom: 30px;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design for New Services Sections */
@media (max-width: 1024px) {
    .leadership-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cx-services-overview .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .warning-headline {
        font-size: 2.2rem;
    }
    
    .warning-list {
        text-align: center;
    }
    
    .warning-list li {
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .cx-services-overview .section-title {
        font-size: 2rem;
    }
    
    .cx-services-overview .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cx-services-overview .service-card {
        padding: 30px 25px;
    }
    
    .cx-services-overview .service-card-wide {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    
    .cx-services-overview .service-card-wide .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .leadership-text h2 {
        font-size: 2rem;
    }
    
    .leadership-description p {
        font-size: 1.1rem;
    }
    
    .revenue-leak-hero,
    .cx-services-overview,
    .fractional-cx-leadership {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .warning-headline {
        font-size: 1.8rem;
    }
    
    .btn-large {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
    
    .cx-services-overview .service-card {
        padding: 25px 20px;
    }
    
    .stats-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}