@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- DESIGN SYSTEM & CUSTOM PROPERTIES --- */
:root {
    --primary: #0a1128;
    /* Deep Navy */
    --secondary: #1a1a1a;
    /* Charcoal Black (Requested) */
    --accent: #d4af37;
    /* Classic Gold */
    --accent-hover: #b89321;
    /* Darker Gold */
    --text-light: #f4f6fc;
    /* White/Silver text */
    --text-muted: #a0aec0;
    /* Muted text */
    --text-dark: #1a202c;
    /* Dark text (for contrast areas) */
    --bg-light: #f7fafc;
    /* Light background for secondary areas */

    --card-bg: rgba(26, 26, 26, 0.75);
    --card-border: rgba(212, 175, 55, 0.15);
    --card-border-hover: rgba(212, 175, 55, 0.5);

    --glass-nav: rgba(10, 17, 40, 0.85);

    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    --gradient-dark: linear-gradient(135deg, #0a1128 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(10, 17, 40, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 10px 25px rgba(212, 175, 55, 0.15);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Header heights for mobile menu alignment */
    --header-height: 150px;
    --header-scrolled-height: 75px;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--secondary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
    border: 2px solid var(--secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

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

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    border: none;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #f3cd57 0%, #d4af37 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    transform: translateY(-2px);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-top {
    background-color: #0c152e;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    height: 100px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-top-left {
    display: flex;
    align-items: center;
    height: 100%;
}

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

.top-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-phone {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.top-phone i {
    color: var(--accent);
}

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

.btn-top-ask {
    background: var(--gradient-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.btn-top-ask:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, #f3cd57 0%, #d4af37 100%);
}

.header.scrolled {
    background-color: var(--glass-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header.scrolled .header-top {
    height: 0;
    border-bottom-color: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
    height: 60px;
}

.logo {
    display: flex;
    flex-direction: column;
    margin-left: -2rem;
}

.logo-main {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
    margin-top: -3px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent);
}

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

.nav-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

/* --- DROPDOWN MENU --- */
.nav-dropdown {
    position: relative;
    padding-bottom: 1.2rem;
    margin-bottom: -1.2rem;
}

.nav-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-dropdown>.nav-link .dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--accent);
}

.nav-dropdown:hover>.nav-link .dropdown-arrow,
.nav-dropdown.is-open>.nav-link .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 280px;
    background: rgba(10, 17, 40, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-md);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.05);
    z-index: 9999;
}

/* Dropdown triangle pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(10, 17, 40, 0.96);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    rotate: 45deg;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    padding: 0.5rem 0.8rem 0.3rem;
    opacity: 0.7;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-light);
    transform: translateX(4px);
}

.dropdown-item::after {
    display: none;
}

.dropdown-item-icon {
    width: 34px;
    height: 34px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
    background: rgba(212, 175, 55, 0.15);
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dropdown-item-title {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 1.2;
}

.dropdown-item-sub {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.2;
}

.dropdown-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.1);
    margin: 0.4rem 0.8rem;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    margin: 6px 0;
    transition: var(--transition-smooth);
}

/* --- PRACTICE CARD PAGE BUTTON --- */
.practice-card-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.practice-page-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 1.3rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.practice-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0.1rem;
}

.practice-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #f3cd57 0%, #d4af37 100%);
}

.practice-page-btn i {
    transition: transform 0.2s ease;
    font-size: 0.75rem;
}

.practice-page-btn:hover i {
    transform: translateX(3px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: var(--gradient-overlay), url('assets/justice_scales.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 160px;
    z-index: 1;
}

.hero-content {
    max-width: 750px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-title span {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* --- SECTION GENERAL --- */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--primary);
    background-image: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.section-charcoal {
    background-color: var(--secondary);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
}

.text-left .section-title::after {
    left: 0;
    transform: none;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-features {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 3px;
}

.about-feature-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.about-feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-premium);
}

.about-image-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: var(--border-radius-md);
    z-index: -1;
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--gradient-gold);
    color: #000;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-sm);
    z-index: 3;
    box-shadow: var(--shadow-accent);
    text-align: center;
}

.experience-years {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-sans);
    line-height: 1;
}

.experience-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- PRACTICE AREAS --- */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.practice-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.practice-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-premium), var(--shadow-accent);
}

.practice-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-block;
}

.practice-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.practice-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.practice-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

/* --- SEO BLOG / ARTICLES SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
    opacity: 1;
}

.blog-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-gold);
    color: #000;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
}

.blog-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
}

.blog-meta i {
    color: var(--accent);
    margin-right: 0.3rem;
}

.blog-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.3;
}

.blog-card-title:hover {
    color: var(--accent);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: var(--accent);
}

/* --- FAQ / ACCORDION SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 1.8rem 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-toggle-icon {
    font-size: 1rem;
    color: var(--accent);
    transition: var(--transition-smooth);
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

/* Vertical line */
.faq-toggle-icon::before {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

/* Horizontal line */
.faq-toggle-icon::after {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-item.active .faq-toggle-icon::before {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-toggle-icon::after {
    transform: rotate(180deg);
}

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

.faq-answer-inner {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.5rem;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.contact-info-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-info-panel>p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-detail-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-detail-value {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 300;
}

.contact-detail-value a:hover {
    color: var(--accent);
}

.contact-form-panel {
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-form-panel>p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.form-control {
    width: 100%;
    background: rgba(10, 17, 40, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.2rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(10, 17, 40, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    display: none;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    display: block;
}

.form-message.error {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.3);
    color: #e53e3e;
    display: block;
}

/* --- FOOTER --- */
.footer {
    background-color: #050814;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-area .logo {
    margin-bottom: 1.5rem;
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    color: #fff;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring 2s infinite;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
}

/* --- COMPACT HOME SECTIONS OVERRIDES --- */
#about,
#practices,
#contact {
    padding: 3rem 0;
}

#about .section-header,
#practices .section-header,
#contact .section-header {
    margin-bottom: 2rem;
}

#about .section-title,
#practices .section-title,
#contact .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

/* Hakkımızda compact modifications */
#about .about-grid {
    gap: 3rem;
}

#about .about-features {
    margin-top: 1.5rem;
    gap: 1.2rem;
}

#about .about-feature {
    gap: 0.8rem;
}

#about .about-feature-title {
    font-size: 1rem;
}

#about .about-image-card {
    padding: 1.8rem;
}

#about .experience-badge {
    padding: 1rem 1.5rem;
    bottom: -20px;
    right: -10px;
}

#about .experience-years {
    font-size: 1.8rem;
}

/* Faaliyet Alanları compact modifications */
#practices .practice-grid {
    gap: 1.5rem;
}

#practices .practice-card {
    padding: 1.5rem;
}

#practices .practice-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#practices .practice-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

#practices .practice-desc {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

#practices .practice-card-actions {
    padding-top: 1rem;
    gap: 0.5rem;
}

#practices .practice-page-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* İletişim compact modifications */
#contact .contact-grid {
    gap: 3rem;
}

#contact .contact-info-panel,
#contact .contact-form-panel {
    padding: 2rem;
}

#contact .contact-info-panel h3,
#contact .contact-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#contact .contact-info-panel>p,
#contact .contact-form-panel>p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

#contact .contact-details {
    gap: 1.2rem;
}

#contact .contact-detail-item {
    gap: 1rem;
}

#contact .contact-detail-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}

#contact .contact-detail-title {
    margin-bottom: 0.1rem;
}

#contact .contact-detail-value {
    font-size: 0.95rem;
}

#contact .form-group {
    margin-bottom: 1rem;
}

#contact .form-label {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
}

#contact .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}

#contact textarea.form-control {
    min-height: 80px;
}

/* Contact form side-by-side layout */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-full {
    grid-column: span 2;
}

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

    .form-group-full {
        grid-column: span 1;
    }
}

/* ====================================================
   RESPONSIVE DESIGN — MEDIA QUERIES
   Breakpoints: 1200 | 1024 | 900 | 768 | 576 | 400
   ==================================================== */

/* --- LARGE TABLET / SMALL DESKTOP (≤ 1200px) --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
    }

    .footer-grid>div:last-child {
        grid-column: 1 / -1;
    }

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

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

/* --- TABLET LANDSCAPE (≤ 1024px) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.9rem;
    }

    .section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 2.3rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-image-wrapper {
        max-width: 520px;
        margin: 0 auto;
    }

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

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-grid>div:last-child {
        grid-column: unset;
    }
}

/* --- TABLET PORTRAIT (≤ 900px) --- */
@media (max-width: 900px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 1.4rem 1.5rem;
    }
}

/* --- MOBILE LANDSCAPE / LARGE PHONE (≤ 768px) --- */
@media (max-width: 768px) {

    .header {
        --header-height: 138px;
    }

    .header-top {
        height: 20px;
    }

    .logo {
        margin-left: 0;
    }

    .header-top-left {
        display: none;
    }

    .header-top-container {
        justify-content: center;
        gap: 1.5rem;
    }

    /* Nav — Mobile Hamburger Menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: rgba(10, 17, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
        padding: 2rem 0 2.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        z-index: 999;
    }

    .header.scrolled .nav-menu {
        top: var(--header-scrolled-height);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.3rem 0;
    }

    .hamburger {
        display: block;
    }

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

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

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

    /* Nav button inside mobile menu */
    .nav-btn {
        margin: 0 auto;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 110px;
        padding-bottom: 5rem;
        text-align: center;
        background-attachment: scroll;
        /* Fixes iOS parallax bug */
    }

    .hero-tagline {
        letter-spacing: 3px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Sections */
    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Practice Area Cards — single column on mobile */
    .practice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .practice-card {
        padding: 2.2rem 1.8rem;
    }

    /* Blog Cards — single column on mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-card {
        padding: 2rem;
    }

    .about-image-card::before {
        display: none;
        /* Removes the offset decorative border on mobile */
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .experience-badge {
        position: static;
        margin-top: 2rem;
        display: inline-block;
        padding: 1rem 1.8rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 4rem 0 1.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    /* WhatsApp float — smaller on mobile */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- SMALL PHONE (≤ 576px) --- */
@media (max-width: 576px) {

    .logo-main {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* FAQ accordion */
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 1.2rem;
        line-height: 1.4;
    }

    .faq-answer-inner {
        padding: 0 1.2rem 1.5rem 1.2rem;
        padding-top: 1.2rem;
        font-size: 0.9rem;
    }

    /* Practice cards */
    .practice-card {
        padding: 2rem 1.5rem;
    }

    .practice-icon {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .practice-title {
        font-size: 1.3rem;
    }

    /* Blog */
    .blog-image {
        height: 190px;
    }

    .blog-info {
        padding: 1.5rem;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.4rem;
    }

    /* Contact form */
    .contact-detail-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .form-control {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-grid {
        gap: 2rem;
    }

    .footer-socials {
        gap: 0.8rem;
    }

    .footer-social-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

/* --- TINY PHONE (≤ 400px) --- */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .nav-container {
        height: 75px;
    }

    .header.scrolled .nav-container {
        height: 65px;
    }

    .header {
        --header-height: 123px;
        --header-scrolled-height: 65px;
    }

    .hero {
        padding-top: 90px;
    }

    .container {
        padding: 0 1rem;
    }

    .about-image-card {
        padding: 1.5rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 1.5rem 1rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }
}