/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    position: relative;
    z-index: 1001;
    margin-top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 1001;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.logo img {
    height: 50px;
    width: 220px;
    max-width: 250px;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color);
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 2rem 5%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--light-gray);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5% 3rem 5%;
    background: linear-gradient(120deg, #eaf6fb 0%, #f5f6fa 100%);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.07);
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-content h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}
.hero-tagline {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 2.2rem;
    font-weight: 500;
}
.hero-cta {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(52, 152, 219, 0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.13);
}
.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.13);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* About Page */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.story-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.team-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member .position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

form {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    gap: 1rem;
}

form input,
form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    margin-bottom: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%233498db" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    transition: border-color 0.2s;
}
form select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    margin-bottom: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s;
}
form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

form button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2980b9;
}

.calendly-button {
    display: inline-block;
    text-align: center;
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.calendly-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.contact-info img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.map-section {
    margin-top: 4rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--light-gray);
    margin: 4rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 1rem 5%;
    }

    #hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    form {
        padding: 1rem;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
        margin-left: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

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

    /* Add overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    #hero,
    .about-story,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

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

/***** Why Choose Us Section *****/
#about {
    margin: 4rem 0 3rem 0;
    padding: 3rem 0 2rem 0;
    background: var(--light-gray);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
#about h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 1rem;
}
.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}
.benefit i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    min-width: 2.5rem;
}
.benefit h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1.3rem;
    font-weight: 700;
}
.benefit p {
    margin: 0;
    color: var(--text-color);
}

@media (max-width: 900px) {
    #about {
        margin: 2.5rem 0 2rem 0;
        padding: 2rem 0 1.5rem 0;
    }
    .benefits-grid {
        gap: 1.5rem;
    }
}

/* QuickBooks Badges Section */
.badges-section {
    text-align: center;
    margin: 5rem 0 5rem 0;
}
.badges-section h2 {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.badges-grid img {
    height: 140px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--white);
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s;
}
.badges-grid img:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 4px 24px rgba(52, 152, 219, 0.18);
}
@media (max-width: 600px) {
    .badges-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .badges-grid img {
        height: 90px;
        padding: 0.5rem;
    }
}

form p.or-separator {
    display: block;
    width: 100%;
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

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

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.about-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
}

.about-section .col-lg-6 {
    flex: 1;
    min-width: 300px;
}

.owner-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.owner-image:hover {
    transform: scale(1.02);
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-section .row {
        flex-direction: column;
    }
    
    .about-section .col-lg-6 {
        width: 100%;
    }
}

/* Card Section for About */
.card-section {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    margin: 3rem auto 3rem auto;
    padding: 3rem 2rem;
    max-width: 1200px;
}

/* Values Section Modern Highlight */
.values-section {
    background: linear-gradient(120deg, #f5f6fa 60%, #eaf6fb 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(52, 152, 219, 0.07);
    padding: 3rem 2rem 2rem 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}
.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
.values-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
}
.value-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(52, 152, 219, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1 1 220px;
    max-width: 260px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.value-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.13);
}
.value-item i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.value-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}
.value-item p {
    color: var(--text-color);
    font-size: 1rem;
}

/* Responsive Hero and Card Section */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 5% 2rem 5%;
    }
    .hero-image {
        margin-top: 2rem;
    }
    .card-section {
        padding: 2rem 1rem;
    }
    .values-section {
        padding: 2rem 1rem 1rem 1rem;
    }
    .values-grid {
        flex-wrap: wrap;
    }
}

/* Services Hero Section */
.services-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 5% 2.5rem 5%;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.07);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.services-hero-text {
    flex: 1;
    min-width: 320px;
}
.services-hero-text h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}
.services-hero-tagline {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2.2rem;
    font-weight: 400;
}
.services-hero-cta {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(52, 152, 219, 0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: inline-block;
    margin-top: 0.5rem;
}
.services-hero-cta:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.13);
}
.services-hero-image {
    flex: 1;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.services-hero-image img {
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(44, 62, 80, 0.13);
}
@media (max-width: 900px) {
    .services-hero {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 5% 1.5rem 5%;
    }
    .services-hero-image {
        justify-content: center;
        margin-top: 2rem;
    }
    .services-hero-text h1 {
        font-size: 2rem;
    }
}

.region-banner {
    width: 100%;
    background: #3498db;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 2.5% 0.5rem 2.5%;
    text-align: right;
    letter-spacing: 0.02em;
    border-radius: 0 0 0.5rem 0.5rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1002;
}
@media (max-width: 600px) {
    .region-banner {
        font-size: 0.95rem;
        padding: 0.5rem 5% 0.5rem 5%;
    }
}

/* Rotating Banner Styles */
.rotating-banner {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 2.5rem 0 2rem 0;
    padding: 1.5rem 0;
    min-height: 230px;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s, transform 0.5s cubic-bezier(0.4,0,0.2,1);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 0 2rem;
    line-height: 1.3;
    word-break: break-word;
    margin-bottom: 1.5rem;
    z-index: 1;
    pointer-events: none;
}
.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}
.banner-slide.slide-out {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 3;
}
.banner-slide.slide-in {
    opacity: 1;
    transform: translateX(0);
    z-index: 4;
}
.banner-slide i {
    margin-right: 0.7em;
    font-size: 1.5em;
    vertical-align: middle;
    color: var(--secondary-color);
}
.banner-subtext {
    display: block;
    font-size: 1.15rem;
    color: #555;
    font-weight: 400;
    margin-top: 0.5em;
    letter-spacing: 0.01em;
}
@media (max-width: 600px) {
    .rotating-banner {
        min-height: 240px;
        padding: 1rem 0 2.5rem 0;
    }
    .banner-slide {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    .banner-subtext {
        font-size: 0.95rem;
    }
}

.banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
}
.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d0d8e4;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(44,62,80,0.07);
}
.banner-dot.active {
    background: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52,152,219,0.18);
}
