/* =====================================================
   杰仕律师事务所 - 专业律师网站样式
   LA Chinese Lawyer - Professional Law Firm Website
   ===================================================== */

/* CSS Variables */
:root {
    --primary-color: #1a2a4a;
    --primary-dark: #0f1a2e;
    --secondary-color: #c9a962;
    --secondary-light: #d4b978;
    --accent-color: #2c4a7c;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-cream: #faf8f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-english: 'Playfair Display', 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

ul, ol {
    list-style: none;
}

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

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

/* =====================================================
   Header & Navigation
   ===================================================== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-left a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.7);
}

.top-bar-right a:hover {
    color: var(--secondary-color);
}

header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-english);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .cn {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-text .en {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo a:hover {
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu > li:hover > a::after,
.nav-menu > li.active > a::after {
    width: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-medium);
    border-left: 3px solid transparent;
}

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

/* CTA Button */
.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-dark);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
    color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(26, 42, 74, 0.65), rgba(15, 26, 46, 0.75)),
                url('images/home-banner.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 700px;
}

.hero-slogan {
    font-family: var(--font-english);
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.5);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* =====================================================
   Features Section
   ===================================================== */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   Services Section
   ===================================================== */
.services {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

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

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

.service-icon-wrapper {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.service-icon {
    font-size: 60px;
    color: var(--secondary-color);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =====================================================
   Consultation Section (Accordion)
   ===================================================== */
.consultation {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.consultation-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.consultation-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.consultation-phone i {
    font-size: 24px;
    color: var(--secondary-color);
}

.consultation-phone span {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Accordion Styles */
.accordion {
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-primary);
}

.accordion-header:hover {
    background: var(--primary-color);
    color: #fff;
}

.accordion-header.active {
    background: var(--primary-color);
    color: #fff;
}

.accordion-header i {
    font-size: 14px;
    transition: var(--transition);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-white);
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-body {
    padding: 25px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body ul {
    list-style: none;
    padding-left: 0;
}

.accordion-body ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.accordion-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.consultation-cta {
    margin-top: 40px;
}

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

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 12px;
    z-index: -1;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* =====================================================
   Team Section
   ===================================================== */
.team {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.team-card {
    text-align: center;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.team-info .position {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-info .education {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================================================
   Blog Section
   ===================================================== */
.blog-section {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

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

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image i {
    font-size: 50px;
    color: var(--secondary-color);
    opacity: 0.5;
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content h3:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-more {
    text-align: center;
    margin-top: 50px;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-item-content p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.office-hours {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.office-hours h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 15px;
}

.office-hours ul li:last-child {
    border-bottom: none;
}

.office-hours ul li span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.office-hours ul li span:last-child {
    color: var(--text-medium);
}

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

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =====================================================
   Footer
   ===================================================== */
footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

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

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

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

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

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-links ul li a::before {
    content: '›';
    font-size: 18px;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-contact ul li i {
    color: var(--secondary-color);
    width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    background: linear-gradient(rgba(26, 42, 74, 0.9), rgba(15, 26, 46, 0.95)),
                url('images/hero-banner.jpeg') center/cover no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

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

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.service-nav {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.service-nav h4 {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
}

.service-nav ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 15px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-nav ul li:last-child a {
    border-bottom: none;
}

.service-nav ul li a:hover,
.service-nav ul li a.active {
    background: var(--primary-color);
    color: #fff;
}

.service-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

.service-cta-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-cta-box p {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-cta-box .btn-cta {
    width: 100%;
    justify-content: center;
}

.service-main h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.service-main h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.service-main p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.service-list {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.service-list h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-list ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-medium);
}

.service-list ul li i {
    color: var(--secondary-color);
    margin-top: 4px;
}

/* =====================================================
   Blog Page
   ===================================================== */
.blog-page {
    padding: 80px 0;
}

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

.blog-article {
    padding: 80px 0;
}

.blog-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.article-content {
    background: var(--bg-white);
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--secondary-color);
}

.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

.article-body {
    font-size: 17px;
    line-height: 2;
    color: var(--text-medium);
}

.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 45px 0 25px;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 35px 0 20px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 12px;
    position: relative;
}

.article-body ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.article-body blockquote {
    background: var(--bg-light);
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
    font-style: italic;
    color: var(--text-dark);
}

.article-body img {
    border-radius: 12px;
    margin: 30px 0;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.sidebar-widget ul li {
    margin-bottom: 15px;
}

.sidebar-widget ul li a {
    font-size: 15px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget ul li a:hover {
    color: var(--secondary-color);
}

.sidebar-widget ul li a i {
    color: var(--secondary-color);
    font-size: 12px;
}

.recent-posts li {
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.recent-posts li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts li a {
    display: block;
}

.recent-posts li a span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a {
    background: var(--bg-light);
    color: var(--text-medium);
}

.pagination a:hover,
.pagination span.current {
    background: var(--primary-color);
    color: #fff;
}

/* =====================================================
   Appointment Page
   ===================================================== */
.appointment-section {
    padding: 80px 0;
}

.appointment-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.appointment-intro {
    text-align: center;
    margin-bottom: 50px;
}

.appointment-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.appointment-intro p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.appointment-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 12px;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }

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

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

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

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

    .service-sidebar {
        position: static;
    }

    .blog-article-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding-left: 20px;
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid,
    .services-grid,
    .blog-grid,
    .blog-list {
        grid-template-columns: 1fr;
    }

    .consultation-wrapper,
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

    .article-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 450px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .contact-form-wrapper,
    .appointment-form {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}
