/* ===================================
   마인법무법인 메인 스타일시트
   디자인 시스템 + 기본 스타일
=================================== */

/* CSS Variables (Design System) */
:root {
    /* Colors - Unified Vibrant Blue Theme */
    --primary-navy: #0047FF;
    /* The Vibrant Blue */
    --secondary-navy: #0033CC;
    /* Slightly darker for contrast if needed, or same */
    --accent-gold: #0047FF;
    /* Same Vibrant Blue */
    --accent-gold-light: #4D74F5;
    /* Lighter Blue for hovers */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #333333;
    --success: #28a745;

    /* Typography */
    --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Noto Serif KR', Georgia, serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Section Styling */
section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-label::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: var(--spacing-xs) auto 0;
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Hero Section
=================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--primary-navy);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(43, 62, 127, 0.85) 0%,
            rgba(61, 80, 150, 0.75) 50%,
            rgba(43, 62, 127, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.hero-text {
    color: var(--white);
    text-align: center;
    max-width: 100%;
}

.hero-title {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--white);
    display: inline-block;
    position: relative;
}

.hero-title .underline {
    position: relative;
    display: inline-block;
}

.hero-title .underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    /* Position slightly up from absolute bottom */
    width: 100%;
    height: 35%;
    /* "A little less than half" height */
    background: #0045ff;
    /* Use specific blue color */
    z-index: -1;
    /* Behind text */
    opacity: 0.9;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 576px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-medium);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--accent-gold);
    font-family: var(--font-serif);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    opacity: 0.9;
    font-weight: 500;
}

/* Scroll Indicator */
/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 130px;
    /* Raised to 130px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: var(--white);
    opacity: 0.9;
    /* Removed bounce animation for container, dot animates instead */
}

.scroll-indicator-circle {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 20px;
    margin: 0 auto 12px;
    /* Spacing below oval */
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-indicator-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   About Section
=================================== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.about-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

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

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

.card-icon {
    margin-bottom: var(--spacing-md);
    color: var(--accent-gold);
    transform: scale(1);
    transition: transform var(--transition-medium);
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ===================================
   Practice Areas Section
=================================== */
/* ===================================
   Practice Areas Section
=================================== */
.practice-areas {
    position: relative;
    background: #f8f9fa;
    /* Light gray background like reference */
    color: var(--primary-navy);
    padding: var(--spacing-3xl) 0;
}

.practice-layout {
    display: flex;
    gap: var(--spacing-3xl);
    align-items: flex-start;
}

/* Left Column: Text Content */
.practice-text-content {
    flex: 0 0 35%;
    position: sticky;
    top: 120px;
}

.practice-label {
    display: block;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.practice-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.practice-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
}

.btn-practice-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    background: #fff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-practice-more:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-practice-more .arrow {
    transition: transform var(--transition-fast);
}

.btn-practice-more:hover .arrow {
    transform: translateX(4px);
}

/* Right Column: Grid Content */
.practice-grid-content {
    flex: 1;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Simplified Card Style */
.practice-card.simple {
    background: #fff;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.practice-card.simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 68, 0.1);
    border: 1px solid #0044cc;
}

.practice-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: transform var(--transition-medium);
}

.practice-card.simple:hover .practice-icon {
    transform: scale(1.1);
}

.practice-card.simple h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color var(--transition-fast);
}

.practice-card.simple:hover h3 {
    color: #0044cc;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .practice-layout {
        flex-direction: column;
    }

    .practice-text-content {
        position: static;
        width: 100%;
        margin-bottom: var(--spacing-xl);
        text-align: center;
    }

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

@media (max-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .practice-grid {
        grid-template-columns: 1fr;
    }
}

.practice-card h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.practice-card>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.practice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.practice-card:hover .practice-overlay {
    opacity: 1;
    transform: translateY(0);
}

.practice-overlay h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.practice-overlay ul {
    list-style: none;
    text-align: left;
}

.practice-overlay li {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-md);
    position: relative;
}

.practice-overlay li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===================================
   Lawyers Section
=================================== */
.lawyers {
    background: var(--off-white);
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .lawyers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .lawyers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .lawyers-grid {
        grid-template-columns: 1fr;
    }
}

.lawyer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    cursor: pointer;
}

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

.lawyer-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.lawyer-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    transition: transform var(--transition-slow);
}

.lawyer-card:hover .lawyer-photo {
    transform: scale(1.1);
}

.lawyer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.lawyer-card:hover .lawyer-overlay {
    opacity: 1;
    transform: translateY(0);
}

.lawyer-bio {
    font-size: 0.875rem;
    margin: 0;
}

.lawyer-info {
    padding: var(--spacing-md);
    text-align: center;
}

.lawyer-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.lawyer-position {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xs);
}

.lawyer-specialty {
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* ===================================
   Success Cases Section
=================================== */
.success-cases {
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: var(--off-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    position: relative;
}

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

.case-label {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.case-card h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.case-description {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.case-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
}

.result-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.result-badge.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.case-date {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ===================================
   Contact Section
=================================== */
.contact {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-medium);
}

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

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--white);
    border-radius: 50%;
}

.info-card h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.info-card p {
    margin-bottom: var(--spacing-xs);
}

.info-card a {
    color: var(--accent-gold);
    font-weight: 600;
}

.info-sub {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    text-align: center;
    padding: var(--spacing-xl);
}

.map-placeholder svg {
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
}

.map-placeholder p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.map-placeholder small {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* AOS Animation Support */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Location Section (Preview) */
.location-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* Left Text Refinement */
.contact-text {
    padding-top: 3rem;
}

.contact-text .sub-label {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-text .main-label {
    font-size: 2rem;
    /* Reduced from 3.5rem */
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 2rem;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .contact-text .main-label {
        font-size: 1.75rem;
    }
}

.contact-text .description-text {
    color: #444;
    line-height: 1.8;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* White Hero Style (Subpages) */
.subpage-hero.white {
    background: #ffffff;
    color: #333;
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
}

.subpage-hero.white h1 {
    color: #000;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -1px;
}

.subpage-hero.white .hero-label {
    display: block;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.subpage-hero.white p {
    color: #666;
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Card Redesign */
.contact-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-card .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
    background: #f8f9fa;
    /* Slight off-white background for inputs */
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    font-size: 1rem;
    color: #333;
    transition: all 0.2s ease;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
    background: #fff;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 4px rgba(0, 71, 255, 0.1);
}

.contact-form-card .form-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form-card .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    background: var(--primary-navy);
}

/* Privacy Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.close-modal,
.close-policy-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-modal:hover,
.close-policy-modal:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

.btn-text {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.btn-text:hover {
    color: var(--primary-navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    /* Unified to Sans-Serif */
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-navy);
}

.contact-form-card .btn-primary:hover {
    background: #0033cc;
    /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 71, 255, 0.2);
}

/* ===================================
   Location Page Styles - Premium Redesign
=================================== */
.location {
    padding: 100px 0;
    background: #f8f9fa;
}

.map-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 1000px;
    /* Match location-details width */
    margin-left: auto;
    margin-right: auto;
}

.location-details {
    max-width: 1000px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: var(--primary-navy);
    font-family: var(--font-sans);
    /* Clean Sans-serif */
    font-weight: 800;
    letter-spacing: -0.5px;
}

.transport-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.transport-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #f5f7ff;
    /* Consistent light blue bg */
    color: var(--primary-navy);
    /* Consistent Navy Icon */
    transition: all 0.3s ease;
}

.transport-item:hover .icon-box {
    background: var(--primary-navy);
    color: #fff;
}

/* Specific overrides if needed, but keeping unified for now */
/* .icon-box.sub { } */

.text-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #111;
    font-weight: 700;
}

.text-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.6;
    word-break: keep-all;
}

.bus-nums {
    font-size: 0.9rem;
    color: #777 !important;
    background: #f8f9fa;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 4px;
}

.park-info {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.park-info li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}

.park-info li::before {
    content: '•';
    color: var(--primary-navy);
    position: absolute;
    left: 0;
    top: 0;
}

.park-info strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* ===================================
   Practice Areas Page - Premium Redesign
=================================== */
/* ===================================
   Practice Areas Page - detailed Tab View
=================================== */
.practice-full-section {
    padding: 60px 0 100px;
    /* Reduced top padding for tabs */
    background: #fff;
}

/* Tabs Navigation - Premium Pill Design */
.practice-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px;
}

.practice-tab {
    padding: 12px 24px;
    font-size: 1.05rem;
    color: #666;
    background: #f8f9fa;
    border: none;
    border-radius: 50px;
    /* Pill Shape */
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.practice-tab:hover {
    color: var(--primary-navy);
    background: #e9ecef;
}

.practice-tab.active {
    color: #fff;
    background: var(--primary-navy);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 71, 255, 0.3);
}

/* Text-Centered Premium Layout (No Graphic) */
.practice-content-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.detail-text-centered {
    width: 100%;
    text-align: center;
    padding: 20px 0 40px;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.detail-text-centered h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #111;
    word-break: keep-all;
}

.detail-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-navy);
    margin: 0 auto 35px;
    border-radius: 2px;
}

.detail-body {
    margin-bottom: 50px;
    color: #444;
}

.detail-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    word-break: keep-all;
}

.detail-body strong {
    color: var(--primary-navy);
    font-weight: 700;
    background: linear-gradient(0deg, rgba(0, 71, 255, 0.1) 0%, rgba(0, 71, 255, 0.1) 40%, transparent 40%);
}

/* Major Cases Card with Blue Accent */
.major-cases-card {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    /* More padding for card feel */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.blue-accent-bar {
    width: 60px;
    height: 12px;
    background-color: var(--primary-navy);
    border-radius: 6px;
    /* Rounded pill shape */
    margin-bottom: 5px;
}

.case-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 600px;
    /* Limit width to force nice wrapping */
    margin: 0 auto;
    /* Center the block */
}

.case-pill {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    animation: floatingPill 3s ease-in-out infinite;
}

/* Stagger animations for a natural cloud feel */
.case-pill:nth-child(odd) {
    animation-duration: 3.5s;
}

.case-pill:nth-child(even) {
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.case-pill:nth-child(3n) {
    animation-duration: 3.2s;
    animation-delay: 1s;
}

.case-pill:hover {
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 26, 162, 0.1);
}

@keyframes floatingPill {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .detail-text-centered h1 {
        font-size: 2rem;
    }

    .detail-body p {
        font-size: 1rem;
    }

    .case-pill {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .major-cases-card {
        padding: 30px 20px;
    }
}

/* Detail View Layout */
.practice-detail-view {
    display: none;
    /* Hidden by default */
    align-items: center;
    gap: 60px;
    animation: fadeIn 0.5s ease;
}

.practice-detail-view.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 992px) {
    .practice-detail-view {
        flex-direction: column;
    }
}

/* Text Content */
.detail-text {
    flex: 1;
}

.detail-text h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #000;
}

.detail-text .text-highlight {
    color: var(--primary-navy);
}

.detail-body p {
    margin-bottom: 20px;
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
}

.detail-body strong {
    color: #000;
    font-weight: 700;
}

.major-cases {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.major-cases .badgem {
    display: inline-block;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    margin-right: 10px;
}

.major-cases p {
    color: #666;
    font-size: 0.95rem;
    display: inline-block;
}

/* Circular Graphic - Text Centered Design */
.detail-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.circle-mind-map {
    position: relative;
    width: 600px;
    /* Wider canvas */
    height: 500px;
}

@media (max-width: 576px) {
    .circle-mind-map {
        width: 320px;
        height: 320px;
    }
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: #999;
    /* Smooth Gray */
    z-index: 10;
    letter-spacing: -0.02em;
}

.satellite {
    position: absolute;
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    /* Premium Soft Shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.satellite:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 71, 255, 0.12);
}

.sat-emoji {
    font-size: 3rem;
    /* Large Emojis to mimic 3D icons */
    margin-bottom: 8px;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    /* Slight depth to emoji */
}

.satellite span {
    font-size: 0.9rem;
    color: #444;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Positioning Satellites (Clockwise around center text) */
/* Increased radius for cleaner spacing */
.sat-1 {
    top: 5%;
    left: 15%;
}

.sat-2 {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.sat-3 {
    top: 5%;
    right: 15%;
}

.sat-4 {
    bottom: 5%;
    right: 15%;
}

.sat-5 {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.sat-6 {
    bottom: 5%;
    left: 15%;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .satellite {
        width: 90px;
        height: 90px;
    }

    .sat-emoji {
        font-size: 2rem;
    }

    .satellite span {
        font-size: 0.7rem;
    }

    .center-text {
        font-size: 1.5rem;
    }

    .sat-1 {
        top: 0;
        left: 0;
    }

    .sat-2 {
        top: -10px;
        left: 50%;
    }

    .sat-3 {
        top: 0;
        right: 0;
    }

    .sat-4 {
        bottom: 0;
        right: 0;
    }

    .sat-5 {
        bottom: -10px;
        left: 50%;
    }

    .sat-6 {
        bottom: 0;
        left: 0;
    }
}

/* Force show active content */
.practice-detail-view.active {
    display: flex !important;
}