/*
Theme Name: YangTax CPA
Theme URI: https://www.yangtaxcpa.com
Author: YangTax Development Team
Author URI: https://www.yangtaxcpa.com
Description: Professional WordPress theme for Yang CPA Professional Corporation - Elegant corporate design for tax resolution and planning services
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yangtax
Tags: business, corporate, professional, tax-services, custom-header, custom-menu, featured-images, threaded-comments, translation-ready

YangTax CPA is a custom WordPress theme designed specifically for 
Yang CPA Professional Corporation, featuring elegant corporate design,
SEO optimization, and full content management capabilities.
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background: linear-gradient(135deg, #0f2444 0%, #1a3a5c 100%);
  backdrop-filter: blur(10px);
  padding: 1.75rem 3.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  padding: 0.75rem 3.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 80px;
  height: auto;
  transition: width 0.3s ease;
}

.header.scrolled .logo-img {
  width: 50px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  width: 80px;
  height: auto;
  transition: width 0.3s ease;
}

.header.scrolled .custom-logo {
  width: 50px;
}

.logo-text-title {
  font-family: 'Spectral', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  transition: font-size 0.3s ease;
}

.header.scrolled .logo-text-title {
  font-size: 1.2rem;
}

.logo-text-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #4dbd36;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  transition: font-size 0.3s ease;
}

.header.scrolled .logo-text-subtitle {
  font-size: 0.8rem;
}

.nav {
  display: flex;
  gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: #4dbd36;
  transition: transform 0.3s ease;
}

.nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover {
  color: #4dbd36;
}

/* Current/Active menu item styles */
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: #4dbd36;
}

.nav .current-menu-item > a::before,
.nav .current_page_item > a::before {
  transform: translateX(-50%) scaleX(1);
  background: #4dbd36;
}

/* ==========================================================================
   Hero Section with Advanced Animations
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Background Image with Ken Burns Effect (Zoom on Hover) */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.hero-section:hover::before {
  transform: scale(1.1);
}

/* Static Overlay - No Animation */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, rgba(220, 235, 255, 0.28) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.5);
}

/* Hero Badge - Fade In from Top */
.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.3s forwards;
}

.hero-logo {
  display: inline-block;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.3s forwards;
}

.hero-logo a {
  display: block;
}

.hero-logo-img {
  max-height: 120px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section Styles - Option 2: Subtitle First (Swap positions) - ACTIVE */
.hero-slogan {
  font-family: 'Spectral', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 2px 24px rgba(2, 20, 60, 0.85), 0 1px 8px rgba(2, 20, 60, 0.75), 0 4px 40px rgba(0,0,0,0.6);
  letter-spacing: 0;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out 1s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-divider {
  width: 100px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  margin: 1.5rem auto;
  opacity: 0;
  animation: expandWidth 1s ease-out 0.8s forwards;
}

@keyframes expandWidth {
  from {
    opacity: 0;
    width: 0;
  }
  to {
    opacity: 1;
    width: 100px;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(2, 20, 60, 0.85), 0 1px 8px rgba(2, 20, 60, 0.75), 0 4px 32px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeInScale 1s ease-out 0.6s forwards;
}

br.hero-mobile-break {
  display: none;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 
======================================
ALTERNATIVE STYLE OPTIONS (Comment/Uncomment to switch)
======================================

OPTION 2: Subtitle First (Swap positions)
--------------------------------------
.hero-slogan {
  font-family: 'Spectral', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  letter-spacing: 0;
  order: 2;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1.5rem;
  order: 1;
}

.hero-divider {
  order: 1.5;
}

--------------------------------------

OPTION 3: Modern Minimalist
--------------------------------------
.hero-slogan {
  font-family: 'Spectral', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: -0.5px;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  font-weight: 300;
}

--------------------------------------

OPTION 4: Bold & Impactful
--------------------------------------
.hero-slogan {
  font-family: 'Spectral', serif;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 6px 30px rgba(0,0,0,0.3);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3.5rem;
  font-style: italic;
}

--------------------------------------
*/


.cta-button {
  display: inline-block;
  padding: 1.75rem 3.5rem;
  /* Original vibrant colors:
  background: white;
  color: #2563a8; (bright blue)
  :hover /* Original: background: #48c135; */ background: #4dbd36;
  /* New muted gray colors: */
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.3s forwards;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  /* Original: rgba(72, 193, 53, 0.3); (green ripple) */
  background: rgba(120, 130, 140, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:hover {
  background: rgba(255,255,255,0.18);
  color: white;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

/* ==========================================================================
   Feature Section
   ========================================================================== */

.feature-section {
  padding: 6rem 3rem;
  background: #fafafa;
}

.feature-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Original vibrant blue overlay:
  background: linear-gradient(135deg, rgba(2, 60, 167, 0.2), transparent); */
  /* New muted gray overlay: */
  background: linear-gradient(135deg, rgba(70, 80, 90, 0.15), transparent);
}

.feature-content {
  padding: 3rem;
}

.feature-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #4dbd36;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: 'Spectral', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  margin-bottom: 2rem;
}

.feature-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

.feature-keywords {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
}

.keyword {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2563a8;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
  background: #ffffff;
  padding: 6rem 3rem;
  text-align: center;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.stat-item {
  padding: 2.5rem;
  border-top: 3px solid #4dbd36;
}

.stat-number {
  font-family: 'Spectral', serif;
  font-size: 4rem;
  font-weight: 800;
  color: #2563a8;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  background: #f5f6f7;
  padding: 8rem 3rem;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Spectral', serif;
  font-size: 4.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333333;
}

.contact-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  text-align: center;
  margin-bottom: 4rem;
}

.contact-form {
  display: grid;
  gap: 2rem;
  background: white;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #2563a8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #333333;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  /* Original: border-/* Original: color: #4dbd36; */ border-color: #6a7a8a; color: #6a7a8a;
  background: #ffffff;
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.submit-button {
  justify-self: center;
  padding: 1.6rem 4rem;
  background: #2563a8;
  color: white;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.submit-button:hover {
  background: #4dbd36;
  color: white;
}

/* ==========================================================================
   Contact Info Section
   ========================================================================== */

.contact-info-section {
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92), rgba(58, 141, 109, 0.85)); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92), rgba(58, 141, 109, 0.85));
  padding: 4rem 3rem;
  color: white;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-title {
  font-family: 'Spectral', serif;
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: white;
  transform: translateY(-5px);
}

.contact-info-item:hover .contact-info-label {
  color: #2563a8;
}

.contact-info-item:hover .contact-info-value {
  color: #333333;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.contact-info-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
  background: white;
  padding: 8rem 3rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 5rem;
}

.about-title {
  font-family: 'Spectral', serif;
  font-size: 4rem;
  font-weight: 800;
  color: #2563a8;
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 2rem;
  color: #4dbd36;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 2;
  color: #555;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.founder-highlight {
  background: #f8f9fa;
  padding: 2.5rem;
  border-top: 3px solid #4dbd36;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.founder-name {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #2563a8;
  margin-bottom: 0.75rem;
}

.founder-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #4dbd36;
  margin-bottom: 1.5rem;
}

.founder-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}

.founder-ctf-logo {
  margin-top: 1.25rem;
}

.ctf-logo-img {
  max-height: 70px;
  width: auto;
  display: block;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  background: #f5f6f7;
  padding: 8rem 3rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-title {
  font-family: 'Spectral', serif;
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: #2563a8;
}

.service-category {
  background: white;
  padding: 3rem;
  margin-bottom: 2.5rem;
  border-top: 3px solid #2563a8;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.service-category-title {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2563a8;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.85rem 0;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.service-list li::before {
  display: none;
}

/* Rich-text <ul> inside service categories (ACF wysiwyg output) */
.service-category ul,
.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-category ul li,
.about-text ul li {
  padding: 0.9rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

.service-category ul li::before,
.about-text ul li::before {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #1b3d6e;
  color: #ffffff;
  padding: 4rem 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Spectral', serif;
  font-size: 1.5rem;
  color: #4dbd36;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #ffffff;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-section h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: #4dbd36;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #4dbd36;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #ffffff;
  font-size: 0.85rem;
}

.footer-address {
  color: #ffffff;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-wechat-qr {
  margin-top: 1rem;
  text-align: left;
}

.footer-wechat-label {
  color: #4dbd36;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-wechat-label small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.8;
}

.footer-wechat-qr-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 5px;
  display: block;
  margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .header {
    padding: 1.5rem 2rem;
  }
  
  .hero-slogan {
    font-size: 5rem;
  }
  
  .feature-container,
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  html,
  body {
    overflow-x: hidden;
  }
  
  .header {
    padding: 0.75rem 1rem;
  }
  
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .logo-section {
    gap: 0.5rem;
  }
  
  .logo-img {
    width: 40px;
  }
  
  .logo-text-title {
    font-size: 0.9rem;
  }
  
  .logo-text-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
    overflow-y: auto;
  }
  
  .nav-container.active {
    transform: translateX(0);
  }

  /* Dark text for nav links inside white mobile sidebar */
  .nav-container .nav a {
    color: #1a1a2e;
  }

  .nav-container .nav a:hover {
    color: #4dbd36;
  }

  .nav-container .nav .current-menu-item > a,
  .nav-container .nav .current_page_item > a {
    color: #4dbd36;
  }

  .nav-container .nav a::before {
    display: none;
  }
  
  .nav {
    flex-direction: column;
    gap: 0;
    text-align: left;
  }
  
  .nav li {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-container {
    height: auto;
    min-height: 25vh;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-slogan {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 1.45rem;
    line-height: 1.5;
  }

  br.hero-mobile-break {
    display: inline;
  }

  .hero-logo-img {
    max-height: 80px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .section {
    padding: 2rem 1rem;
  }

  /* Feature section ("Trusted Tax Solutions") */
  .feature-section {
    padding: 3rem 1.25rem;
  }

  .feature-image {
    width: 100%;
    min-height: 220px;
    aspect-ratio: 4/3;
  }

  .feature-content {
    padding: 1rem 0;
  }

  .feature-title {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .feature-text {
    font-size: 1rem;
  }

  .feature-keywords {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Contact form section ("Schedule a Free Confidential Consultation Now") */
  .contact-section {
    padding: 3rem 1.25rem;
  }

  .contact-title {
    font-size: 2rem;
    word-break: break-word;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-container {
    max-width: 100%;
  }

  /* Stats section */
  .stats-section {
    padding: 3rem 1.25rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  /* Services section */
  .services-section {
    padding: 3rem 1rem;
  }

  .services-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .service-category {
    padding: 1.5rem 1.25rem;
  }

  .service-category-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .service-list li {
    font-size: 0.95rem;
    padding-left: 2rem;
  }
}

/* ========================================
   Page Templates Styles
======================================== */

/* Page Hero */
.page-hero {
  padding: 6rem 0 4rem;
  color: white;
  text-align: center;
}

.page-hero .page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero .page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* About Page */
.about-content-section {
  padding: 5rem 0;
}

.about-intro h2 {
  font-size: 2.5rem;
  color: #2563a8;
  margin-bottom: 2rem;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}

.founder-section {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
  margin: 4rem 0;
}

.founder-section h3 {
  font-size: 2rem;
  color: #2563a8;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.2rem;
  color: #4dbd36;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-bio p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

.company-values {
  margin-top: 4rem;
}

.company-values h3 {
  font-size: 2rem;
  color: #2563a8;
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item h4 {
  color: #4dbd36;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: #666;
  line-height: 1.6;
}

/* Services Page */
.services-content-section {
  padding: 5rem 0;
}

.services-intro {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.2rem;
  color: #555;
}

.service-category-block {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.service-category-block h2 {
  color: #2563a8;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.category-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.service-items-list {
  list-style: none;
  padding: 0;
}

.service-items-list li {
  padding: 1rem 0 1rem 2rem;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.service-items-list li:before {
  content: "";
  position: absolute;
  left: 0;
  color: #4dbd36;
  font-weight: bold;
  font-size: 1.2rem;
}

.service-items-list li:last-child {
  border-bottom: none;
}

.services-cta {
  text-align: center;
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(58, 141, 109, 0.85) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(58, 141, 109, 0.85) 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 8px;
  margin-top: 4rem;
}

.services-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Contact Page */
.contact-content-section {
  padding: 5rem 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro h2 {
  font-size: 2.5rem;
  color: #2563a8;
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card,
.contact-form-card {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
}

.contact-info-card h3,
.contact-form-card h3 {
  color: #2563a8;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item strong {
  color: #4dbd36;
  font-size: 1.1rem;
}

.contact-item span {
  color: #333;
  font-size: 1.05rem;
}

/* Case Study Archive */
.case-study-list-section {
  padding: 5rem 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.case-study-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.case-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.case-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-thumbnail img {
  transform: scale(1.05);
}

.case-content {
  padding: 2rem;
}

.case-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-category-badge {
  /* Original: background: #48c135; */ background: #4dbd36;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.case-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.case-title a {
  color: #2563a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.case-title a:hover {
  color: #4dbd36;
}

.case-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more-link {
  color: #2563a8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #4dbd36;
}

.no-cases-found {
  text-align: center;
  padding: 4rem 2rem;
  font-size: 1.2rem;
  color: #999;
}

/* Single Case Study */
.single-case-study .case-header {
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(58, 141, 109, 0.85) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(58, 141, 109, 0.85) 100%);
  color: white;
  padding: 4rem 0 3rem;
}

.single-case-study .case-title {
  font-size: 3rem;
  margin: 1.5rem 0;
  color: white;
}

.case-featured-image {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.case-featured-image img {
  width: 100%;
  height: auto;
}

.case-body {
  padding: 4rem 0;
}

.case-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.case-section {
  margin-bottom: 3rem;
}

.case-section h2 {
  color: #2563a8;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.case-text {
  line-height: 1.8;
  color: #333;
}

.case-text p {
  margin-bottom: 1.5rem;
}

.case-text ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.case-text li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.case-result-section {
  background: #f0f9f4;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #4dbd36;
}

.case-meta-box,
.case-cta-box {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.case-meta-box h3,
.case-cta-box h3 {
  color: #2563a8;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-item strong {
  display: block;
  color: #4dbd36;
  margin-bottom: 0.3rem;
}

.outcome-badge {
  /* Original: background: #48c135; */ background: #4dbd36;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.case-cta-box p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-footer {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-top: 3rem;
}

.case-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.case-navigation a {
  text-decoration: none;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-navigation a:hover {
  transform: translateY(-3px);
}

.nav-subtitle {
  color: #4dbd36;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-title {
  color: #2563a8;
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-next a {
  text-align: right;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .page-hero .page-title {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-content-wrapper {
    grid-template-columns: 1fr;
  }

  .case-navigation {
    grid-template-columns: 1fr;
  }

  .single-case-study .case-title {
    font-size: 2rem;
  }
}

/* ========================================
   Modern Page Design System
======================================== */

/* Container Narrow - for contained content */
.container-narrow {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.animate-delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.animate-delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

/* Modern Hero Section */
.page-hero-modern {
  position: relative;
  padding: 8rem 0 5rem;
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 50%, rgba(58, 141, 109, 0.85) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 50%, rgba(58, 141, 109, 0.85) 100%);
  overflow: hidden;
}

.page-hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0L0 30M60 0L30 30M60 30L30 60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
  opacity: 0.3;
}

/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(21, 219, 144, 0.2), transparent 60%);
} */

.page-title-modern {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -1px;
}

.page-lead {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563a8;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  /* Original: background: #48c135; */ background: #4dbd36;
  border-radius: 2px;
}

/* About Page Modern */
.about-page {
  padding-top: 3rem;
}

.page-compact-header {
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 50%, rgba(58, 141, 109, 0.85) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 50%, rgba(58, 141, 109, 0.85) 100%);
  padding: 1.5rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.page-compact-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" fill="rgba(255,255,255,0.1)">💼</text></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.3;
}

.page-compact-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.about-intro-card {
  position: relative;
  background: white;
  padding: 3.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
  overflow: hidden;
}

.about-intro-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="80" opacity="0.05">📊</text></svg>') no-repeat center;
  background-size: contain;
}

.about-intro-card .intro-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}

.about-intro-card .intro-text p {
  margin-bottom: 1.5rem;
}

.founder-card {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 3.5rem;
  border-radius: 16px;
  border: 2px solid #e8f5f1;
  margin: 3rem 0;
  overflow: hidden;
}

.founder-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="70" opacity="0.05">👤</text></svg>') no-repeat center;
  background-size: contain;
}

.founder-badge {
  display: inline-block;
  /* Original: background: #48c135; */ background: #4dbd36;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.founder-name {
  font-size: 2.5rem;
  color: #2563a8;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.founder-card .founder-title {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  font-weight: 500;
}

.founder-card .founder-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.values-section {
  margin-top: 4rem;
  text-align: center;
}

.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #4dbd36;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 60px;
  height: 60px;
  /* Original: background: linear-gradient(135deg, rgba(74, 155, 127, 0.9), rgba(58, 141, 109, 0.85)); */ background: linear-gradient(135deg, rgba(70, 95, 100, 0.88), rgba(75, 105, 110, 0.85));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}

.value-card h4 {
  font-size: 1.5rem;
  color: #2563a8;
  margin-bottom: 1rem;
  font-weight: 700;
}

.value-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Services Page Modern */
.services-page {
  padding-top: 3rem;
}

.services-hero {
  /* Original: background: linear-gradient(135deg, rgba(58, 141, 109, 0.85) 0%, rgba(68, 125, 115, 0.88) 50%, rgba(64, 94, 151, 0.92) 100%); */ background: linear-gradient(135deg, rgba(58, 141, 109, 0.85) 0%, rgba(68, 125, 115, 0.88) 50%, rgba(64, 94, 151, 0.92) 100%);
}

.services-intro-card {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 4rem;
  border: 2px solid #e8f5f1;
}

.intro-lead {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.service-categories-modern {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-card {
  position: relative;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 6px solid #4dbd36;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="60" opacity="0.04">📑</text></svg>') no-repeat center;
  background-size: contain;
}

.service-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-number {
  position: absolute;
  top: -15px;
  right: 30px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(21, 219, 144, 0.1);
  line-height: 1;
}

.service-card-title {
  font-size: 2rem;
  color: #2563a8;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-card-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list-modern li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}

.service-list-modern li:last-child {
  border-bottom: none;
}

.list-icon {
  position: absolute;
  left: 0;
  color: #4dbd36;
  font-weight: 700;
  font-size: 1.3rem;
}

.services-cta-card {
  text-align: center;
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 100%);
  color: white;
  padding: 4rem 3rem;
  border-radius: 16px;
  margin-top: 4rem;
  box-shadow: 0 8px 32px rgba(2, 60, 167, 0.3);
}

.services-cta-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-cta-card p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button-modern {
  display: inline-block;
  background: rgba(74, 155, 127, 0.9);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(21, 219, 144, 0.3);
}

.cta-button-modern:hover {
  background: rgba(58, 141, 109, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(21, 219, 144, 0.4);
}

/* Contact Page Modern */
.contact-page {
  padding-top: 3rem;
}

.contact-hero {
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 100%); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92) 0%, rgba(70, 110, 165, 0.88) 100%);
}

.contact-intro-card {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
}

.contact-intro-card h2 {
  font-size: 2.5rem;
  color: #2563a8;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-intro-card p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-card-modern,
.contact-form-card-modern {
  position: relative;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-info-card-modern::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="60" opacity="0.04">📞</text></svg>') no-repeat center;
  background-size: contain;
}

.contact-form-card-modern::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="60" opacity="0.04">✉️</text></svg>') no-repeat center;
  background-size: contain;
}

.contact-info-card-modern h3,
.contact-form-card-modern h3 {
  font-size: 1.8rem;
  color: #2563a8;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.contact-details-modern {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item-modern {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item-modern:hover {
  background: #e8f5f1;
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-text strong {
  color: #2563a8;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text span {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Contact Form Modern */
.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-modern label {
  color: #2563a8;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group-modern input,
.form-group-modern textarea {
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
  outline: none;
  /* Original: border-/* Original: color: #4dbd36; */ border-color: #6a7a8a;  color: #6a7a8a;
  box-shadow: 0 0 0 3px rgba(21, 219, 144, 0.1);
}

.form-group-modern textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button-modern {
  background: rgba(74, 155, 127, 0.9);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-button-modern:hover {
  background: rgba(58, 141, 109, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(21, 219, 144, 0.3);
}

/* Case Study Modern Cards */
.case-study-archive {
  padding-top: 3rem;
}

.case-hero {
  /* Original: background: linear-gradient(135deg, rgba(58, 141, 109, 0.85) 0%, rgba(68, 125, 115, 0.88) 50%, rgba(64, 94, 151, 0.92) 100%); */ background: linear-gradient(135deg, rgba(58, 141, 109, 0.85) 0%, rgba(68, 125, 115, 0.88) 50%, rgba(64, 94, 151, 0.92) 100%);
}

.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.case-card-modern {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid #f0f0f0;
  cursor: pointer;
}

.case-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  /* Original: background: linear-gradient(90deg, rgba(58, 141, 109, 0.85), rgba(64, 94, 151, 0.92)); */ background: linear-gradient(90deg, rgba(58, 141, 109, 0.85), rgba(64, 94, 151, 0.92));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-card-modern:hover::before {
  opacity: 1;
}

.case-card-modern::after {
  content: '📊';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.08;
  pointer-events: none;
  transition: all 0.3s ease;
}

.case-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(2, 60, 167, 0.15);
  /* Original: border-/* Original: color: #4dbd36; */ border-color: #6a7a8a;  color: #6a7a8a;
}

.case-card-modern:hover::after {
  opacity: 0.15;
  transform: scale(1.1) rotate(5deg);
}

.case-card-link {
  text-decoration: none;
  display: block;
  padding: 2.5rem;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-categories-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.case-badge {
  /* Original: background: linear-gradient(135deg, rgba(64, 94, 151, 0.92), rgba(70, 110, 165, 0.88)); */ background: linear-gradient(135deg, rgba(64, 94, 151, 0.92), rgba(70, 110, 165, 0.88));
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(2, 60, 167, 0.2);
}

.case-card-title {
  font-size: 1.6rem;
  color: #2563a8;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.case-card-modern:hover .case-card-title {
  color: #4dbd36;
}

.case-card-excerpt {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex: 1;
}

.case-result-preview {
  background: linear-gradient(135deg, #f0f9f4, #e8f5f1);
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #4dbd36;
  margin-bottom: 1.5rem;
}

.result-label {
  font-weight: 800;
  color: #4dbd36;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-label::before {
  content: '✓';
  display: inline-block;
  width: 20px;
  height: 20px;
  /* Original: background: #48c135; */ background: #4dbd36;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 0.8rem;
}

.result-text {
  display: block;
  color: #444;
  margin-top: 0.75rem;
  line-height: 1.6;
  font-weight: 500;
}

.case-read-more {
  color: #2563a8;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-radius: 25px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.case-card-modern:hover .case-read-more {
  /* Original: background: linear-gradient(135deg, rgba(74, 155, 127, 0.9), rgba(58, 141, 109, 0.85)); */ background: linear-gradient(135deg, rgba(70, 95, 100, 0.88), rgba(75, 105, 110, 0.85));
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(21, 219, 144, 0.3);
}

.no-cases-card {
  text-align: center;
  background: white;
  padding: 4rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-cases-card p {
  font-size: 1.2rem;
  color: #999;
}

/* Responsive Design for Modern Pages */
@media (max-width: 1024px) {
  .container-narrow {
    padding: 0 1.5rem;
  }

  .page-title-modern {
    font-size: 2.8rem;
  }

  .case-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-hero-modern {
    padding: 5rem 0 3rem;
  }

  .page-title-modern {
    font-size: 2.2rem;
  }

  .page-lead {
    font-size: 1.1rem;
  }

  .about-intro-card,
  .founder-card {
    padding: 2rem;
  }

  .values-grid-modern {
    grid-template-columns: 1fr;
  }

  .contact-grid-modern {
    grid-template-columns: 1fr;
  }

  .form-row-modern {
    grid-template-columns: 1fr;
  }

  .case-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem;
  }

  .service-number {
    font-size: 3rem;
    top: -10px;
    right: 15px;
  }
}
