:root {
    --primary-blue: #004085;
    --primary-blue-dark: #003066;
    --primary-blue-light: #0056b3;
    --dark-grey: #1A1A1A;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --accent-gold: #D0A045;
    --accent-gold-light: rgba(208, 160, 69, 0.2);
    --font-primary: 'Inter', Arial, Helvetica, sans-serif;
    --header-height: 70px;
    --transition-base: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 133, 0.3);
}

.btn-primary:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

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

.btn-secondary:hover {
    background-color: var(--accent-gold-light);
    color: var(--dark-grey);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--white);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-grey);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-grey);
    font-size: 14px;
}

.phone-link:hover {
    color: var(--primary-blue);
}

.phone-icon {
    width: 18px;
    height: 18px;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-grey);
    transition: all var(--transition-base);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100%;
    background-color: var(--white);
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-grey);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.mobile-nav-link {
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-grey);
}

.mobile-nav-link.active {
    color: var(--primary-blue);
}

.mobile-cta {
    width: 100%;
}

/* Hero Sections */
.hero,
.about-hero,
.services-hero,
.resources-hero,
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
}

.hero-background,
.hero-bg-image,
.about-hero-bg img,
.resources-hero-bg img,
.contact-hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay,
.about-hero-overlay,
.resources-hero-overlay,
.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 64, 133, 0.85) 0%, rgba(0, 64, 133, 0.7) 100%);
}

.hero-content,
.about-hero-content,
.services-hero-content,
.resources-hero-content,
.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-headline {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.headline-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: wordFadeIn 0.5s ease forwards;
}

.hero-headline .headline-word:nth-child(1) { animation-delay: 0.1s; }
.hero-headline .headline-word:nth-child(2) { animation-delay: 0.2s; }
.hero-headline .headline-word:nth-child(3) { animation-delay: 0.3s; }
.hero-headline .headline-word:nth-child(4) { animation-delay: 0.4s; }
.hero-headline .headline-word:nth-child(5) { animation-delay: 0.5s; }
.hero-headline .headline-word:nth-child(6) { animation-delay: 0.6s; }

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

.hero-subtext,
.about-hero-subtext,
.services-hero-subtext,
.resources-hero-subtext,
.contact-hero-subtext {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta,
.about-hero .btn,
.services-hero .btn,
.resources-hero .btn,
.contact-hero .btn {
    padding: 16px 36px;
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Differentiator Section */
.differentiator {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.differentiator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.differentiator-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.differentiator-content .section-title {
    text-align: left;
    font-size: 26px;
}

.section-intro {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.differentiator-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.differentiator-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
}

.item-content {
    font-size: 15px;
    line-height: 1.6;
}

.item-content strong {
    color: var(--primary-blue);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.services-cta {
    text-align: center;
}

/* Client Success / Testimonials */
.client-success {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-track {
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-quote p::before {
    content: '"';
    font-size: 40px;
    color: var(--accent-gold);
    vertical-align: -10px;
    margin-right: 8px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: var(--primary-blue);
}

.author-title {
    font-size: 14px;
    color: #666;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* Advisory Focus */
.advisory-focus {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.advisory-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 64, 133, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(208, 160, 69, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--white) 0%, var(--light-grey) 100%);
}

.advisory-focus .container {
    position: relative;
    z-index: 1;
}

.advisory-focus .section-title {
    color: var(--primary-blue);
}

.advisory-focus .section-subtitle {
    color: #555;
}

.advisory-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.benefit-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Our Process */
.our-process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.step-marker {
    flex-shrink: 0;
    width: 50px;
    position: relative;
}

.step-progress {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 2px;
    height: calc(100% + 24px);
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.process-step:last-child .step-progress {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-grey);
}

.step-description {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Team Snippet */
.team-snippet {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    position: relative;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    height: 200px;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder {
    color: #ccc;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark-grey);
}

.team-title {
    font-size: 14px;
    color: #666;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 64, 133, 0.9));
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-quote {
    font-size: 14px;
    font-style: italic;
}

.team-cta {
    text-align: center;
}

/* Resources Snippet */
.resources-snippet {
    padding: 80px 0;
    background-color: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.resource-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.resource-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.resource-image {
    height: 160px;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-placeholder {
    color: #ccc;
}

.resource-content {
    padding: 20px;
}

.resource-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-grey);
    line-height: 1.4;
}

.resource-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.resource-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
}

.resource-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-base);
}

.resource-link:hover::after {
    width: 100%;
}

.resources-cta {
    text-align: center;
}

/* CTA Section */
.cta-final,
.cta-section,
.appointment-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.cta-content,
.appointment-content {
    text-align: center;
}

.cta-title,
.appointment-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle,
.appointment-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button,
.appointment-button {
    background-color: var(--accent-gold);
    color: var(--dark-grey);
    border-color: var(--accent-gold);
    padding: 16px 40px;
    font-size: 18px;
}

.cta-button:hover,
.appointment-button:hover {
    background-color: #c4923d;
    border-color: #c4923d;
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-mission {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 13px;
    color: #777;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: #aaa;
    transition: color var(--transition-base);
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.contact-details {
    font-style: normal;
}

.contact-address {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-phone,
.contact-email {
    display: block;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--accent-gold);
}

.contact-hours {
    font-size: 14px;
    color: #aaa;
    margin-top: 12px;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.certification {
    font-size: 13px;
    color: #aaa;
}

.footer-cta {
    width: 100%;
    text-align: center;
}

/* About Page Specifics */
.about-hero {
    min-height: 60vh;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.mission-block {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mission-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.mission-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.mission-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.our-history {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.history-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

.history-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Team Full */
.team-full {
    padding: 80px 0;
}

.team-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.team-card-full {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.team-card-full:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-image-full {
    height: 240px;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder-full {
    color: #ccc;
}

.team-info-full {
    padding: 24px;
}

.team-name-full {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark-grey);
}

.team-title-full {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-specialties li {
    font-size: 12px;
    color: #666;
    background-color: var(--light-grey);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Values */
.our-values {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
}

.value-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.value-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Impact Stats */
.impact-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.impact-stats .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    display: inline;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* Services Page */
.services-hero {
    min-height: 60vh;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002244 100%);
}

.services-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.services-introduction {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Service Detail */
.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.service-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.audit-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--light-grey);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.service-detail-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.service-detail-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-benefits li {
    font-size: 15px;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Bookkeeping */
.bookkeeping-payroll {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-grey);
}

/* Services Testimonials */
.services-testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.services-testimonial {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: 20px;
    line-height: 1.6;
}

.services-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Resources Page */
.resources-hero {
    min-height: 60vh;
}

.resource-categories {
    padding: 40px 0;
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.resource-search {
    padding: 40px 0;
    background-color: var(--light-grey);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 20px;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.trending-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.trending-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.trending-topic {
    font-size: 13px;
    color: var(--primary-blue);
    text-decoration: underline;
}

.trending-topic:hover {
    color: var(--accent-gold);
}

.resources-grid-section {
    padding: 60px 0;
}

.resources-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.resource-card-new {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.resource-card-new:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.resource-card-image {
    height: 180px;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-card-placeholder {
    color: #ccc;
}

.resource-card-content {
    padding: 24px;
}

.resource-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-card-title {
    font-size: 17px;
    font-weight: 600;
    margin: 8px 0;
    color: var(--dark-grey);
    line-height: 1.4;
}

.resource-card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.resource-read-time {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.resource-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}

.resources-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--dark-grey);
    cursor: pointer;
    transition: all var(--transition-base);
}

.pagination-btn:hover,
.pagination-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Newsletter */
.newsletter-signup {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.newsletter-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-input {
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color var(--transition-base);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.newsletter-btn {
    width: 100%;
}

/* Contact Page */
.contact-hero {
    min-height: 60vh;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-grey);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color var(--transition-base);
    background-color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.success-message {
    font-size: 16px;
    color: #666;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
}

/* Contact Details */
.contact-details-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-grey);
}

.contact-info-text,
.contact-info-link {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-info-link:hover {
    color: var(--primary-blue);
}

/* Map */
.contact-map {
    padding: 60px 0;
}

.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.map-image {
    width: 100%;
    display: block;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.map-cta {
    text-align: center;
}

/* Appointment CTA */
.appointment-cta {
    padding: 80px 0;
}

/* ==========================================================================
   MEDIA QUERIES - TABLET (768px - 1023px)
   ========================================================================== */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }

    .nav-list {
        gap: 24px;
    }

    .header-actions {
        display: flex;
    }

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

    .hero-headline {
        font-size: 42px;
    }

    .hero-subtext {
        font-size: 20px;
    }

    .differentiator-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-reverse .service-detail-grid {
        direction: rtl;
    }

    .service-detail-reverse .service-detail-content {
        direction: ltr;
    }

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

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

    .newsletter-form .form-group {
        flex-direction: row;
    }

    .newsletter-input {
        flex: 1;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .carousel-prev {
        left: -20px;
    }

    .carousel-next {
        right: -20px;
    }
}

/* ==========================================================================
   MEDIA QUERIES - DESKTOP (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .header-container {
        padding: 0 48px;
    }

    .logo-image {
        height: 56px;
    }

    .nav-list {
        gap: 32px;
    }

    .nav-link {
        font-size: 15px;
    }

    .phone-number {
        display: inline;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-headline {
        font-size: 56px;
    }

    .hero-subtext {
        font-size: 22px;
        max-width: 700px;
        margin: 0 auto 36px;
    }

    .section-title {
        font-size: 36px;
    }

    .differentiator {
        padding: 120px 0;
    }

    .differentiator-content .section-title {
        font-size: 32px;
    }

    .services-overview,
    .client-success,
    .advisory-focus,
    .our-process,
    .team-snippet,
    .resources-snippet {
        padding: 100px 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .advisory-benefits {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-timeline {
        flex-direction: row;
        justify-content: space-between;
    }

    .process-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .step-marker {
        margin-bottom: 20px;
    }

    .step-progress {
        top: 50px;
        left: 50%;
        width: calc(100% + 40px);
        height: 2px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 60px;
    }

    .about-hero,
    .services-hero,
    .resources-hero,
    .contact-hero {
        min-height: 50vh;
    }

    .about-hero-content,
    .services-hero-content,
    .resources-hero-content,
    .contact-hero-content {
        max-width: 800px;
    }

    .services-hero-title,
    .resources-hero-title,
    .contact-hero-title {
        font-size: 42px;
    }

    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .stat-number {
        font-size: 56px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .team-grid-full {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-detail-grid {
        gap: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resources-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-filters {
        gap: 16px;
    }

    .category-btn {
        padding: 12px 24px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   PREFERENCES: REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .headline-word {
        opacity: 1;
        transform: none;
    }

    .scroll-indicator {
        animation: none;
    }
}
