@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   VARIABLES & DESIGN SYSTEM (WHITE / LIGHT EDITION)
   ========================================================================== */
:root {
    /* Color Palette - Bright, clean, white with prestigious corporate navy blue accents */
    --primary: #0f172a;          /* Slate 900 for solid dark text/headings */
    --primary-light: #1e293b;    /* Slate 800 */
    --primary-dark: #020617;     /* Slate 950 */
    --accent: #0a2e5c;           /* Corporate Navy Blue - prestigious and authoritative */
    --accent-hover: #071f40;     /* Darker Navy Blue */
    --accent-light: #e0ebf6;     /* Light Navy Blue tint - soft background for icons */
    --accent-glow: rgba(10, 46, 92, 0.1);
    
    --bg-white: #ffffff;         /* Pure White background */
    --bg-light: #f8fafc;         /* Slate 50 - Off-white background */
    --bg-cream: #fafaf9;         /* Stone 50 - Ultra-soft clean alternate */
    
    --text-dark: #1e293b;        /* Slate 800 - Readable dark body text */
    --text-muted: #64748b;       /* Slate 500 - Secondary text */
    --text-light: #f8fafc;       /* Light text for headers or dark highlights */
    
    --success: #10b981;          /* Emerald 500 */
    --success-light: #ecfdf5;    /* Emerald 50 */
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(10, 46, 92, 0.15);
    
    /* Typography - Geometric Rounded 'Outfit' for everything! */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Rounded Borders - High radius for rounded, friendly, modern look */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.09);
    --shadow-glow: 0 0 25px rgba(180, 83, 9, 0.15);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

ul {
    list-style: none;
}

/* Custom Selection */
::selection {
    background-color: var(--accent-light);
    color: var(--accent);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

h1 span, h2 span, h3 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   LOADER (BEM ADJUSTED)
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--bg-light);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    margin-bottom: 24px;
}

.loader__text {
    font-family: var(--font-heading);
    color: var(--primary);
    letter-spacing: 6px;
    font-size: 1.1rem;
    font-weight: 800;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   TOP BAR (BEM ADJUSTED)
   ========================================================================== */
.top-bar {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.top-bar__link:hover {
    color: var(--accent);
}

.top-bar__icon {
    color: var(--accent);
}

/* ==========================================================================
   NAVBAR (BEM ADJUSTED)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    display: flex;
    flex-direction: column;
}

.navbar__logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    line-height: 1.1;
}

.navbar__logo-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    margin-top: 2px;
}

.navbar__nav {
    display: flex;
    align-items: center;
}

.navbar__list {
    display: flex;
    gap: 36px;
}

.navbar__link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar__link:hover, .navbar__link.active {
    color: var(--accent);
}

.navbar__link:hover::after, .navbar__link.active::after {
    width: 100%;
}

.navbar__cta {
    padding: 12px 24px;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    color: var(--bg-white);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.15);
}

.navbar__cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(180, 83, 9, 0.25);
}

.navbar__hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 4px;
}

.navbar__hamburger-icon--close {
    display: none;
}

.navbar__hamburger.active .navbar__hamburger-icon--open {
    display: none;
}

.navbar__hamburger.active .navbar__hamburger-icon--close {
    display: block;
}

/* ==========================================================================
   HERO SLIDER (PERFECT SLIDER - LIGHT)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

/* Soft light overlay fading to the right to ensure readability on the left while keeping the image fully visible on the right */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-slide-container {
    position: relative;
    z-index: 3;
    width: 90%;
}

.hero-slide-content {
    max-width: 650px;
    text-align: left;
}

.hero-slide-tag,
.hero-slide-title,
.hero-slide-desc,
.hero-slide-actions {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-tag {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    transform: translateY(-12px); /* Tag drops down slightly */
}

.hero-slide-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-slide-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-slide-actions {
    display: flex;
    gap: 16px;
}

/* Active slide stagger animation delays */
.hero-slide.active .hero-slide-tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-slide.active .hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--accent);
    width: 28px;
}

/* Stats Bar Overlay */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    z-index: 5;
    padding: 20px 0;
}

.hero-stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   PAGE HEADER (INNER PAGES)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 100px 0 60px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(180, 83, 9, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    background-color: var(--bg-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-light);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb svg {
    color: var(--text-muted);
    opacity: 0.5;
}

.banner-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.banner-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   SECTION SETTINGS
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-light {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 16px;
    background-color: var(--accent-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.section-tag-light {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    display: inline-block;
    margin-bottom: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   DYNAMIC SERVICES SHOWCASE (TABS SYSTEM)
   ========================================================================== */
.services-tab-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-top: 40px;
    overflow: hidden;
}

.services-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
}

.tab-btn svg {
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
    background-color: var(--bg-light);
}

.tab-btn.active {
    background-color: var(--accent-light);
    color: var(--accent);
}

.tab-btn.active svg {
    color: var(--accent);
}

.services-tab-contents {
    padding: 40px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.tab-text-side {
    padding-right: 20px;
}

.tab-pane-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.tab-pane-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.dynamic-check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dynamic-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   SERVICES CARDS (PRACTICE AREA DETAIL CARDS)
   ========================================================================== */
.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.practice-area-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.practice-area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-accent);
}

.practice-area-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(180, 83, 9, 0.15);
}

.practice-area-card:hover .practice-area-icon {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: scale(1.1) rotate(6deg);
}

.practice-area-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.practice-area-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.practice-area-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.practice-area-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.practice-area-list li svg {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   HIGHLIGHTED SERVICES
   ========================================================================== */
.highlighted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.highlight-check {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.highlight-check svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2.5;
    fill: none;
}

.highlight-card:hover .highlight-check {
    background-color: var(--accent);
}

.highlight-card:hover .highlight-check svg {
    stroke: var(--bg-white);
}

.highlight-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

/* ==========================================================================
   COMPLEX CASES SECTION (CLEAN DARK-BLUE CONTRAST SECTION)
   ========================================================================== */
.complex-cases-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--bg-white);
}

.complex-cases-section .section-title {
    color: var(--bg-white);
}

.complex-cases-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.complex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.complex-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.complex-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.complex-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.complex-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.complex-cases {
    background-color: var(--primary-light);
    color: var(--bg-white);
    padding: 80px 0;
}

.complex-cases-content {
    text-align: center;
}

.complex-cases-title {
    font-size: 2.4rem;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.complex-cases-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.complex-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.complex-case-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.complex-case-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.complex-case-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* ==========================================================================
   CIVIL COLLABORATION SECTION (LIGHT)
   ========================================================================== */
.civil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.civil-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.civil-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.civil-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.civil-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT / ATTORNEY PROFILE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-floating-card {
    position: absolute;
    bottom: 24px;
    right: -24px;
    background-color: var(--bg-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    z-index: 10;
}

.floating-label {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.floating-label strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.features-list {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-check {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background-color: var(--success-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    font-weight: 700;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ==========================================================================
   VALUES SECTION
   ========================================================================== */
.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--bg-white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   QUOTE SECTION (LIGHT)
   ========================================================================== */
.quote-section {
    background-color: var(--bg-light);
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.quote-icon {
    font-size: 6rem;
    font-family: var(--font-heading);
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: -40px;
    opacity: 0.8;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 28px;
    color: var(--primary-light);
    font-weight: 500;
}

.quote-author {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   APPOINTMENT / CTA SECTION (LIGHT GOLD)
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 90px 0;
    text-align: center;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER (BEM ADJUSTED LIGHT EDITION)
   ========================================================================== */
.footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer__logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    line-height: 1.1;
}

.footer__logo-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    margin-top: 2px;
}

.footer__desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
    transform: scale(1.05);
}

.footer__heading {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: var(--radius-full);
    background-color: var(--accent);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--text-muted);
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.footer__contact-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copy {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SCROLL TO TOP & WHATSAPP FLOATING (BEM ADJUSTED)
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
}

/* WhatsApp Float Wrapper */
.whatsapp {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 99;
}

.whatsapp__btn {
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp__popup {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 320px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.whatsapp__popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp__popup-header {
    background-color: #075e54;
    color: var(--bg-white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    text-align: left;
}

.whatsapp__popup-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.whatsapp__popup-info {
    display: flex;
    flex-direction: column;
}

.whatsapp__popup-name {
    font-size: 0.9rem;
    font-weight: 700;
}

.whatsapp__popup-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.whatsapp__popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--bg-white);
    font-size: 1.25rem;
    cursor: pointer;
    background: none;
    border: none;
}

.whatsapp__popup-body {
    padding: 20px;
    background-color: #e5ddd5;
    text-align: left;
}

.whatsapp__popup-msg {
    background-color: var(--bg-white);
    padding: 12px 16px;
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    font-size: 0.85rem;
    max-width: 90%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    color: var(--primary);
    line-height: 1.4;
}

.whatsapp__popup-footer {
    padding: 12px 20px;
    background-color: var(--bg-white);
}

.whatsapp__popup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366;
    color: var(--bg-white);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp__popup-cta:hover {
    background-color: #20ba5a;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .navbar__list {
        gap: 24px;
    }
    
    .services-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tab-text-side {
        padding-right: 0;
        text-align: center;
    }
    
    .highlighted-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar__list {
        display: none; /* Mobile menu handled by JS adding active class */
    }
    
    .navbar__hamburger {
        display: block;
    }
    
    .navbar__cta {
        display: none;
    }
    
    .navbar__nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar__nav.active {
        left: 0;
    }
    
    .navbar__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: 100%;
    }
    
    .navbar__link {
        font-size: 1.2rem;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero-slider-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .slider-nav {
        bottom: 80px;
    }
    
    .hero-stats-bar {
        display: none; /* Hide stats bar on small screens to save space */
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .civil-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-floating-card {
        right: 0;
        bottom: -20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .complex-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .complex-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slide-title {
        font-size: 2.2rem;
    }
    
    .services-tabs {
        grid-template-columns: 1fr;
    }
    
    .highlighted-grid {
        grid-template-columns: 1fr;
    }
    
    .complex-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 24px;
    }
}
