/* ==========================================
   COLOR PALETTE & VARIABLES
   ========================================== */
:root {
    --primary-dark: #0b192c;      /* Deep Midnight Blue */
    --primary-medium: #1e3e62;    /* Medium Royal Blue */
    --accent-gold: #d4af37;       /* Metallic Gold Accent */
    --accent-gold-hover: #b89528;
    --text-dark: #1f2937;         /* Charcoal Dark */
    --text-muted: #6b7280;        /* Cool Gray */
    --bg-light: #f8fafc;          /* Off-White / Warm Gray */
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 30px rgba(11,25,44,0.12);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   BUTTONS & TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* ==========================================
   HEADER & TOP BAR
   ========================================== */
.top-bar {
    background-color: #050d18;
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info a {
    color: var(--accent-gold);
    font-weight: 600;
}

.site-header {
    background: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    background: linear-gradient(135deg, var(--accent-gold), #9a7b1c);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.25rem;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
}

.logo-text {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--accent-gold);
}

/* Practice Areas Dropdown */
.dropdown {
    position: relative;
}

.drop-icon {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: #ffffff;
    border-top: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.dropdown-menu li a i {
    color: var(--accent-gold);
    width: 16px;
}

.dropdown-menu li a:hover {
    background: #f1f5f9;
    color: var(--primary-medium);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(rgba(11, 25, 44, 0.9), rgba(11, 25, 44, 0.95)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-medium);
    color: #ffffff;
    padding: 35px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h3 {
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* ==========================================
   PRACTICE AREAS GRID
   ========================================== */
.practice-section {
    padding: 90px 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.practice-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.practice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.practice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-medium);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
   FOUNDER & ABOUT
   ========================================== */
.about-section {
    background: #ffffff;
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.m-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-gold);
}

.m-card h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* ==========================================
   FAQ & CONTACT
   ========================================== */
.faq-section {
    padding: 90px 0;
    background: var(--bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Quick Form */
.contact-section {
    padding: 90px 0;
    background: var(--primary-dark);
    color: #ffffff;
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: #050d18;
    color: #94a3b8;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
}

.sidebar-menu-list a:hover {
    background-color: #f8fafc !important;
    color: #0b1329 !important;
    padding-left: 24px !important;
}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        display: none;
    }
    .main-nav.active {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
}