/* =================================
   LAW FIRM WEBSITE - MAIN STYLESHEET
   Sterling & Associates
   ================================= */

/* CSS Variables */
:root {
    --primary-color: #1a2b52;
    --secondary-color: #d4af37;
    --accent-color: #c9941e;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, #2c4475 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* =================================
   NAVIGATION
   ================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.cta-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* =================================
   HERO SECTION
   ================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 43, 82, 0.9) 0%, rgba(44, 68, 117, 0.8) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* =================================
   BUTTONS
   ================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =================================
   SECTIONS
   ================================= */
section {
    padding: 2.5rem 0;
}

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

.section-label {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* =================================
   WHO WE ARE SECTION
   ================================= */
.who-we-are {
    background: var(--white);
    padding: 4rem 0;
}

.who-we-are .section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.who-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.who-text .lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.who-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.pillars-section {
    margin-top: 3rem;
}

.pillars-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pillar-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.pillar-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.pillars-footer {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    max-width: 800px;
    margin: 2rem auto 0;
}

/* =================================
   ABOUT PREVIEW
   ================================= */
.about-preview {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.check-list {
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* =================================
   PRACTICE AREAS
   ================================= */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.practice-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.practice-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.practice-card h3 {
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.card-link:hover {
    gap: 1rem;
}

/* =================================
   TESTIMONIALS
   ================================= */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =================================
   CTA SECTION
   ================================= */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =================================
   FOOTER
   ================================= */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* =================================
   PAGE HEADER
   ================================= */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 43, 82, 0.85) 0%, rgba(44, 68, 117, 0.75) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
}

/* =================================
   ABOUT PAGE
   ================================= */
.our-story {
    padding: 2.5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.mission-values {
    background: var(--bg-light);
}

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

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stats-section {
    background: var(--gradient);
    color: var(--white);
}

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

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

.stat-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: rgba(255,255,255,0.9);
}

/* =================================
   PRACTICE AREAS DETAILED
   ================================= */
.practice-detailed {
    padding: 3rem 0;
}

.practice-detail {
    margin-bottom: 5rem;
}

.practice-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.practice-detail-grid.reverse {
    direction: rtl;
}

.practice-detail-grid.reverse > * {
    direction: ltr;
}

.practice-detail-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.practice-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.practice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 2rem 0;
}

.practice-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.practice-list i {
    color: var(--secondary-color);
}

.practice-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.mini-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.mini-stat span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =================================
   ATTORNEYS PAGE
   ================================= */
.attorneys-section {
    padding: 2.5rem 0;
}

.team-section {
    margin-top: 4rem;
}

.team-section:first-child {
    margin-top: 0;
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.attorneys-grid.partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.attorney-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.attorney-image {
    position: relative;
    overflow: hidden;
}

.attorney-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.attorney-card:hover .attorney-image img {
    transform: scale(1.1);
}

/* Placeholder when no photo (e.g. Legal Associates) */
.attorney-image-placeholder {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c4475 100%);
}

.attorney-image-placeholder .placeholder-initials {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.attorney-card-no-photo:hover .attorney-image-placeholder {
    background: linear-gradient(135deg, #2c4475 0%, var(--primary-color) 100%);
}

.attorney-social {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.attorney-card:hover .attorney-social {
    opacity: 1;
}

.attorney-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.attorney-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.attorney-info {
    padding: 2rem;
}

.attorney-title {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.attorney-practice {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.attorney-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.attorney-credentials span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attorney-credentials i {
    color: var(--secondary-color);
}

.team-benefits {
    background: var(--bg-light);
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* =================================
   CONTACT PAGE
   ================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

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

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--text-light);
}

.info-item a:hover {
    color: var(--secondary-color);
}

.emergency-contact {
    background: var(--gradient);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.emergency-contact i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.emergency-contact h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: rgba(255,255,255,0.9);
}

.emergency-number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 1rem;
}

.social-connect {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.social-links-large a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.map-section {
    background: var(--bg-light);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.map-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.map-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-info i {
    color: var(--secondary-color);
}

.faq-section {
    padding: 2.5rem 0;
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    margin-bottom: 1rem;
}

/* =================================
   BLOG PAGE
   ================================= */
.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.blog-card.featured {
    grid-column: 1 / -1;
}

.blog-card.featured .blog-content {
    padding: 3rem;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

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

.blog-card.featured .blog-image img {
    height: 400px;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.read-more:hover {
    gap: 1rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.page-link {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
}

.category-list li a:hover {
    color: var(--secondary-color);
}

.category-list li a span {
    color: var(--text-light);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-post h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.recent-post span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cta-widget {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-widget i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-widget h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
}

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

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 1024px) {
    .about-grid,
    .story-grid,
    .practice-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pillars-grid,
    .practice-grid,
    .testimonial-grid,
    .attorneys-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .attorneys-grid.partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-wrapper,
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .cta-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pillars-grid,
    .practice-grid,
    .testimonial-grid,
    .mission-grid,
    .features-grid,
    .benefits-grid,
    .attorneys-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .practice-list {
        grid-template-columns: 1fr;
    }
}

/* =================================
   LEGAL PAGES (Privacy, Terms, Disclaimer)
   ================================= */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.legal-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .practice-stats {
        flex-direction: column;
    }
}

