  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: #222;
    } 

    /* ====== DARK HERO SECTIONS ====== */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    overflow: hidden;
}

/* Optional: Add subtle pattern or texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 74, 173, 0.1) 0%, transparent 50%);
    background-size: 400px 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero .content,
.hero-content {
    max-width: 800px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero h1,
.hero h2 {
    font-family: "Georgia", serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p,
.hero .lead,
.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== SPECIFIC HERO STYLES FOR DIFFERENT PAGES ====== */

/* About Page Hero */
.about-intro .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* People Page Hero */
.hero[style*="background-image"] {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    background-image: none !important;
}

/* Services Page Hero */
#practice-areas ~ .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Contact Page Hero */
.map-section ~ .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Remove any inline background styles */
.hero[style] {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    background-image: none !important;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero h1,
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p,
    .hero .lead,
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p,
    .hero .lead,
    .hero-content p {
        font-size: 1rem;
    }
}
 
 /* ====== HEADER BASE ====== */
        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 5%;
            background-color: #ffffff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            transition: all 0.4s ease;
        }

        .main-header.scrolled {
            padding: 8px 5%;
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        }

        .logo img {
            height: 60px;
            object-fit: contain;
            transition: all 0.4s ease;
        }

        .main-header.scrolled .logo img {
            height: 50px;
        }

        /* ====== NAVIGATION ====== */
        .main-nav ul {
            list-style: none;
            display: flex;
            gap: 32px;
            margin: 0;
            padding: 0;
        }

        .main-nav a {
            text-decoration: none;
            color: #111;
            font-weight: 500;
            font-size: 16px;
            position: relative;
            padding: 8px 0;
            transition: color 0.3s ease;
        }

        .main-nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #004aad;
            transition: width 0.3s ease;
        }

        .main-nav a:hover {
            color: #004aad;
        }

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

        .main-nav a.active {
            color: #004aad;
        }

        .main-nav a.active::after {
            width: 100%;
        }

        /* ====== MENU TOGGLE ====== */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 22px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1001;
        }

        .menu-toggle .bar {
            height: 3px;
            width: 100%;
            background-color: #111;
            border-radius: 5px;
            transition: all 0.4s ease;
            transform-origin: center;
        }

        .menu-toggle.active .bar:nth-child(1) {
            transform: translateY(9.5px) rotate(45deg);
        }

        .menu-toggle.active .bar:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active .bar:nth-child(3) {
            transform: translateY(-9.5px) rotate(-45deg);
        }

        /* ====== MOBILE STYLES ====== */
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }

            .main-nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: #ffffff;
                text-align: left;
                box-shadow: -5px 0 25px rgba(0,0,0,0.1);
                padding: 100px 30px 40px;
                transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
                overflow-y: auto;
            }

            .main-nav.active {
                right: 0;
            }

            .main-nav ul {
                flex-direction: column;
                gap: 24px;
            }

            .main-nav a {
                font-size: 18px;
                color: #111;
                display: block;
                padding: 12px 0;
                border-bottom: 1px solid rgba(0,0,0,0.05);
            }

            .main-nav a::after {
                display: none;
            }

            .main-header {
                padding: 12px 5%;
            }
        }


               /* ====== FOOTER BASE ====== */
        footer {
            background: linear-gradient(135deg, #1a2b4c 0%, #0d1a33 100%);
            color: #ffffff;
            padding: 60px 5% 30px;
            position: relative;
            overflow: hidden;
        }

        .footer-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .footer-column {
            flex: 1;
            min-width: 300px;
            margin-bottom: 30px;
            padding-right: 30px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .footer-column:nth-child(1) { animation-delay: 0.1s; }
        .footer-column:nth-child(2) { animation-delay: 0.2s; }
        .footer-column:nth-child(3) { animation-delay: 0.3s; }

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

        .footer-column h3 {
            color: #ffffff;
            font-size: 22px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
            font-weight: 600;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: #004aad;
            transition: width 0.4s ease;
        }

        .footer-column:hover h3::after {
            width: 80px;
        }

        .footer-column p {
            line-height: 1.8;
            margin-bottom: 18px;
            color: #d1d9e8;
            font-size: 16px;
        }

        .footer-column a {
            color: #d1d9e8;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-column a:hover {
            color: #ffffff;
        }

        .footer-column i {
            width: 24px;
            margin-right: 12px;
            color: #004aad;
            transition: transform 0.3s ease;
        }

        .footer-column a:hover i {
            transform: scale(1.2);
        }

        /* ====== SOCIAL MEDIA ====== */
        .footer-social {
            display: flex;
            gap: 15px;
            margin: 25px 0;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .footer-social a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #004aad, #2a75ff);
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 50%;
        }

        .footer-social a:hover::before {
            opacity: 1;
        }

        .footer-social a i {
            color: #ffffff;
            font-size: 18px;
            position: relative;
            z-index: 1;
            margin: 0;
            transition: transform 0.3s ease;
        }

        .footer-social a:hover i {
            transform: scale(1.2);
        }

        /* ====== FOOTER BOTTOM ====== */
        .footer-bottom {
            max-width: 1200px;
            margin: 50px auto 0;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #a8b5d1;
            font-size: 14px;
            position: relative;
            z-index: 2;
        }

        /* ====== BACKGROUND ELEMENTS ====== */
        .footer-bg-element {
            position: absolute;
            opacity: 0.03;
            z-index: 1;
        }

        .footer-bg-element-1 {
            top: 10%;
            right: 5%;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: #004aad;
            animation: float 8s ease-in-out infinite;
        }

        .footer-bg-element-2 {
            bottom: 10%;
            left: 5%;
            width: 150px;
            height: 150px;
            background: #ffffff;
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            animation: float 10s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* ====== MOBILE STYLES ====== */
        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
            }
            
            .footer-column {
                min-width: 100%;
                padding-right: 0;
                margin-bottom: 40px;
            }
            
            .footer-social {
                justify-content: center;
            }
            
            .footer-bg-element-1,
            .footer-bg-element-2 {
                display: none;
            }
        }

        /* ====== FOOTER RESPONSIVENESS ====== */
@media (max-width: 1024px) {
    .footer-container {
        gap: 40px;
    }
    
    .footer-column {
        min-width: calc(50% - 20px);
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 5% 25px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%;
        padding-right: 0;
        margin-bottom: 0;
    }
    
    .footer-column h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 5% 20px;
    }
    
    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-column p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
    }
    
    .footer-social a i {
        font-size: 16px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        font-size: 12px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Ensure text doesn't overflow on small screens */
.footer-column p, 
.footer-column a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .footer-social {
        flex-wrap: wrap;
    }
    
    .footer-column h3 {
        font-size: 16px;
    }
}

        /* ====== SCROLL TO TOP BUTTON ====== */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #004aad;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            z-index: 999;
            box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
        }

        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-to-top:hover {
            background: #003580;
            transform: translateY(-5px);
        }