/*
Theme Name: M&M Office
Theme URI: https://mmoffice.ca
Author: Miles Procter
Author URI: https://mmoffice.ca
Description: Custom theme for M&M Office Solutions
Version: 1.0.0
*/

/* Fonts are loaded via <link> tags in HTML head for better performance */

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #14b8a6;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* Adjust for WordPress admin bar when logged in */
.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

/* Lucide SVG styling */
.lucide-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.division-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.division-icon .lucide-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    stroke-width: 2;
}

.division-service-icon .lucide-icon,
.highlight-icon .lucide-icon,
.synergy-icon .lucide-icon {
    width: 40px;
    height: 40px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Use Play font for headings to match logo */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Play', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #14b8a6;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    transition: width 0.3s ease;
}

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

/* CTA Button Styling */
.cta-button {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    white-space: nowrap;
    margin-left: auto;
    border: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    color: white;
}

/* Hamburger Button - Hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}


.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: left 0.3s ease;
    padding-top: 80px;
}

/* Tablet Menu Dropdown - smaller, positioned under navbar */
@media screen and (min-width: 769px) and (max-width: 1300px) {
    .mobile-menu {
        top: 70px;
        left: 0;
        width: 380px;
        height: auto;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        padding-top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
        left: 0;
    }
    
    .mobile-nav-links {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .mobile-nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }
}

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

.mobile-nav-links {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #14b8a6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 50%, #0284c7 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.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 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: auto;
}

/* Service Divisions in Hero */
.service-divisions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.division-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.division-card:hover::before {
    opacity: 1;
}

.division-card:hover {
    animation-play-state: paused;
}

.office-division {
    border-left: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: -4px 0 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float1 8s ease-in-out infinite;
}

.accounting-division {
    border-left: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: -4px 0 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float2 9.5s ease-in-out infinite;
}

/* Floating animation keyframes - randomized timing */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-3px);
    }
    75% {
        transform: translateY(-12px);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(-5px);
    }
    30% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(0px);
    }
    80% {
        transform: translateY(-8px);
    }
}

.division-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.division-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.division-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.division-cta {
    display: inline-block;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.accounting-division .division-cta {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.division-cta:hover {
    border-bottom-color: white;
    transform: translateX(5px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    font-family: 'Play', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #0891b2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0891b2;
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-props {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 350px;
}

.value-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: gentleFloat 4s ease-in-out infinite;
}

.value-card:nth-child(1) {
    animation-delay: 0s;
}

.value-card:nth-child(2) {
    animation-delay: 1.3s;
}

.value-card:nth-child(3) {
    animation-delay: 2.6s;
}

.value-card:hover {
    transform: translateY(-8px);
    animation-play-state: paused;
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Divisions Grid - Two Equal Columns */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.division-service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.division-service-card.office-equipment {
    border-top-color: #14b8a6;
}

.division-service-card.accounting-tax {
    border-top-color: #0891b2;
}

.division-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.division-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.division-service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #14b8a6;
}

.accounting-tax .division-service-icon {
    color: #0891b2;
}

.division-service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'Play', 'Inter', sans-serif;
}

.division-service-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.service-category {
    text-align: left;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.category-features {
    list-style: none;
    padding: 0;
}

.category-features li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #14b8a6;
    font-weight: bold;
}

.accounting-tax .category-features li::before {
    color: #0891b2;
}

.division-service-cta {
    display: inline-block;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.accounting-tax .division-service-cta {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.division-service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    color: white;
}

.accounting-tax .division-service-cta:hover {
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

/* Why Both Services Section */
.why-both-services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.synergy-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.synergy-card:nth-child(1) {
    border-top-color: #14b8a6;
}

.synergy-card:nth-child(2) {
    border-top-color: #0891b2;
}

.synergy-card:nth-child(3) {
    border-top-color: #0284c7;
}

.synergy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.synergy-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.synergy-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'Play', 'Inter', sans-serif;
}

.synergy-text {
    color: #64748b;
    line-height: 1.6;
}

/* Landing Page Styles */
.landing-hero {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 50%, #0284c7 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.accounting-hero {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #1e40af 100%);
}

.landing-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: auto;
}

.landing-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Play', 'Inter', sans-serif;
}

.landing-hero-subtitle {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.highlight-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.highlight-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Equipment/Accounting/Tax Service Grids */
.equipment-services, .accounting-services, .tax-services, .it-support {
    padding: 6rem 0;
    background: #f8fafc;
}

.equipment-grid, .accounting-grid, .tax-grid, .it-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.equipment-card, .accounting-card, .tax-card, .it-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #14b8a6;
}

.accounting-card, .tax-card {
    border-top-color: #0891b2;
}

.equipment-card:hover, .accounting-card:hover, .tax-card:hover, .it-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.equipment-icon, .accounting-icon, .tax-icon, .it-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #14b8a6;
}

.accounting-icon, .tax-icon {
    color: #0891b2;
}

.equipment-title, .accounting-title, .tax-title, .it-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.equipment-description, .accounting-description, .tax-description, .it-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.equipment-features, .accounting-features, .tax-features, .it-features {
    list-style: none;
    padding: 0;
}

.equipment-features li, .accounting-features li, .tax-features li, .it-features li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.equipment-features li::before, .accounting-features li::before, .tax-features li::before, .it-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #14b8a6;
    font-weight: bold;
}

.accounting-features li::before, .tax-features li::before {
    color: #0891b2;
}

/* Expert Profile Section */
.expert-profile {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.expert-content {
    max-width: 1000px;
    margin: 0 auto;
}

.expert-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.expert-header {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.expert-photo {
    flex-shrink: 0;
}

.expert-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expert-name {
    font-size: 2rem;
    font-weight: 700;
    color: #14b8a6;
    margin-bottom: 0.5rem;
    font-family: 'Play', 'Inter', sans-serif;
}

.accounting-expert .expert-name {
    color: #0891b2;
}

.expert-role {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 0;
    font-weight: 600;
}

.expert-bio {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.expert-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.credential-text {
    color: #475569;
    font-weight: 500;
}

/* SVG Icons for Service Cards */
.svg-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    fill: currentColor;
}

.svg-icon.teal { color: #14b8a6; }
.svg-icon.blue { color: #0891b2; }
.svg-icon.dark-blue { color: #0284c7; }

/* Landing Page CTA */
.landing-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: white;
    text-align: center;
}

.accounting-cta {
    background: linear-gradient(135deg, #0891b2, #0284c7);
}

.landing-cta .cta-title {
    color: white;
}

.landing-cta .cta-text {
    color: white;
    opacity: 0.9;
}

/* Current Page Indicator */
.nav-links .current-page {
    color: #14b8a6;
    font-weight: 700;
}

.nav-links .current-page::after {
    width: 100%;
}

/* Centered buttons for landing pages */
.centered-buttons {
    justify-content: center;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #14b8a6;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'Play', 'Inter', sans-serif;
}

.service-description {
    color: #64748b;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #14b8a6;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: white;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid #f1f5f9;
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: #14b8a6;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #0891b2;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 6rem 0;
    text-align: center;
    color: white;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Play', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #14b8a6;
}

/* White contact icons on landing page dark backgrounds */
.landing-cta .contact-icon {
    color: white;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Copyright Footer */
.copyright-footer {
    background: #f8fafc;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

/* Contact Form Styling - Centered Version */
.contact-form-container {
    max-width: 600px;
    margin: 2rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style WPForms elements to match design */
.contact-form-container .wpforms-container {
    background: transparent;
}

.contact-form-container .wpforms-form {
    background: transparent;
}

/* Center all form fields */
.contact-form-container .wpforms-field {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form-container .wpforms-field-label {
    color: white !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    text-align: center !important;
    display: block !important;
}

.contact-form-container .wpforms-field input,
.contact-form-container .wpforms-field textarea,
.contact-form-container .wpforms-field select {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
    display: block !important;
    line-height: 1.5 !important;
    min-height: 50px !important;
}

/* Extra padding for dropdown to prevent text cutoff */
.contact-form-container .wpforms-field select,
.contact-form-container .wpforms-field-select select {
    padding: 0.75rem 1.25rem !important;
    min-height: 50px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
}

/* Fix for dropdown wrapper issues */
.contact-form-container .wpforms-field-select {
    line-height: 1.4;
}

/* Specific textarea styling for consistent rounded appearance */
.contact-form-container .wpforms-field textarea {
    resize: vertical !important;
    min-height: 120px !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
}

.contact-form-container .wpforms-field input:focus,
.contact-form-container .wpforms-field textarea:focus,
.contact-form-container .wpforms-field select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
    background: white;
    color: #1e293b;
}

.contact-form-container .wpforms-submit-container {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-form-container .wpforms-submit {
    background: linear-gradient(135deg, #14b8a6, #0891b2) !important;
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3) !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 120px !important;
    height: auto !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.contact-form-container .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    color: white;
}

/* Form Fallback and Alternative Contact Styling */
.form-fallback {
    text-align: center;
    color: white;
}

.form-fallback a {
    color: #14b8a6;
}

.alternative-contact {
    margin-top: 3rem;
    text-align: center;
}

.alternative-contact .hero-buttons {
    justify-content: center;
}

.contact-prompt {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.contact-info .contact-value a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .contact-value a:hover {
    color: #14b8a6;
}

/* Better contrast for landing page contact links */
.landing-cta .contact-value a {
    color: white;
}

.landing-cta .contact-value a:hover {
    color: white;
    text-decoration: underline;
}

/* WPForms Success Message Styling */
.contact-form-container .wpforms-confirmation-container-full,
.wpforms-confirmation-container-full,
.wpforms-container-full .wpforms-form .wpforms-confirmation-container-full {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    text-align: center !important;
    margin: 1rem auto !important;
    max-width: 400px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.contact-form-container .wpforms-confirmation-container-full p,
.wpforms-confirmation-container-full p,
.wpforms-container-full .wpforms-form .wpforms-confirmation-container-full p {
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}

/* Additional overrides for any green styling */
.wpforms-confirmation-container-full {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.wpforms-confirmation-container-full p {
    background-color: transparent !important;
}

/* Mobile Responsiveness */
@media screen and (min-width: 1301px) {
    .hamburger {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-nav-links {
        display: none;
    }
    
    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .nav-links {
        display: flex;
    }
    
    .cta-button {
        margin-left: auto;
    }
}

@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 2rem auto 0;
    }
}

/* Tablet breakpoint for services section */
@media screen and (max-width: 900px) {
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .division-service-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-categories {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* Why Both Services - 2 columns on tablet */
    .synergy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .synergy-card {
        padding: 2rem 1.5rem;
    }
}

/* Medium screen breakpoint - hide desktop nav earlier to prevent wrapping */
@media screen and (max-width: 1300px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
        margin-right: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-container {
        justify-content: flex-start;
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .cta-button {
        margin-left: auto;
    }
}

/* Larger phones - 2 column service categories */
@media screen and (min-width: 480px) and (max-width: 768px) {
    .service-categories {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .equipment-grid, .accounting-grid, .tax-grid, .it-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        max-width: none;
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0 1rem;
        gap: 2rem;
    }

    .hamburger {
        display: flex;
        margin-right: 0;
    }

    .logo {
        height: 35px;
        margin: 0;
        margin-right: auto;
    }

    .logo img {
        height: 30px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-nav-links {
        display: flex;
    }

    .cta-button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        min-width: 90px;
        text-align: center;
        margin-left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 100px 1rem 3rem 1rem;
    }

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

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

    .value-props {
        width: 300px;
        margin: 0 auto;
    }

    /* Landing page mobile styles */
    .landing-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 100px 1rem 2rem 1rem;
    }

    .landing-hero-title {
        font-size: 2.5rem;
    }

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

    /* Landing page service grids - single column on mobile */
    .equipment-grid,
    .accounting-grid,
    .tax-grid,
    .it-grid,
    .supplies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Expert section mobile layout */
    .expert-title {
        text-align: center;
        font-size: 2rem;
    }

    .expert-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .expert-photo img {
        width: 100px;
        height: 100px;
        border-radius: 15px;
    }

    .expert-name {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .expert-role {
        font-size: 1rem;
    }

    .expert-bio {
        text-align: left;
        font-size: 0.95rem;
    }

    /* Services Section - Stack divisions on mobile */
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .division-service-card {
        padding: 2rem;
    }

    /* Single column on small phones only */
    .service-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Why Both Services - Single column on mobile */
    .synergy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .synergy-card {
        padding: 2rem 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .synergy-icon {
        font-size: 2.5rem;
    }
    
    .synergy-title {
        font-size: 1.2rem;
    }

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

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

    .contact-info {
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        min-width: 200px;
        width: auto;
        max-width: 280px;
        text-align: center;
    }

    .contact-form-container {
        margin: 2rem 1rem 0;
        padding: 1.5rem;
    }
    
    .contact-form-container .wpforms-field input,
    .contact-form-container .wpforms-field textarea,
    .contact-form-container .wpforms-field select {
        max-width: 100%;
    }
}