* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

/* Top Bar: Logo + Navigation on the same row */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 12px;
}

/* Logo icon - looks clickable but isn't */
.logo-icon {
    flex-shrink: 0;
    cursor: default;
}

.logo-icon img {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 6px;
}

/* Navigation tabs */
.nav-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 16px 36px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #666;
}

.tab-btn:hover {
    background: #f5f5f5;
    color: #1a1a2e;
}

.tab-btn.active {
    background: #1a1a2e;
    color: white;
}

/* Content area */
.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.25s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Text */
h1 {
    font-size: 2.6rem;
    color: #1a1a2e;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.slogan {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ===== SLIDESHOW ===== */
.slideshow-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 340px;
    background: #1a1a2e;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/* overlay text */
.slide-text {
    background: rgba(26, 26, 46, 0.65);
    backdrop-filter: blur(4px);
    padding: 24px 36px;
    border-radius: 20px;
    max-width: 700px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    margin: 0 20px;
}

.slide-text h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.slide-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.95;
    margin: 0;
}

/* dots */
.dots-container {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: 0.25s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: white;
    transform: scale(1.15);
}

/* Company Description */
.company-description {
    line-height: 1.9;
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.company-description p {
    margin-bottom: 20px;
    padding: 0 0 0 18px;
    border-left: 3px solid #1a1a2e;
    padding-left: 20px;
}

/* Locations */
.locations-section {
    margin: 40px 0 30px 0;
    padding: 30px 0 10px 0;
    border-top: 1px solid #f0f0f0;
}

.locations-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 600;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fa;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 1px solid #eee;
    flex: 1;
    min-width: 300px;
    justify-content: center;
}

.location-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
}

.location-icon {
    font-size: 24px;
}

.location-address {
    font-weight: 500;
    font-size: 0.9rem;
}

.location-address small {
    font-size: 10px;
    color: #888;
    font-weight: 400;
}

.arrow {
    font-size: 16px;
    color: #1a1a2e;
    transition: transform 0.2s;
}

.location-card:hover .arrow {
    transform: translateX(4px);
}

/* About Section */
.about-section {
    line-height: 1.9;
}

.about-section p {
    margin-bottom: 20px;
    color: #444;
}

.about-section ul {
    list-style: none;
    margin: 20px 0;
}

.about-section li {
    margin: 10px 0;
    padding: 12px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #1a1a2e;
    color: #444;
}

.contact-link {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-locations {
    margin-bottom: 40px;
}

.contact-locations h3,
.email-section h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a2e;
    display: inline-block;
}

.offices-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

.office-card {
    display: flex;
    gap: 16px;
    background: #f8f9fa;
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    max-width: 400px;
}

.office-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
}

.office-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.office-details {
    flex: 1;
}

.office-details h4 {
    font-size: 1.05rem;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.office-location {
    color: #888;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-phone {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #444;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.map-link:hover {
    gap: 10px;
}

/* Email */
.email-section {
    margin-bottom: 30px;
}

.email-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #f8f9fa;
    padding: 24px 28px;
    border-radius: 12px;
    flex-wrap: wrap;
    border: 1px solid #eee;
}

.email-icon {
    font-size: 34px;
    flex-shrink: 0;
}

.email-details p {
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.email-link:hover {
    background: #1a1a2e;
    color: white;
    border-color: #1a1a2e;
}

/* Drop-off Tab */
#dropoff {
    text-align: center;
}

#dropoff h2 {
    text-align: center;
}

.dropoff-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    text-align: center;
}

.pdf-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
    font-size: 48px;
    line-height: 1;
}

.pdf-card span {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.pdf-card small {
    font-size: 0.75rem;
    color: #888;
}

/* Drop-off Box */
.dropoff-box {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #1a1a2e;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dropoff-box h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.dropoff-box p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.dropoff-btn {
    display: inline-block;
    background: #1a1a2e;
    color: white;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.dropoff-btn:hover {
    background: #2a2a4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropoff-box small {
    display: block;
    margin-top: 12px;
    color: #999;
    font-size: 0.8rem;
}

/* Services Tab */
.services-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Service Sub-tabs */
.service-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 2px solid #eee;
    padding-bottom: 4px;
    margin-bottom: 24px;
    margin-top: 20px;
}

.service-tab-btn {
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.service-tab-btn:hover {
    background: #f5f5f5;
    color: #1a1a2e;
}

.service-tab-btn.active {
    background: #1a1a2e;
    color: white;
    border-radius: 8px 8px 0 0;
}

/* Service Content */
.service-content {
    padding: 10px 0;
}

.service-content-item {
    display: none;
    animation: fadeIn 0.25s ease;
}

.service-content-item.active {
    display: block;
}

.service-content-item h3 {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-content-item ul {
    list-style: none;
    padding: 0;
}

.service-content-item li {
    padding: 12px 18px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1a1a2e;
    color: #444;
    max-width: 500px;
}

.service-content-item li::before {
    content: "✓ ";
    color: #1a1a2e;
    font-weight: 600;
}

/* Service Icons Grid */
.service-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.service-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.service-icon-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 36px;
    line-height: 1;
}

.service-icon-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a2e;
    text-align: center;
    width: 100%;
}

/* Expense Forms Link */
.expense-link-container {
    text-align: center;
    margin: 40px 0 10px 0;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.expense-link {
    display: inline-block;
    padding: 14px 36px;
    background: #1a1a2e;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.expense-link:hover {
    background: #2a2a4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Expense Forms Tab */
.expense-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

#expense {
    text-align: center;
}

#expense h2 {
    text-align: center;
}

.expense-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

#expense .pdf-grid {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Home Page Services Section */
.home-services-section {
    margin: 40px 0 30px 0;
    padding: 30px 0 10px 0;
    border-top: 1px solid #f0f0f0;
}

.home-services-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 600;
}

.home-services-vertical {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
}

.home-service-item:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
    transform: translateX(6px);
}

.home-service-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.home-service-name {
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
    color: #1a1a2e;
}

.home-service-arrow {
    color: #1a1a2e;
    font-size: 18px;
    transition: transform 0.2s;
}

.home-service-item:hover .home-service-arrow {
    transform: translateX(4px);
}

/* Home Page - 2 Column Grid for Services & Locations */
.home-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 20px 0 10px 0;
}

/* Home Services Section */
.home-services-section {
    padding: 0;
    border-top: none;
    margin: 0;
}

.home-services-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 600;
}

.home-services-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
}

.home-service-item:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
    transform: translateX(4px);
}

.home-service-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.home-service-name {
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    color: #1a1a2e;
}

.home-service-arrow {
    color: #1a1a2e;
    font-size: 16px;
    transition: transform 0.2s;
}

.home-service-item:hover .home-service-arrow {
    transform: translateX(4px);
}

/* Locations Section inside grid */
.home-grid-2col .locations-section {
    padding: 0;
    border-top: none;
    margin: 0;
}

.home-grid-2col .locations-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 600;
}

.home-grid-2col .locations-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-grid-2col .location-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    justify-content: center;
}

.home-grid-2col .location-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
}

.home-grid-2col .location-icon {
    font-size: 20px;
}

.home-grid-2col .location-address {
    font-weight: 500;
    font-size: 0.85rem;
    flex: 1;
}

.home-grid-2col .location-address small {
    font-size: 10px;
    color: #888;
    font-weight: 400;
}

.home-grid-2col .arrow {
    font-size: 16px;
    color: #1a1a2e;
    transition: transform 0.2s;
}

.home-grid-2col .location-card:hover .arrow {
    transform: translateX(4px);
}

#about h2 {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .home-grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        padding: 12px 16px;
        gap: 8px;
    }

    .logo-icon img {
        height: 40px;
    }

    .nav-tabs {
        justify-content: center;
        width: 100%;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
        text-align: center;
        max-width: 120px;
    }

    .content {
        padding: 20px 14px 40px 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .slogan {
        font-size: 0.95rem;
    }

    .slideshow-container {
        height: 260px;
    }

    .slide-text {
        padding: 16px 20px;
    }

    .slide-text h3 {
        font-size: 1.2rem;
    }

    .slide-text p {
        font-size: 0.85rem;
    }

    .locations-grid {
        flex-direction: column;
    }

    .location-card {
        justify-content: space-between;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .office-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .email-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .email-link {
        justify-content: center;
    }

    .company-description p {
        padding-left: 14px;
        border-left-width: 2px;
    }

    .service-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 4px;
    }

    .service-tab-btn {
        border-radius: 8px;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
    }

    .service-tab-btn.active {
        border-radius: 8px;
    }

    .service-icons-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .service-icon-card {
        padding: 16px 10px;
    }

    .service-icon {
        font-size: 28px;
    }

    .service-icon-card span {
        font-size: 0.75rem;
    }

    .home-services-vertical {
        max-width: 100%;
    }

    .home-service-item {
        padding: 12px 16px;
    }

    .home-service-icon {
        font-size: 20px;
    }

    .home-service-name {
        font-size: 0.85rem;
    }
}

/* Reminder Box */
.reminder-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff8e1;
    border-left: 5px solid #f9a825;
    padding: 18px 22px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reminder-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.reminder-content {
    text-align: left;
}

.reminder-content strong {
    color: #e65100;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 2px;
}

.reminder-content p {
    color: #5d4037;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .reminder-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 18px;
    }

    .reminder-content {
        text-align: center;
    }
}

/* Service List Bullet Points */
.service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 10px 0;
}

.service-list li {
    padding: 12px 18px 12px 44px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1a1a2e;
    color: #444;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    max-width: 600px;
}

.service-list li:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Increase space between paragraphs in service content */
.service-content p {
    margin-bottom: 20px;
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* If you want even more space, use this instead:
.service-content p {
    margin-bottom: 30px;
}
*/

/* Sub-bullet points under Business Tax Preparation */
.sub-service-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 4px 20px;
}

.sub-service-list li {
    padding: 8px 18px 8px 38px;
    margin-bottom: 4px;
    background: #f5f6f8;
    border-radius: 6px;
    border-left: 2px solid #888;
    color: #555;
    position: relative;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    max-width: 580px;
}

.sub-service-list li:hover {
    background: #eceef2;
    transform: translateX(4px);
}

.sub-service-list li::before {
    content: "◦";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
}
.logo-icon a {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-icon a:hover {
    transform: scale(1.02);
    opacity: 0.85;
}

.logo-icon a:active {
    transform: scale(0.95);
}


/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-column p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* Loading Spinner */
#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Entity Formation - Expense Forms Link */
.entity-expense-link-container {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.entity-expense-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #1a1a2e;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.entity-expense-link:hover {
    background: #2a2a4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

.entity-expense-icon {
    font-size: 22px;
    line-height: 1;
}
/* ===== LINKS TAB ===== */
#links {
    text-align: center;
}

#links h2 {
    text-align: center;
    margin-bottom: 8px;
}

.links-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 35px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 14px;
    border: 2px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 160px;
    cursor: pointer;
}

.link-card:hover {
    background: #f0f0f0;
    border-color: #1a1a2e;
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.link-icon {
    font-size: 42px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(-3deg);
}

.link-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 4px;
}

.link-description {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    font-weight: 400;
}

/* Responsive adjustments for Links tab */
@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .link-card {
        padding: 20px 14px;
        min-height: 130px;
    }

    .link-icon {
        font-size: 32px;
    }

    .link-name {
        font-size: 0.85rem;
    }

    .link-description {
        font-size: 0.7rem;
    }

    .links-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .link-card {
        padding: 16px 10px;
        min-height: 110px;
    }

    .link-icon {
        font-size: 28px;
    }

    .link-name {
        font-size: 0.75rem;
    }

    .link-description {
        display: none; /* Hide descriptions on very small screens */
    }
}
/* Phone Link Styles */
.phone-link {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: #2a2a4e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .phone-link {
        color: #1a1a2e;
        text-decoration: none;
        font-weight: 500;
    }
}

/* ===== SERVICE IMAGES WITH TEXT WRAP ===== */
.service-text-wrapper {
    overflow: hidden;
}

.service-image-wrapper {
    float: right;
    margin: 60px 0 20px 30px;
    width: 400px;           /* FIXED width - won't change */
    height: 300px;          /* FIXED height - won't change */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Modern text wrapping */
    shape-outside: border-box;
    shape-margin: 20px;
    
    /* PREVENT ANY RESPONSIVE BEHAVIOR */
    flex-shrink: 0;
    min-width: 400px;       /* Prevent shrinking */
    max-width: 400px;       /* Prevent growing */
}

.service-image {
    width: 100%;
    height: 100%;           /* Fill the fixed container */
    display: block;
    object-fit: cover;      /* Crop to fill without distortion */
}

/* Force text to wrap around image properly */
.service-text-wrapper h3,
.service-text-wrapper p,
.service-text-wrapper ul {
    overflow: hidden;
}

.service-text-wrapper p:first-of-type {
    margin-top: 0;
}

/* Add smooth fade to all tab transitions */
.tab-content {
    animation: fadeSlide 0.3s ease forwards;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== READ MORE TEXT LINK (matching "please contact us") ===== */
.read-more-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.read-more-text {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-text:hover {
    text-decoration: underline;
    gap: 10px; /* Arrow moves on hover */
}
/* ===== HAMBURGER MENU - MOBILE ONLY ===== */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active (turns into X) */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Show hamburger on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide navigation by default on mobile */
    .nav-tabs {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 4px;
        padding: 16px 0 8px 0;
        border-top: 1px solid #eee;
        margin-top: 8px;
    }

    /* Show navigation when active */
    .nav-tabs.active {
        display: flex;
    }

    /* Make top-bar stack properly */
    .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
    }

    /* Adjust logo size on mobile */
    .logo-icon img {
        height: 40px;
    }

    /* Style tab buttons for mobile menu */
    .nav-tabs .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
        width: 100%;
        text-align: left;
        border-radius: 6px;
        max-width: 100%;
        flex: none;
    }

    .nav-tabs .tab-btn:hover {
        background: #f5f5f5;
    }

    .nav-tabs .tab-btn.active {
        background: #1a1a2e;
        color: white;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .top-bar {
        padding: 10px 12px;
    }

    .logo-icon img {
        height: 32px;
    }

    .hamburger-menu {
        width: 26px;
        height: 18px;
    }

    .hamburger-menu span {
        height: 2.5px;
    }

    .nav-tabs .tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ===== PREVENT FAX NUMBERS FROM BEING CLICKABLE ON MOBILE ===== */
/* Prevent fax numbers from being clickable/auto-linked */
.fax-number {
    /* This prevents iOS from auto-linking the number */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    color: #444; /* Keep the same color */
}

/* Ensure phone numbers remain clickable */
.office-phone .phone-link {
    -webkit-touch-callout: default;
    -webkit-user-select: auto;
    user-select: auto;
}

/* On mobile, style fax numbers to look like plain text */
@media (max-width: 768px) {
    .fax-number {
        pointer-events: none !important;
        cursor: default !important;
        text-decoration: none !important;
        color: #444 !important;
        background-color: transparent !important;
    }
    
    /* Ensure fax emoji and number don't get highlighted */
    .fax-number * {
        pointer-events: none !important;
    }
}

/* ===== HIDE SERVICE IMAGES ON MOBILE ===== */
@media (max-width: 768px) {
    .service-image-wrapper {
        display: none !important;
    }
    
    /* Remove any extra space from the text wrapper */
    .service-text-wrapper {
        padding-top: 0;
    }
    
    /* Reset any margins that were pushing text down */
    .service-text-wrapper p:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .service-image-wrapper {
        display: none !important;
    }
    
    /* Better spacing for service content on mobile */
    .service-content-item {
        padding: 0 5px;
    }
    
    .service-content-item h3 {
        font-size: 1.2rem;
        margin-top: 10px;
        margin-bottom: 12px;
    }
    
    .service-content-item p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding: 10px 14px 10px 38px;
        max-width: 100%;
    }
    
    .sub-service-list li {
        font-size: 0.85rem;
        padding: 8px 12px 8px 32px;
        max-width: 100%;
    }
}