/* =============================================
   A2Go Bookkeeping & Tax - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #2E6A2E;
    --primary-dark: #265226;
    --primary-light: #367A36;
    --accent-color: #9A5B20;
    --bg-light: #F8F8F8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 10px rgba(46, 106, 46, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

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

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 10px;
}

/* =============================================
   Header Styles
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    z-index: 1000;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

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

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

.header-logo {
    height: 50px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo-link:hover .header-logo {
    transform: scale(1.05);
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-link {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

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

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

/* Dropdown Menu */
.nav-item-has-children {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    list-style: none;
    min-width: 180px;
    padding: 12px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.nav-item-has-children:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.header-phone:hover {
    color: var(--accent-color);
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

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

.mobile-menu-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile-menu-close {
    font-size: 40px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    padding: 12px 0;
    display: block;
}

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

.mobile-cta {
    margin-top: 20px;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 18px;
    margin-top: 20px;
}

.mobile-phone svg {
    width: 24px;
    height: 24px;
}

/* =============================================
   Hero Section Styles
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: -1;
}

.hero-problem-side,
.hero-solution-side {
    flex: 1;
    position: relative;
}

.hero-problem-side {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-solution-side {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a9f4a 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-split-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.hero-problem {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-problem-heading {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.hero-problem-text {
    font-size: 1.1rem;
    max-width: 400px;
}

.hero-solution {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.95);
}

.hero-main-heading {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subheading {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 450px;
}

.hero-cta {
    display: inline-flex;
    max-width: fit-content;
}

/* Hero Shapes Animation */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 20%;
    left: 30%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 60%;
    left: 45%;
    animation: float 6s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: 40%;
    left: 55%;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* =============================================
   Section Styles
   ============================================= */
section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary-color);
}

/* Intro Section */
.intro-section {
    background: var(--bg-light);
    padding: 100px 0;
}

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

.intro-divider-top,
.intro-divider-bottom {
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto 32px;
}

.intro-divider-bottom {
    margin: 32px auto 0;
}

.intro-heading {
    margin-bottom: 24px;
}

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

/* Services Grid */
.services-section {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.service-svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* Why Choose Us */
.why-choose-section {
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.why-choose-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-reveal-wrapper {
    overflow: hidden;
}

.image-reveal-wrapper img {
    transform: scale(1.1);
    transition: transform var(--transition-slow);
}

.why-choose-image:hover .image-reveal-wrapper img {
    transform: scale(1);
}

.why-choose-content {
    padding: 20px 0;
}

.why-choose-content .section-heading {
    text-align: left;
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(46, 106, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-section {
    background: var(--white);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    text-align: center;
    padding: 40px;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-cite {
    text-align: left;
    font-style: normal;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

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

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

/* ROI Calculator */
.roi-section {
    background: var(--bg-light);
}

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

.roi-description {
    margin-bottom: 40px;
    color: var(--text-light);
}

.roi-calculator {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.roi-inputs {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.roi-calculate-btn {
    width: 100%;
}

.roi-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.roi-result-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.roi-result-value {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
}

.roi-result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Industries Grid */
.industries-section {
    background: var(--white);
}

.industries-description {
    text-align: center;
    max-width: 700px;
    margin: -32px auto 48px;
    color: var(--text-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.industry-item {
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
    background: var(--bg-light);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
}

.industry-item:hover,
.industry-item:focus {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.industry-item:hover .industry-name,
.industry-item:focus .industry-name {
    color: var(--white);
}

.industry-item:hover .industry-icon,
.industry-item:focus .industry-icon {
    color: var(--white);
}

.industry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--primary-color);
}

.industry-icon svg {
    width: 100%;
    height: 100%;
}

.industry-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.industry-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--text-dark);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 10;
}

.industry-item:hover .industry-tooltip,
.industry-item:focus .industry-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-16px);
}

/* Process Timeline */
.process-section {
    background: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-content {
    padding: 0 16px;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ Accordion */
.faq-section {
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-light);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 300px;
}

/* Final CTA */
.final-cta-section {
    background: var(--primary-color);
    padding: 100px 0;
}

.final-cta-content {
    text-align: center;
    color: var(--white);
}

.final-cta-heading {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.final-cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.final-cta-section .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* CTA Pulse Animation */
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

.cta-pulse {
    animation: cta-pulse 2s infinite;
}

/* =============================================
   Footer Styles
   ============================================= */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-cta-bar {
    background: var(--primary-color);
    padding: 32px 0;
}

.footer-cta-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-cta-bar p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.footer-main {
    padding: 60px 0;
}

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

.footer-logo-img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info a:hover {
    color: var(--white);
}

.map-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.trust-badge {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.trust-badge:hover {
    opacity: 1;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.progress-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset var(--transition-fast);
}

/* =============================================
   Page-Specific Styles
   ============================================= */

/* About Page */
.about-hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 106, 46, 0.9) 0%, rgba(46, 106, 46, 0.7) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 24px;
}

.about-hero-mission {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Story Section */
.story-section {
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
}

.timeline-year {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-text {
    color: var(--text-light);
}

/* Team Section */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-title {
    margin-bottom: 12px;
}

.value-description {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Community Section */
.community-section {
    background: var(--bg-light);
}

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

.community-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

/* About CTA */
.about-cta-section {
    background: var(--primary-color);
    padding: 80px 0;
}

.about-cta-content {
    text-align: center;
    color: var(--white);
}

.about-cta-heading {
    color: var(--white);
    margin-bottom: 16px;
}

.about-cta-text {
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Services Page */
.services-hero-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--primary-color);
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.services-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-hero-intro {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Core Services */
.core-services-section {
    background: var(--white);
    padding: 80px 0;
}

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

.core-service-card {
    display: block;
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

.core-service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.core-service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.core-service-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.core-service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Service Detail Section */
.service-detail-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.service-detail-reversed {
    direction: rtl;
}

.service-detail-reversed > * {
    direction: ltr;
}

.service-detail-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
}

.subservices-list {
    list-style: none;
}

.subservices-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subservices-list li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-detail-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

/* Consulting Section */
.consulting-section {
    background: var(--white);
}

.consulting-intro {
    text-align: center;
    max-width: 700px;
    margin: -32px auto 48px;
    color: var(--text-light);
}

.consulting-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.consulting-feature {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.consulting-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.consulting-feature-icon svg {
    width: 100%;
    height: 100%;
}

.consulting-feature-title {
    margin-bottom: 12px;
}

.consulting-feature-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Customization Section */
.customization-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.customization-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.customization-quote {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-color);
    padding: 32px;
    border-left: 4px solid var(--primary-color);
    background: var(--white);
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.customization-quote cite {
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    color: var(--text-light);
    margin-top: 16px;
}

/* Case Studies */
.case-studies-section {
    background: var(--white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-study-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-medium);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-study-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.case-study-part h4,
.case-study-result h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.case-study-part p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.case-study-result {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 16px;
    margin-top: 16px;
}

.result-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Services CTA */
.services-cta-section {
    background: var(--primary-color);
    padding: 80px 0;
}

.services-cta-content {
    text-align: center;
    color: var(--white);
}

.services-cta-heading {
    color: var(--white);
    margin-bottom: 16px;
}

.services-cta-text {
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Contact Page */
.contact-hero-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.contact-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 106, 46, 0.9) 0%, rgba(46, 106, 46, 0.7) 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-hero-intro {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 80px 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

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

.contact-submit-btn {
    width: 100%;
}

.privacy-statement {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

.direct-contact-wrapper {
    padding: 20px 0;
}

.direct-contact-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.direct-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

a.direct-contact-item:hover {
    background: var(--primary-color);
}

a.direct-contact-item:hover .direct-contact-label,
a.direct-contact-item:hover .direct-contact-value,
a.direct-contact-item:hover .direct-contact-icon {
    color: var(--white);
}

.direct-contact-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.direct-contact-icon svg {
    width: 100%;
    height: 100%;
}

.direct-contact-text {
    display: flex;
    flex-direction: column;
}

.direct-contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.direct-contact-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
}

.map-directions-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
}

/* Contact FAQ */
.contact-faq-section {
    background: var(--white);
}

/* Portal Page */
.portal-hero-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.portal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.portal-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.portal-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.portal-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--white);
}

.portal-hero-icon svg {
    width: 100%;
    height: 100%;
}

.portal-hero-intro {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Portal Login */
.portal-login-section {
    background: var(--white);
    padding: 80px 0;
}

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

.portal-login-heading {
    margin-bottom: 16px;
}

.portal-login-intro {
    color: var(--text-light);
    margin-bottom: 32px;
}

.portal-login-btn {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.portal-login-help {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Portal Benefits */
.portal-benefits-section {
    background: var(--bg-light);
}

.portal-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.portal-benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.portal-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.portal-benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.portal-benefit-icon svg {
    width: 100%;
    height: 100%;
}

.portal-benefit-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.portal-benefit-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Portal Support */
.portal-support-section {
    background: var(--white);
}

.portal-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.portal-support-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.portal-support-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.portal-support-link svg {
    width: 24px;
    height: 24px;
}

.portal-support-faq-title {
    margin-bottom: 24px;
}

/* Portal CTA */
.portal-cta-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.portal-cta-heading {
    margin-bottom: 16px;
}

.portal-cta-text {
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Floating Labels */
.floating-label {
    position: relative;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--white);
    padding: 0 4px;
}

.floating-label textarea ~ label {
    top: 16px;
    transform: none;
}

.floating-label input:focus,
.floating-label textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--primary-color);
}

.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    transform: none;
}

.form-error {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .form-error {
    display: block;
}
